Skip to content
Snippets Groups Projects
Commit d6b79434 authored by Bo Shen's avatar Bo Shen Committed by Andreas Bießmann
Browse files

ARM: atmel: sama5d3xek: enable NOR flash support

parent a931b137
No related branches found
No related tags found
No related merge requests found
...@@ -79,8 +79,19 @@ ...@@ -79,8 +79,19 @@
#define CONFIG_BOOTP_GATEWAY #define CONFIG_BOOTP_GATEWAY
#define CONFIG_BOOTP_HOSTNAME #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 #define CONFIG_SYS_NO_FLASH
#endif
/* /*
* Command line configuration. * Command line configuration.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment