From: Steve Rae Date: Mon, 4 Apr 2016 19:59:45 +0000 (-0700) Subject: bcm281xx: save ENV to MMC X-Git-Tag: v2016.05-rc2~44 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=30b0195a4e0f30117cd9dd36bedde6cae0d9e210;p=u-boot bcm281xx: save ENV to MMC Enable saving ENV to MMC for the bcm281xx boards. Signed-off-by: Steve Rae --- diff --git a/include/configs/bcm28155_ap.h b/include/configs/bcm28155_ap.h index cf25bdebe8..052a1fa9e8 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 */