]> git.baikalelectronics.ru Git - uboot.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)
commitf26e2c00aadcc191c3970d0e03ccb1f836a6ffa2
treee220b10b24ae17f5dbcf9cf65950eea1e131c1c2
parent1d32645c5eb2a9549e10bb83e3e1da9ee3b7f726
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