diff mbox series

[U-Boot,1/2] stm32mp1: Add UBIFS boot capability

Message ID 1561124396-2581-1-git-send-email-patrick.delaunay@st.com
State Accepted
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
Add support for boot from NAND in generic ditribution command.

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

 include/configs/stm32mp1.h | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Comments

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

> From: Patrick DELAUNAY <patrick.delaunay@st.com>
> Sent: vendredi 21 juin 2019 15:40
> 
> Add support for boot from NAND in generic ditribution command.
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
> ---
> 
>  include/configs/stm32mp1.h | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 

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

Patrick
diff mbox series

Patch

diff --git a/include/configs/stm32mp1.h b/include/configs/stm32mp1.h
index 1d385e0..8388f2b 100644
--- a/include/configs/stm32mp1.h
+++ b/include/configs/stm32mp1.h
@@ -77,6 +77,10 @@ 
 /*MMC SD*/
 #define CONFIG_SYS_MMC_MAX_DEVICE	3
 
+/* NAND support */
+#define CONFIG_SYS_NAND_ONFI_DETECTION
+#define CONFIG_SYS_MAX_NAND_DEVICE	1
+
 /* Ethernet need */
 #ifdef CONFIG_DWC_ETH_QOS
 #define CONFIG_SYS_NONCACHED_MEMORY	(1 * SZ_1M)	/* 1M */
@@ -91,11 +95,9 @@ 
 
 #if !defined(CONFIG_SPL_BUILD)
 
-/* NAND support */
-#define CONFIG_SYS_NAND_ONFI_DETECTION
-#define CONFIG_SYS_MAX_NAND_DEVICE	1
 #define BOOT_TARGET_DEVICES(func) \
 	func(MMC, mmc, 1) \
+	func(UBIFS, ubifs, 0) \
 	func(MMC, mmc, 0) \
 	func(MMC, mmc, 2) \
 	func(PXE, pxe, na)