diff mbox series

[U-Boot,2/2] stm32mp1: add SPI flash support in SPL

Message ID 1561124396-2581-2-git-send-email-patrick.delaunay@st.com
State Accepted
Commit cc06c5f6cd7336fd4c4d62494a86c122099a3806
Delegated to: Patrick Delaunay
Headers show
Series [U-Boot,1/2] stm32mp1: Add UBIFS boot capability | expand

Commit Message

Patrick DELAUNAY June 21, 2019, 1:39 p.m. UTC
Allow boot form NOR with basic boot.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
---

 configs/stm32mp15_basic_defconfig | 3 +++
 1 file changed, 3 insertions(+)

Comments

Patrick DELAUNAY July 12, 2019, 1:02 p.m. UTC | #1
Hi,


> From: Patrick DELAUNAY <patrick.delaunay@st.com>
> Sent: vendredi 21 juin 2019 15:40
> 
> Allow boot form NOR with basic boot.
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
> ---
> 
>  configs/stm32mp15_basic_defconfig | 3 +++
>  1 file changed, 3 insertions(+)
> 

Applied to u-boot-stm32/master, thanks!

Patrick
diff mbox series

Patch

diff --git a/configs/stm32mp15_basic_defconfig b/configs/stm32mp15_basic_defconfig
index 4aa184f..b46bf04 100644
--- a/configs/stm32mp15_basic_defconfig
+++ b/configs/stm32mp15_basic_defconfig
@@ -4,6 +4,8 @@  CONFIG_SYS_MALLOC_F_LEN=0x3000
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL=y
 CONFIG_TARGET_STM32MP1=y
+CONFIG_SPL_SPI_FLASH_SUPPORT=y
+CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
 CONFIG_BOOTCOMMAND="run bootcmd_stm32mp"
@@ -11,6 +13,7 @@  CONFIG_SPL_TEXT_BASE=0x2FFC2500
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y
 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_PROMPT="STM32MP> "
 # CONFIG_CMD_BOOTD is not set