powerpc/corenet: fix compile error when CONFIG_SYS_NO_FLASH is defined
authorShaohui Xie <Shaohui.Xie@freescale.com>
Thu, 28 Jun 2012 23:35:34 +0000 (23:35 +0000)
committerAndy Fleming <afleming@freescale.com>
Wed, 8 Aug 2012 22:13:38 +0000 (17:13 -0500)
commit0f57f6a3fe26a9c2d69b34e9caf8f83082d77636
tree40b4d523ad3b7fd7d5b59a0d1cb8af2fd961dd9e
parent535a159ab677d553652843b1bd1c16106c42f66f
powerpc/corenet: fix compile error when CONFIG_SYS_NO_FLASH is defined

ENV location compile logic is wrong, and when CONFIG_SYS_NO_FLASH is defined
and non-NOR u-boot is building, it will cause compile error. Also, add
CONFIG_SYS_FLASH_USE_BUFFER_WRITE for p2041, which will improve NOR flash
write performance.

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
include/configs/P2041RDB.h
include/configs/corenet_ds.h