]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/configs/socfpga_sr1500.h
arm: socfpga: Fix SR1500 env position
[people/ms/u-boot.git] / include / configs / socfpga_sr1500.h
index fdf67ca09896867ccc46f80a5096c5cf7c73b7c7..e4aafaafc312a6f7974a3b00f5bc95710aca82c2 100644 (file)
 #define CONFIG_SYS_BOOTCOUNT_ADDR      0xfffffff8
 #define CONFIG_SYS_BOOTCOUNT_BE
 
-/* The rest of the configuration is shared */
-#include <configs/socfpga_common.h>
-
-/* U-Boot payload is stored at offset 0x60000 */
-#undef CONFIG_SYS_SPI_U_BOOT_OFFS
-#define CONFIG_SYS_SPI_U_BOOT_OFFS     0x60000
-
 /* Environment setting for SPI flash */
 #undef CONFIG_ENV_SIZE
 #define CONFIG_SYS_REDUNDAND_ENVIRONMENT
 #define CONFIG_ENV_SPI_MODE    SPI_MODE_3
 #define CONFIG_ENV_SPI_MAX_HZ  CONFIG_SF_DEFAULT_SPEED
 
+/* The rest of the configuration is shared */
+#include <configs/socfpga_common.h>
+
+/* U-Boot payload is stored at offset 0x60000 */
+#undef CONFIG_SYS_SPI_U_BOOT_OFFS
+#define CONFIG_SYS_SPI_U_BOOT_OFFS     0x60000
+
 #endif /* __CONFIG_SOCFPGA_SR1500_H__ */