x86: minnowmax: Adjust U-Boot environment address in SPI flash
authorBin Meng <bmeng.cn@gmail.com>
Wed, 11 May 2016 14:44:55 +0000 (07:44 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 23 May 2016 07:18:00 +0000 (15:18 +0800)
commit91fc5bf652c1e959373cd21df4809a74d31e75fe
tree3931505bb2906f1139a1286964cf7cb2a85753f8
parentf7e20f6628c679bd2617c0a58b44e8d9407b475d
x86: minnowmax: Adjust U-Boot environment address in SPI flash

Currently U-Boot environment address is at offset 0x7fe00 of a 8MB
SPI flash. When creating a partial u-boot.rom image without flash
descriptor and ME firmware, U-Boot actually occupies the last 1MB
of the flash, and reprograming U-Boot causes previous environment
settings get lost which is not convenient during testing.

Adjust the environment address to 0x6ef000 instead (before the MRC
cache data region in the flash).

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
doc/README.x86
include/configs/minnowmax.h