mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-25 16:12:05 +00:00
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>
This commit is contained in:
parent
a931b13774
commit
d6b7943464
1 changed files with 12 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue