mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 21:21:37 +00:00
Blackfin: set default CONFIG_ENV_SPI_CS based on bootrom
Set the default CONFIG_ENV_SPI_CS value to match the SPI CS that is used by the Blackfin on-chip bootrom to boot out of SPI flash. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
2b4a486e6f
commit
8df3ce0f49
1 changed files with 5 additions and 0 deletions
|
@ -67,6 +67,11 @@
|
|||
# define CONFIG_LINUX_CMDLINE_SIZE L1_SRAM_SCRATCH_SIZE
|
||||
#endif
|
||||
|
||||
/* Set default SPI flash CS to the one we boot from */
|
||||
#if defined(CONFIG_ENV_IS_IN_SPI_FLASH) && !defined(CONFIG_ENV_SPI_CS)
|
||||
# define CONFIG_ENV_SPI_CS BFIN_BOOT_SPI_SSEL
|
||||
#endif
|
||||
|
||||
/* Default/common Blackfin memory layout */
|
||||
#ifndef CONFIG_SYS_SDRAM_BASE
|
||||
# define CONFIG_SYS_SDRAM_BASE 0
|
||||
|
|
Loading…
Add table
Reference in a new issue