diff options
author | Stefan Roese <sr@denx.de> | 2016-03-03 15:57:38 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2016-03-20 17:01:10 (GMT) |
commit | ead2fb29e8fc3752e844d5ff4f9e668b42a4e744 (patch) | |
tree | 16b17c80503bf5c806c18ae156b7e9f75e4aabfd /include/configs | |
parent | b72041ccf8d26a1c530f69418a385f03e0b71984 (diff) | |
download | u-boot-ead2fb29e8fc3752e844d5ff4f9e668b42a4e744.tar.xz |
arm: socfpga: Allow boards to define a custom environment size
This patch makes it possible that boards can define a board-specific env
size. This is used by the SR1500 SoCFPGA board port.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/socfpga_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index 7b5fe60..56d32e6 100644 --- a/include/configs/socfpga_common.h +++ b/include/configs/socfpga_common.h @@ -284,7 +284,9 @@ unsigned int cm_get_qspi_controller_clk_hz(void); #define CONFIG_SYS_CONSOLE_IS_IN_ENV #define CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE #define CONFIG_SYS_CONSOLE_ENV_OVERWRITE +#if !defined(CONFIG_ENV_SIZE) #define CONFIG_ENV_SIZE 4096 +#endif /* Environment for SDMMC boot */ #if defined(CONFIG_ENV_IS_IN_MMC) && !defined(CONFIG_ENV_OFFSET) |