Commit d6e4baf49987fc6f75e8574c0c27301a828b3132

Authored by TsiChung Liew
Committed by John Rigby
1 parent c3a9e63742

ColdFire: Provide gzip image size V2 & V3 platforms

Default gzip bootm size is 8MB. Some platforms require
more than 8MB

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>

Showing 8 changed files with 9 additions and 1 deletions Side-by-side Diff

include/configs/M52277EVB.h
... ... @@ -246,6 +246,7 @@
246 246  
247 247 /* Initial Memory map for Linux */
248 248 #define CONFIG_SYS_BOOTMAPSZ (CONFIG_SYS_SDRAM_BASE + (CONFIG_SYS_SDRAM_SIZE << 20))
  249 +#define CONFIG_SYS_BOOTM_LEN (CONFIG_SYS_SDRAM_SIZE << 20)
249 250  
250 251 /*
251 252 * Configuration for environment
include/configs/M5235EVB.h
... ... @@ -197,6 +197,7 @@
197 197 */
198 198 /* Initial Memory map for Linux */
199 199 #define CONFIG_SYS_BOOTMAPSZ (CONFIG_SYS_SDRAM_BASE + (CONFIG_SYS_SDRAM_SIZE << 20))
  200 +#define CONFIG_SYS_BOOTM_LEN (CONFIG_SYS_SDRAM_SIZE << 20)
200 201  
201 202 /*-----------------------------------------------------------------------
202 203 * FLASH organization
include/configs/M5253DEMO.h
... ... @@ -200,6 +200,7 @@
200 200 * the maximum mapped by the Linux kernel during initialization ??
201 201 */
202 202 #define CONFIG_SYS_BOOTMAPSZ (CONFIG_SYS_SDRAM_BASE + (CONFIG_SYS_SDRAM_SIZE << 20))
  203 +#define CONFIG_SYS_BOOTM_LEN (CONFIG_SYS_SDRAM_SIZE << 20)
203 204  
204 205 /* FLASH organization */
205 206 #define CONFIG_SYS_FLASH_BASE (CONFIG_SYS_CS0_BASE)
include/configs/M5253EVBE.h
... ... @@ -164,6 +164,7 @@
164 164 * the maximum mapped by the Linux kernel during initialization ??
165 165 */
166 166 #define CONFIG_SYS_BOOTMAPSZ (CONFIG_SYS_SDRAM_BASE + (CONFIG_SYS_SDRAM_SIZE << 20))
  167 +#define CONFIG_SYS_BOOTM_LEN (CONFIG_SYS_SDRAM_SIZE << 20)
167 168  
168 169 /* FLASH organization */
169 170 #define CONFIG_SYS_FLASH_BASE CONFIG_SYS_CS0_BASE
include/configs/M5275EVB.h
... ... @@ -190,7 +190,8 @@
190 190 * have to be in the first 8 MB of memory, since this is
191 191 * the maximum mapped by the Linux kernel during initialization ??
192 192 */
193   -#define CONFIG_SYS_BOOTMAPSZ (8 << 20) /* Initial mmap for Linux */
  193 +#define CONFIG_SYS_BOOTMAPSZ (CONFIG_SYS_SDRAM_BASE + (CONFIG_SYS_SDRAM_SIZE << 20))
  194 +#define CONFIG_SYS_BOOTM_LEN (CONFIG_SYS_SDRAM_SIZE << 20)
194 195  
195 196 /*-----------------------------------------------------------------------
196 197 * FLASH organization
include/configs/M53017EVB.h
... ... @@ -196,6 +196,7 @@
196 196 * the maximum mapped by the Linux kernel during initialization ??
197 197 */
198 198 #define CONFIG_SYS_BOOTMAPSZ (CONFIG_SYS_SDRAM_BASE + (CONFIG_SYS_SDRAM_SIZE << 20))
  199 +#define CONFIG_SYS_BOOTM_LEN (CONFIG_SYS_SDRAM_SIZE << 20)
199 200  
200 201 /*-----------------------------------------------------------------------
201 202 * FLASH organization
include/configs/M5329EVB.h
... ... @@ -196,6 +196,7 @@
196 196 * the maximum mapped by the Linux kernel during initialization ??
197 197 */
198 198 #define CONFIG_SYS_BOOTMAPSZ (CONFIG_SYS_SDRAM_BASE + (CONFIG_SYS_SDRAM_SIZE << 20))
  199 +#define CONFIG_SYS_BOOTM_LEN (CONFIG_SYS_SDRAM_SIZE << 20)
199 200  
200 201 /*-----------------------------------------------------------------------
201 202 * FLASH organization
include/configs/M5373EVB.h
... ... @@ -196,6 +196,7 @@
196 196 * the maximum mapped by the Linux kernel during initialization ??
197 197 */
198 198 #define CONFIG_SYS_BOOTMAPSZ (CONFIG_SYS_SDRAM_BASE + (CONFIG_SYS_SDRAM_SIZE << 20))
  199 +#define CONFIG_SYS_BOOTM_LEN (CONFIG_SYS_SDRAM_SIZE << 20)
199 200  
200 201 /*-----------------------------------------------------------------------
201 202 * FLASH organization