]> git.sur5r.net Git - u-boot/commitdiff
bcm281xx: save ENV to MMC
authorSteve Rae <srae@broadcom.com>
Mon, 4 Apr 2016 19:59:45 +0000 (12:59 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 18 Apr 2016 16:29:30 +0000 (12:29 -0400)
Enable saving ENV to MMC for the bcm281xx boards.

Signed-off-by: Steve Rae <srae@broadcom.com>
include/configs/bcm28155_ap.h

index cf25bdebe879642ccec3b69d8288c9bcc18c1d6a..052a1fa9e86df0e14f368f72e16a380c0749ef25 100644 (file)
 
 #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 */