Merge branch 'master' of git://git.denx.de/u-boot-blackfin
[oweals/u-boot.git] / include / configs / amcc-common.h
index d3dc3e533670e3afa943cd4c65f3eeff746658f3..3b733c03eeba2184978988455d9da08a03deaba3 100644 (file)
 #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
  */