aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSteve Rae <srae@broadcom.com>2016-04-04 12:59:45 -0700
committerTom Rini <trini@konsulko.com>2016-04-18 12:29:30 -0400
commit30b0195a4e0f30117cd9dd36bedde6cae0d9e210 (patch)
treed8319b69419b23470978ac3ca783d718996a63b6 /include
parentefe8d89943123b9386785a21c0ef906b79f8f2dc (diff)
downloadu-boot-30b0195a4e0f30117cd9dd36bedde6cae0d9e210.zip
u-boot-30b0195a4e0f30117cd9dd36bedde6cae0d9e210.tar.gz
u-boot-30b0195a4e0f30117cd9dd36bedde6cae0d9e210.tar.bz2
bcm281xx: save ENV to MMC
Enable saving ENV to MMC for the bcm281xx boards. Signed-off-by: Steve Rae <srae@broadcom.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/bcm28155_ap.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/configs/bcm28155_ap.h b/include/configs/bcm28155_ap.h
index cf25bde..052a1fa 100644
--- a/include/configs/bcm28155_ap.h
+++ b/include/configs/bcm28155_ap.h
@@ -88,8 +88,11 @@
#define CONFIG_BAUDRATE 115200
-#define CONFIG_ENV_SIZE 0x10000
-#define CONFIG_ENV_IS_NOWHERE
+/* must fit into GPT:u-boot-env partition */
+#define CONFIG_ENV_IS_IN_MMC
+#define CONFIG_SYS_MMC_ENV_DEV 0
+#define CONFIG_ENV_OFFSET (0x00011a00 * 512)
+#define CONFIG_ENV_SIZE (8 * 512)
#define CONFIG_SYS_NO_FLASH /* Not using NAND/NOR unmanaged flash */