configs: dragonboard410c: Save environment data on eMMC

Save the environment data at the end of the boot partition on emmc

Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
This commit is contained in:
Jorge Ramirez-Ortiz 2017-11-06 14:16:38 +01:00 committed by Tom Rini
parent c9e87ba665
commit 9a16153834
3 changed files with 10 additions and 0 deletions

View file

@ -6,6 +6,13 @@
* SPDX-License-Identifier: GPL-2.0+
*/
/ {
config {
u-boot,mmc-env-partition = "boot";
};
};
&pm8916_gpios {
usb_hub_reset_pm {
gpios = <&pm8916_gpios 2 0>;

View file

@ -43,3 +43,5 @@ CONFIG_USB_ETHER_ASIX88179=y
CONFIG_USB_ETHER_MCS7830=y
CONFIG_USB_ETHER_SMSC95XX=y
CONFIG_OF_LIBFDT_OVERLAY=y
CONFIG_OF_CONTROL=y
CONFIG_ENV_IS_IN_MMC=y

View file

@ -100,6 +100,7 @@ REFLASH(dragonboard/u-boot.img, 8)\
BOOTENV
#define CONFIG_ENV_SIZE 0x2000
#define CONFIG_SYS_MMC_ENV_DEV 0 /* mmc0 = emmc, mmc1 = sd */
#define CONFIG_ENV_VARS_UBOOT_CONFIG
/* Size of malloc() pool */