Skip to contentSkip to conversation

Blackfin: adi boards: set compiled size limits

PATCH New Mike Frysinger 1 participant 1 message Oct 20, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Blackfin: adi boards: set compiled size limits

---
 include/configs/bf548-ezkit.h     |    1 +
 include/configs/bfin_adi_common.h |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)
include/configs/bf548-ezkit.h +1 -0
index 4412177..1c035cf 100644
@@ -180,6 +180,7 @@
  * Misc Settings
  */
 #define CONFIG_BOARD_EARLY_INIT_F
+#define CONFIG_BOARD_SIZE_LIMIT $$(( 512 * 1024 ))
 #define CONFIG_RTC_BFIN
 #define CONFIG_UART_CONSOLE	1
 #define CONFIG_BFIN_SPI_IMG_SIZE 0x50000
include/configs/bfin_adi_common.h +3 -0
index 608788a..03c6433 100644
@@ -295,6 +295,9 @@
 /*
  * Misc Settings
  */
+#ifndef CONFIG_BOARD_SIZE_LIMIT
+# define CONFIG_BOARD_SIZE_LIMIT $$(( 256 * 1024 ))
+#endif
 #define CONFIG_BFIN_SPI_GPIO_CS /* Only matters if BFIN_SPI is enabled */
 #define CONFIG_LZMA
 
Signature · 1 line
1.7.3.1