diff mbox

[U-Boot,v1,11/11] board: gdsys: Remove commands to reduce footprint

Message ID 1398865804-12539-12-git-send-email-dirk.eibach@gdsys.cc
State Accepted
Delegated to: Stefan Roese
Headers show

Commit Message

Dirk Eibach April 30, 2014, 1:50 p.m. UTC
From: Dirk Eibach <dirk.eibach@gdsys.cc>

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>
---

 include/configs/dlvision-10g.h | 7 ++++++-
 include/configs/io.h           | 7 ++++++-
 include/configs/iocon.h        | 8 ++++++--
 include/configs/neo.h          | 8 ++++++--
 4 files changed, 24 insertions(+), 6 deletions(-)

Comments

Heiko Schocher April 30, 2014, 2:45 p.m. UTC | #1
Hello Dirk,

Am 30.04.2014 15:50, schrieb dirk.eibach@gdsys.cc:
> From: Dirk Eibach<dirk.eibach@gdsys.cc>
>
> 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.

Patches are welcome ;-)

bye,
Heiko
diff mbox

Patch

diff --git a/include/configs/dlvision-10g.h b/include/configs/dlvision-10g.h
index 77802d8..d8a1c0c 100644
--- a/include/configs/dlvision-10g.h
+++ b/include/configs/dlvision-10g.h
@@ -64,9 +64,14 @@ 
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_CACHE
 #define CONFIG_CMD_DTT
+#undef CONFIG_CMD_DHCP
+#undef CONFIG_CMD_DIAG
 #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])
diff --git a/include/configs/io.h b/include/configs/io.h
index 9da6cc6..649c0fb 100644
--- a/include/configs/io.h
+++ b/include/configs/io.h
@@ -64,9 +64,14 @@ 
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_CACHE
 #define CONFIG_CMD_DTT
+#undef CONFIG_CMD_DHCP
+#undef CONFIG_CMD_DIAG
 #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])
diff --git a/include/configs/iocon.h b/include/configs/iocon.h
index 0aeb95a..e2a77b8 100644
--- a/include/configs/iocon.h
+++ b/include/configs/iocon.h
@@ -61,9 +61,13 @@ 
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_FPGAD
+#undef CONFIG_CMD_DHCP
+#undef CONFIG_CMD_DIAG
 #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])
diff --git a/include/configs/neo.h b/include/configs/neo.h
index d549985..75dc862 100644
--- a/include/configs/neo.h
+++ b/include/configs/neo.h
@@ -61,10 +61,14 @@ 
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_DATE
 #define CONFIG_CMD_DTT
+#undef CONFIG_CMD_DHCP
+#undef CONFIG_CMD_DIAG
 #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])