configs: db410c: Set eMMC env partition to BOOT2
PATCH 1/2 configs: db410c: Set eMMC env partition to BOOT2
BOOT2 partition is empty and free for using to store the environment. Use that instead of the default user partition.
Signed-off-by Ramon Fried <[email protected]>
--- include/configs/dragonboard410c.h | 1 + 1 file changed, 1 insertion(+)
include/configs/dragonboard410c.h +1 -0
@@ -94,6 +94,7 @@ REFLASH(dragonboard/u-boot.img, 8)\#define CONFIG_ENV_SIZE 0x2000#define CONFIG_SYS_MMC_ENV_DEV 0/* mmc0 = emmc, mmc1 = sd */ +#define CONFIG_SYS_MMC_ENV_PART 2/* Set env partition to BOOT2 partition */ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + SZ_8M)
Signature · 1 line
2.17.1
PATCH 2/2 configs: dragonboard410c: remove env partition offset
BOOT2 is not partitioned, no need for partition offset.
Signed-off-by Ramon Fried <[email protected]>
--- arch/arm/dts/dragonboard410c-uboot.dtsi | 4 ---- 1 file changed, 4 deletions(-)
arch/arm/dts/dragonboard410c-uboot.dtsi +0 -4
@@ -6,10 +6,6 @@ */ / { - config { - u-boot,mmc-env-partition = "boot"; - }; - soc { u-boot,dm-pre-reloc;
Signature · 1 line
2.17.1
PATCH 2/2 configs: dragonboard410c: remove env partition offset
Quoted 3 lines · Ramon Fried
BOOT2 is not partitioned, no need for partition offset.
Signed-off-by Ramon Fried <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180619/4e74181d/attachment.sig>
PATCH 1/2 configs: db410c: Set eMMC env partition to BOOT2
In reply to Ramon FriedQuoted 4 lines · Ramon Fried
BOOT2 partition is empty and free for using to store the environment. Use that instead of the default user partition.
Signed-off-by Ramon Fried <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180619/f9b2e839/attachment.sig>