]> git.dujemihanovic.xyz Git - u-boot.git/commit
poplar: save environment at a different offset
authorAlex Elder <elder@linaro.org>
Tue, 18 Dec 2018 03:08:18 +0000 (11:08 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 14 Jan 2019 14:09:15 +0000 (09:09 -0500)
commitcdee91a04489b78fd8122ce2099fea503f4efbf8
treee220b10b24ae17f5dbcf9cf65950eea1e131c1c2
parentc9e257a9110249afba40c4c414b7c5265b0e6dd4
poplar: save environment at a different offset

Change CONFIG_ENV_OFFSET for Poplar to be 1MB further into the eMMC
than before.  This puts it immediately prior to the space we are
reserving offset 0x200000-0x400000 for UEFI to save its persistent
data.  Define CONFIG_ENV_SIZE as a product of env_mmc_nblks and the
sector size, like CONFIG_ENV_OFFSET is.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
include/configs/poplar.h