Skip to content
Snippets Groups Projects
Commit 7932d5fa authored by Alper Nebi Yasak's avatar Alper Nebi Yasak
Browse files

u-boot: Disable environment storage


U-Boot can be configured via environment variables which can be saved to
various storage devices. This usually defaults to MMC or SPI depending
on where it boots from, but assumes the device's layout is controlled by
U-Boot.

We should store the environment in SPI flash, but we also need to
configure coreboot FMAPs to reserve the area U-Boot would use as its
environment storage. For now, disable environment storage by setting
ENV_IS_NOWHERE=y to avoid overwriting random regions of SPI or MMC if
someone tries to save the variables.

Signed-off-by: default avatarAlper Nebi Yasak <alpernebiyasak@gmail.com>
parent 8d57468e
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment