Commit ee4d65117d49db094451f2943944777761e9cfad

Authored by Ying Zhang
Committed by York Sun
1 parent 254887a57e

SPL: powerpc: expand SPL's length to 128K

1. The SPL's length of SDCARD boot has not enough,expand the SPL's
length to 128K.
2. deleted unused symbol: CONFIG_SYS_RUN_INDDR

Signed-off-by: Ying Zhang <b40530@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>

Showing 2 changed files with 12 additions and 12 deletions Side-by-side Diff

include/configs/P1022DS.h
... ... @@ -30,12 +30,12 @@
30 30 #define CONFIG_FSL_LAW /* Use common FSL init code */
31 31 #define CONFIG_SYS_TEXT_BASE 0x11001000
32 32 #define CONFIG_SPL_TEXT_BASE 0xf8f81000
33   -#define CONFIG_SPL_PAD_TO 0x18000
34   -#define CONFIG_SPL_MAX_SIZE (96 * 1024)
  33 +#define CONFIG_SPL_PAD_TO 0x20000
  34 +#define CONFIG_SPL_MAX_SIZE (128 * 1024)
35 35 #define CONFIG_SYS_MMC_U_BOOT_SIZE (768 << 10)
36 36 #define CONFIG_SYS_MMC_U_BOOT_DST (0x11000000)
37 37 #define CONFIG_SYS_MMC_U_BOOT_START (0x11000000)
38   -#define CONFIG_SYS_MMC_U_BOOT_OFFS (96 << 10)
  38 +#define CONFIG_SYS_MMC_U_BOOT_OFFS (128 << 10)
39 39 #define CONFIG_SYS_MPC85XX_NO_RESETVEC
40 40 #define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot.lds"
41 41 #define CONFIG_SPL_MMC_BOOT
42 42  
... ... @@ -60,12 +60,12 @@
60 60 #define CONFIG_FSL_LAW /* Use common FSL init code */
61 61 #define CONFIG_SYS_TEXT_BASE 0x11001000
62 62 #define CONFIG_SPL_TEXT_BASE 0xf8f81000
63   -#define CONFIG_SPL_PAD_TO 0x18000
64   -#define CONFIG_SPL_MAX_SIZE (96 * 1024)
  63 +#define CONFIG_SPL_PAD_TO 0x20000
  64 +#define CONFIG_SPL_MAX_SIZE (128 * 1024)
65 65 #define CONFIG_SYS_SPI_FLASH_U_BOOT_SIZE (768 << 10)
66 66 #define CONFIG_SYS_SPI_FLASH_U_BOOT_DST (0x11000000)
67 67 #define CONFIG_SYS_SPI_FLASH_U_BOOT_START (0x11000000)
68   -#define CONFIG_SYS_SPI_FLASH_U_BOOT_OFFS (96 << 10)
  68 +#define CONFIG_SYS_SPI_FLASH_U_BOOT_OFFS (128 << 10)
69 69 #define CONFIG_SYS_MPC85XX_NO_RESETVEC
70 70 #define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot.lds"
71 71 #define CONFIG_SPL_SPI_BOOT
include/configs/p1_p2_rdb_pc.h
... ... @@ -159,12 +159,12 @@
159 159 #define CONFIG_FSL_LAW /* Use common FSL init code */
160 160 #define CONFIG_SYS_TEXT_BASE 0x11001000
161 161 #define CONFIG_SPL_TEXT_BASE 0xf8f81000
162   -#define CONFIG_SPL_PAD_TO 0x18000
163   -#define CONFIG_SPL_MAX_SIZE (96 * 1024)
  162 +#define CONFIG_SPL_PAD_TO 0x20000
  163 +#define CONFIG_SPL_MAX_SIZE (128 * 1024)
164 164 #define CONFIG_SYS_MMC_U_BOOT_SIZE (768 << 10)
165 165 #define CONFIG_SYS_MMC_U_BOOT_DST (0x11000000)
166 166 #define CONFIG_SYS_MMC_U_BOOT_START (0x11000000)
167   -#define CONFIG_SYS_MMC_U_BOOT_OFFS (96 << 10)
  167 +#define CONFIG_SYS_MMC_U_BOOT_OFFS (128 << 10)
168 168 #define CONFIG_SYS_MPC85XX_NO_RESETVEC
169 169 #define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot.lds"
170 170 #define CONFIG_SPL_MMC_BOOT
171 171  
... ... @@ -189,12 +189,12 @@
189 189 #define CONFIG_FSL_LAW /* Use common FSL init code */
190 190 #define CONFIG_SYS_TEXT_BASE 0x11001000
191 191 #define CONFIG_SPL_TEXT_BASE 0xf8f81000
192   -#define CONFIG_SPL_PAD_TO 0x18000
193   -#define CONFIG_SPL_MAX_SIZE (96 * 1024)
  192 +#define CONFIG_SPL_PAD_TO 0x20000
  193 +#define CONFIG_SPL_MAX_SIZE (128 * 1024)
194 194 #define CONFIG_SYS_SPI_FLASH_U_BOOT_SIZE (768 << 10)
195 195 #define CONFIG_SYS_SPI_FLASH_U_BOOT_DST (0x11000000)
196 196 #define CONFIG_SYS_SPI_FLASH_U_BOOT_START (0x11000000)
197   -#define CONFIG_SYS_SPI_FLASH_U_BOOT_OFFS (96 << 10)
  197 +#define CONFIG_SYS_SPI_FLASH_U_BOOT_OFFS (128 << 10)
198 198 #define CONFIG_SYS_MPC85XX_NO_RESETVEC
199 199 #define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot.lds"
200 200 #define CONFIG_SPL_SPI_BOOT