All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] arm: socfpga: Allow board specific config values for env
@ 2015-10-23  7:26 Stefan Roese
  2015-10-23  7:26 ` [U-Boot] [PATCH] arm: socfpga: Add CONFIG_BUILD_TARGET to socfpga_common.h Stefan Roese
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Stefan Roese @ 2015-10-23  7:26 UTC (permalink / raw)
  To: u-boot

This patch enables the usage of board-specific values for the
environment offset and size in SPI NOR flash.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Pavel Machek <pavel@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
---
 include/configs/socfpga_common.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index cece095..ebf0c48 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -281,7 +281,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
+#ifndef CONFIG_ENV_SIZE
 #define CONFIG_ENV_SIZE			4096
+#endif
 
 /*
  * SPL
@@ -327,8 +329,10 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
 #define CONFIG_DM_SEQ_ALIAS		1
 #define CONFIG_SPL_SPI_FLASH_SUPPORT
 #define CONFIG_SPL_SPI_LOAD
+#ifndef CONFIG_SYS_SPI_U_BOOT_OFFS
 #define CONFIG_SYS_SPI_U_BOOT_OFFS	0x40000
 #endif
+#endif
 
 /*
  * Stack setup
-- 
2.6.2

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

end of thread, other threads:[~2015-11-19 15:38 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-23  7:26 [U-Boot] [PATCH] arm: socfpga: Allow board specific config values for env Stefan Roese
2015-10-23  7:26 ` [U-Boot] [PATCH] arm: socfpga: Add CONFIG_BUILD_TARGET to socfpga_common.h Stefan Roese
2015-10-23 18:26   ` Marek Vasut
2015-10-23  7:26 ` [U-Boot] [PATCH] arm: socfpga: Add SoCFPGA SR1500 board Stefan Roese
2015-10-23 18:40   ` Marek Vasut
2015-10-26  8:17     ` Stefan Roese
2015-10-26 20:32       ` Marek Vasut
2015-10-26  8:36   ` [U-Boot] [PATCH v2] " Stefan Roese
2015-10-27 15:29     ` Dinh Nguyen
2015-10-28 17:45     ` Marek Vasut
2015-11-02 12:26     ` [U-Boot] [PATCH v3] " Stefan Roese
2015-11-02 18:44       ` Marek Vasut
2015-11-18 10:06     ` [U-Boot] [PATCH v4] " Stefan Roese
2015-11-19 15:38       ` Pavel Machek
2015-10-23 18:25 ` [U-Boot] [PATCH] arm: socfpga: Allow board specific config values for env Marek Vasut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.