[U-Boot] [PATCH] bfin: Use optimization for size instead of speed on two boards
Vasili Galka
vvv444 at gmail.com
Thu Aug 14 11:42:41 CEST 2014
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 <vvv444 at gmail.com>
Cc: Sonic Zhang <sonic.adi at gmail.com>
---
include/configs/bf533-stamp.h | 1 -
include/configs/bf538f-ezkit.h | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/include/configs/bf533-stamp.h b/include/configs/bf533-stamp.h
index d82c5b2..f5b9658 100644
--- a/include/configs/bf533-stamp.h
+++ b/include/configs/bf533-stamp.h
@@ -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
diff --git a/include/configs/bf538f-ezkit.h b/include/configs/bf538f-ezkit.h
index 742c299..2837cf8 100644
--- a/include/configs/bf538f-ezkit.h
+++ b/include/configs/bf538f-ezkit.h
@@ -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
--
1.7.9
More information about the U-Boot
mailing list