arm: socfpga: Enabling U-Boot environment support in QSPI
PATCH 1/1 arm: socfpga: Enabling U-Boot environment support in QSPI
Enabling the support of storing U-Boot environment within serial NOR flash. By default, its still store into SDMMC
Signed-off-by Chin Liang See <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Pavel Machek <[email protected]>
Cc Marek Vasut <[email protected]>
Cc Stefan Roese <[email protected]>
--- include/configs/socfpga_common.h | 6 ++++++ 1 file changed, 6 insertions(+)
include/configs/socfpga_common.h +6 -0
@@ -291,6 +291,12 @@ unsigned int cm_get_qspi_controller_clk_hz(void);#define CONFIG_ENV_OFFSET 512/* just after the MBR */ #endif +/* Environment for QSPI boot */ +#if defined(CONFIG_ENV_IS_IN_SPI_FLASH ) && !defined(CONFIG_ENV_OFFSET ) +#define CONFIG_ENV_OFFSET 0x00100000 +#define CONFIG_ENV_SECT_SIZE (64 * 1024) +#endif +/* * mtd partitioning for serial NOR flash *
Signature · 1 line
1.9.2.468.g3f0c02a