From: Steve Rae Date: Mon, 4 Apr 2016 12:59:45 -0700 Subject: [U-Boot] [PATCH 3/3] bcm281xx: save ENV to MMC In-Reply-To: <1459799985-10665-1-git-send-email-srae@broadcom.com> References: <1459799985-10665-1-git-send-email-srae@broadcom.com> Message-ID: <1459799985-10665-3-git-send-email-srae@broadcom.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Enable saving ENV to MMC for the bcm281xx boards. Signed-off-by: Steve Rae --- include/configs/bcm28155_ap.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/configs/bcm28155_ap.h b/include/configs/bcm28155_ap.h index f1e8ed1..2b8e324 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 */ -- 1.8.5