]> git.dujemihanovic.xyz Git - u-boot.git/commit
env: Access Environment in SPI flashes before relocation
authorHeiko Schocher <hs@denx.de>
Sat, 10 Oct 2020 08:28:05 +0000 (10:28 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 30 Oct 2020 14:54:38 +0000 (10:54 -0400)
commit92765f45bb950c24b8997752ab94f35c1fb4425f
treee5eb6a012bac3a316ff940c8133a6419633cbc69
parent1229533a2a9cd85fb18a95841e986fca79dece86
env: Access Environment in SPI flashes before relocation

Enable the new Kconfig option ENV_SPI_EARLY if you want
to use Environment in SPI flash before relocation.
Call env_init() and than you can use env_get_f() for
accessing Environment variables.

Signed-off-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
env/Kconfig
env/sf.c