mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-19 03:15:00 +00:00
Merge patch series "spl: mmc: Some tweaks for SPL, particularly with MMC"
Simon Glass <sjg@chromium.org> says: This series includes various minor fixes and tweaks found when trying to reduce the size of MMC code in SPL.
This commit is contained in:
commit
5948fd0ae7
165 changed files with 437 additions and 368 deletions
|
@ -15,4 +15,7 @@ struct rk_timer {
|
|||
u32 timer_int_status;
|
||||
};
|
||||
|
||||
/** rockchip_stimer_init() - Set up the timer ready for use */
|
||||
void rockchip_stimer_init(void);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -735,6 +735,7 @@ int boot_mode_getprisec(void)
|
|||
#endif
|
||||
|
||||
#if defined(CONFIG_IMX8MN) || defined(CONFIG_IMX8MP)
|
||||
#ifdef SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
|
||||
#define IMG_CNTN_SET1_OFFSET GENMASK(22, 19)
|
||||
unsigned long arch_spl_mmc_get_uboot_raw_sector(struct mmc *mmc,
|
||||
unsigned long raw_sect)
|
||||
|
@ -769,6 +770,7 @@ unsigned long arch_spl_mmc_get_uboot_raw_sector(struct mmc *mmc,
|
|||
|
||||
return raw_sect;
|
||||
}
|
||||
#endif /* SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION */
|
||||
#endif
|
||||
|
||||
bool is_usb_boot(void)
|
||||
|
|
|
@ -33,8 +33,17 @@ ulong spl_romapi_raw_seekable_read(u32 offset, u32 size, void *buf)
|
|||
|
||||
ulong __weak spl_romapi_get_uboot_base(u32 image_offset, u32 rom_bt_dev)
|
||||
{
|
||||
return image_offset +
|
||||
(CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512 - 0x8000);
|
||||
u32 sector = 0;
|
||||
|
||||
/*
|
||||
* Some boards use this value even though MMC is not enabled in SPL, for
|
||||
* example imx8mn_bsh_smm_s2
|
||||
*/
|
||||
#ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
|
||||
sector = CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR;
|
||||
#endif
|
||||
|
||||
return image_offset + sector * 512 - 0x8000;
|
||||
}
|
||||
|
||||
static int is_boot_from_stream_device(u32 boot)
|
||||
|
@ -99,18 +108,13 @@ static int spl_romapi_load_image_seekable(struct spl_image_info *spl_image,
|
|||
if (IS_ENABLED(CONFIG_SPL_LOAD_FIT) && image_get_magic(header) == FDT_MAGIC) {
|
||||
struct spl_load_info load;
|
||||
|
||||
memset(&load, 0, sizeof(load));
|
||||
spl_set_bl_len(&load, pagesize);
|
||||
load.read = spl_romapi_read_seekable;
|
||||
spl_load_init(&load, spl_romapi_read_seekable, NULL, pagesize);
|
||||
return spl_load_simple_fit(spl_image, &load, offset, header);
|
||||
} else if (IS_ENABLED(CONFIG_SPL_LOAD_IMX_CONTAINER) &&
|
||||
valid_container_hdr((void *)header)) {
|
||||
struct spl_load_info load;
|
||||
|
||||
memset(&load, 0, sizeof(load));
|
||||
spl_set_bl_len(&load, pagesize);
|
||||
load.read = spl_romapi_read_seekable;
|
||||
|
||||
spl_load_init(&load, spl_romapi_read_seekable, NULL, pagesize);
|
||||
ret = spl_load_imx_container(spl_image, &load, offset);
|
||||
} else {
|
||||
/* TODO */
|
||||
|
@ -332,10 +336,7 @@ static int spl_romapi_load_image_stream(struct spl_image_info *spl_image,
|
|||
ss.end = p;
|
||||
ss.pagesize = pagesize;
|
||||
|
||||
memset(&load, 0, sizeof(load));
|
||||
spl_set_bl_len(&load, 1);
|
||||
load.read = spl_romapi_read_stream;
|
||||
load.priv = &ss;
|
||||
spl_load_init(&load, spl_romapi_read_stream, &ss, 1);
|
||||
|
||||
return spl_load_simple_fit(spl_image, &load, (ulong)phdr, phdr);
|
||||
}
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
# inaccessible/protected memory (and the bootrom-helper assumes that
|
||||
# the stack-pointer is valid before switching to the U-Boot stack).
|
||||
obj-spl-$(CONFIG_ROCKCHIP_BROM_HELPER) += bootrom.o
|
||||
obj-spl-$(CONFIG_SPL_ROCKCHIP_COMMON_BOARD) += spl.o spl-boot-order.o
|
||||
obj-spl-$(CONFIG_SPL_ROCKCHIP_COMMON_BOARD) += spl.o spl-boot-order.o spl_common.o
|
||||
obj-tpl-$(CONFIG_ROCKCHIP_BROM_HELPER) += bootrom.o
|
||||
obj-tpl-$(CONFIG_TPL_ROCKCHIP_COMMON_BOARD) += tpl.o
|
||||
obj-tpl-$(CONFIG_TPL_ROCKCHIP_COMMON_BOARD) += tpl.o spl_common.o
|
||||
obj-tpl-$(CONFIG_ROCKCHIP_PX30) += px30-board-tpl.o
|
||||
|
||||
obj-spl-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board-spl.o
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include <ram.h>
|
||||
#include <spl.h>
|
||||
#include <asm/arch-rockchip/bootrom.h>
|
||||
#include <asm/arch-rockchip/timer.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <asm/io.h>
|
||||
#include <linux/bitops.h>
|
||||
|
@ -79,33 +80,6 @@ u32 spl_mmc_boot_mode(struct mmc *mmc, const u32 boot_device)
|
|||
return MMCSD_MODE_RAW;
|
||||
}
|
||||
|
||||
#define TIMER_LOAD_COUNT_L 0x00
|
||||
#define TIMER_LOAD_COUNT_H 0x04
|
||||
#define TIMER_CONTROL_REG 0x10
|
||||
#define TIMER_EN 0x1
|
||||
#define TIMER_FMODE BIT(0)
|
||||
#define TIMER_RMODE BIT(1)
|
||||
|
||||
__weak void rockchip_stimer_init(void)
|
||||
{
|
||||
#if defined(CONFIG_ROCKCHIP_STIMER_BASE)
|
||||
/* If Timer already enabled, don't re-init it */
|
||||
u32 reg = readl(CONFIG_ROCKCHIP_STIMER_BASE + TIMER_CONTROL_REG);
|
||||
|
||||
if (reg & TIMER_EN)
|
||||
return;
|
||||
#ifndef CONFIG_ARM64
|
||||
asm volatile("mcr p15, 0, %0, c14, c0, 0"
|
||||
: : "r"(CONFIG_COUNTER_FREQUENCY));
|
||||
#endif
|
||||
writel(0, CONFIG_ROCKCHIP_STIMER_BASE + TIMER_CONTROL_REG);
|
||||
writel(0xffffffff, CONFIG_ROCKCHIP_STIMER_BASE);
|
||||
writel(0xffffffff, CONFIG_ROCKCHIP_STIMER_BASE + 4);
|
||||
writel(TIMER_EN | TIMER_FMODE, CONFIG_ROCKCHIP_STIMER_BASE +
|
||||
TIMER_CONTROL_REG);
|
||||
#endif
|
||||
}
|
||||
|
||||
__weak int board_early_init_f(void)
|
||||
{
|
||||
return 0;
|
||||
|
|
36
arch/arm/mach-rockchip/spl_common.c
Normal file
36
arch/arm/mach-rockchip/spl_common.c
Normal file
|
@ -0,0 +1,36 @@
|
|||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* (C) Copyright 2019 Rockchip Electronics Co., Ltd
|
||||
*/
|
||||
|
||||
#include <asm/io.h>
|
||||
#include <linux/bitops.h>
|
||||
|
||||
#define TIMER_LOAD_COUNT_L 0x00
|
||||
#define TIMER_LOAD_COUNT_H 0x04
|
||||
#define TIMER_CONTROL_REG 0x10
|
||||
#define TIMER_EN 0x1
|
||||
#define TIMER_FMODE BIT(0)
|
||||
#define TIMER_RMODE BIT(1)
|
||||
|
||||
__weak void rockchip_stimer_init(void)
|
||||
{
|
||||
#if defined(CONFIG_ROCKCHIP_STIMER_BASE)
|
||||
/* If Timer already enabled, don't re-init it */
|
||||
u32 reg = readl(CONFIG_ROCKCHIP_STIMER_BASE + TIMER_CONTROL_REG);
|
||||
|
||||
if (reg & TIMER_EN)
|
||||
return;
|
||||
|
||||
#ifndef CONFIG_ARM64
|
||||
asm volatile("mcr p15, 0, %0, c14, c0, 0"
|
||||
: : "r"(CONFIG_COUNTER_FREQUENCY));
|
||||
#endif
|
||||
|
||||
writel(0, CONFIG_ROCKCHIP_STIMER_BASE + TIMER_CONTROL_REG);
|
||||
writel(0xffffffff, CONFIG_ROCKCHIP_STIMER_BASE);
|
||||
writel(0xffffffff, CONFIG_ROCKCHIP_STIMER_BASE + 4);
|
||||
writel(TIMER_EN | TIMER_FMODE, CONFIG_ROCKCHIP_STIMER_BASE +
|
||||
TIMER_CONTROL_REG);
|
||||
#endif
|
||||
}
|
|
@ -14,41 +14,13 @@
|
|||
#include <version.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch-rockchip/bootrom.h>
|
||||
#include <asm/arch-rockchip/timer.h>
|
||||
#include <linux/bitops.h>
|
||||
|
||||
#if CONFIG_IS_ENABLED(BANNER_PRINT)
|
||||
#include <timestamp.h>
|
||||
#endif
|
||||
|
||||
#define TIMER_LOAD_COUNT_L 0x00
|
||||
#define TIMER_LOAD_COUNT_H 0x04
|
||||
#define TIMER_CONTROL_REG 0x10
|
||||
#define TIMER_EN 0x1
|
||||
#define TIMER_FMODE BIT(0)
|
||||
#define TIMER_RMODE BIT(1)
|
||||
|
||||
__weak void rockchip_stimer_init(void)
|
||||
{
|
||||
#if defined(CONFIG_ROCKCHIP_STIMER_BASE)
|
||||
/* If Timer already enabled, don't re-init it */
|
||||
u32 reg = readl(CONFIG_ROCKCHIP_STIMER_BASE + TIMER_CONTROL_REG);
|
||||
|
||||
if (reg & TIMER_EN)
|
||||
return;
|
||||
|
||||
#ifndef CONFIG_ARM64
|
||||
asm volatile("mcr p15, 0, %0, c14, c0, 0"
|
||||
: : "r"(CONFIG_COUNTER_FREQUENCY));
|
||||
#endif
|
||||
|
||||
writel(0, CONFIG_ROCKCHIP_STIMER_BASE + TIMER_CONTROL_REG);
|
||||
writel(0xffffffff, CONFIG_ROCKCHIP_STIMER_BASE);
|
||||
writel(0xffffffff, CONFIG_ROCKCHIP_STIMER_BASE + 4);
|
||||
writel(TIMER_EN | TIMER_FMODE, CONFIG_ROCKCHIP_STIMER_BASE +
|
||||
TIMER_CONTROL_REG);
|
||||
#endif
|
||||
}
|
||||
|
||||
void board_init_f(ulong dummy)
|
||||
{
|
||||
struct udevice *dev;
|
||||
|
|
|
@ -390,8 +390,7 @@ static int spl_spi_load_image(struct spl_image_info *spl_image,
|
|||
struct spl_load_info load;
|
||||
|
||||
debug("Found FIT image\n");
|
||||
spl_set_bl_len(&load, 1);
|
||||
load.read = spi_load_read;
|
||||
spl_load_init(&load, spi_load_read, NULL, 1);
|
||||
ret = spl_load_simple_fit(spl_image, &load,
|
||||
load_offset, header);
|
||||
} else {
|
||||
|
|
|
@ -221,9 +221,8 @@ int sandbox_spl_load_fit(char *fname, int maxlen, struct spl_image_info *image)
|
|||
int ret;
|
||||
int fd;
|
||||
|
||||
memset(&load, '\0', sizeof(load));
|
||||
spl_set_bl_len(&load, IS_ENABLED(CONFIG_SPL_LOAD_BLOCK) ? 512 : 1);
|
||||
load.read = read_fit_image;
|
||||
spl_load_init(&load, read_fit_image, &load_ctx,
|
||||
IS_ENABLED(CONFIG_SPL_LOAD_BLOCK) ? 512 : 1);
|
||||
|
||||
ret = sandbox_find_next_phase(fname, maxlen, true);
|
||||
if (ret) {
|
||||
|
|
|
@ -189,7 +189,7 @@ int board_late_init(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SPL_MMC
|
||||
#ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
|
||||
#define UBOOT_RAW_SECTOR_OFFSET 0x40
|
||||
unsigned long board_spl_mmc_get_uboot_raw_sector(struct mmc *mmc,
|
||||
unsigned long raw_sector)
|
||||
|
@ -203,4 +203,4 @@ unsigned long board_spl_mmc_get_uboot_raw_sector(struct mmc *mmc,
|
|||
return CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR;
|
||||
}
|
||||
}
|
||||
#endif /* CONFIG_SPL_MMC */
|
||||
#endif /* CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR */
|
||||
|
|
|
@ -38,10 +38,10 @@ static int log_console_emit(struct log_device *ldev, struct log_rec *rec)
|
|||
printf("%d-", rec->line);
|
||||
if (fmt & BIT(LOGF_FUNC)) {
|
||||
if (CONFIG_IS_ENABLED(USE_TINY_PRINTF)) {
|
||||
printf("%s()", rec->func);
|
||||
printf("%s()", rec->func ?: "?");
|
||||
} else {
|
||||
printf("%*s()", CONFIG_LOGF_FUNC_PAD,
|
||||
rec->func);
|
||||
rec->func ?: "?");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -88,7 +88,7 @@ static int log_syslog_emit(struct log_device *ldev, struct log_rec *rec)
|
|||
if (fmt & BIT(LOGF_LINE))
|
||||
append(&ptr, msg_end, "%d-", rec->line);
|
||||
if (fmt & BIT(LOGF_FUNC))
|
||||
append(&ptr, msg_end, "%s()", rec->func);
|
||||
append(&ptr, msg_end, "%s()", rec->func ?: "?");
|
||||
if (fmt & BIT(LOGF_MSG))
|
||||
append(&ptr, msg_end, "%s%s",
|
||||
fmt != BIT(LOGF_MSG) ? " " : "", rec->msg);
|
||||
|
|
|
@ -492,24 +492,45 @@ config SPL_DISPLAY_PRINT
|
|||
the board.
|
||||
|
||||
config SPL_SYS_MMCSD_RAW_MODE
|
||||
bool
|
||||
help
|
||||
Support booting from an MMC without a filesystem.
|
||||
|
||||
config SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
|
||||
bool "MMC raw mode: by sector"
|
||||
bool "Use raw reads to locate the next boot phase"
|
||||
depends on SPL_DM_MMC || SPL_MMC
|
||||
default y if ARCH_SUNXI || ARCH_DAVINCI || ARCH_UNIPHIER || \
|
||||
ARCH_MX6 || ARCH_MX7 || \
|
||||
ARCH_ROCKCHIP || ARCH_MVEBU || ARCH_SOCFPGA || \
|
||||
ARCH_AT91 || ARCH_ZYNQ || ARCH_KEYSTONE || OMAP34XX || \
|
||||
OMAP54XX || AM33XX || AM43XX || \
|
||||
TARGET_SIFIVE_UNLEASHED || TARGET_SIFIVE_UNMATCHED
|
||||
select SPL_LOAD_BLOCK if SPL_MMC
|
||||
select SPL_SYS_MMCSD_RAW_MODE if SPL_MMC
|
||||
help
|
||||
Support booting from an MMC without a filesystem.
|
||||
|
||||
if SPL_SYS_MMCSD_RAW_MODE
|
||||
|
||||
choice
|
||||
prompt "Method for locating next phase of boot (e.g. U-Boot)"
|
||||
|
||||
config SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
|
||||
bool "MMC raw mode: by sector"
|
||||
select SPL_LOAD_BLOCK
|
||||
help
|
||||
Use sector number for specifying U-Boot location on MMC/SD in
|
||||
raw mode.
|
||||
|
||||
config SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
|
||||
bool "MMC raw mode: by partition"
|
||||
select SPL_LOAD_BLOCK
|
||||
help
|
||||
Use a partition for loading U-Boot when using MMC/SD in raw mode.
|
||||
|
||||
config SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
|
||||
bool "MMC raw mode: by partition type"
|
||||
depends on DOS_PARTITION
|
||||
help
|
||||
Use partition type for specifying U-Boot partition on MMC/SD in
|
||||
raw mode. U-Boot will be loaded from the first partition of this
|
||||
type to be found.
|
||||
|
||||
endchoice
|
||||
|
||||
config SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR
|
||||
hex "Address on the MMC to load U-Boot from"
|
||||
depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
|
||||
|
@ -540,13 +561,6 @@ config SYS_MMCSD_RAW_MODE_U_BOOT_DATA_PART_OFFSET
|
|||
|
||||
If unsure, leave the default.
|
||||
|
||||
config SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
|
||||
bool "MMC Raw mode: by partition"
|
||||
select SPL_LOAD_BLOCK if SPL_MMC
|
||||
select SPL_SYS_MMCSD_RAW_MODE if SPL_MMC
|
||||
help
|
||||
Use a partition for loading U-Boot when using MMC/SD in raw mode.
|
||||
|
||||
config SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION
|
||||
hex "Partition to use to load U-Boot from"
|
||||
depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
|
||||
|
@ -555,14 +569,6 @@ config SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION
|
|||
Partition on the MMC to load U-Boot from when the MMC is being
|
||||
used in raw mode
|
||||
|
||||
config SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
|
||||
bool "MMC raw mode: by partition type"
|
||||
depends on DOS_PARTITION && SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
|
||||
help
|
||||
Use partition type for specifying U-Boot partition on MMC/SD in
|
||||
raw mode. U-Boot will be loaded from the first partition of this
|
||||
type to be found.
|
||||
|
||||
config SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_TYPE
|
||||
hex "Partition Type on the MMC to load U-Boot from"
|
||||
depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
|
||||
|
@ -570,6 +576,8 @@ config SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_TYPE
|
|||
Partition Type on the MMC to load U-Boot from, when the MMC is being
|
||||
used in raw mode.
|
||||
|
||||
endif # SPL_SYS_MMCSD_RAW_MODE
|
||||
|
||||
config SUPPORT_EMMC_BOOT_OVERRIDE_PART_CONFIG
|
||||
bool "Override eMMC EXT_CSC_PART_CONFIG by user defined partition"
|
||||
depends on SUPPORT_EMMC_BOOT
|
||||
|
|
|
@ -245,7 +245,6 @@ __weak struct legacy_img_hdr *spl_get_load_buffer(ssize_t offset, size_t size)
|
|||
return map_sysmem(CONFIG_TEXT_BASE + offset, 0);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SPL_RAW_IMAGE_SUPPORT
|
||||
void spl_set_header_raw_uboot(struct spl_image_info *spl_image)
|
||||
{
|
||||
ulong u_boot_pos = spl_get_image_pos();
|
||||
|
@ -273,7 +272,6 @@ void spl_set_header_raw_uboot(struct spl_image_info *spl_image)
|
|||
spl_image->os = IH_OS_U_BOOT;
|
||||
spl_image->name = "U-Boot";
|
||||
}
|
||||
#endif
|
||||
|
||||
__weak int spl_parse_board_header(struct spl_image_info *spl_image,
|
||||
const struct spl_boot_device *bootdev,
|
||||
|
@ -308,8 +306,10 @@ int spl_parse_image_header(struct spl_image_info *spl_image,
|
|||
ret = spl_parse_legacy_header(spl_image, header);
|
||||
if (ret)
|
||||
return ret;
|
||||
} else {
|
||||
#ifdef CONFIG_SPL_PANIC_ON_RAW_IMAGE
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (IS_ENABLED(CONFIG_SPL_PANIC_ON_RAW_IMAGE)) {
|
||||
/*
|
||||
* CONFIG_SPL_PANIC_ON_RAW_IMAGE is defined when the
|
||||
* code which loads images in SPL cannot guarantee that
|
||||
|
@ -319,10 +319,9 @@ int spl_parse_image_header(struct spl_image_info *spl_image,
|
|||
* is bad, and thus should be skipped silently.
|
||||
*/
|
||||
panic("** no mkimage signature but raw image not supported");
|
||||
#endif
|
||||
}
|
||||
|
||||
#if CONFIG_IS_ENABLED(OS_BOOT)
|
||||
#if defined(CMD_BOOTI)
|
||||
if (CONFIG_IS_ENABLED(OS_BOOT) && IS_ENABLED(CONFIG_CMD_BOOTI)) {
|
||||
ulong start, size;
|
||||
|
||||
if (!booti_setup((ulong)header, &start, &size, 0)) {
|
||||
|
@ -336,7 +335,7 @@ int spl_parse_image_header(struct spl_image_info *spl_image,
|
|||
spl_image->load_addr, spl_image->size);
|
||||
return 0;
|
||||
}
|
||||
#elif defined(CMD_BOOTZ)
|
||||
} else if (CONFIG_IS_ENABLED(OS_BOOT) && IS_ENABLED(CONFIG_CMD_BOOTZ)) {
|
||||
ulong start, end;
|
||||
|
||||
if (!bootz_setup((ulong)header, &start, &end)) {
|
||||
|
@ -350,22 +349,21 @@ int spl_parse_image_header(struct spl_image_info *spl_image,
|
|||
spl_image->load_addr, spl_image->size);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
if (!spl_parse_board_header(spl_image, bootdev, (const void *)header, sizeof(*header)))
|
||||
if (!spl_parse_board_header(spl_image, bootdev, (const void *)header,
|
||||
sizeof(*header)))
|
||||
return 0;
|
||||
|
||||
#ifdef CONFIG_SPL_RAW_IMAGE_SUPPORT
|
||||
if (IS_ENABLED(CONFIG_SPL_RAW_IMAGE_SUPPORT)) {
|
||||
/* Signature not found - assume u-boot.bin */
|
||||
debug("mkimage signature not found - ih_magic = %x\n",
|
||||
header->ih_magic);
|
||||
spl_set_header_raw_uboot(spl_image);
|
||||
#else
|
||||
} else {
|
||||
/* RAW image not supported, proceed to other boot methods. */
|
||||
debug("Raw boot image support not enabled, proceeding to other boot methods\n");
|
||||
return -EINVAL;
|
||||
#endif
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -80,11 +80,8 @@ int spl_blk_load_image(struct spl_image_info *spl_image,
|
|||
return ret;
|
||||
}
|
||||
|
||||
load.read = spl_fit_read;
|
||||
if (IS_ENABLED(CONFIG_SPL_FS_FAT_DMA_ALIGN))
|
||||
spl_set_bl_len(&load, ARCH_DMA_MINALIGN);
|
||||
else
|
||||
spl_set_bl_len(&load, 1);
|
||||
load.priv = &dev;
|
||||
spl_load_init(&load, spl_fit_read, &dev,
|
||||
IS_ENABLED(CONFIG_SPL_FS_FAT_DMA_ALIGN) ?
|
||||
ARCH_DMA_MINALIGN : 1);
|
||||
return spl_load(spl_image, bootdev, &load, filesize, 0);
|
||||
}
|
||||
|
|
|
@ -51,8 +51,7 @@ int spl_load_image_ext(struct spl_image_info *spl_image,
|
|||
goto end;
|
||||
}
|
||||
|
||||
spl_set_bl_len(&load, 1);
|
||||
load.read = spl_fit_read;
|
||||
spl_load_init(&load, spl_fit_read, NULL, 1);
|
||||
err = spl_load(spl_image, bootdev, &load, filelen, 0);
|
||||
|
||||
end:
|
||||
|
|
|
@ -83,12 +83,10 @@ int spl_load_image_fat(struct spl_image_info *spl_image,
|
|||
size = 0;
|
||||
}
|
||||
|
||||
load.read = spl_fit_read;
|
||||
if (IS_ENABLED(CONFIG_SPL_FS_FAT_DMA_ALIGN))
|
||||
spl_set_bl_len(&load, ARCH_DMA_MINALIGN);
|
||||
else
|
||||
spl_set_bl_len(&load, 1);
|
||||
load.priv = (void *)filename;
|
||||
spl_load_init(&load, spl_fit_read, (void *)filename,
|
||||
IS_ENABLED(CONFIG_SPL_FS_FAT_DMA_ALIGN) ?
|
||||
ARCH_DMA_MINALIGN : 1);
|
||||
|
||||
err = spl_load(spl_image, bootdev, &load, size, 0);
|
||||
|
||||
end:
|
||||
|
|
|
@ -46,21 +46,17 @@ int mmc_load_image_raw_sector(struct spl_image_info *spl_image,
|
|||
struct blk_desc *bd = mmc_get_blk_desc(mmc);
|
||||
struct spl_load_info load;
|
||||
|
||||
load.priv = bd;
|
||||
spl_set_bl_len(&load, bd->blksz);
|
||||
load.read = h_spl_load_read;
|
||||
spl_load_init(&load, h_spl_load_read, bd, bd->blksz);
|
||||
ret = spl_load(spl_image, bootdev, &load, 0, sector << bd->log2blksz);
|
||||
if (ret) {
|
||||
#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
|
||||
puts("mmc_load_image_raw_sector: mmc block read error\n");
|
||||
#endif
|
||||
return -1;
|
||||
return ret;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int spl_mmc_get_device_index(u32 boot_device)
|
||||
static int spl_mmc_get_device_index(uint boot_device)
|
||||
{
|
||||
switch (boot_device) {
|
||||
case BOOT_DEVICE_MMC1:
|
||||
|
@ -70,40 +66,30 @@ static int spl_mmc_get_device_index(u32 boot_device)
|
|||
return 1;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
|
||||
printf("spl: unsupported mmc boot device.\n");
|
||||
#endif
|
||||
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
static int spl_mmc_find_device(struct mmc **mmcp, u32 boot_device)
|
||||
static int spl_mmc_find_device(struct mmc **mmcp, int mmc_dev)
|
||||
{
|
||||
int err, mmc_dev;
|
||||
|
||||
mmc_dev = spl_mmc_get_device_index(boot_device);
|
||||
if (mmc_dev < 0)
|
||||
return mmc_dev;
|
||||
int ret;
|
||||
|
||||
#if CONFIG_IS_ENABLED(DM_MMC)
|
||||
err = mmc_init_device(mmc_dev);
|
||||
ret = mmc_init_device(mmc_dev);
|
||||
#else
|
||||
err = mmc_initialize(NULL);
|
||||
ret = mmc_initialize(NULL);
|
||||
#endif /* DM_MMC */
|
||||
if (err) {
|
||||
#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
|
||||
printf("spl: could not initialize mmc. error: %d\n", err);
|
||||
#endif
|
||||
return err;
|
||||
if (ret) {
|
||||
printf("spl: could not initialize mmc. error: %d\n", ret);
|
||||
return ret;
|
||||
}
|
||||
*mmcp = find_mmc_device(mmc_dev);
|
||||
err = *mmcp ? 0 : -ENODEV;
|
||||
if (err) {
|
||||
#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
|
||||
ret = *mmcp ? 0 : -ENODEV;
|
||||
if (ret) {
|
||||
printf("spl: could not find mmc device %d. error: %d\n",
|
||||
mmc_dev, err);
|
||||
#endif
|
||||
return err;
|
||||
mmc_dev, ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
@ -116,14 +102,14 @@ static int mmc_load_image_raw_partition(struct spl_image_info *spl_image,
|
|||
unsigned long sector)
|
||||
{
|
||||
struct disk_partition info;
|
||||
int err;
|
||||
int ret;
|
||||
|
||||
#ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
|
||||
int type_part;
|
||||
/* Only support MBR so DOS_ENTRY_NUMBERS */
|
||||
for (type_part = 1; type_part <= DOS_ENTRY_NUMBERS; type_part++) {
|
||||
err = part_get_info(mmc_get_blk_desc(mmc), type_part, &info);
|
||||
if (err)
|
||||
ret = part_get_info(mmc_get_blk_desc(mmc), type_part, &info);
|
||||
if (ret)
|
||||
continue;
|
||||
if (info.sys_ind ==
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_TYPE) {
|
||||
|
@ -133,12 +119,10 @@ static int mmc_load_image_raw_partition(struct spl_image_info *spl_image,
|
|||
}
|
||||
#endif
|
||||
|
||||
err = part_get_info(mmc_get_blk_desc(mmc), partition, &info);
|
||||
if (err) {
|
||||
#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
|
||||
ret = part_get_info(mmc_get_blk_desc(mmc), partition, &info);
|
||||
if (ret) {
|
||||
puts("spl: partition error\n");
|
||||
#endif
|
||||
return -1;
|
||||
return ret;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
|
||||
|
@ -164,10 +148,8 @@ static int mmc_load_image_raw_os(struct spl_image_info *spl_image,
|
|||
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS,
|
||||
(void *)CONFIG_SPL_PAYLOAD_ARGS_ADDR);
|
||||
if (count != CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS) {
|
||||
#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
|
||||
puts("mmc_load_image_raw_os: mmc block read error\n");
|
||||
#endif
|
||||
return -1;
|
||||
return -EIO;
|
||||
}
|
||||
#endif /* CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR */
|
||||
|
||||
|
@ -205,7 +187,7 @@ static int spl_mmc_do_fs_boot(struct spl_image_info *spl_image,
|
|||
struct mmc *mmc,
|
||||
const char *filename)
|
||||
{
|
||||
int err = -ENOSYS;
|
||||
int ret = -ENOSYS;
|
||||
|
||||
__maybe_unused int partition = CONFIG_SYS_MMCSD_FS_BOOT_PARTITION;
|
||||
|
||||
|
@ -214,8 +196,8 @@ static int spl_mmc_do_fs_boot(struct spl_image_info *spl_image,
|
|||
struct disk_partition info;
|
||||
debug("Checking for the first MBR bootable partition\n");
|
||||
for (int type_part = 1; type_part <= DOS_ENTRY_NUMBERS; type_part++) {
|
||||
err = part_get_info(mmc_get_blk_desc(mmc), type_part, &info);
|
||||
if (err)
|
||||
ret = part_get_info(mmc_get_blk_desc(mmc), type_part, &info);
|
||||
if (ret)
|
||||
continue;
|
||||
debug("Partition %d is of type %d and bootable=%d\n", type_part, info.sys_ind, info.bootable);
|
||||
if (info.bootable != 0) {
|
||||
|
@ -233,40 +215,40 @@ static int spl_mmc_do_fs_boot(struct spl_image_info *spl_image,
|
|||
|
||||
#ifdef CONFIG_SPL_FS_FAT
|
||||
if (!spl_start_uboot()) {
|
||||
err = spl_load_image_fat_os(spl_image, bootdev, mmc_get_blk_desc(mmc),
|
||||
ret = spl_load_image_fat_os(spl_image, bootdev, mmc_get_blk_desc(mmc),
|
||||
partition);
|
||||
if (!err)
|
||||
return err;
|
||||
if (!ret)
|
||||
return 0;
|
||||
}
|
||||
#ifdef CONFIG_SPL_FS_LOAD_PAYLOAD_NAME
|
||||
err = spl_load_image_fat(spl_image, bootdev, mmc_get_blk_desc(mmc),
|
||||
ret = spl_load_image_fat(spl_image, bootdev, mmc_get_blk_desc(mmc),
|
||||
partition,
|
||||
filename);
|
||||
if (!err)
|
||||
return err;
|
||||
if (!ret)
|
||||
return ret;
|
||||
#endif
|
||||
#endif
|
||||
#ifdef CONFIG_SPL_FS_EXT4
|
||||
if (!spl_start_uboot()) {
|
||||
err = spl_load_image_ext_os(spl_image, bootdev, mmc_get_blk_desc(mmc),
|
||||
ret = spl_load_image_ext_os(spl_image, bootdev, mmc_get_blk_desc(mmc),
|
||||
partition);
|
||||
if (!err)
|
||||
return err;
|
||||
if (!ret)
|
||||
return 0;
|
||||
}
|
||||
#ifdef CONFIG_SPL_FS_LOAD_PAYLOAD_NAME
|
||||
err = spl_load_image_ext(spl_image, bootdev, mmc_get_blk_desc(mmc),
|
||||
ret = spl_load_image_ext(spl_image, bootdev, mmc_get_blk_desc(mmc),
|
||||
partition,
|
||||
filename);
|
||||
if (!err)
|
||||
return err;
|
||||
if (!ret)
|
||||
return 0;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_SPL_FS_FAT) || defined(CONFIG_SPL_FS_EXT4)
|
||||
err = -ENOENT;
|
||||
ret = -ENOENT;
|
||||
#endif
|
||||
|
||||
return err;
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -354,87 +336,82 @@ int spl_mmc_load(struct spl_image_info *spl_image,
|
|||
unsigned long raw_sect)
|
||||
{
|
||||
u32 boot_mode;
|
||||
int err = 0;
|
||||
int ret = 0;
|
||||
__maybe_unused int part = 0;
|
||||
int mmc_dev;
|
||||
|
||||
/* Perform peripheral init only once for an mmc device */
|
||||
mmc_dev = spl_mmc_get_device_index(bootdev->boot_device);
|
||||
if (!mmc || spl_mmc_get_mmc_devnum(mmc) != mmc_dev) {
|
||||
err = spl_mmc_find_device(&mmc, bootdev->boot_device);
|
||||
if (err)
|
||||
return err;
|
||||
ret = spl_mmc_find_device(&mmc, mmc_dev);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
err = mmc_init(mmc);
|
||||
if (err) {
|
||||
ret = mmc_init(mmc);
|
||||
if (ret) {
|
||||
mmc = NULL;
|
||||
#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
|
||||
printf("spl: mmc init failed with error: %d\n", err);
|
||||
#endif
|
||||
return err;
|
||||
printf("spl: mmc init failed with error: %d\n", ret);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
boot_mode = spl_mmc_boot_mode(mmc, bootdev->boot_device);
|
||||
err = -EINVAL;
|
||||
ret = -EINVAL;
|
||||
switch (boot_mode) {
|
||||
case MMCSD_MODE_EMMCBOOT:
|
||||
part = spl_mmc_emmc_boot_partition(mmc);
|
||||
|
||||
if (CONFIG_IS_ENABLED(MMC_TINY))
|
||||
err = mmc_switch_part(mmc, part);
|
||||
ret = mmc_switch_part(mmc, part);
|
||||
else
|
||||
err = blk_dselect_hwpart(mmc_get_blk_desc(mmc), part);
|
||||
ret = blk_dselect_hwpart(mmc_get_blk_desc(mmc), part);
|
||||
|
||||
if (err) {
|
||||
#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
|
||||
if (ret) {
|
||||
puts("spl: mmc partition switch failed\n");
|
||||
#endif
|
||||
return err;
|
||||
return ret;
|
||||
}
|
||||
/* Fall through */
|
||||
case MMCSD_MODE_RAW:
|
||||
debug("spl: mmc boot mode: raw\n");
|
||||
|
||||
if (!spl_start_uboot()) {
|
||||
err = mmc_load_image_raw_os(spl_image, bootdev, mmc);
|
||||
if (!err)
|
||||
return err;
|
||||
ret = mmc_load_image_raw_os(spl_image, bootdev, mmc);
|
||||
if (!ret)
|
||||
return 0;
|
||||
}
|
||||
|
||||
raw_sect = spl_mmc_get_uboot_raw_sector(mmc, raw_sect);
|
||||
|
||||
#ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
|
||||
err = mmc_load_image_raw_partition(spl_image, bootdev,
|
||||
ret = mmc_load_image_raw_partition(spl_image, bootdev,
|
||||
mmc, raw_part,
|
||||
raw_sect);
|
||||
if (!err)
|
||||
return err;
|
||||
if (!ret)
|
||||
return 0;
|
||||
#endif
|
||||
#ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
|
||||
err = mmc_load_image_raw_sector(spl_image, bootdev, mmc,
|
||||
raw_sect + spl_mmc_raw_uboot_offset(part));
|
||||
if (!err)
|
||||
return err;
|
||||
ret = mmc_load_image_raw_sector(spl_image, bootdev, mmc,
|
||||
raw_sect +
|
||||
spl_mmc_raw_uboot_offset(part));
|
||||
if (!ret)
|
||||
return 0;
|
||||
#endif
|
||||
/* If RAW mode fails, try FS mode. */
|
||||
#ifdef CONFIG_SYS_MMCSD_FS_BOOT
|
||||
case MMCSD_MODE_FS:
|
||||
debug("spl: mmc boot mode: fs\n");
|
||||
|
||||
err = spl_mmc_do_fs_boot(spl_image, bootdev, mmc, filename);
|
||||
if (!err)
|
||||
return err;
|
||||
ret = spl_mmc_do_fs_boot(spl_image, bootdev, mmc, filename);
|
||||
if (!ret)
|
||||
return 0;
|
||||
|
||||
break;
|
||||
#endif
|
||||
#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
|
||||
default:
|
||||
puts("spl: mmc: wrong boot mode\n");
|
||||
#endif
|
||||
}
|
||||
|
||||
return err;
|
||||
return ret;
|
||||
}
|
||||
|
||||
int spl_mmc_load_image(struct spl_image_info *spl_image,
|
||||
|
|
|
@ -71,9 +71,7 @@ static int spl_nand_load_element(struct spl_image_info *spl_image,
|
|||
{
|
||||
struct spl_load_info load;
|
||||
|
||||
load.priv = &offset;
|
||||
spl_set_bl_len(&load, 1);
|
||||
load.read = spl_nand_read;
|
||||
spl_load_init(&load, spl_nand_read, &offset, 1);
|
||||
return spl_load(spl_image, bootdev, &load, 0, offset);
|
||||
}
|
||||
|
||||
|
|
|
@ -47,8 +47,7 @@ static int spl_net_load_image(struct spl_image_info *spl_image,
|
|||
return rv;
|
||||
}
|
||||
|
||||
spl_set_bl_len(&load, 1);
|
||||
load.read = spl_net_load_read;
|
||||
spl_load_init(&load, spl_net_load_read, NULL, 1);
|
||||
return spl_load(spl_image, bootdev, &load, 0, 0);
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -49,8 +49,7 @@ static int spl_nor_load_image(struct spl_image_info *spl_image,
|
|||
int ret;
|
||||
|
||||
debug("Found FIT\n");
|
||||
spl_set_bl_len(&load, 1);
|
||||
load.read = spl_nor_load_read;
|
||||
spl_load_init(&load, spl_nor_load_read, NULL, 1);
|
||||
|
||||
ret = spl_load_simple_fit(spl_image, &load,
|
||||
CONFIG_SYS_OS_BASE,
|
||||
|
@ -93,8 +92,7 @@ static int spl_nor_load_image(struct spl_image_info *spl_image,
|
|||
* Load real U-Boot from its location in NOR flash to its
|
||||
* defined location in SDRAM
|
||||
*/
|
||||
spl_set_bl_len(&load, 1);
|
||||
load.read = spl_nor_load_read;
|
||||
spl_load_init(&load, spl_nor_load_read, NULL, 1);
|
||||
return spl_load(spl_image, bootdev, &load, 0, spl_nor_get_uboot_base());
|
||||
}
|
||||
SPL_LOAD_IMAGE_METHOD("NOR", 0, BOOT_DEVICE_NOR, spl_nor_load_image);
|
||||
|
|
|
@ -69,8 +69,7 @@ static int spl_ram_load_image(struct spl_image_info *spl_image,
|
|||
struct spl_load_info load;
|
||||
|
||||
debug("Found FIT\n");
|
||||
spl_set_bl_len(&load, 1);
|
||||
load.read = spl_ram_load_read;
|
||||
spl_load_init(&load, spl_ram_load_read, NULL, 1);
|
||||
ret = spl_load_simple_fit(spl_image, &load, 0, header);
|
||||
} else {
|
||||
ulong u_boot_pos = spl_get_image_pos();
|
||||
|
|
|
@ -43,9 +43,7 @@ static int spl_smh_load_image(struct spl_image_info *spl_image,
|
|||
}
|
||||
len = ret;
|
||||
|
||||
load.read = smh_fit_read;
|
||||
spl_set_bl_len(&load, 1);
|
||||
load.priv = &fd;
|
||||
spl_load_init(&load, smh_fit_read, &fd, 1);
|
||||
ret = spl_load(spl_image, bootdev, &load, len, 0);
|
||||
if (ret)
|
||||
log_debug("could not read %s: %d\n", filename, ret);
|
||||
|
|
|
@ -77,9 +77,7 @@ static int spl_spi_load_image(struct spl_image_info *spl_image,
|
|||
return -ENODEV;
|
||||
}
|
||||
|
||||
load.priv = flash;
|
||||
spl_set_bl_len(&load, 1);
|
||||
load.read = spl_spi_fit_read;
|
||||
spl_load_init(&load, spl_spi_fit_read, flash, 1);
|
||||
|
||||
#if CONFIG_IS_ENABLED(OS_BOOT)
|
||||
if (spl_start_uboot()) {
|
||||
|
|
|
@ -132,11 +132,9 @@ int spl_ymodem_load_image(struct spl_image_info *spl_image,
|
|||
struct ymodem_fit_info info;
|
||||
|
||||
debug("Found FIT\n");
|
||||
load.priv = (void *)&info;
|
||||
spl_set_bl_len(&load, 1);
|
||||
spl_load_init(&load, ymodem_read_fit, (void *)&info, 1);
|
||||
info.buf = buf;
|
||||
info.image_read = BUF_SIZE;
|
||||
load.read = ymodem_read_fit;
|
||||
ret = spl_load_simple_fit(spl_image, &load, 0, (void *)buf);
|
||||
size = info.image_read;
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ CONFIG_SPL_BOARD_INIT=y
|
|||
# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
|
||||
CONFIG_SPL_SYS_MALLOC=y
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
|
||||
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
||||
# CONFIG_SPL_SYS_MMCSD_RAW_MODE is not set
|
||||
CONFIG_SPL_ENV_SUPPORT=y
|
||||
CONFIG_SPL_ETH=y
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -25,7 +25,7 @@ CONFIG_BOARD_LATE_INIT=y
|
|||
CONFIG_SPL_BOARD_INIT=y
|
||||
CONFIG_SPL_SYS_MALLOC=y
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
|
||||
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
||||
# CONFIG_SPL_SYS_MMCSD_RAW_MODE is not set
|
||||
CONFIG_SPL_I2C=y
|
||||
# CONFIG_SPL_NAND_SUPPORT is not set
|
||||
CONFIG_SPL_POWER=y
|
||||
|
|
|
@ -19,7 +19,7 @@ CONFIG_SYS_PBSIZE=1054
|
|||
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
||||
CONFIG_SPL_SYS_MALLOC=y
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
|
||||
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
||||
# CONFIG_SPL_SYS_MMCSD_RAW_MODE is not set
|
||||
# CONFIG_SPL_FS_EXT4 is not set
|
||||
# CONFIG_SPL_I2C is not set
|
||||
CONFIG_SPL_MTD=y
|
||||
|
|
|
@ -30,6 +30,7 @@ CONFIG_BOARD_LATE_INIT=y
|
|||
CONFIG_SPL_MAX_SIZE=0x58000
|
||||
CONFIG_SPL_PAD_TO=0x0
|
||||
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400
|
||||
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||
|
|
|
@ -39,6 +39,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x84000000
|
||||
CONFIG_SPL_EARLY_BSS=y
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x400
|
||||
CONFIG_SPL_DMA=y
|
||||
|
|
|
@ -37,6 +37,7 @@ CONFIG_BOARD_LATE_INIT=y
|
|||
CONFIG_SPL_MAX_SIZE=0x58000
|
||||
CONFIG_SPL_PAD_TO=0x0
|
||||
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400
|
||||
CONFIG_SPL_DMA=y
|
||||
|
|
|
@ -40,6 +40,7 @@ CONFIG_SPL_SYS_REPORT_STACK_F_USAGE=y
|
|||
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
||||
CONFIG_SPL_SEPARATE_BSS=y
|
||||
CONFIG_SPL_EARLY_BSS=y
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x400
|
||||
CONFIG_SPL_DMA=y
|
||||
|
|
|
@ -40,6 +40,7 @@ CONFIG_BOARD_LATE_INIT=y
|
|||
CONFIG_SPL_MAX_SIZE=0x58000
|
||||
CONFIG_SPL_SYS_REPORT_STACK_F_USAGE=y
|
||||
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400
|
||||
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||
|
|
|
@ -45,6 +45,7 @@ CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
|||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x84000000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x1000000
|
||||
CONFIG_SPL_EARLY_BSS=y
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x400
|
||||
CONFIG_SPL_DM_MAILBOX=y
|
||||
|
|
|
@ -38,6 +38,7 @@ CONFIG_BOARD_LATE_INIT=y
|
|||
CONFIG_SPL_MAX_SIZE=0x58000
|
||||
CONFIG_SPL_SYS_REPORT_STACK_F_USAGE=y
|
||||
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400
|
||||
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
|
||||
|
|
|
@ -47,6 +47,7 @@ CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
|||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x84000000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x1000000
|
||||
CONFIG_SPL_EARLY_BSS=y
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x400
|
||||
CONFIG_SPL_DM_MAILBOX=y
|
||||
|
|
|
@ -43,6 +43,7 @@ CONFIG_SPL_BOARD_INIT=y
|
|||
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
||||
CONFIG_SPL_SYS_MALLOC=y
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1800
|
||||
CONFIG_SPL_DMA=y
|
||||
|
|
|
@ -50,6 +50,7 @@ CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
|||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x84000000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x1000000
|
||||
CONFIG_SPL_EARLY_BSS=y
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x800
|
||||
CONFIG_SPL_DMA=y
|
||||
|
|
|
@ -44,6 +44,7 @@ CONFIG_SPL_MAX_SIZE=0x58000
|
|||
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
||||
CONFIG_SPL_SYS_MALLOC=y
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400
|
||||
CONFIG_SPL_DMA=y
|
||||
|
|
|
@ -46,6 +46,7 @@ CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
|||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x84000000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x1000000
|
||||
CONFIG_SPL_EARLY_BSS=y
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x400
|
||||
CONFIG_SPL_DMA=y
|
||||
|
|
|
@ -34,7 +34,7 @@ CONFIG_SYS_PBSIZE=532
|
|||
CONFIG_BOARD_EARLY_INIT_F=y
|
||||
CONFIG_SPL_BOARD_INIT=y
|
||||
CONFIG_SPL_SYS_MALLOC=y
|
||||
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
||||
# CONFIG_SPL_SYS_MMCSD_RAW_MODE is not set
|
||||
CONFIG_SPL_I2C=y
|
||||
CONFIG_SPL_DM_SPI_FLASH=y
|
||||
CONFIG_SPL_SPI_LOAD=y
|
||||
|
|
|
@ -42,7 +42,7 @@ CONFIG_SPL_BOARD_INIT=y
|
|||
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
||||
CONFIG_SPL_SYS_MALLOC=y
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x500000
|
||||
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
||||
# CONFIG_SPL_SYS_MMCSD_RAW_MODE is not set
|
||||
CONFIG_SPL_I2C=y
|
||||
# CONFIG_SPL_NAND_SUPPORT is not set
|
||||
CONFIG_SPL_DM_SPI_FLASH=y
|
||||
|
|
|
@ -43,6 +43,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x120000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x3000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x800
|
||||
CONFIG_SYS_MMCSD_FS_BOOT_PARTITION=0
|
||||
|
|
|
@ -38,7 +38,7 @@ CONFIG_SPL_PAD_TO=0x7f8000
|
|||
CONFIG_SPL_NO_BSS_LIMIT=y
|
||||
# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
|
||||
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
||||
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
||||
# CONFIG_SPL_SYS_MMCSD_RAW_MODE is not set
|
||||
CONFIG_SPL_SPI_LOAD=y
|
||||
CONFIG_SYS_SPI_U_BOOT_OFFS=0x20000
|
||||
CONFIG_CMD_GPIO=y
|
||||
|
|
|
@ -37,7 +37,7 @@ CONFIG_SPL_PAD_TO=0x7f8000
|
|||
CONFIG_SPL_NO_BSS_LIMIT=y
|
||||
# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
|
||||
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
||||
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
||||
# CONFIG_SPL_SYS_MMCSD_RAW_MODE is not set
|
||||
CONFIG_SPL_SPI_LOAD=y
|
||||
CONFIG_SYS_SPI_U_BOOT_OFFS=0x20000
|
||||
CONFIG_CMD_GPIO=y
|
||||
|
|
|
@ -38,7 +38,7 @@ CONFIG_SPL_PAD_TO=0x7f8000
|
|||
CONFIG_SPL_NO_BSS_LIMIT=y
|
||||
# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
|
||||
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
||||
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
||||
# CONFIG_SPL_SYS_MMCSD_RAW_MODE is not set
|
||||
CONFIG_SPL_SPI_LOAD=y
|
||||
CONFIG_SYS_SPI_U_BOOT_OFFS=0x20000
|
||||
CONFIG_CMD_GPIO=y
|
||||
|
|
|
@ -38,7 +38,7 @@ CONFIG_SPL_PAD_TO=0x7f8000
|
|||
CONFIG_SPL_NO_BSS_LIMIT=y
|
||||
# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
|
||||
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
||||
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
||||
# CONFIG_SPL_SYS_MMCSD_RAW_MODE is not set
|
||||
CONFIG_SPL_SPI_LOAD=y
|
||||
CONFIG_SYS_SPI_U_BOOT_OFFS=0x20000
|
||||
CONFIG_CMD_GPIO=y
|
||||
|
|
|
@ -32,6 +32,7 @@ CONFIG_SYS_MALLOC_BOOTPARAMS=y
|
|||
CONFIG_SPL_MAX_SIZE=0x2e00
|
||||
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
||||
# CONFIG_SPL_BANNER_PRINT is not set
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1c
|
||||
CONFIG_SPL_MMC_TINY=y
|
||||
|
|
|
@ -50,7 +50,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0xc0f70000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x110000
|
||||
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
||||
# CONFIG_SPL_SYS_MMCSD_RAW_MODE is not set
|
||||
CONFIG_SPL_DM_SPI_FLASH=y
|
||||
CONFIG_SPL_SPI_LOAD=y
|
||||
CONFIG_SYS_SPI_U_BOOT_OFFS=0x8000
|
||||
|
|
|
@ -46,7 +46,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0xc0f70000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x110000
|
||||
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
||||
# CONFIG_SPL_SYS_MMCSD_RAW_MODE is not set
|
||||
CONFIG_SPL_NAND_SUPPORT=y
|
||||
CONFIG_SPL_NAND_DRIVERS=y
|
||||
CONFIG_SPL_NAND_ECC=y
|
||||
|
|
|
@ -55,6 +55,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x120000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x3000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x800
|
||||
CONFIG_SPL_POWER_DOMAIN=y
|
||||
|
|
|
@ -42,7 +42,7 @@ CONFIG_SYS_PBSIZE=2076
|
|||
CONFIG_MISC_INIT_R=y
|
||||
CONFIG_SPL_BOOTCOUNT_LIMIT=y
|
||||
CONFIG_SPL_SYS_MALLOC=y
|
||||
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
||||
# CONFIG_SPL_SYS_MMCSD_RAW_MODE is not set
|
||||
CONFIG_SPL_DMA=y
|
||||
CONFIG_SPL_ENV_SUPPORT=y
|
||||
CONFIG_SPL_SAVEENV=y
|
||||
|
|
|
@ -39,7 +39,7 @@ CONFIG_SYS_CBSIZE=2048
|
|||
CONFIG_SYS_PBSIZE=2084
|
||||
CONFIG_MISC_INIT_R=y
|
||||
CONFIG_SPL_SYS_MALLOC=y
|
||||
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
||||
# CONFIG_SPL_SYS_MMCSD_RAW_MODE is not set
|
||||
CONFIG_SPL_DMA=y
|
||||
CONFIG_SPL_I2C=y
|
||||
CONFIG_SPL_OS_BOOT=y
|
||||
|
|
|
@ -33,7 +33,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
|||
CONFIG_SPL_SYS_MALLOC=y
|
||||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80208000
|
||||
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
||||
# CONFIG_SPL_SYS_MMCSD_RAW_MODE is not set
|
||||
CONFIG_SPL_I2C=y
|
||||
CONFIG_SPL_NAND_DRIVERS=y
|
||||
CONFIG_SPL_NAND_ECC=y
|
||||
|
|
|
@ -33,7 +33,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
|||
CONFIG_SPL_SYS_MALLOC=y
|
||||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80208000
|
||||
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
||||
# CONFIG_SPL_SYS_MMCSD_RAW_MODE is not set
|
||||
CONFIG_SPL_I2C=y
|
||||
CONFIG_SPL_NAND_DRIVERS=y
|
||||
CONFIG_SPL_NAND_ECC=y
|
||||
|
|
|
@ -46,7 +46,7 @@ CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
|||
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
||||
CONFIG_SPL_SYS_MALLOC=y
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
||||
# CONFIG_SPL_SYS_MMCSD_RAW_MODE is not set
|
||||
CONFIG_SPL_NAND_SUPPORT=y
|
||||
CONFIG_SPL_NAND_RAW_ONLY=y
|
||||
CONFIG_SPL_NAND_DRIVERS=y
|
||||
|
|
|
@ -55,6 +55,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x120000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x3000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x800
|
||||
CONFIG_SPL_POWER_DOMAIN=y
|
||||
|
|
|
@ -48,6 +48,7 @@ CONFIG_SPL_BOARD_INIT=y
|
|||
# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
|
||||
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
||||
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x0
|
||||
CONFIG_SUPPORT_EMMC_BOOT_OVERRIDE_PART_CONFIG=y
|
||||
|
|
|
@ -29,6 +29,7 @@ CONFIG_SPL_NO_BSS_LIMIT=y
|
|||
CONFIG_SPL_BOARD_INIT=y
|
||||
# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
|
||||
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0
|
||||
CONFIG_SUPPORT_EMMC_BOOT_OVERRIDE_PART_CONFIG=y
|
||||
|
|
|
@ -30,7 +30,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
|||
CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
|
||||
CONFIG_SPL_RAW_IMAGE_SUPPORT=y
|
||||
CONFIG_SPL_SYS_MALLOC=y
|
||||
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
|
||||
# CONFIG_SPL_SYS_MMCSD_RAW_MODE is not set
|
||||
CONFIG_SPL_DMA=y
|
||||
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot-dtb.img"
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -37,6 +37,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -39,6 +39,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -36,6 +36,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_POWER=y
|
||||
|
|
|
@ -36,6 +36,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_POWER=y
|
||||
|
|
|
@ -52,6 +52,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -37,6 +37,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -38,6 +38,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -41,6 +41,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -59,6 +59,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x1000000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -35,6 +35,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -39,6 +39,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -36,6 +36,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -44,6 +44,7 @@ CONFIG_SPL_BOARD_INIT=y
|
|||
CONFIG_SPL_SYS_MALLOC=y
|
||||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -48,6 +48,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -47,6 +47,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -47,6 +47,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -42,6 +42,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_DMA=y
|
||||
|
|
|
@ -43,6 +43,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -41,6 +41,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -44,6 +44,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -46,6 +46,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -46,6 +46,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -44,6 +44,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -53,6 +53,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -66,6 +66,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x4c000000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -37,6 +37,7 @@ CONFIG_SPL_BOARD_INIT=y
|
|||
CONFIG_SPL_BOOTROM_SUPPORT=y
|
||||
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
||||
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -64,6 +64,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x4c000000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
# CONFIG_SPL_FIT_IMAGE_TINY is not set
|
||||
|
|
|
@ -66,6 +66,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x4c000000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
# CONFIG_SPL_FIT_IMAGE_TINY is not set
|
||||
|
|
|
@ -41,6 +41,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -53,6 +53,8 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -53,6 +53,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -48,6 +48,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -40,6 +40,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -42,6 +42,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -43,6 +43,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -45,6 +45,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
|
@ -48,6 +48,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x120000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x3000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x800
|
||||
CONFIG_SPL_POWER_DOMAIN=y
|
||||
|
|
|
@ -49,6 +49,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x120000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x3000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x800
|
||||
CONFIG_SPL_POWER_DOMAIN=y
|
||||
|
|
|
@ -44,6 +44,7 @@ CONFIG_SPL_SYS_MALLOC=y
|
|||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x22040000
|
||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x8000
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
|
||||
CONFIG_SPL_WATCHDOG=y
|
||||
|
|
|
@ -44,6 +44,7 @@ CONFIG_SPL_BOOTROM_SUPPORT=y
|
|||
CONFIG_SPL_LOAD_IMX_CONTAINER=y
|
||||
CONFIG_IMX_CONTAINER_CFG="arch/arm/mach-imx/imx9/container.cfg"
|
||||
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
|
||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1040
|
||||
CONFIG_SPL_I2C=y
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue