summaryrefslogtreecommitdiff
path: root/board/eNET/eNET_start.S
diff options
context:
space:
mode:
authorMike Frysinger <[email protected]>2008-12-11 06:23:37 -0500
committerWolfgang Denk <[email protected]>2008-12-16 00:47:10 +0100
commit5b3375ac8c36c29c87abb132fede0509eb21e5c9 (patch)
treef44ea206e43139a95a3f4340409b7e2c6016dac8 /board/eNET/eNET_start.S
parentecf5f077c8e77454f532eaac3e3afb7cfc48c62d (diff)
env_sf: support embedded environments
If both CONFIG_ENV_SECT_SIZE and CONFIG_ENV_SIZE are defined, and the sect size is larger than the env size, then it means the env is embedded in a block. So we have to save/restore the part of the sector which is not the environment. Previously, saving the environment in SPI flash in this setup would probably brick the board as the rest of the sector tends to contain actual U-Boot data/code. Signed-off-by: Mike Frysinger <[email protected]> Acked-by: Haavard Skinnemoen <[email protected]>
Diffstat (limited to 'board/eNET/eNET_start.S')
0 files changed, 0 insertions, 0 deletions