summaryrefslogtreecommitdiff
path: root/include/configs/corenet_ds.h
diff options
context:
space:
mode:
authorShaohui Xie <Shaohui.Xie@freescale.com>2012-06-28 23:35:34 +0000
committerAndy Fleming <afleming@freescale.com>2012-08-08 17:13:38 -0500
commit0f57f6a3fe26a9c2d69b34e9caf8f83082d77636 (patch)
tree40b4d523ad3b7fd7d5b59a0d1cb8af2fd961dd9e /include/configs/corenet_ds.h
parent535a159ab677d553652843b1bd1c16106c42f66f (diff)
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>
Diffstat (limited to 'include/configs/corenet_ds.h')
-rw-r--r--include/configs/corenet_ds.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h
index 52a5ba9828..5f6621209b 100644
--- a/include/configs/corenet_ds.h
+++ b/include/configs/corenet_ds.h
@@ -77,7 +77,7 @@
#define CONFIG_ENV_OVERWRITE
#ifdef CONFIG_SYS_NO_FLASH
-#ifndef CONFIG_SRIOBOOT_SLAVE
+#if !defined(CONFIG_SRIOBOOT_SLAVE) && !defined(CONFIG_RAMBOOT_PBL)
#define CONFIG_ENV_IS_NOWHERE
#endif
#else