bfin: Use optimization for size instead of speed on two boards
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.
Signed-off-by Vasili Galka <[email protected]>
Cc Sonic Zhang <[email protected]>
--- 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
@@ -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
@@ -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