summaryrefslogtreecommitdiffstats
path: root/include/configs/amcc-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/amcc-common.h')
-rw-r--r--include/configs/amcc-common.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/amcc-common.h b/include/configs/amcc-common.h
index d3dc3e5336..3b733c03ee 100644
--- a/include/configs/amcc-common.h
+++ b/include/configs/amcc-common.h
@@ -76,6 +76,17 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
+#if defined(CONFIG_SYS_RAMBOOT)
+/*
+ * Disable NOR FLASH commands on RAM-booting version. One main reason for this
+ * RAM-booting version is boards with NAND and without NOR. This image can
+ * be used for initial NAND programming.
+ */
+#define CONFIG_SYS_NO_FLASH
+#undef CONFIG_CMD_FLASH
+#undef CONFIG_CMD_IMLS
+#endif
+
/*
* Miscellaneous configurable options
*/
OpenPOWER on IntegriCloud