diff mbox

[U-Boot,3/3] bcm281xx: save ENV to MMC

Message ID 1459799985-10665-3-git-send-email-srae@broadcom.com
State Accepted
Commit 30b0195a4e0f30117cd9dd36bedde6cae0d9e210
Delegated to: Tom Rini
Headers show

Commit Message

Steve Rae April 4, 2016, 7:59 p.m. UTC
Enable saving ENV to MMC for the bcm281xx boards.

Signed-off-by: Steve Rae <srae@broadcom.com>
---

 include/configs/bcm28155_ap.h | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Comments

Tom Rini April 21, 2016, 11:20 a.m. UTC | #1
On Mon, Apr 04, 2016 at 12:59:45PM -0700, Steve Rae wrote:

> Enable saving ENV to MMC for the bcm281xx boards.
> 
> Signed-off-by: Steve Rae <srae@broadcom.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

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 */