summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorStelian Pop <stelian@popies.net>2008-01-20 19:49:21 +0000
committerPeter Pearse <peter.pearse@arm.com>2008-02-14 09:37:57 +0000
commit20b197c6f2799af399a68f96a1aff543a75621b8 (patch)
tree39ed3fdce9d2e77c7c3bb4804306dd44e45c1a3a /drivers/mtd
parentd49fe4bed5b69ec910909d1bd62da23ecd8801fd (diff)
downloadu-boot-imx-20b197c6f2799af399a68f96a1aff543a75621b8.zip
u-boot-imx-20b197c6f2799af399a68f96a1aff543a75621b8.tar.gz
u-boot-imx-20b197c6f2799af399a68f96a1aff543a75621b8.tar.bz2
AT91CAP9 support : build integration
Signed-off-by: Stelian Pop <stelian@popies.net>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/dataflash.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/mtd/dataflash.c b/drivers/mtd/dataflash.c
index 2421407..36c99a0 100644
--- a/drivers/mtd/dataflash.c
+++ b/drivers/mtd/dataflash.c
@@ -36,7 +36,7 @@ struct dataflash_addr cs[CFG_MAX_DATAFLASH_BANKS] = {
{CFG_DATAFLASH_LOGIC_ADDR_CS0, 0}, /* Logical adress, CS */
{CFG_DATAFLASH_LOGIC_ADDR_CS1, 1}
};
-#elif defined(CONFIG_AT91SAM9263EK)
+#elif defined(CONFIG_AT91SAM9263EK) || defined(CONFIG_AT91CAP9ADK)
struct dataflash_addr cs[CFG_MAX_DATAFLASH_BANKS] = {
{CFG_DATAFLASH_LOGIC_ADDR_CS0, 0}, /* Logical adress, CS */
};
@@ -48,7 +48,8 @@ struct dataflash_addr cs[CFG_MAX_DATAFLASH_BANKS] = {
#endif
/*define the area offsets*/
-#if defined(CONFIG_AT91SAM9261EK) || defined(CONFIG_AT91SAM9260EK) || defined(CONFIG_AT91SAM9263EK)
+#if defined(CONFIG_AT91SAM9261EK) || defined(CONFIG_AT91SAM9260EK) || \
+ defined(CONFIG_AT91SAM9263EK) || defined(CONFIG_AT91CAP9ADK)
#if defined(CONFIG_NEW_PARTITION)
dataflash_protect_t area_list[NB_DATAFLASH_AREA] = {
{0x00000000, 0x00003FFF, FLAG_PROTECT_SET, 0, "Bootstrap"}, /* ROM code */