mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-04-04 06:46:11 +00:00
Convert CONFIG_SPL_INIT_MINIMAL et al to Kconfig
This converts the following to Kconfig: CONFIG_SPL_INIT_MINIMAL CONFIG_SPL_FLUSH_IMAGE CONFIG_SPL_SKIP_RELOCATE Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
e2475141bd
commit
b35316fb67
74 changed files with 115 additions and 36 deletions
README
arch/powerpc
board
common/spl
configs
P1010RDB-PA_36BIT_NAND_defconfigP1010RDB-PA_36BIT_NOR_defconfigP1010RDB-PA_36BIT_SDCARD_defconfigP1010RDB-PA_36BIT_SPIFLASH_defconfigP1010RDB-PA_NAND_defconfigP1010RDB-PA_NOR_defconfigP1010RDB-PA_SDCARD_defconfigP1010RDB-PA_SPIFLASH_defconfigP1010RDB-PB_36BIT_NAND_defconfigP1010RDB-PB_36BIT_NOR_defconfigP1010RDB-PB_36BIT_SDCARD_defconfigP1010RDB-PB_36BIT_SPIFLASH_defconfigP1010RDB-PB_NAND_defconfigP1010RDB-PB_NOR_defconfigP1010RDB-PB_SDCARD_defconfigP1010RDB-PB_SPIFLASH_defconfigP1020RDB-PC_36BIT_NAND_defconfigP1020RDB-PC_36BIT_SDCARD_defconfigP1020RDB-PC_36BIT_SPIFLASH_defconfigP1020RDB-PC_36BIT_defconfigP1020RDB-PC_NAND_defconfigP1020RDB-PC_SDCARD_defconfigP1020RDB-PC_SPIFLASH_defconfigP1020RDB-PC_defconfigP1020RDB-PD_NAND_defconfigP1020RDB-PD_SDCARD_defconfigP1020RDB-PD_SPIFLASH_defconfigP1020RDB-PD_defconfigP2020RDB-PC_36BIT_NAND_defconfigP2020RDB-PC_36BIT_SDCARD_defconfigP2020RDB-PC_36BIT_SPIFLASH_defconfigP2020RDB-PC_36BIT_defconfigP2020RDB-PC_NAND_defconfigP2020RDB-PC_SDCARD_defconfigP2020RDB-PC_SPIFLASH_defconfigP2020RDB-PC_defconfigT1024RDB_NAND_defconfigT1024RDB_SDCARD_defconfigT1024RDB_SPIFLASH_defconfigT1042D4RDB_NAND_defconfigT1042D4RDB_SDCARD_defconfigT1042D4RDB_SPIFLASH_defconfigT2080QDS_NAND_defconfigT2080QDS_SDCARD_defconfigT2080QDS_SPIFLASH_defconfigT2080RDB_NAND_defconfigT2080RDB_SDCARD_defconfigT2080RDB_SPIFLASH_defconfigT2080RDB_revD_NAND_defconfigT2080RDB_revD_SDCARD_defconfigT2080RDB_revD_SPIFLASH_defconfigT4240RDB_SDCARD_defconfig
include/configs
6
README
6
README
|
@ -1716,9 +1716,6 @@ The following options need to be configured:
|
||||||
For ARM, enable an optional function to print more information
|
For ARM, enable an optional function to print more information
|
||||||
about the running system.
|
about the running system.
|
||||||
|
|
||||||
CONFIG_SPL_INIT_MINIMAL
|
|
||||||
Arch init code should be built for a very small image
|
|
||||||
|
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR,
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR,
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS
|
||||||
Sector and number of sectors to load kernel argument
|
Sector and number of sectors to load kernel argument
|
||||||
|
@ -1742,9 +1739,6 @@ The following options need to be configured:
|
||||||
continuing (the hardware starts execution after just
|
continuing (the hardware starts execution after just
|
||||||
loading the first page rather than the full 4K).
|
loading the first page rather than the full 4K).
|
||||||
|
|
||||||
CONFIG_SPL_SKIP_RELOCATE
|
|
||||||
Avoid SPL relocation
|
|
||||||
|
|
||||||
CONFIG_SPL_UBI
|
CONFIG_SPL_UBI
|
||||||
Support for a lightweight UBI (fastmap) scanner and
|
Support for a lightweight UBI (fastmap) scanner and
|
||||||
loader
|
loader
|
||||||
|
|
|
@ -8,10 +8,12 @@
|
||||||
MINIMAL=
|
MINIMAL=
|
||||||
|
|
||||||
ifdef CONFIG_SPL_BUILD
|
ifdef CONFIG_SPL_BUILD
|
||||||
|
ifndef CONFIG_TPL_BUILD
|
||||||
ifdef CONFIG_SPL_INIT_MINIMAL
|
ifdef CONFIG_SPL_INIT_MINIMAL
|
||||||
MINIMAL=y
|
MINIMAL=y
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
extra-y = start.o
|
extra-y = start.o
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_NAND_SPL) || \
|
#if defined(CONFIG_NAND_SPL) || \
|
||||||
(defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_INIT_MINIMAL))
|
(defined(CONFIG_SPL_BUILD) && CONFIG_IS_ENABLED(INIT_MINIMAL))
|
||||||
#define MINIMAL_SPL
|
#define MINIMAL_SPL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -9,10 +9,12 @@
|
||||||
MINIMAL=
|
MINIMAL=
|
||||||
|
|
||||||
ifdef CONFIG_SPL_BUILD
|
ifdef CONFIG_SPL_BUILD
|
||||||
|
ifndef CONFIG_TPL_BUILD
|
||||||
ifdef CONFIG_SPL_INIT_MINIMAL
|
ifdef CONFIG_SPL_INIT_MINIMAL
|
||||||
MINIMAL=y
|
MINIMAL=y
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
extra-y = start.o resetvec.o
|
extra-y = start.o resetvec.o
|
||||||
|
|
||||||
|
|
|
@ -177,7 +177,7 @@ void cpu_init_early_f(void *fdt)
|
||||||
invalidate_tlb(1);
|
invalidate_tlb(1);
|
||||||
|
|
||||||
#if defined(CONFIG_SYS_PPC_E500_DEBUG_TLB) && \
|
#if defined(CONFIG_SYS_PPC_E500_DEBUG_TLB) && \
|
||||||
!(defined(CONFIG_SPL_INIT_MINIMAL) && defined(CONFIG_SPL_BUILD)) && \
|
!(CONFIG_IS_ENABLED(INIT_MINIMAL) && defined(CONFIG_SPL_BUILD)) && \
|
||||||
!defined(CONFIG_NAND_SPL)
|
!defined(CONFIG_NAND_SPL)
|
||||||
disable_tlb(CONFIG_SYS_PPC_E500_DEBUG_TLB);
|
disable_tlb(CONFIG_SYS_PPC_E500_DEBUG_TLB);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#define LAW_EN 0x80000000
|
#define LAW_EN 0x80000000
|
||||||
|
|
||||||
#if defined(CONFIG_NAND_SPL) || \
|
#if defined(CONFIG_NAND_SPL) || \
|
||||||
(defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_INIT_MINIMAL))
|
(defined(CONFIG_SPL_BUILD) && CONFIG_IS_ENABLED(INIT_MINIMAL))
|
||||||
#define MINIMAL_SPL
|
#define MINIMAL_SPL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ __weak void init_tlbs(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(CONFIG_NAND_SPL) && \
|
#if !defined(CONFIG_NAND_SPL) && \
|
||||||
(!defined(CONFIG_SPL_BUILD) || !defined(CONFIG_SPL_INIT_MINIMAL))
|
(!defined(CONFIG_SPL_BUILD) || !CONFIG_IS_ENABLED(INIT_MINIMAL))
|
||||||
void read_tlbcam_entry(int idx, u32 *valid, u32 *tsize, unsigned long *epn,
|
void read_tlbcam_entry(int idx, u32 *valid, u32 *tsize, unsigned long *epn,
|
||||||
phys_addr_t *rpn)
|
phys_addr_t *rpn)
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,10 +5,12 @@
|
||||||
MINIMAL=
|
MINIMAL=
|
||||||
|
|
||||||
ifdef CONFIG_SPL_BUILD
|
ifdef CONFIG_SPL_BUILD
|
||||||
|
ifndef CONFIG_TPL_BUILD
|
||||||
ifdef CONFIG_SPL_INIT_MINIMAL
|
ifdef CONFIG_SPL_INIT_MINIMAL
|
||||||
MINIMAL=y
|
MINIMAL=y
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef MINIMAL
|
ifdef MINIMAL
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,7 @@ void disable_law(u8 idx)
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(CONFIG_NAND_SPL) && \
|
#if !defined(CONFIG_NAND_SPL) && \
|
||||||
(!defined(CONFIG_SPL_BUILD) || !defined(CONFIG_SPL_INIT_MINIMAL))
|
(!defined(CONFIG_SPL_BUILD) || !CONFIG_IS_ENABLED(INIT_MINIMAL))
|
||||||
static int get_law_entry(u8 i, struct law_entry *e)
|
static int get_law_entry(u8 i, struct law_entry *e)
|
||||||
{
|
{
|
||||||
u32 lawar;
|
u32 lawar;
|
||||||
|
@ -110,7 +110,7 @@ int set_next_law(phys_addr_t addr, enum law_size sz, enum law_trgt_if id)
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(CONFIG_NAND_SPL) && \
|
#if !defined(CONFIG_NAND_SPL) && \
|
||||||
(!defined(CONFIG_SPL_BUILD) || !defined(CONFIG_SPL_INIT_MINIMAL))
|
(!defined(CONFIG_SPL_BUILD) || !CONFIG_IS_ENABLED(INIT_MINIMAL))
|
||||||
int set_last_law(phys_addr_t addr, enum law_size sz, enum law_trgt_if id)
|
int set_last_law(phys_addr_t addr, enum law_size sz, enum law_trgt_if id)
|
||||||
{
|
{
|
||||||
u32 idx;
|
u32 idx;
|
||||||
|
|
|
@ -10,10 +10,12 @@ lib-$(CONFIG_USE_PRIVATE_LIBGCC) += _ashldi3.o _ashrdi3.o _lshrdi3.o
|
||||||
MINIMAL=
|
MINIMAL=
|
||||||
|
|
||||||
ifdef CONFIG_SPL_BUILD
|
ifdef CONFIG_SPL_BUILD
|
||||||
|
ifndef CONFIG_TPL_BUILD
|
||||||
ifdef CONFIG_SPL_INIT_MINIMAL
|
ifdef CONFIG_SPL_INIT_MINIMAL
|
||||||
MINIMAL=y
|
MINIMAL=y
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
obj-y += bdinfo.o
|
obj-y += bdinfo.o
|
||||||
|
|
||||||
|
|
|
@ -8,10 +8,12 @@
|
||||||
MINIMAL=
|
MINIMAL=
|
||||||
|
|
||||||
ifdef CONFIG_SPL_BUILD
|
ifdef CONFIG_SPL_BUILD
|
||||||
|
ifndef CONFIG_TPL_BUILD
|
||||||
ifdef CONFIG_SPL_INIT_MINIMAL
|
ifdef CONFIG_SPL_INIT_MINIMAL
|
||||||
MINIMAL=y
|
MINIMAL=y
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef MINIMAL
|
ifdef MINIMAL
|
||||||
# necessary to create built-in.o
|
# necessary to create built-in.o
|
||||||
|
|
|
@ -6,10 +6,12 @@
|
||||||
MINIMAL=
|
MINIMAL=
|
||||||
|
|
||||||
ifdef CONFIG_SPL_BUILD
|
ifdef CONFIG_SPL_BUILD
|
||||||
|
ifndef CONFIG_TPL_BUILD
|
||||||
ifdef CONFIG_SPL_INIT_MINIMAL
|
ifdef CONFIG_SPL_INIT_MINIMAL
|
||||||
MINIMAL=y
|
MINIMAL=y
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef MINIMAL
|
ifdef MINIMAL
|
||||||
# necessary to create built-in.o
|
# necessary to create built-in.o
|
||||||
|
|
|
@ -5,10 +5,12 @@
|
||||||
MINIMAL=
|
MINIMAL=
|
||||||
|
|
||||||
ifdef CONFIG_SPL_BUILD
|
ifdef CONFIG_SPL_BUILD
|
||||||
|
ifndef CONFIG_TPL_BUILD
|
||||||
ifdef CONFIG_SPL_INIT_MINIMAL
|
ifdef CONFIG_SPL_INIT_MINIMAL
|
||||||
MINIMAL=y
|
MINIMAL=y
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef MINIMAL
|
ifdef MINIMAL
|
||||||
obj-y += spl_minimal.o
|
obj-y += spl_minimal.o
|
||||||
|
|
|
@ -5,10 +5,12 @@
|
||||||
MINIMAL=
|
MINIMAL=
|
||||||
|
|
||||||
ifdef CONFIG_SPL_BUILD
|
ifdef CONFIG_SPL_BUILD
|
||||||
|
ifndef CONFIG_TPL_BUILD
|
||||||
ifdef CONFIG_SPL_INIT_MINIMAL
|
ifdef CONFIG_SPL_INIT_MINIMAL
|
||||||
MINIMAL=y
|
MINIMAL=y
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef MINIMAL
|
ifdef MINIMAL
|
||||||
obj-y += spl_minimal.o
|
obj-y += spl_minimal.o
|
||||||
|
|
|
@ -140,6 +140,20 @@ config SPL_FSL_PBL
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
menu "PowerPC SPL specific options"
|
||||||
|
depends on PPC && (SUPPORT_SPL && !SPL_FRAMEWORK)
|
||||||
|
|
||||||
|
config SPL_INIT_MINIMAL
|
||||||
|
bool "Arch init code will be built for a very small image"
|
||||||
|
|
||||||
|
config SPL_FLUSH_IMAGE
|
||||||
|
bool "Clean dcache and invalidate icache after loading the image"
|
||||||
|
|
||||||
|
config SPL_SKIP_RELOCATE
|
||||||
|
bool "Skip relocating SPL"
|
||||||
|
|
||||||
|
endmenu
|
||||||
|
|
||||||
config HANDOFF
|
config HANDOFF
|
||||||
bool "Pass hand-off information from SPL to U-Boot proper"
|
bool "Pass hand-off information from SPL to U-Boot proper"
|
||||||
depends on SPL && BLOBLIST
|
depends on SPL && BLOBLIST
|
||||||
|
|
|
@ -29,6 +29,8 @@ CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_BOARD_EARLY_INIT_R=y
|
CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_NAND_BOOT=y
|
CONFIG_SPL_NAND_BOOT=y
|
||||||
|
CONFIG_SPL_INIT_MINIMAL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_NAND_SUPPORT=y
|
CONFIG_SPL_NAND_SUPPORT=y
|
||||||
CONFIG_TPL=y
|
CONFIG_TPL=y
|
||||||
CONFIG_TPL_DRIVERS_MISC=y
|
CONFIG_TPL_DRIVERS_MISC=y
|
||||||
|
|
|
@ -20,6 +20,7 @@ CONFIG_BOOTCOMMAND="setenv bootargs root=/dev/ram rw console=$consoledev,$baudra
|
||||||
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
||||||
CONFIG_BOARD_EARLY_INIT_F=y
|
CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_BOARD_EARLY_INIT_R=y
|
CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_SYS_PBSIZE=276
|
CONFIG_SYS_PBSIZE=276
|
||||||
CONFIG_CMD_IMLS=y
|
CONFIG_CMD_IMLS=y
|
||||||
|
|
|
@ -27,6 +27,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_BOARD_EARLY_INIT_R=y
|
CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_MMC_BOOT=y
|
CONFIG_SPL_MMC_BOOT=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -30,6 +30,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_BOARD_EARLY_INIT_R=y
|
CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_SPI_BOOT=y
|
CONFIG_SPL_SPI_BOOT=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -28,6 +28,8 @@ CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_BOARD_EARLY_INIT_R=y
|
CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_NAND_BOOT=y
|
CONFIG_SPL_NAND_BOOT=y
|
||||||
|
CONFIG_SPL_INIT_MINIMAL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_NAND_SUPPORT=y
|
CONFIG_SPL_NAND_SUPPORT=y
|
||||||
CONFIG_TPL=y
|
CONFIG_TPL=y
|
||||||
CONFIG_TPL_DRIVERS_MISC=y
|
CONFIG_TPL_DRIVERS_MISC=y
|
||||||
|
|
|
@ -19,6 +19,7 @@ CONFIG_BOOTCOMMAND="setenv bootargs root=/dev/ram rw console=$consoledev,$baudra
|
||||||
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
||||||
CONFIG_BOARD_EARLY_INIT_F=y
|
CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_BOARD_EARLY_INIT_R=y
|
CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_SYS_PBSIZE=276
|
CONFIG_SYS_PBSIZE=276
|
||||||
CONFIG_CMD_IMLS=y
|
CONFIG_CMD_IMLS=y
|
||||||
|
|
|
@ -26,6 +26,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_BOARD_EARLY_INIT_R=y
|
CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_MMC_BOOT=y
|
CONFIG_SPL_MMC_BOOT=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -29,6 +29,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_BOARD_EARLY_INIT_R=y
|
CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_SPI_BOOT=y
|
CONFIG_SPL_SPI_BOOT=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -30,6 +30,8 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
CONFIG_ID_EEPROM=y
|
CONFIG_ID_EEPROM=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_NAND_BOOT=y
|
CONFIG_SPL_NAND_BOOT=y
|
||||||
|
CONFIG_SPL_INIT_MINIMAL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_NAND_SUPPORT=y
|
CONFIG_SPL_NAND_SUPPORT=y
|
||||||
CONFIG_TPL=y
|
CONFIG_TPL=y
|
||||||
CONFIG_TPL_DRIVERS_MISC=y
|
CONFIG_TPL_DRIVERS_MISC=y
|
||||||
|
|
|
@ -21,6 +21,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
||||||
CONFIG_BOARD_EARLY_INIT_F=y
|
CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_BOARD_EARLY_INIT_R=y
|
CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
CONFIG_ID_EEPROM=y
|
CONFIG_ID_EEPROM=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_SYS_PBSIZE=276
|
CONFIG_SYS_PBSIZE=276
|
||||||
CONFIG_CMD_IMLS=y
|
CONFIG_CMD_IMLS=y
|
||||||
|
|
|
@ -28,6 +28,7 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
CONFIG_ID_EEPROM=y
|
CONFIG_ID_EEPROM=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_MMC_BOOT=y
|
CONFIG_SPL_MMC_BOOT=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -31,6 +31,7 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
CONFIG_ID_EEPROM=y
|
CONFIG_ID_EEPROM=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_SPI_BOOT=y
|
CONFIG_SPL_SPI_BOOT=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -29,6 +29,8 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
CONFIG_ID_EEPROM=y
|
CONFIG_ID_EEPROM=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_NAND_BOOT=y
|
CONFIG_SPL_NAND_BOOT=y
|
||||||
|
CONFIG_SPL_INIT_MINIMAL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_NAND_SUPPORT=y
|
CONFIG_SPL_NAND_SUPPORT=y
|
||||||
CONFIG_TPL=y
|
CONFIG_TPL=y
|
||||||
CONFIG_TPL_DRIVERS_MISC=y
|
CONFIG_TPL_DRIVERS_MISC=y
|
||||||
|
|
|
@ -20,6 +20,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
||||||
CONFIG_BOARD_EARLY_INIT_F=y
|
CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_BOARD_EARLY_INIT_R=y
|
CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
CONFIG_ID_EEPROM=y
|
CONFIG_ID_EEPROM=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_SYS_PBSIZE=276
|
CONFIG_SYS_PBSIZE=276
|
||||||
CONFIG_CMD_IMLS=y
|
CONFIG_CMD_IMLS=y
|
||||||
|
|
|
@ -27,6 +27,7 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
CONFIG_ID_EEPROM=y
|
CONFIG_ID_EEPROM=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_MMC_BOOT=y
|
CONFIG_SPL_MMC_BOOT=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -30,6 +30,7 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
CONFIG_ID_EEPROM=y
|
CONFIG_ID_EEPROM=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_SPI_BOOT=y
|
CONFIG_SPL_SPI_BOOT=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -30,6 +30,8 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_NAND_BOOT=y
|
CONFIG_SPL_NAND_BOOT=y
|
||||||
|
CONFIG_SPL_INIT_MINIMAL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_NAND_SUPPORT=y
|
CONFIG_SPL_NAND_SUPPORT=y
|
||||||
CONFIG_TPL=y
|
CONFIG_TPL=y
|
||||||
CONFIG_TPL_ENV_SUPPORT=y
|
CONFIG_TPL_ENV_SUPPORT=y
|
||||||
|
|
|
@ -29,6 +29,7 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_MMC_BOOT=y
|
CONFIG_SPL_MMC_BOOT=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -32,6 +32,7 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_SPI_BOOT=y
|
CONFIG_SPL_SPI_BOOT=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -22,6 +22,7 @@ CONFIG_BOOTCOMMAND="setenv bootargs root=/dev/$bdev rw rootdelay=30 console=$con
|
||||||
CONFIG_BOARD_EARLY_INIT_F=y
|
CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_BOARD_EARLY_INIT_R=y
|
CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
# CONFIG_AUTO_COMPLETE is not set
|
# CONFIG_AUTO_COMPLETE is not set
|
||||||
CONFIG_SYS_PBSIZE=276
|
CONFIG_SYS_PBSIZE=276
|
||||||
|
|
|
@ -29,6 +29,8 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_NAND_BOOT=y
|
CONFIG_SPL_NAND_BOOT=y
|
||||||
|
CONFIG_SPL_INIT_MINIMAL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_NAND_SUPPORT=y
|
CONFIG_SPL_NAND_SUPPORT=y
|
||||||
CONFIG_TPL=y
|
CONFIG_TPL=y
|
||||||
CONFIG_TPL_ENV_SUPPORT=y
|
CONFIG_TPL_ENV_SUPPORT=y
|
||||||
|
|
|
@ -28,6 +28,7 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_MMC_BOOT=y
|
CONFIG_SPL_MMC_BOOT=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -31,6 +31,7 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_SPI_BOOT=y
|
CONFIG_SPL_SPI_BOOT=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -21,6 +21,7 @@ CONFIG_BOOTCOMMAND="setenv bootargs root=/dev/$bdev rw rootdelay=30 console=$con
|
||||||
CONFIG_BOARD_EARLY_INIT_F=y
|
CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_BOARD_EARLY_INIT_R=y
|
CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
# CONFIG_AUTO_COMPLETE is not set
|
# CONFIG_AUTO_COMPLETE is not set
|
||||||
CONFIG_SYS_PBSIZE=276
|
CONFIG_SYS_PBSIZE=276
|
||||||
|
|
|
@ -29,6 +29,8 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_NAND_BOOT=y
|
CONFIG_SPL_NAND_BOOT=y
|
||||||
|
CONFIG_SPL_INIT_MINIMAL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_NAND_SUPPORT=y
|
CONFIG_SPL_NAND_SUPPORT=y
|
||||||
CONFIG_TPL=y
|
CONFIG_TPL=y
|
||||||
CONFIG_TPL_ENV_SUPPORT=y
|
CONFIG_TPL_ENV_SUPPORT=y
|
||||||
|
|
|
@ -28,6 +28,7 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_MMC_BOOT=y
|
CONFIG_SPL_MMC_BOOT=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -31,6 +31,7 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_SPI_BOOT=y
|
CONFIG_SPL_SPI_BOOT=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -21,6 +21,7 @@ CONFIG_BOOTCOMMAND="setenv bootargs root=/dev/$bdev rw rootdelay=30 console=$con
|
||||||
CONFIG_BOARD_EARLY_INIT_F=y
|
CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_BOARD_EARLY_INIT_R=y
|
CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
# CONFIG_AUTO_COMPLETE is not set
|
# CONFIG_AUTO_COMPLETE is not set
|
||||||
CONFIG_SYS_PBSIZE=276
|
CONFIG_SYS_PBSIZE=276
|
||||||
|
|
|
@ -30,6 +30,8 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_NAND_BOOT=y
|
CONFIG_SPL_NAND_BOOT=y
|
||||||
|
CONFIG_SPL_INIT_MINIMAL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_NAND_SUPPORT=y
|
CONFIG_SPL_NAND_SUPPORT=y
|
||||||
CONFIG_TPL=y
|
CONFIG_TPL=y
|
||||||
CONFIG_TPL_ENV_SUPPORT=y
|
CONFIG_TPL_ENV_SUPPORT=y
|
||||||
|
|
|
@ -29,6 +29,7 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_MMC_BOOT=y
|
CONFIG_SPL_MMC_BOOT=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -32,6 +32,7 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_SPI_BOOT=y
|
CONFIG_SPL_SPI_BOOT=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -22,6 +22,7 @@ CONFIG_BOOTCOMMAND="setenv bootargs root=/dev/$bdev rw rootdelay=30 console=$con
|
||||||
CONFIG_BOARD_EARLY_INIT_F=y
|
CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_BOARD_EARLY_INIT_R=y
|
CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
# CONFIG_AUTO_COMPLETE is not set
|
# CONFIG_AUTO_COMPLETE is not set
|
||||||
CONFIG_SYS_PBSIZE=276
|
CONFIG_SYS_PBSIZE=276
|
||||||
|
|
|
@ -29,6 +29,8 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_NAND_BOOT=y
|
CONFIG_SPL_NAND_BOOT=y
|
||||||
|
CONFIG_SPL_INIT_MINIMAL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_NAND_SUPPORT=y
|
CONFIG_SPL_NAND_SUPPORT=y
|
||||||
CONFIG_TPL=y
|
CONFIG_TPL=y
|
||||||
CONFIG_TPL_ENV_SUPPORT=y
|
CONFIG_TPL_ENV_SUPPORT=y
|
||||||
|
|
|
@ -28,6 +28,7 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_MMC_BOOT=y
|
CONFIG_SPL_MMC_BOOT=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -31,6 +31,7 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_SPI_BOOT=y
|
CONFIG_SPL_SPI_BOOT=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -21,6 +21,7 @@ CONFIG_BOOTCOMMAND="setenv bootargs root=/dev/$bdev rw rootdelay=30 console=$con
|
||||||
CONFIG_BOARD_EARLY_INIT_F=y
|
CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_BOARD_EARLY_INIT_R=y
|
CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
# CONFIG_AUTO_COMPLETE is not set
|
# CONFIG_AUTO_COMPLETE is not set
|
||||||
CONFIG_SYS_PBSIZE=276
|
CONFIG_SYS_PBSIZE=276
|
||||||
|
|
|
@ -34,6 +34,8 @@ CONFIG_ID_EEPROM=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_NAND_BOOT=y
|
CONFIG_SPL_NAND_BOOT=y
|
||||||
CONFIG_SPL_FSL_PBL=y
|
CONFIG_SPL_FSL_PBL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
|
CONFIG_SPL_SKIP_RELOCATE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -35,6 +35,8 @@ CONFIG_ID_EEPROM=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_MMC_BOOT=y
|
CONFIG_SPL_MMC_BOOT=y
|
||||||
CONFIG_SPL_FSL_PBL=y
|
CONFIG_SPL_FSL_PBL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
|
CONFIG_SPL_SKIP_RELOCATE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -38,6 +38,8 @@ CONFIG_ID_EEPROM=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_SPI_BOOT=y
|
CONFIG_SPL_SPI_BOOT=y
|
||||||
CONFIG_SPL_FSL_PBL=y
|
CONFIG_SPL_FSL_PBL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
|
CONFIG_SPL_SKIP_RELOCATE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -30,6 +30,8 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_NAND_BOOT=y
|
CONFIG_SPL_NAND_BOOT=y
|
||||||
CONFIG_SPL_FSL_PBL=y
|
CONFIG_SPL_FSL_PBL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
|
CONFIG_SPL_SKIP_RELOCATE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -31,6 +31,8 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_MMC_BOOT=y
|
CONFIG_SPL_MMC_BOOT=y
|
||||||
CONFIG_SPL_FSL_PBL=y
|
CONFIG_SPL_FSL_PBL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
|
CONFIG_SPL_SKIP_RELOCATE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -34,6 +34,8 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_SPI_BOOT=y
|
CONFIG_SPL_SPI_BOOT=y
|
||||||
CONFIG_SPL_FSL_PBL=y
|
CONFIG_SPL_FSL_PBL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
|
CONFIG_SPL_SKIP_RELOCATE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -35,6 +35,8 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_NAND_BOOT=y
|
CONFIG_SPL_NAND_BOOT=y
|
||||||
CONFIG_SPL_FSL_PBL=y
|
CONFIG_SPL_FSL_PBL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
|
CONFIG_SPL_SKIP_RELOCATE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -36,6 +36,8 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_MMC_BOOT=y
|
CONFIG_SPL_MMC_BOOT=y
|
||||||
CONFIG_SPL_FSL_PBL=y
|
CONFIG_SPL_FSL_PBL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
|
CONFIG_SPL_SKIP_RELOCATE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -39,6 +39,8 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_SPI_BOOT=y
|
CONFIG_SPL_SPI_BOOT=y
|
||||||
CONFIG_SPL_FSL_PBL=y
|
CONFIG_SPL_FSL_PBL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
|
CONFIG_SPL_SKIP_RELOCATE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -33,6 +33,8 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_NAND_BOOT=y
|
CONFIG_SPL_NAND_BOOT=y
|
||||||
CONFIG_SPL_FSL_PBL=y
|
CONFIG_SPL_FSL_PBL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
|
CONFIG_SPL_SKIP_RELOCATE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -34,6 +34,8 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_MMC_BOOT=y
|
CONFIG_SPL_MMC_BOOT=y
|
||||||
CONFIG_SPL_FSL_PBL=y
|
CONFIG_SPL_FSL_PBL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
|
CONFIG_SPL_SKIP_RELOCATE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -37,6 +37,8 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_SPI_BOOT=y
|
CONFIG_SPL_SPI_BOOT=y
|
||||||
CONFIG_SPL_FSL_PBL=y
|
CONFIG_SPL_FSL_PBL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
|
CONFIG_SPL_SKIP_RELOCATE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -34,6 +34,8 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_NAND_BOOT=y
|
CONFIG_SPL_NAND_BOOT=y
|
||||||
CONFIG_SPL_FSL_PBL=y
|
CONFIG_SPL_FSL_PBL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
|
CONFIG_SPL_SKIP_RELOCATE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -35,6 +35,8 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_MMC_BOOT=y
|
CONFIG_SPL_MMC_BOOT=y
|
||||||
CONFIG_SPL_FSL_PBL=y
|
CONFIG_SPL_FSL_PBL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
|
CONFIG_SPL_SKIP_RELOCATE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -38,6 +38,8 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_SPI_BOOT=y
|
CONFIG_SPL_SPI_BOOT=y
|
||||||
CONFIG_SPL_FSL_PBL=y
|
CONFIG_SPL_FSL_PBL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
|
CONFIG_SPL_SKIP_RELOCATE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -32,6 +32,8 @@ CONFIG_BOARD_EARLY_INIT_R=y
|
||||||
# CONFIG_SPL_FRAMEWORK is not set
|
# CONFIG_SPL_FRAMEWORK is not set
|
||||||
CONFIG_SPL_MMC_BOOT=y
|
CONFIG_SPL_MMC_BOOT=y
|
||||||
CONFIG_SPL_FSL_PBL=y
|
CONFIG_SPL_FSL_PBL=y
|
||||||
|
CONFIG_SPL_FLUSH_IMAGE=y
|
||||||
|
CONFIG_SPL_SKIP_RELOCATE=y
|
||||||
CONFIG_SPL_ENV_SUPPORT=y
|
CONFIG_SPL_ENV_SUPPORT=y
|
||||||
CONFIG_SPL_I2C=y
|
CONFIG_SPL_I2C=y
|
||||||
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
CONFIG_SPL_MPC8XXX_INIT_DDR=y
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
#include <asm/config_mpc85xx.h>
|
#include <asm/config_mpc85xx.h>
|
||||||
|
|
||||||
#ifdef CONFIG_SDCARD
|
#ifdef CONFIG_SDCARD
|
||||||
#define CONFIG_SPL_FLUSH_IMAGE
|
|
||||||
#define CONFIG_SPL_TARGET "u-boot-with-spl.bin"
|
#define CONFIG_SPL_TARGET "u-boot-with-spl.bin"
|
||||||
#define CONFIG_SPL_PAD_TO 0x18000
|
#define CONFIG_SPL_PAD_TO 0x18000
|
||||||
#define CONFIG_SPL_MAX_SIZE (96 * 1024)
|
#define CONFIG_SPL_MAX_SIZE (96 * 1024)
|
||||||
|
@ -36,7 +35,6 @@
|
||||||
#define CONFIG_RESET_VECTOR_ADDRESS 0x110bfffc
|
#define CONFIG_RESET_VECTOR_ADDRESS 0x110bfffc
|
||||||
#else
|
#else
|
||||||
#define CONFIG_SPL_SPI_FLASH_MINIMAL
|
#define CONFIG_SPL_SPI_FLASH_MINIMAL
|
||||||
#define CONFIG_SPL_FLUSH_IMAGE
|
|
||||||
#define CONFIG_SPL_TARGET "u-boot-with-spl.bin"
|
#define CONFIG_SPL_TARGET "u-boot-with-spl.bin"
|
||||||
#define CONFIG_SPL_PAD_TO 0x18000
|
#define CONFIG_SPL_PAD_TO 0x18000
|
||||||
#define CONFIG_SPL_MAX_SIZE (96 * 1024)
|
#define CONFIG_SPL_MAX_SIZE (96 * 1024)
|
||||||
|
@ -53,8 +51,6 @@
|
||||||
|
|
||||||
#ifdef CONFIG_MTD_RAW_NAND
|
#ifdef CONFIG_MTD_RAW_NAND
|
||||||
#ifdef CONFIG_NXP_ESBC
|
#ifdef CONFIG_NXP_ESBC
|
||||||
#define CONFIG_SPL_INIT_MINIMAL
|
|
||||||
#define CONFIG_SPL_FLUSH_IMAGE
|
|
||||||
#define CONFIG_SPL_TARGET "u-boot-with-spl.bin"
|
#define CONFIG_SPL_TARGET "u-boot-with-spl.bin"
|
||||||
|
|
||||||
#define CONFIG_SPL_MAX_SIZE 8192
|
#define CONFIG_SPL_MAX_SIZE 8192
|
||||||
|
@ -65,7 +61,6 @@
|
||||||
#define CONFIG_SYS_NAND_U_BOOT_START 0x00200000
|
#define CONFIG_SYS_NAND_U_BOOT_START 0x00200000
|
||||||
#else
|
#else
|
||||||
#ifdef CONFIG_TPL_BUILD
|
#ifdef CONFIG_TPL_BUILD
|
||||||
#define CONFIG_SPL_FLUSH_IMAGE
|
|
||||||
#define CONFIG_SPL_NAND_INIT
|
#define CONFIG_SPL_NAND_INIT
|
||||||
#define CONFIG_SPL_COMMON_INIT_DDR
|
#define CONFIG_SPL_COMMON_INIT_DDR
|
||||||
#define CONFIG_SPL_MAX_SIZE (128 << 10)
|
#define CONFIG_SPL_MAX_SIZE (128 << 10)
|
||||||
|
@ -74,8 +69,6 @@
|
||||||
#define CONFIG_SYS_NAND_U_BOOT_DST (0x11000000)
|
#define CONFIG_SYS_NAND_U_BOOT_DST (0x11000000)
|
||||||
#define CONFIG_SYS_NAND_U_BOOT_START (0x11000000)
|
#define CONFIG_SYS_NAND_U_BOOT_START (0x11000000)
|
||||||
#elif defined(CONFIG_SPL_BUILD)
|
#elif defined(CONFIG_SPL_BUILD)
|
||||||
#define CONFIG_SPL_INIT_MINIMAL
|
|
||||||
#define CONFIG_SPL_FLUSH_IMAGE
|
|
||||||
#define CONFIG_SPL_MAX_SIZE 8192
|
#define CONFIG_SPL_MAX_SIZE 8192
|
||||||
#define CONFIG_SYS_NAND_U_BOOT_SIZE (128 << 10)
|
#define CONFIG_SYS_NAND_U_BOOT_SIZE (128 << 10)
|
||||||
#define CONFIG_SYS_NAND_U_BOOT_DST 0xD0000000
|
#define CONFIG_SYS_NAND_U_BOOT_DST 0xD0000000
|
||||||
|
@ -455,7 +448,7 @@ extern unsigned long get_sdram_size(void);
|
||||||
#define CONFIG_SYS_NS16550_SERIAL
|
#define CONFIG_SYS_NS16550_SERIAL
|
||||||
#define CONFIG_SYS_NS16550_REG_SIZE 1
|
#define CONFIG_SYS_NS16550_REG_SIZE 1
|
||||||
#define CONFIG_SYS_NS16550_CLK get_bus_freq(0)
|
#define CONFIG_SYS_NS16550_CLK get_bus_freq(0)
|
||||||
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_INIT_MINIMAL)
|
#if defined(CONFIG_SPL_BUILD) && CONFIG_IS_ENABLED(INIT_MINIMAL)
|
||||||
#define CONFIG_NS16550_MIN_FUNCTIONS
|
#define CONFIG_NS16550_MIN_FUNCTIONS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -21,13 +21,11 @@
|
||||||
#define CONFIG_SYS_NUM_CPC CONFIG_SYS_NUM_DDR_CTLRS
|
#define CONFIG_SYS_NUM_CPC CONFIG_SYS_NUM_DDR_CTLRS
|
||||||
|
|
||||||
#ifdef CONFIG_RAMBOOT_PBL
|
#ifdef CONFIG_RAMBOOT_PBL
|
||||||
#define CONFIG_SPL_FLUSH_IMAGE
|
|
||||||
#define CONFIG_SPL_PAD_TO 0x40000
|
#define CONFIG_SPL_PAD_TO 0x40000
|
||||||
#define CONFIG_SPL_MAX_SIZE 0x28000
|
#define CONFIG_SPL_MAX_SIZE 0x28000
|
||||||
#define RESET_VECTOR_OFFSET 0x27FFC
|
#define RESET_VECTOR_OFFSET 0x27FFC
|
||||||
#define BOOT_PAGE_OFFSET 0x27000
|
#define BOOT_PAGE_OFFSET 0x27000
|
||||||
#ifdef CONFIG_SPL_BUILD
|
#ifdef CONFIG_SPL_BUILD
|
||||||
#define CONFIG_SPL_SKIP_RELOCATE
|
|
||||||
#define CONFIG_SPL_COMMON_INIT_DDR
|
#define CONFIG_SPL_COMMON_INIT_DDR
|
||||||
#define CONFIG_SYS_CCSR_DO_NOT_RELOCATE
|
#define CONFIG_SYS_CCSR_DO_NOT_RELOCATE
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -15,11 +15,9 @@
|
||||||
#include <asm/config_mpc85xx.h>
|
#include <asm/config_mpc85xx.h>
|
||||||
|
|
||||||
#ifdef CONFIG_RAMBOOT_PBL
|
#ifdef CONFIG_RAMBOOT_PBL
|
||||||
#define CONFIG_SPL_FLUSH_IMAGE
|
|
||||||
#define CONFIG_SPL_PAD_TO 0x40000
|
#define CONFIG_SPL_PAD_TO 0x40000
|
||||||
#define CONFIG_SPL_MAX_SIZE 0x28000
|
#define CONFIG_SPL_MAX_SIZE 0x28000
|
||||||
#ifdef CONFIG_SPL_BUILD
|
#ifdef CONFIG_SPL_BUILD
|
||||||
#define CONFIG_SPL_SKIP_RELOCATE
|
|
||||||
#define CONFIG_SPL_COMMON_INIT_DDR
|
#define CONFIG_SPL_COMMON_INIT_DDR
|
||||||
#define CONFIG_SYS_CCSR_DO_NOT_RELOCATE
|
#define CONFIG_SYS_CCSR_DO_NOT_RELOCATE
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -29,13 +29,11 @@
|
||||||
#define CONFIG_SYS_NUM_CPC CONFIG_SYS_NUM_DDR_CTLRS
|
#define CONFIG_SYS_NUM_CPC CONFIG_SYS_NUM_DDR_CTLRS
|
||||||
|
|
||||||
#ifdef CONFIG_RAMBOOT_PBL
|
#ifdef CONFIG_RAMBOOT_PBL
|
||||||
#define CONFIG_SPL_FLUSH_IMAGE
|
|
||||||
#define CONFIG_SPL_PAD_TO 0x40000
|
#define CONFIG_SPL_PAD_TO 0x40000
|
||||||
#define CONFIG_SPL_MAX_SIZE 0x28000
|
#define CONFIG_SPL_MAX_SIZE 0x28000
|
||||||
#define RESET_VECTOR_OFFSET 0x27FFC
|
#define RESET_VECTOR_OFFSET 0x27FFC
|
||||||
#define BOOT_PAGE_OFFSET 0x27000
|
#define BOOT_PAGE_OFFSET 0x27000
|
||||||
#ifdef CONFIG_SPL_BUILD
|
#ifdef CONFIG_SPL_BUILD
|
||||||
#define CONFIG_SPL_SKIP_RELOCATE
|
|
||||||
#define CONFIG_SPL_COMMON_INIT_DDR
|
#define CONFIG_SPL_COMMON_INIT_DDR
|
||||||
#define CONFIG_SYS_CCSR_DO_NOT_RELOCATE
|
#define CONFIG_SYS_CCSR_DO_NOT_RELOCATE
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -24,13 +24,11 @@
|
||||||
#define CONFIG_SYS_NUM_CPC CONFIG_SYS_NUM_DDR_CTLRS
|
#define CONFIG_SYS_NUM_CPC CONFIG_SYS_NUM_DDR_CTLRS
|
||||||
|
|
||||||
#ifdef CONFIG_RAMBOOT_PBL
|
#ifdef CONFIG_RAMBOOT_PBL
|
||||||
#define CONFIG_SPL_FLUSH_IMAGE
|
|
||||||
#define CONFIG_SPL_PAD_TO 0x40000
|
#define CONFIG_SPL_PAD_TO 0x40000
|
||||||
#define CONFIG_SPL_MAX_SIZE 0x28000
|
#define CONFIG_SPL_MAX_SIZE 0x28000
|
||||||
#define RESET_VECTOR_OFFSET 0x27FFC
|
#define RESET_VECTOR_OFFSET 0x27FFC
|
||||||
#define BOOT_PAGE_OFFSET 0x27000
|
#define BOOT_PAGE_OFFSET 0x27000
|
||||||
#ifdef CONFIG_SPL_BUILD
|
#ifdef CONFIG_SPL_BUILD
|
||||||
#define CONFIG_SPL_SKIP_RELOCATE
|
|
||||||
#define CONFIG_SPL_COMMON_INIT_DDR
|
#define CONFIG_SPL_COMMON_INIT_DDR
|
||||||
#define CONFIG_SYS_CCSR_DO_NOT_RELOCATE
|
#define CONFIG_SYS_CCSR_DO_NOT_RELOCATE
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
#define CONFIG_RAMBOOT_TEXT_BASE CONFIG_SYS_TEXT_BASE
|
#define CONFIG_RAMBOOT_TEXT_BASE CONFIG_SYS_TEXT_BASE
|
||||||
#define CONFIG_RESET_VECTOR_ADDRESS 0xfffffffc
|
#define CONFIG_RESET_VECTOR_ADDRESS 0xfffffffc
|
||||||
#else
|
#else
|
||||||
#define CONFIG_SPL_FLUSH_IMAGE
|
|
||||||
#define CONFIG_SPL_PAD_TO 0x40000
|
#define CONFIG_SPL_PAD_TO 0x40000
|
||||||
#define CONFIG_SPL_MAX_SIZE 0x28000
|
#define CONFIG_SPL_MAX_SIZE 0x28000
|
||||||
#define RESET_VECTOR_OFFSET 0x27FFC
|
#define RESET_VECTOR_OFFSET 0x27FFC
|
||||||
|
@ -40,7 +39,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_SPL_BUILD
|
#ifdef CONFIG_SPL_BUILD
|
||||||
#define CONFIG_SPL_SKIP_RELOCATE
|
|
||||||
#define CONFIG_SPL_COMMON_INIT_DDR
|
#define CONFIG_SPL_COMMON_INIT_DDR
|
||||||
#define CONFIG_SYS_CCSR_DO_NOT_RELOCATE
|
#define CONFIG_SYS_CCSR_DO_NOT_RELOCATE
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -77,7 +77,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_SDCARD
|
#ifdef CONFIG_SDCARD
|
||||||
#define CONFIG_SPL_FLUSH_IMAGE
|
|
||||||
#define CONFIG_SPL_TARGET "u-boot-with-spl.bin"
|
#define CONFIG_SPL_TARGET "u-boot-with-spl.bin"
|
||||||
#define CONFIG_SPL_PAD_TO 0x20000
|
#define CONFIG_SPL_PAD_TO 0x20000
|
||||||
#define CONFIG_SPL_MAX_SIZE (128 * 1024)
|
#define CONFIG_SPL_MAX_SIZE (128 * 1024)
|
||||||
|
@ -91,7 +90,6 @@
|
||||||
#endif
|
#endif
|
||||||
#elif defined(CONFIG_SPIFLASH)
|
#elif defined(CONFIG_SPIFLASH)
|
||||||
#define CONFIG_SPL_SPI_FLASH_MINIMAL
|
#define CONFIG_SPL_SPI_FLASH_MINIMAL
|
||||||
#define CONFIG_SPL_FLUSH_IMAGE
|
|
||||||
#define CONFIG_SPL_TARGET "u-boot-with-spl.bin"
|
#define CONFIG_SPL_TARGET "u-boot-with-spl.bin"
|
||||||
#define CONFIG_SPL_PAD_TO 0x20000
|
#define CONFIG_SPL_PAD_TO 0x20000
|
||||||
#define CONFIG_SPL_MAX_SIZE (128 * 1024)
|
#define CONFIG_SPL_MAX_SIZE (128 * 1024)
|
||||||
|
@ -105,7 +103,6 @@
|
||||||
#endif
|
#endif
|
||||||
#elif defined(CONFIG_MTD_RAW_NAND)
|
#elif defined(CONFIG_MTD_RAW_NAND)
|
||||||
#ifdef CONFIG_TPL_BUILD
|
#ifdef CONFIG_TPL_BUILD
|
||||||
#define CONFIG_SPL_FLUSH_IMAGE
|
|
||||||
#define CONFIG_SPL_NAND_INIT
|
#define CONFIG_SPL_NAND_INIT
|
||||||
#define CONFIG_SPL_COMMON_INIT_DDR
|
#define CONFIG_SPL_COMMON_INIT_DDR
|
||||||
#define CONFIG_SPL_MAX_SIZE (128 << 10)
|
#define CONFIG_SPL_MAX_SIZE (128 << 10)
|
||||||
|
@ -114,8 +111,6 @@
|
||||||
#define CONFIG_SYS_NAND_U_BOOT_DST (0x11000000)
|
#define CONFIG_SYS_NAND_U_BOOT_DST (0x11000000)
|
||||||
#define CONFIG_SYS_NAND_U_BOOT_START (0x11000000)
|
#define CONFIG_SYS_NAND_U_BOOT_START (0x11000000)
|
||||||
#elif defined(CONFIG_SPL_BUILD)
|
#elif defined(CONFIG_SPL_BUILD)
|
||||||
#define CONFIG_SPL_INIT_MINIMAL
|
|
||||||
#define CONFIG_SPL_FLUSH_IMAGE
|
|
||||||
#define CONFIG_SPL_TARGET "u-boot-with-spl.bin"
|
#define CONFIG_SPL_TARGET "u-boot-with-spl.bin"
|
||||||
#define CONFIG_SPL_MAX_SIZE 4096
|
#define CONFIG_SPL_MAX_SIZE 4096
|
||||||
#define CONFIG_SYS_NAND_U_BOOT_SIZE (128 << 10)
|
#define CONFIG_SYS_NAND_U_BOOT_SIZE (128 << 10)
|
||||||
|
@ -402,7 +397,7 @@
|
||||||
#define CONFIG_SYS_NS16550_SERIAL
|
#define CONFIG_SYS_NS16550_SERIAL
|
||||||
#define CONFIG_SYS_NS16550_REG_SIZE 1
|
#define CONFIG_SYS_NS16550_REG_SIZE 1
|
||||||
#define CONFIG_SYS_NS16550_CLK get_bus_freq(0)
|
#define CONFIG_SYS_NS16550_CLK get_bus_freq(0)
|
||||||
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_INIT_MINIMAL)
|
#if defined(CONFIG_SPL_BUILD) && CONFIG_IS_ENABLED(INIT_MINIMAL)
|
||||||
#define CONFIG_NS16550_MIN_FUNCTIONS
|
#define CONFIG_NS16550_MIN_FUNCTIONS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue