mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
tseries: Set CONFIG_ENV_IS_NOWHERE for SPL+NAND
In the case of SPL on these boards we only need environment for SPL_USBETH, so it's safe to normally use ENV_IS_NOWHERE and SPL+NAND does not support environment today. Cc: Hannes Petermaier <oe5hpm@oevsv.at> Signed-off-by: Tom Rini <trini@ti.com>
This commit is contained in:
parent
865813ed83
commit
e017fd61c5
1 changed files with 5 additions and 1 deletions
|
@ -243,8 +243,12 @@
|
|||
#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
|
||||
|
||||
#elif defined(CONFIG_NAND)
|
||||
#undef CONFIG_ENV_IS_NOWHERE
|
||||
/* No NAND env support in SPL */
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
#define CONFIG_ENV_IS_NOWHERE
|
||||
#else
|
||||
#define CONFIG_ENV_IS_IN_NAND
|
||||
#endif
|
||||
#define CONFIG_ENV_OFFSET 0x120000 /* TODO: Adresse definieren */
|
||||
#define CONFIG_SYS_ENV_SECT_SIZE CONFIG_ENV_SIZE
|
||||
#else
|
||||
|
|
Loading…
Add table
Reference in a new issue