diff options
author | Martyn Welch <martyn.welch@collabora.com> | 2019-02-25 15:32:59 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-04-12 08:05:48 -0400 |
commit | f2fae512f2c27f67dca8cdfb7965bdac4cfc63df (patch) | |
tree | f22fd77e26c9ee4d976dc2b510d6196f8a8451e6 /board/bosch/guardian | |
parent | f50939647cba1a9e23adcef0e5e5e7f98d8c5ca6 (diff) |
env: Don't check CONFIG_ENV_OFFSET_REDUND for SPL build
When booting using an SPL on am335x, if we want to support booting with
the boot ROM loader via USB (which uses RNDIS, making bootp and tftp
calls) we need to enable gadget eth in the SPL to load the main U-Boot
image. To enable CONFIG_SPL_ETH_SUPPORT, we must enable
CONFIG_SPL_ENV_SUPPORT as the environment is used by the eth support, but
we don't actually need to have environment variables saved in the SPL
environment. We do however have environment variables saved in the main
U-Boot image and enable CONFIG_ENV_OFFSET_REDUND (we are storing in raw
NAND). In such instances, even with the build config enabling both
CONFIG_CMD_SAVEENV and CONFIG_CMD_NAND, these options aren't set when
building the SPL, but CONFIG_ENV_OFFSET_REDUND still is.
Don't check this configuration option for SPL builds to enable the above
configuration.
Signed-off-by: Martyn Welch <martyn.welch@collabora.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/bosch/guardian')
0 files changed, 0 insertions, 0 deletions