diff options
author | Dean Glazeski <dnglaze@gmail.com> | 2009-12-09 12:40:54 -0600 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-19 13:26:33 -0800 |
commit | 3ac2a440419a52752a5e11eba8ab2722a1fe73bf (patch) | |
tree | c2b9cc1b558654e26cdc146431e4504c2f32e757 /src/flash/nand/driver.c | |
parent | 28f8e9dfb7bfaf87957c95790c3ffe5d9fbd8834 (diff) |
AT91SAM9 NAND flash driver.
This creates the TCL interface for configuring an AT91SAM9 NAND flash
controller and implements the necessary functions to correctly work with
a NAND flash device connected to the chip. This includes updates to the
driver list and the Makefile.am to support building the driver and also
houses the documentation update in openocd.texi.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/flash/nand/driver.c')
-rw-r--r-- | src/flash/nand/driver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/flash/nand/driver.c b/src/flash/nand/driver.c index 1ccc4f44..0e174b23 100644 --- a/src/flash/nand/driver.c +++ b/src/flash/nand/driver.c @@ -37,6 +37,7 @@ extern struct nand_flash_controller s3c2412_nand_controller; extern struct nand_flash_controller s3c2440_nand_controller; extern struct nand_flash_controller s3c2443_nand_controller; extern struct nand_flash_controller imx31_nand_flash_controller; +extern struct nand_flash_controller at91sam9_nand_controller; /* extern struct nand_flash_controller boundary_scan_nand_controller; */ @@ -51,6 +52,7 @@ static struct nand_flash_controller *nand_flash_controllers[] = &s3c2440_nand_controller, &s3c2443_nand_controller, &imx31_nand_flash_controller, + &at91sam9_nand_controller, /* &boundary_scan_nand_controller, */ NULL }; |