public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] arm: socfpga: Allow boards to define a custom environment size
@ 2016-03-03 15:57 Stefan Roese
  2016-03-03 15:57 ` [U-Boot] [PATCH 2/2] arm: socfpga: sr1500: Misc updates (SPI speed, env location) Stefan Roese
  2016-03-03 19:44 ` [U-Boot] [PATCH 1/2] arm: socfpga: Allow boards to define a custom environment size Marek Vasut
  0 siblings, 2 replies; 4+ messages in thread
From: Stefan Roese @ 2016-03-03 15:57 UTC (permalink / raw)
  To: u-boot

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>
---
 include/configs/socfpga_common.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index 66beaf5..fd084cc 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -286,7 +286,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)
-- 
2.7.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-03 19:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-03 15:57 [U-Boot] [PATCH 1/2] arm: socfpga: Allow boards to define a custom environment size Stefan Roese
2016-03-03 15:57 ` [U-Boot] [PATCH 2/2] arm: socfpga: sr1500: Misc updates (SPI speed, env location) Stefan Roese
2016-03-03 19:44   ` Marek Vasut
2016-03-03 19:44 ` [U-Boot] [PATCH 1/2] arm: socfpga: Allow boards to define a custom environment size Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox