Skip to contentSkip to conversation

bfin: Use optimization for size instead of speed on two boards

PATCH New Vasili Galka 1 participant 1 message Aug 14, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bfin: Use optimization for size instead of speed on two boards

The build of bf533-stamp and bf538f-ezkit boards is broken. The code does not fit into the available RAM. This fixes the build by favoring size optimization over speed optimization for the code in lib directory.

---
 include/configs/bf533-stamp.h  |    1 -
 include/configs/bf538f-ezkit.h |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
include/configs/bf533-stamp.h +0 -1
index d82c5b2..f5b9658 100644
@@ -185,7 +185,6 @@
  */
 #define CONFIG_RTC_BFIN
 #define CONFIG_UART_CONSOLE	0
-#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED
 
 /* FLASH/ETHERNET uses the same async bank */
 #define SHARED_RESOURCES 	1
include/configs/bf538f-ezkit.h +0 -1
index 742c299..2837cf8 100644
@@ -134,7 +134,6 @@
  */
 #define CONFIG_RTC_BFIN
 #define CONFIG_UART_CONSOLE	0
-#define CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED
 
 /*
  * Pull in common ADI header for remaining command/environment setup
Signature · 1 line
1.7.9