From: Patrick Delaunay Date: Tue, 30 Jul 2019 17:16:36 +0000 (+0200) Subject: stm32mp1: configs: add spi load support in spl X-Git-Tag: v2019.10-rc4~31^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=49ef8e134e427ef0a752d741063d69fe4c988ed5;p=platform%2Fkernel%2Fu-boot.git stm32mp1: configs: add spi load support in spl Add the boot for NOR, SPL load U-Boot.img at offset CONFIG_SYS_SPI_U_BOOT_OFFS = 0x80000. It is the start address of mtd partition ssbl in nor. Signed-off-by: Christophe Kerello Signed-off-by: Patrick Delaunay --- diff --git a/arch/arm/mach-stm32mp/Kconfig b/arch/arm/mach-stm32mp/Kconfig index 187be17..c9bc084 100644 --- a/arch/arm/mach-stm32mp/Kconfig +++ b/arch/arm/mach-stm32mp/Kconfig @@ -16,6 +16,7 @@ config SPL select SPL_REGMAP select SPL_DM_RESET select SPL_SERIAL_SUPPORT + select SPL_SPI_LOAD select SPL_SYSCON select SPL_WATCHDOG_SUPPORT if WATCHDOG imply BOOTSTAGE_STASH if SPL_BOOTSTAGE diff --git a/configs/stm32mp15_basic_defconfig b/configs/stm32mp15_basic_defconfig index 740d482..cf3988d 100644 --- a/configs/stm32mp15_basic_defconfig +++ b/configs/stm32mp15_basic_defconfig @@ -16,6 +16,7 @@ CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=3 CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_POWER_SUPPORT=y +CONFIG_SYS_SPI_U_BOOT_OFFS=0x80000 CONFIG_SYS_PROMPT="STM32MP> " # CONFIG_CMD_BOOTD is not set # CONFIG_CMD_ELF is not set