projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b72041c
)
arm: socfpga: Allow boards to define a custom environment size
author
Stefan Roese
<
[email protected]
>
Thu, 3 Mar 2016 15:57:38 +0000
(16:57 +0100)
committer
Marek Vasut
<
[email protected]
>
Sun, 20 Mar 2016 17:01:10 +0000
(18:01 +0100)
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 <
[email protected]
>
Cc: Chin Liang See <
[email protected]
>
Cc: Dinh Nguyen <
[email protected]
>
Cc: Marek Vasut <
[email protected]
>
include/configs/socfpga_common.h
patch
|
blob
|
history
diff --git
a/include/configs/socfpga_common.h
b/include/configs/socfpga_common.h
index 7b5fe606fdb2db7362f52661b5e5d6347635a177..56d32e6b53255c7fcf34057fb5a374df4c2436b2 100644
(file)
--- 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)