diff options
author | Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com> | 2017-04-27 16:19:32 +0200 |
---|---|---|
committer | Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com> | 2017-04-27 16:19:32 +0200 |
commit | 882ecf40c65522e4fc5a41c5b5a2dc97075b05e7 (patch) | |
tree | de81a7ad71743e8d212d6cb7b7006f14a39d7ab4 | |
parent | 6ea7a8380ce6177b0d3b976a063a917dfa76f137 (diff) |
sun50i: increase CONFIG_ENV_OFFSET to 840kiB
640kiB is still too small. Move higher up, to the same location
that the Pangolin A31 board uses.
-rw-r--r-- | include/configs/sunxi-common.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 91cfada9f3..3df54a3e1a 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -153,8 +153,8 @@ #ifdef CONFIG_SUNXI_ENV_MMC #define CONFIG_ENV_IS_IN_MMC #define CONFIG_SYS_MMC_ENV_DEV 1 /* first detected MMC controller */ -#define CONFIG_ENV_OFFSET (840 << 10) /* 840 KiB */ -/* (544 << 10) */ /* (8 + 24 + 512) KiB */ + #define CONFIG_ENV_OFFSET (840 << 10) /* 840 KiB */ + /* (544 << 10) */ /* (8 + 24 + 512) KiB */ #endif #define CONFIG_SUPPORT_EMMC_BOOT @@ -180,9 +180,9 @@ #define CONFIG_SPL_SPI_FLASH_SUPPORT #else #ifdef CONFIG_MACH_SUN50I - #define CONFIG_ENV_OFFSET (640 << 10) /* (8 + 32 + 600) KiB */ + #define CONFIG_ENV_OFFSET (840 << 10) /* 840 KiB */ #else - #define CONFIG_ENV_OFFSET (544 << 10) /* (8 + 24 + 512) KiB */ + #define CONFIG_ENV_OFFSET (544 << 10) /* (8 + 24 + 512) KiB */ #endif #define CONFIG_ENV_IS_IN_MMC #define CONFIG_SYS_MMC_ENV_DEV 0 /* first detected MMC controller */ |