Convert CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR et al to Kconfig
This converts the following to Kconfig: CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
5fc1d58176
commit
103d1aecb0
6
README
6
README
@ -1639,12 +1639,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_SYS_MMCSD_RAW_MODE_ARGS_SECTOR,
|
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS
|
|
||||||
Sector and number of sectors to load kernel argument
|
|
||||||
parameters from when MMC is being used in raw mode
|
|
||||||
(for falcon mode)
|
|
||||||
|
|
||||||
CONFIG_SPL_MPC83XX_WAIT_FOR_NAND
|
CONFIG_SPL_MPC83XX_WAIT_FOR_NAND
|
||||||
Set this for NAND SPL on PPC mpc83xx targets, so that
|
Set this for NAND SPL on PPC mpc83xx targets, so that
|
||||||
start.S waits for the rest of the SPL to load before
|
start.S waits for the rest of the SPL to load before
|
||||||
|
@ -1226,6 +1226,20 @@ config SYS_MMCSD_RAW_MODE_KERNEL_SECTOR
|
|||||||
Note that the Falcon mode image can also be a FIT, if FIT support is
|
Note that the Falcon mode image can also be a FIT, if FIT support is
|
||||||
enabled.
|
enabled.
|
||||||
|
|
||||||
|
config SYS_MMCSD_RAW_MODE_ARGS_SECTOR
|
||||||
|
hex "Falcon mode: Sector to load 'args' from MMC"
|
||||||
|
depends on SPL_FALCON_BOOT_MMCSD
|
||||||
|
help
|
||||||
|
When Falcon mode is used with an MMC or SD media, SPL needs to know
|
||||||
|
where to look for the OS 'args', typically a device tree. The
|
||||||
|
contents are expected to begin at the raw MMC specified in this config.
|
||||||
|
Note that if using a FIT image, this and the next option can be set to
|
||||||
|
0x0.
|
||||||
|
|
||||||
|
config SYS_MMCSD_RAW_MODE_ARGS_SECTORS
|
||||||
|
hex "Falcon mode: Number of sectors to load for 'args' from MMC"
|
||||||
|
depends on SPL_FALCON_BOOT_MMCSD && SYS_MMCSD_RAW_MODE_ARGS_SECTOR != 0x0
|
||||||
|
|
||||||
config SPL_PAYLOAD
|
config SPL_PAYLOAD
|
||||||
string "SPL payload"
|
string "SPL payload"
|
||||||
default "tpl/u-boot-with-tpl.bin" if TPL
|
default "tpl/u-boot-with-tpl.bin" if TPL
|
||||||
|
@ -229,7 +229,7 @@ static int mmc_load_image_raw_os(struct spl_image_info *spl_image,
|
|||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
#if defined(CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR)
|
#if CONFIG_VAL(SYS_MMCSD_RAW_MODE_ARGS_SECTOR)
|
||||||
unsigned long count;
|
unsigned long count;
|
||||||
|
|
||||||
count = blk_dread(mmc_get_blk_desc(mmc),
|
count = blk_dread(mmc_get_blk_desc(mmc),
|
||||||
|
@ -31,6 +31,8 @@ CONFIG_SPL_NET_VCI_STRING="AM33xx U-Boot SPL"
|
|||||||
CONFIG_SPL_OS_BOOT=y
|
CONFIG_SPL_OS_BOOT=y
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
||||||
CONFIG_SPL_USB_GADGET=y
|
CONFIG_SPL_USB_GADGET=y
|
||||||
CONFIG_SPL_USB_ETHER=y
|
CONFIG_SPL_USB_ETHER=y
|
||||||
CONFIG_SYS_MAXARGS=64
|
CONFIG_SYS_MAXARGS=64
|
||||||
|
@ -37,6 +37,8 @@ CONFIG_SPL_OS_BOOT=y
|
|||||||
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x200000
|
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x200000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
||||||
CONFIG_SPL_USB_GADGET=y
|
CONFIG_SPL_USB_GADGET=y
|
||||||
CONFIG_SPL_USB_ETHER=y
|
CONFIG_SPL_USB_ETHER=y
|
||||||
CONFIG_SYS_MAXARGS=64
|
CONFIG_SYS_MAXARGS=64
|
||||||
|
@ -43,6 +43,8 @@ CONFIG_SPL_OS_BOOT=y
|
|||||||
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x280000
|
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x280000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
||||||
CONFIG_SPL_POWER=y
|
CONFIG_SPL_POWER=y
|
||||||
CONFIG_SPL_WATCHDOG=y
|
CONFIG_SPL_WATCHDOG=y
|
||||||
CONFIG_SPL_YMODEM_SUPPORT=y
|
CONFIG_SPL_YMODEM_SUPPORT=y
|
||||||
|
@ -40,6 +40,8 @@ CONFIG_SPL_I2C=y
|
|||||||
CONFIG_SPL_OS_BOOT=y
|
CONFIG_SPL_OS_BOOT=y
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
||||||
CONFIG_SPL_POWER=y
|
CONFIG_SPL_POWER=y
|
||||||
CONFIG_SPL_WATCHDOG=y
|
CONFIG_SPL_WATCHDOG=y
|
||||||
CONFIG_SPL_YMODEM_SUPPORT=y
|
CONFIG_SPL_YMODEM_SUPPORT=y
|
||||||
|
@ -38,6 +38,8 @@ CONFIG_SPL_I2C=y
|
|||||||
CONFIG_SPL_OS_BOOT=y
|
CONFIG_SPL_OS_BOOT=y
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
||||||
CONFIG_SPL_POWER=y
|
CONFIG_SPL_POWER=y
|
||||||
CONFIG_SPL_WATCHDOG=y
|
CONFIG_SPL_WATCHDOG=y
|
||||||
CONFIG_SPL_YMODEM_SUPPORT=y
|
CONFIG_SPL_YMODEM_SUPPORT=y
|
||||||
|
@ -42,6 +42,8 @@ CONFIG_SPL_I2C=y
|
|||||||
CONFIG_SPL_OS_BOOT=y
|
CONFIG_SPL_OS_BOOT=y
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
||||||
CONFIG_SPL_POWER=y
|
CONFIG_SPL_POWER=y
|
||||||
CONFIG_SPL_WATCHDOG=y
|
CONFIG_SPL_WATCHDOG=y
|
||||||
CONFIG_SPL_YMODEM_SUPPORT=y
|
CONFIG_SPL_YMODEM_SUPPORT=y
|
||||||
|
@ -41,6 +41,8 @@ CONFIG_SPL_I2C=y
|
|||||||
CONFIG_SPL_OS_BOOT=y
|
CONFIG_SPL_OS_BOOT=y
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
||||||
CONFIG_SPL_POWER=y
|
CONFIG_SPL_POWER=y
|
||||||
CONFIG_SPL_WATCHDOG=y
|
CONFIG_SPL_WATCHDOG=y
|
||||||
CONFIG_SPL_YMODEM_SUPPORT=y
|
CONFIG_SPL_YMODEM_SUPPORT=y
|
||||||
|
@ -38,6 +38,8 @@ CONFIG_SPL_NET_VCI_STRING="AM335x U-Boot SPL"
|
|||||||
CONFIG_SPL_OS_BOOT=y
|
CONFIG_SPL_OS_BOOT=y
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
||||||
CONFIG_SPL_POWER=y
|
CONFIG_SPL_POWER=y
|
||||||
CONFIG_SPL_WATCHDOG=y
|
CONFIG_SPL_WATCHDOG=y
|
||||||
CONFIG_SPL_YMODEM_SUPPORT=y
|
CONFIG_SPL_YMODEM_SUPPORT=y
|
||||||
|
@ -35,6 +35,8 @@ CONFIG_SYS_SPL_ARGS_ADDR=0x84000000
|
|||||||
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x2a0000
|
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x2a0000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
||||||
# CONFIG_SPL_POWER is not set
|
# CONFIG_SPL_POWER is not set
|
||||||
CONFIG_SYS_PROMPT="AM3517_EVM # "
|
CONFIG_SYS_PROMPT="AM3517_EVM # "
|
||||||
CONFIG_SYS_MAXARGS=64
|
CONFIG_SYS_MAXARGS=64
|
||||||
|
@ -32,6 +32,8 @@ CONFIG_SPL_OS_BOOT=y
|
|||||||
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x300000
|
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x300000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
||||||
CONFIG_SPL_USB_HOST=y
|
CONFIG_SPL_USB_HOST=y
|
||||||
CONFIG_SPL_USB_GADGET=y
|
CONFIG_SPL_USB_GADGET=y
|
||||||
CONFIG_SPL_USB_ETHER=y
|
CONFIG_SPL_USB_ETHER=y
|
||||||
|
@ -29,6 +29,8 @@ CONFIG_SPL_OS_BOOT=y
|
|||||||
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x300000
|
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x300000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
||||||
CONFIG_SYS_MAXARGS=64
|
CONFIG_SYS_MAXARGS=64
|
||||||
CONFIG_CMD_SPL=y
|
CONFIG_CMD_SPL=y
|
||||||
CONFIG_CMD_SPL_NAND_OFS=0x00100000
|
CONFIG_CMD_SPL_NAND_OFS=0x00100000
|
||||||
|
@ -28,6 +28,8 @@ CONFIG_SPL_OS_BOOT=y
|
|||||||
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x300000
|
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x300000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
||||||
CONFIG_SPL_USB_HOST=y
|
CONFIG_SPL_USB_HOST=y
|
||||||
CONFIG_SPL_USB_STORAGE=y
|
CONFIG_SPL_USB_STORAGE=y
|
||||||
CONFIG_SPL_USB_GADGET=y
|
CONFIG_SPL_USB_GADGET=y
|
||||||
|
@ -39,6 +39,8 @@ CONFIG_SPL_DM_SPI_FLASH=y
|
|||||||
CONFIG_SPL_OS_BOOT=y
|
CONFIG_SPL_OS_BOOT=y
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
||||||
CONFIG_SPL_SPI_LOAD=y
|
CONFIG_SPL_SPI_LOAD=y
|
||||||
CONFIG_SYS_SPI_U_BOOT_OFFS=0x40000
|
CONFIG_SYS_SPI_U_BOOT_OFFS=0x40000
|
||||||
CONFIG_SPL_YMODEM_SUPPORT=y
|
CONFIG_SPL_YMODEM_SUPPORT=y
|
||||||
|
@ -26,6 +26,8 @@ CONFIG_SYS_SPL_ARGS_ADDR=0x80000100
|
|||||||
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x280000
|
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x280000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x500
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x500
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x8
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=8
|
||||||
CONFIG_SYS_MAXARGS=64
|
CONFIG_SYS_MAXARGS=64
|
||||||
# CONFIG_CMD_IMI is not set
|
# CONFIG_CMD_IMI is not set
|
||||||
CONFIG_CMD_SPL=y
|
CONFIG_CMD_SPL=y
|
||||||
|
@ -47,6 +47,8 @@ CONFIG_SPL_OS_BOOT=y
|
|||||||
CONFIG_SYS_SPL_ARGS_ADDR=0x18000000
|
CONFIG_SYS_SPL_ARGS_ADDR=0x18000000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x100
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x100
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x3F00
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x10
|
||||||
CONFIG_SPL_SPI_LOAD=y
|
CONFIG_SPL_SPI_LOAD=y
|
||||||
CONFIG_SYS_SPI_U_BOOT_OFFS=0x20000
|
CONFIG_SYS_SPI_U_BOOT_OFFS=0x20000
|
||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
|
@ -42,6 +42,8 @@ CONFIG_SPL_OS_BOOT=y
|
|||||||
CONFIG_SYS_SPL_ARGS_ADDR=0x18000000
|
CONFIG_SYS_SPL_ARGS_ADDR=0x18000000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x100
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x100
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x3F00
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x10
|
||||||
CONFIG_SPL_SPI_LOAD=y
|
CONFIG_SPL_SPI_LOAD=y
|
||||||
CONFIG_SYS_SPI_U_BOOT_OFFS=0x20000
|
CONFIG_SYS_SPI_U_BOOT_OFFS=0x20000
|
||||||
CONFIG_SPL_USB_HOST=y
|
CONFIG_SPL_USB_HOST=y
|
||||||
|
@ -42,6 +42,8 @@ CONFIG_SPL_OS_BOOT=y
|
|||||||
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x200000
|
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x200000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
||||||
CONFIG_SPL_RAM_SUPPORT=y
|
CONFIG_SPL_RAM_SUPPORT=y
|
||||||
CONFIG_SPL_SPI_LOAD=y
|
CONFIG_SPL_SPI_LOAD=y
|
||||||
CONFIG_SYS_SPI_U_BOOT_OFFS=0x40000
|
CONFIG_SYS_SPI_U_BOOT_OFFS=0x40000
|
||||||
|
@ -49,6 +49,8 @@ CONFIG_SPL_OS_BOOT=y
|
|||||||
CONFIG_SYS_SPL_ARGS_ADDR=0x18000000
|
CONFIG_SYS_SPL_ARGS_ADDR=0x18000000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x800
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x100
|
||||||
CONFIG_SPL_POWER=y
|
CONFIG_SPL_POWER=y
|
||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_SYS_PROMPT="Ventana > "
|
CONFIG_SYS_PROMPT="Ventana > "
|
||||||
|
@ -49,6 +49,8 @@ CONFIG_SPL_OS_BOOT=y
|
|||||||
CONFIG_SYS_SPL_ARGS_ADDR=0x18000000
|
CONFIG_SYS_SPL_ARGS_ADDR=0x18000000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x800
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x100
|
||||||
CONFIG_SPL_POWER=y
|
CONFIG_SPL_POWER=y
|
||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_SYS_PROMPT="Ventana > "
|
CONFIG_SYS_PROMPT="Ventana > "
|
||||||
|
@ -51,6 +51,8 @@ CONFIG_SYS_SPL_ARGS_ADDR=0x18000000
|
|||||||
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x1200000
|
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x1200000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x800
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x100
|
||||||
CONFIG_SPL_POWER=y
|
CONFIG_SPL_POWER=y
|
||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_SYS_PROMPT="Ventana > "
|
CONFIG_SYS_PROMPT="Ventana > "
|
||||||
|
@ -45,6 +45,8 @@ CONFIG_SYS_SPL_ARGS_ADDR=0x84000000
|
|||||||
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x280000
|
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x280000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
||||||
CONFIG_SYS_MAXARGS=64
|
CONFIG_SYS_MAXARGS=64
|
||||||
CONFIG_CMD_SPL=y
|
CONFIG_CMD_SPL=y
|
||||||
# CONFIG_CMD_FLASH is not set
|
# CONFIG_CMD_FLASH is not set
|
||||||
|
@ -48,6 +48,8 @@ CONFIG_SPL_OS_BOOT=y
|
|||||||
CONFIG_SYS_SPL_ARGS_ADDR=0x44000000
|
CONFIG_SYS_SPL_ARGS_ADDR=0x44000000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x800
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x800
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x400
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x40
|
||||||
CONFIG_SPL_SPI_LOAD=y
|
CONFIG_SPL_SPI_LOAD=y
|
||||||
CONFIG_SYS_SPI_U_BOOT_OFFS=0x10000
|
CONFIG_SYS_SPI_U_BOOT_OFFS=0x10000
|
||||||
CONFIG_SPL_YMODEM_SUPPORT=y
|
CONFIG_SPL_YMODEM_SUPPORT=y
|
||||||
|
@ -22,6 +22,8 @@ CONFIG_SPL_OS_BOOT=y
|
|||||||
CONFIG_SYS_SPL_ARGS_ADDR=0x13000000
|
CONFIG_SYS_SPL_ARGS_ADDR=0x13000000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x800
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x10
|
||||||
CONFIG_SYS_MAXARGS=32
|
CONFIG_SYS_MAXARGS=32
|
||||||
CONFIG_SYS_PBSIZE=532
|
CONFIG_SYS_PBSIZE=532
|
||||||
CONFIG_CMD_SPL=y
|
CONFIG_CMD_SPL=y
|
||||||
|
@ -38,6 +38,8 @@ CONFIG_SYS_SPL_ARGS_ADDR=0x18000000
|
|||||||
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x500000
|
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x500000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x800
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x800
|
||||||
CONFIG_SPL_USB_HOST=y
|
CONFIG_SPL_USB_HOST=y
|
||||||
CONFIG_SPL_USB_GADGET=y
|
CONFIG_SPL_USB_GADGET=y
|
||||||
CONFIG_SPL_USB_SDP_SUPPORT=y
|
CONFIG_SPL_USB_SDP_SUPPORT=y
|
||||||
|
@ -38,6 +38,8 @@ CONFIG_SPL_OS_BOOT=y
|
|||||||
CONFIG_SYS_SPL_ARGS_ADDR=0x18000000
|
CONFIG_SYS_SPL_ARGS_ADDR=0x18000000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x800
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x10
|
||||||
CONFIG_SPL_WATCHDOG=y
|
CONFIG_SPL_WATCHDOG=y
|
||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_SYS_PROMPT="icorem6qdl-mipi> "
|
CONFIG_SYS_PROMPT="icorem6qdl-mipi> "
|
||||||
|
@ -41,6 +41,8 @@ CONFIG_SPL_OS_BOOT=y
|
|||||||
CONFIG_SYS_SPL_ARGS_ADDR=0x18000000
|
CONFIG_SYS_SPL_ARGS_ADDR=0x18000000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x800
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x10
|
||||||
CONFIG_SPL_WATCHDOG=y
|
CONFIG_SPL_WATCHDOG=y
|
||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_SYS_PROMPT="icorem6qdl> "
|
CONFIG_SYS_PROMPT="icorem6qdl> "
|
||||||
|
@ -35,6 +35,8 @@ CONFIG_SPL_OS_BOOT=y
|
|||||||
CONFIG_SYS_SPL_ARGS_ADDR=0x18000000
|
CONFIG_SYS_SPL_ARGS_ADDR=0x18000000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1000
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x800
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x10
|
||||||
CONFIG_SPL_WATCHDOG=y
|
CONFIG_SPL_WATCHDOG=y
|
||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_SYS_PROMPT="icorem6qdl-rqs> "
|
CONFIG_SYS_PROMPT="icorem6qdl-rqs> "
|
||||||
|
@ -39,6 +39,8 @@ CONFIG_SYS_SPL_ARGS_ADDR=0x84000000
|
|||||||
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x280000
|
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x280000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
||||||
CONFIG_SYS_PROMPT="OMAP Logic # "
|
CONFIG_SYS_PROMPT="OMAP Logic # "
|
||||||
CONFIG_SYS_MAXARGS=64
|
CONFIG_SYS_MAXARGS=64
|
||||||
CONFIG_SYS_PBSIZE=1054
|
CONFIG_SYS_PBSIZE=1054
|
||||||
|
@ -40,6 +40,8 @@ CONFIG_SYS_SPL_ARGS_ADDR=0x84000000
|
|||||||
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x280000
|
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x280000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
||||||
# CONFIG_SPL_POWER is not set
|
# CONFIG_SPL_POWER is not set
|
||||||
CONFIG_SYS_PROMPT="OMAP Logic # "
|
CONFIG_SYS_PROMPT="OMAP Logic # "
|
||||||
CONFIG_SYS_MAXARGS=64
|
CONFIG_SYS_MAXARGS=64
|
||||||
|
@ -38,6 +38,8 @@ CONFIG_SYS_SPL_ARGS_ADDR=0x84000000
|
|||||||
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x280000
|
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x280000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
||||||
CONFIG_SYS_PROMPT="OMAP Logic # "
|
CONFIG_SYS_PROMPT="OMAP Logic # "
|
||||||
CONFIG_SYS_MAXARGS=64
|
CONFIG_SYS_MAXARGS=64
|
||||||
CONFIG_SYS_PBSIZE=1054
|
CONFIG_SYS_PBSIZE=1054
|
||||||
|
@ -40,6 +40,8 @@ CONFIG_SYS_SPL_ARGS_ADDR=0x84000000
|
|||||||
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x280000
|
CONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x280000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
||||||
# CONFIG_SPL_POWER is not set
|
# CONFIG_SPL_POWER is not set
|
||||||
CONFIG_SYS_PROMPT="OMAP Logic # "
|
CONFIG_SYS_PROMPT="OMAP Logic # "
|
||||||
CONFIG_SYS_MAXARGS=64
|
CONFIG_SYS_MAXARGS=64
|
||||||
|
@ -22,6 +22,8 @@ CONFIG_SYS_SPL_MALLOC_SIZE=0x800000
|
|||||||
CONFIG_SPL_OS_BOOT=y
|
CONFIG_SPL_OS_BOOT=y
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
||||||
CONFIG_SYS_MAXARGS=64
|
CONFIG_SYS_MAXARGS=64
|
||||||
CONFIG_CMD_SPL=y
|
CONFIG_CMD_SPL=y
|
||||||
CONFIG_CMD_ASKENV=y
|
CONFIG_CMD_ASKENV=y
|
||||||
|
@ -23,6 +23,8 @@ CONFIG_SYS_SPL_MALLOC_SIZE=0x800000
|
|||||||
CONFIG_SPL_OS_BOOT=y
|
CONFIG_SPL_OS_BOOT=y
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
|
||||||
CONFIG_SYS_MAXARGS=64
|
CONFIG_SYS_MAXARGS=64
|
||||||
CONFIG_CMD_SPL=y
|
CONFIG_CMD_SPL=y
|
||||||
CONFIG_CMD_ASKENV=y
|
CONFIG_CMD_ASKENV=y
|
||||||
|
@ -32,6 +32,8 @@ CONFIG_SPL_OS_BOOT=y
|
|||||||
CONFIG_SYS_SPL_ARGS_ADDR=0xffe5000
|
CONFIG_SYS_SPL_ARGS_ADDR=0xffe5000
|
||||||
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
CONFIG_SPL_FALCON_BOOT_MMCSD=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x8800
|
CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x8800
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x8000
|
||||||
|
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x10
|
||||||
CONFIG_CMD_SPL=y
|
CONFIG_CMD_SPL=y
|
||||||
CONFIG_CMD_GPIO=y
|
CONFIG_CMD_GPIO=y
|
||||||
CONFIG_CMD_GPT=y
|
CONFIG_CMD_GPT=y
|
||||||
|
@ -30,8 +30,6 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_SPL_OS_BOOT
|
#ifdef CONFIG_SPL_OS_BOOT
|
||||||
/* RAW SD card / eMMC */
|
/* RAW SD card / eMMC */
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x80 /* address 0x10000 */
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 0x80 /* 64KiB */
|
|
||||||
|
|
||||||
#endif /* CONFIG_SPL_OS_BOOT */
|
#endif /* CONFIG_SPL_OS_BOOT */
|
||||||
|
|
||||||
|
@ -116,9 +116,4 @@
|
|||||||
|
|
||||||
#define CONFIG_SYS_NAND_U_BOOT_SIZE 0x200000
|
#define CONFIG_SYS_NAND_U_BOOT_SIZE 0x200000
|
||||||
|
|
||||||
#undef CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR
|
|
||||||
#undef CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x8 /* address 0x1000 */
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 8 /* 4KB */
|
|
||||||
|
|
||||||
#endif /* __CONFIG_H */
|
#endif /* __CONFIG_H */
|
||||||
|
@ -12,9 +12,6 @@
|
|||||||
/* Falcon Mode */
|
/* Falcon Mode */
|
||||||
|
|
||||||
/* Falcon Mode - MMC support */
|
/* Falcon Mode - MMC support */
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x3F00
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS \
|
|
||||||
(CONFIG_CMD_SPL_WRITE_SIZE / 512)
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* display5 SPI-NOR memory layout
|
* display5 SPI-NOR memory layout
|
||||||
|
@ -54,9 +54,6 @@
|
|||||||
#include "imx6_spl.h"
|
#include "imx6_spl.h"
|
||||||
/* RiOTboard */
|
/* RiOTboard */
|
||||||
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0 /* offset 69KB */
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 0 /* offset 69KB */
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* 256M RAM (minimum), 32M uncompressed kernel, 16M compressed kernel, 1M fdt,
|
/* 256M RAM (minimum), 32M uncompressed kernel, 16M compressed kernel, 1M fdt,
|
||||||
|
@ -12,8 +12,6 @@
|
|||||||
/* Falcon Mode */
|
/* Falcon Mode */
|
||||||
|
|
||||||
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x800 /* 1MB */
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS (CONFIG_CMD_SPL_WRITE_SIZE / 512)
|
|
||||||
|
|
||||||
#include "imx6_spl.h" /* common IMX6 SPL configuration */
|
#include "imx6_spl.h" /* common IMX6 SPL configuration */
|
||||||
#include "mx6_common.h"
|
#include "mx6_common.h"
|
||||||
|
@ -136,8 +136,6 @@
|
|||||||
/* Falcon Mode */
|
/* Falcon Mode */
|
||||||
#ifdef CONFIG_SPL_OS_BOOT
|
#ifdef CONFIG_SPL_OS_BOOT
|
||||||
/* MMC support: args@1MB kernel@2MB */
|
/* MMC support: args@1MB kernel@2MB */
|
||||||
# define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x800 /* 1MB */
|
|
||||||
# define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS (CONFIG_CMD_SPL_WRITE_SIZE / 512)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Framebuffer */
|
/* Framebuffer */
|
||||||
|
@ -131,7 +131,5 @@
|
|||||||
/* Falcon Mode */
|
/* Falcon Mode */
|
||||||
|
|
||||||
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x800 /* 1MB */
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS (CONFIG_CMD_SPL_WRITE_SIZE / 512)
|
|
||||||
|
|
||||||
#endif /* __IMX6LOGIC_CONFIG_H */
|
#endif /* __IMX6LOGIC_CONFIG_H */
|
||||||
|
@ -53,8 +53,6 @@
|
|||||||
/* Falcon */
|
/* Falcon */
|
||||||
|
|
||||||
/* MMC support: args@1MB kernel@2MB */
|
/* MMC support: args@1MB kernel@2MB */
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x800 /* 1MB */
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS (CONFIG_CMD_SPL_WRITE_SIZE / 512)
|
|
||||||
|
|
||||||
/* Miscellaneous configurable options */
|
/* Miscellaneous configurable options */
|
||||||
|
|
||||||
|
@ -19,11 +19,6 @@
|
|||||||
#define CONFIG_MEM_INIT_VALUE 0xdeadbeef
|
#define CONFIG_MEM_INIT_VALUE 0xdeadbeef
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_SD_BOOT
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x500
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 30
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* NOR Flash Definitions
|
* NOR Flash Definitions
|
||||||
*/
|
*/
|
||||||
|
@ -18,8 +18,6 @@
|
|||||||
* design force U-Boot run when we boot in development
|
* design force U-Boot run when we boot in development
|
||||||
* mode from SD card (SD2)
|
* mode from SD card (SD2)
|
||||||
*/
|
*/
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR (0x800)
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS (0x80)
|
|
||||||
|
|
||||||
#define CONFIG_MXC_UART_BASE UART1_BASE
|
#define CONFIG_MXC_UART_BASE UART1_BASE
|
||||||
|
|
||||||
|
@ -29,8 +29,6 @@
|
|||||||
/* Falcon Mode */
|
/* Falcon Mode */
|
||||||
#ifdef CONFIG_SPL_OS_BOOT
|
#ifdef CONFIG_SPL_OS_BOOT
|
||||||
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x800 /* 1MB */
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS (CONFIG_CMD_SPL_WRITE_SIZE / 512)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_MTD_NOR_FLASH
|
#ifdef CONFIG_MTD_NOR_FLASH
|
||||||
|
@ -20,8 +20,6 @@
|
|||||||
/* Falcon Mode */
|
/* Falcon Mode */
|
||||||
|
|
||||||
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x800 /* 1MB */
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS (CONFIG_CMD_SPL_WRITE_SIZE / 512)
|
|
||||||
|
|
||||||
#define CONFIG_SYS_FSL_USDHC_NUM 3
|
#define CONFIG_SYS_FSL_USDHC_NUM 3
|
||||||
|
|
||||||
|
@ -16,8 +16,6 @@
|
|||||||
/* Falcon Mode */
|
/* Falcon Mode */
|
||||||
|
|
||||||
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x800 /* 1MB */
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS (CONFIG_CMD_SPL_WRITE_SIZE / 512)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CONFIG_MXC_UART_BASE UART1_BASE
|
#define CONFIG_MXC_UART_BASE UART1_BASE
|
||||||
|
@ -18,8 +18,6 @@
|
|||||||
/* Falcon Mode */
|
/* Falcon Mode */
|
||||||
|
|
||||||
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x800 /* 1MB */
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS (CONFIG_CMD_SPL_WRITE_SIZE / 512)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Network support */
|
/* Network support */
|
||||||
|
@ -16,8 +16,6 @@
|
|||||||
/* Falcon Mode */
|
/* Falcon Mode */
|
||||||
|
|
||||||
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x800 /* 1MB */
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS (CONFIG_CMD_SPL_WRITE_SIZE / 512)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CONFIG_MXC_UART_BASE UART5_IPS_BASE_ADDR
|
#define CONFIG_MXC_UART_BASE UART5_IPS_BASE_ADDR
|
||||||
|
@ -54,8 +54,6 @@
|
|||||||
#define CONFIG_SYS_MONITOR_LEN (2 * SZ_512K)
|
#define CONFIG_SYS_MONITOR_LEN (2 * SZ_512K)
|
||||||
|
|
||||||
/* Falcon boot support on raw MMC */
|
/* Falcon boot support on raw MMC */
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x100 /* 128 KiB */
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS (CONFIG_CMD_SPL_WRITE_SIZE / 512)
|
|
||||||
/* U-Boot proper stored by default at 0x200 (256 KiB) */
|
/* U-Boot proper stored by default at 0x200 (256 KiB) */
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -118,8 +118,6 @@
|
|||||||
/* FAT */
|
/* FAT */
|
||||||
|
|
||||||
/* RAW SD card / eMMC */
|
/* RAW SD card / eMMC */
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x1500 /* address 0x2A0000 */
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 0x200 /* 256KiB */
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* General parts of the framework, required. */
|
/* General parts of the framework, required. */
|
||||||
|
@ -24,8 +24,6 @@
|
|||||||
/* Falcon Mode */
|
/* Falcon Mode */
|
||||||
|
|
||||||
/* Falcon Mode - MMC support: args@16MB kernel@17MB */
|
/* Falcon Mode - MMC support: args@16MB kernel@17MB */
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x8000 /* 16MB */
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS (CONFIG_CMD_SPL_WRITE_SIZE / 512)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -20,9 +20,6 @@
|
|||||||
#define CONFIG_SYS_SPI_ARGS_OFFS SZ_512K
|
#define CONFIG_SYS_SPI_ARGS_OFFS SZ_512K
|
||||||
#define CONFIG_SYS_SPI_ARGS_SIZE SZ_32K
|
#define CONFIG_SYS_SPI_ARGS_SIZE SZ_32K
|
||||||
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR (SZ_512K / 0x200)
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS (SZ_32K / 0x200)
|
|
||||||
|
|
||||||
/* Memory configuration */
|
/* Memory configuration */
|
||||||
#define PHYS_SDRAM_1 0x40000000 /* Base address */
|
#define PHYS_SDRAM_1 0x40000000 /* Base address */
|
||||||
#define PHYS_SDRAM_1_SIZE 0x10000000 /* Max 256 MB RAM */
|
#define PHYS_SDRAM_1_SIZE 0x10000000 /* Max 256 MB RAM */
|
||||||
|
@ -209,10 +209,6 @@
|
|||||||
|
|
||||||
/* ATF is my kernel image */
|
/* ATF is my kernel image */
|
||||||
|
|
||||||
/* MMC support */
|
|
||||||
# define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0 /* unused */
|
|
||||||
# define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 0 /* unused */
|
|
||||||
|
|
||||||
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_DFU)
|
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_DFU)
|
||||||
# define CONFIG_SPL_HASH
|
# define CONFIG_SPL_HASH
|
||||||
# define CONFIG_ENV_MAX_ENTRIES 10
|
# define CONFIG_ENV_MAX_ENTRIES 10
|
||||||
|
@ -212,8 +212,6 @@
|
|||||||
/* Address in RAM where the parameters must be copied by SPL. */
|
/* Address in RAM where the parameters must be copied by SPL. */
|
||||||
|
|
||||||
/* Not using MMC raw mode - just for compilation purpose */
|
/* Not using MMC raw mode - just for compilation purpose */
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0
|
|
||||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 0
|
|
||||||
|
|
||||||
/* qspi mode is working fine */
|
/* qspi mode is working fine */
|
||||||
#ifdef CONFIG_ZYNQ_QSPI
|
#ifdef CONFIG_ZYNQ_QSPI
|
||||||
|
Loading…
Reference in New Issue
Block a user