diff options
author | Bo Shen <voice.shen@atmel.com> | 2014-07-18 16:43:08 +0800 |
---|---|---|
committer | Andreas Bießmann <andreas.devel@googlemail.com> | 2014-09-19 00:11:16 +0200 |
commit | d6b79434644f67d04d089061f449535675a640eb (patch) | |
tree | 8972ddc6926239b1e1a3f52240c790e83b7c3b6e /include/configs | |
parent | a931b137747dc35f7397e6cba84d6cd320fe9b2d (diff) | |
download | u-boot-imx-d6b79434644f67d04d089061f449535675a640eb.zip u-boot-imx-d6b79434644f67d04d089061f449535675a640eb.tar.gz u-boot-imx-d6b79434644f67d04d089061f449535675a640eb.tar.bz2 |
ARM: atmel: sama5d3xek: enable NOR flash support
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/sama5d3xek.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/configs/sama5d3xek.h b/include/configs/sama5d3xek.h index 56c2454..0104d5f 100644 --- a/include/configs/sama5d3xek.h +++ b/include/configs/sama5d3xek.h @@ -79,8 +79,19 @@ #define CONFIG_BOOTP_GATEWAY #define CONFIG_BOOTP_HOSTNAME -/* No NOR flash */ +/* NOR flash */ +#define CONFIG_CMD_FLASH + +#ifdef CONFIG_CMD_FLASH +#define CONFIG_FLASH_CFI_DRIVER +#define CONFIG_SYS_FLASH_CFI +#define CONFIG_SYS_FLASH_PROTECTION +#define CONFIG_SYS_FLASH_BASE 0x10000000 +#define CONFIG_SYS_MAX_FLASH_SECT 131 +#define CONFIG_SYS_MAX_FLASH_BANKS 1 +#else #define CONFIG_SYS_NO_FLASH +#endif /* * Command line configuration. |