powerpc/mpc8641hpcn: Move environment to avoid conflict
authorScott Wood <scottwood@freescale.com>
Wed, 15 Apr 2015 21:13:48 +0000 (16:13 -0500)
committerYork Sun <yorksun@freescale.com>
Mon, 20 Apr 2015 17:15:30 +0000 (10:15 -0700)
commit221fbd229c0981feca0c6ca99fff3315197d0f86
tree72d7c5da2d2b9412fd7fc92c5043943ac309124f
parent747aedafa0f1364eba4878bdf399c438c4fb02b0
powerpc/mpc8641hpcn: Move environment to avoid conflict

U-Boot on this board grew a long time ago past the 384 KiB that
it reserves for the U-Boot image, before the environment.  Thus,
saveenv overwrites the U-Boot image and bricks the board.

I tried to find out when U-Boot grew beyond this point, but there is a
long stretch in the history where this board did not build -- and
AFAICT when it did fit in 384 KiB, it was missing vital features such
as fdt support.  Turning off CONFIG_VIDEO was not enough to make it
fit.  Thus, I don't think we have any choice other than to move the
environment.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
include/configs/MPC8641HPCN.h