Browse Source

board: gdsys: Remove commands to reduce footprint

Commit "2842c1c fit: add sha256 support" badly increased
memory footprint, so some of our boards did not build anymore.
Since monitor base must not be changed I removed some commands
to save memory.

Maybe making sha256 optional for fit would be an option for
the future since it really has some beefy footprint.

Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
Dirk Eibach 11 năm trước cách đây
mục cha
commit
4fb9b41b55

+ 6 - 1
include/configs/dlvision-10g.h

@@ -64,9 +64,14 @@
 /*
 /*
  * Commands additional to the ones defined in amcc-common.h
  * Commands additional to the ones defined in amcc-common.h
  */
  */
-#define CONFIG_CMD_CACHE
 #define CONFIG_CMD_DTT
 #define CONFIG_CMD_DTT
+#undef CONFIG_CMD_DHCP
+#undef CONFIG_CMD_DIAG
 #undef CONFIG_CMD_EEPROM
 #undef CONFIG_CMD_EEPROM
+#undef CONFIG_CMD_ELF
+#undef CONFIG_CMD_I2C
+#undef CONFIG_CMD_IRQ
+#undef CONFIG_CMD_NFS
 
 
 /*
 /*
  * SDRAM configuration (please see cpu/ppc/sdram.[ch])
  * SDRAM configuration (please see cpu/ppc/sdram.[ch])

+ 6 - 1
include/configs/io.h

@@ -64,9 +64,14 @@
 /*
 /*
  * Commands additional to the ones defined in amcc-common.h
  * Commands additional to the ones defined in amcc-common.h
  */
  */
-#define CONFIG_CMD_CACHE
 #define CONFIG_CMD_DTT
 #define CONFIG_CMD_DTT
+#undef CONFIG_CMD_DHCP
+#undef CONFIG_CMD_DIAG
 #undef CONFIG_CMD_EEPROM
 #undef CONFIG_CMD_EEPROM
+#undef CONFIG_CMD_ELF
+#undef CONFIG_CMD_I2C
+#undef CONFIG_CMD_IRQ
+#undef CONFIG_CMD_NFS
 
 
 /*
 /*
  * SDRAM configuration (please see cpu/ppc/sdram.[ch])
  * SDRAM configuration (please see cpu/ppc/sdram.[ch])

+ 4 - 0
include/configs/iocon.h

@@ -64,6 +64,10 @@
 #define CONFIG_CMD_CACHE
 #define CONFIG_CMD_CACHE
 #define CONFIG_CMD_FPGAD
 #define CONFIG_CMD_FPGAD
 #undef CONFIG_CMD_EEPROM
 #undef CONFIG_CMD_EEPROM
+#undef CONFIG_CMD_ELF
+#undef CONFIG_CMD_I2C
+#undef CONFIG_CMD_IRQ
+#undef CONFIG_CMD_NFS
 
 
 /*
 /*
  * SDRAM configuration (please see cpu/ppc/sdram.[ch])
  * SDRAM configuration (please see cpu/ppc/sdram.[ch])

+ 6 - 2
include/configs/neo.h

@@ -61,10 +61,14 @@
 /*
 /*
  * Commands additional to the ones defined in amcc-common.h
  * Commands additional to the ones defined in amcc-common.h
  */
  */
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_DATE
 #define CONFIG_CMD_DTT
 #define CONFIG_CMD_DTT
+#undef CONFIG_CMD_DHCP
+#undef CONFIG_CMD_DIAG
 #undef CONFIG_CMD_EEPROM
 #undef CONFIG_CMD_EEPROM
+#undef CONFIG_CMD_ELF
+#undef CONFIG_CMD_I2C
+#undef CONFIG_CMD_IRQ
+#undef CONFIG_CMD_NFS
 
 
 /*
 /*
  * SDRAM configuration (please see cpu/ppc/sdram.[ch])
  * SDRAM configuration (please see cpu/ppc/sdram.[ch])