All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig
@ 2018-07-09  4:44 Yinbo Zhu
  2018-07-09  4:44 ` [U-Boot] [PATCH v1 2/8] armv8: ls1088a: fix sd boot config compile issue Yinbo Zhu
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Yinbo Zhu @ 2018-07-09  4:44 UTC (permalink / raw)
  To: u-boot

This enables the folowing to Kconfig:
	CONFIG_BLK
	CONFIG_DM_MMC

Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
---
Change in v2:
		Enable ls1021a CONFIG_BLK and CONFIG_DM_MMC to Kconfig	

 configs/ls1021atwr_nor_SECURE_BOOT_defconfig       |    2 ++
 configs/ls1021atwr_nor_defconfig                   |    2 ++
 configs/ls1021atwr_nor_lpuart_defconfig            |    2 ++
 configs/ls1021atwr_qspi_defconfig                  |    2 ++
 .../ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig    |    2 ++
 configs/ls1021atwr_sdcard_ifc_defconfig            |    2 ++
 configs/ls1021atwr_sdcard_qspi_defconfig           |    2 ++
 configs/ls1043aqds_defconfig                       |    2 ++
 configs/ls1043aqds_lpuart_defconfig                |    2 ++
 configs/ls1043aqds_nand_defconfig                  |    2 ++
 configs/ls1043aqds_nor_ddr3_defconfig              |    2 ++
 configs/ls1043aqds_qspi_defconfig                  |    2 ++
 configs/ls1043aqds_sdcard_ifc_defconfig            |    2 ++
 configs/ls1043aqds_sdcard_qspi_defconfig           |    2 ++
 configs/ls1043ardb_SECURE_BOOT_defconfig           |    2 ++
 configs/ls1043ardb_defconfig                       |    2 ++
 configs/ls1043ardb_nand_SECURE_BOOT_defconfig      |    2 ++
 configs/ls1043ardb_nand_defconfig                  |    2 ++
 configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig    |    2 ++
 configs/ls1043ardb_sdcard_defconfig                |    2 ++
 configs/ls1046aqds_SECURE_BOOT_defconfig           |    2 ++
 configs/ls1046aqds_defconfig                       |    2 ++
 configs/ls1046aqds_lpuart_defconfig                |    2 ++
 configs/ls1046aqds_nand_defconfig                  |    2 ++
 configs/ls1046aqds_qspi_defconfig                  |    2 ++
 configs/ls1046aqds_sdcard_ifc_defconfig            |    2 ++
 configs/ls1046aqds_sdcard_qspi_defconfig           |    2 ++
 configs/ls1046ardb_emmc_defconfig                  |    2 ++
 configs/ls1046ardb_qspi_SECURE_BOOT_defconfig      |    2 ++
 configs/ls1046ardb_qspi_defconfig                  |    2 ++
 configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig    |    2 ++
 configs/ls1046ardb_sdcard_defconfig                |    2 ++
 configs/ls1088aqds_defconfig                       |    2 ++
 configs/ls1088aqds_qspi_SECURE_BOOT_defconfig      |    2 ++
 configs/ls1088aqds_qspi_defconfig                  |    2 ++
 configs/ls1088aqds_sdcard_ifc_defconfig            |    2 ++
 configs/ls1088aqds_sdcard_qspi_defconfig           |    2 ++
 configs/ls1088ardb_qspi_SECURE_BOOT_defconfig      |    2 ++
 configs/ls1088ardb_qspi_defconfig                  |    2 ++
 .../ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig   |    2 ++
 configs/ls1088ardb_sdcard_qspi_defconfig           |    2 ++
 configs/ls2080a_emu_defconfig                      |    2 ++
 configs/ls2080a_simu_defconfig                     |    2 ++
 configs/ls2080aqds_SECURE_BOOT_defconfig           |    2 ++
 configs/ls2080aqds_defconfig                       |    2 ++
 configs/ls2080aqds_nand_defconfig                  |    2 ++
 configs/ls2080aqds_qspi_defconfig                  |    2 ++
 configs/ls2080aqds_sdcard_defconfig                |    2 ++
 configs/ls2080ardb_SECURE_BOOT_defconfig           |    2 ++
 configs/ls2080ardb_defconfig                       |    2 ++
 configs/ls2080ardb_nand_defconfig                  |    2 ++
 configs/ls2088ardb_qspi_SECURE_BOOT_defconfig      |    2 ++
 configs/ls2088ardb_qspi_defconfig                  |    2 ++
 53 files changed, 106 insertions(+), 0 deletions(-)

diff --git a/configs/ls1021atwr_nor_SECURE_BOOT_defconfig b/configs/ls1021atwr_nor_SECURE_BOOT_defconfig
index 17a202d..4d85983 100644
--- a/configs/ls1021atwr_nor_SECURE_BOOT_defconfig
+++ b/configs/ls1021atwr_nor_SECURE_BOOT_defconfig
@@ -48,3 +48,5 @@ CONFIG_VIDEO=y
 # CONFIG_VIDEO_SW_CURSOR is not set
 CONFIG_RSA=y
 CONFIG_SPL_RSA=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1021atwr_nor_defconfig b/configs/ls1021atwr_nor_defconfig
index a18426e..f4f7998 100644
--- a/configs/ls1021atwr_nor_defconfig
+++ b/configs/ls1021atwr_nor_defconfig
@@ -48,3 +48,5 @@ CONFIG_USB_STORAGE=y
 CONFIG_VIDEO_FSL_DCU_FB=y
 CONFIG_VIDEO=y
 # CONFIG_VIDEO_SW_CURSOR is not set
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1021atwr_nor_lpuart_defconfig b/configs/ls1021atwr_nor_lpuart_defconfig
index 83ffa19..037f56c 100644
--- a/configs/ls1021atwr_nor_lpuart_defconfig
+++ b/configs/ls1021atwr_nor_lpuart_defconfig
@@ -49,3 +49,5 @@ CONFIG_USB_STORAGE=y
 CONFIG_VIDEO_FSL_DCU_FB=y
 CONFIG_VIDEO=y
 # CONFIG_VIDEO_SW_CURSOR is not set
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1021atwr_qspi_defconfig b/configs/ls1021atwr_qspi_defconfig
index 46d8dbb..084bd27 100644
--- a/configs/ls1021atwr_qspi_defconfig
+++ b/configs/ls1021atwr_qspi_defconfig
@@ -55,3 +55,5 @@ CONFIG_USB_STORAGE=y
 CONFIG_VIDEO_FSL_DCU_FB=y
 CONFIG_VIDEO=y
 # CONFIG_VIDEO_SW_CURSOR is not set
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig b/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
index be2d369..11ffdce 100644
--- a/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
+++ b/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
@@ -63,3 +63,5 @@ CONFIG_VIDEO=y
 # CONFIG_VIDEO_SW_CURSOR is not set
 CONFIG_RSA=y
 CONFIG_SPL_RSA=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1021atwr_sdcard_ifc_defconfig b/configs/ls1021atwr_sdcard_ifc_defconfig
index 14044fd..bf719f4 100644
--- a/configs/ls1021atwr_sdcard_ifc_defconfig
+++ b/configs/ls1021atwr_sdcard_ifc_defconfig
@@ -59,3 +59,5 @@ CONFIG_USB_STORAGE=y
 CONFIG_VIDEO_FSL_DCU_FB=y
 CONFIG_VIDEO=y
 # CONFIG_VIDEO_SW_CURSOR is not set
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1021atwr_sdcard_qspi_defconfig b/configs/ls1021atwr_sdcard_qspi_defconfig
index a69dd96..cf6055e 100644
--- a/configs/ls1021atwr_sdcard_qspi_defconfig
+++ b/configs/ls1021atwr_sdcard_qspi_defconfig
@@ -65,3 +65,5 @@ CONFIG_USB_STORAGE=y
 CONFIG_VIDEO_FSL_DCU_FB=y
 CONFIG_VIDEO=y
 # CONFIG_VIDEO_SW_CURSOR is not set
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1043aqds_defconfig b/configs/ls1043aqds_defconfig
index 3c7e640..ec938aa 100644
--- a/configs/ls1043aqds_defconfig
+++ b/configs/ls1043aqds_defconfig
@@ -45,3 +45,5 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1043aqds_lpuart_defconfig b/configs/ls1043aqds_lpuart_defconfig
index 4e27e11..735f2cc 100644
--- a/configs/ls1043aqds_lpuart_defconfig
+++ b/configs/ls1043aqds_lpuart_defconfig
@@ -47,3 +47,5 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1043aqds_nand_defconfig b/configs/ls1043aqds_nand_defconfig
index 39d9edd..40c444c 100644
--- a/configs/ls1043aqds_nand_defconfig
+++ b/configs/ls1043aqds_nand_defconfig
@@ -60,3 +60,5 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1043aqds_nor_ddr3_defconfig b/configs/ls1043aqds_nor_ddr3_defconfig
index ae4c0fe..0d0864b 100644
--- a/configs/ls1043aqds_nor_ddr3_defconfig
+++ b/configs/ls1043aqds_nor_ddr3_defconfig
@@ -46,3 +46,5 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1043aqds_qspi_defconfig b/configs/ls1043aqds_qspi_defconfig
index da438d7..e3d3e5c 100644
--- a/configs/ls1043aqds_qspi_defconfig
+++ b/configs/ls1043aqds_qspi_defconfig
@@ -44,3 +44,5 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1043aqds_sdcard_ifc_defconfig b/configs/ls1043aqds_sdcard_ifc_defconfig
index aa8b88b..d9fc992 100644
--- a/configs/ls1043aqds_sdcard_ifc_defconfig
+++ b/configs/ls1043aqds_sdcard_ifc_defconfig
@@ -60,3 +60,5 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1043aqds_sdcard_qspi_defconfig b/configs/ls1043aqds_sdcard_qspi_defconfig
index 9c87674..fdf8885 100644
--- a/configs/ls1043aqds_sdcard_qspi_defconfig
+++ b/configs/ls1043aqds_sdcard_qspi_defconfig
@@ -57,3 +57,5 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1043ardb_SECURE_BOOT_defconfig b/configs/ls1043ardb_SECURE_BOOT_defconfig
index 2de6ee6..0599bf2 100644
--- a/configs/ls1043ardb_SECURE_BOOT_defconfig
+++ b/configs/ls1043ardb_SECURE_BOOT_defconfig
@@ -43,3 +43,5 @@ CONFIG_USB_STORAGE=y
 CONFIG_RSA=y
 CONFIG_SPL_RSA=y
 CONFIG_RSA_SOFTWARE_EXP=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1043ardb_defconfig b/configs/ls1043ardb_defconfig
index 0416a02..9933d1a 100644
--- a/configs/ls1043ardb_defconfig
+++ b/configs/ls1043ardb_defconfig
@@ -41,3 +41,5 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1043ardb_nand_SECURE_BOOT_defconfig b/configs/ls1043ardb_nand_SECURE_BOOT_defconfig
index 142587f..819359f 100644
--- a/configs/ls1043ardb_nand_SECURE_BOOT_defconfig
+++ b/configs/ls1043ardb_nand_SECURE_BOOT_defconfig
@@ -60,3 +60,5 @@ CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_RSA=y
 CONFIG_SPL_RSA=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1043ardb_nand_defconfig b/configs/ls1043ardb_nand_defconfig
index f94be24..c29a1f8 100644
--- a/configs/ls1043ardb_nand_defconfig
+++ b/configs/ls1043ardb_nand_defconfig
@@ -58,3 +58,5 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig b/configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig
index f3e9d5a..34644d6 100644
--- a/configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig
+++ b/configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig
@@ -59,3 +59,5 @@ CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_RSA=y
 CONFIG_SPL_RSA=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1043ardb_sdcard_defconfig b/configs/ls1043ardb_sdcard_defconfig
index aa6342e..fe6f488 100644
--- a/configs/ls1043ardb_sdcard_defconfig
+++ b/configs/ls1043ardb_sdcard_defconfig
@@ -57,3 +57,5 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1046aqds_SECURE_BOOT_defconfig b/configs/ls1046aqds_SECURE_BOOT_defconfig
index 270188b..f0b4a7b 100644
--- a/configs/ls1046aqds_SECURE_BOOT_defconfig
+++ b/configs/ls1046aqds_SECURE_BOOT_defconfig
@@ -47,3 +47,5 @@ CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_RSA=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1046aqds_defconfig b/configs/ls1046aqds_defconfig
index 191d2f9..6b5a926 100644
--- a/configs/ls1046aqds_defconfig
+++ b/configs/ls1046aqds_defconfig
@@ -47,3 +47,5 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1046aqds_lpuart_defconfig b/configs/ls1046aqds_lpuart_defconfig
index 25e5526..3ad837c 100644
--- a/configs/ls1046aqds_lpuart_defconfig
+++ b/configs/ls1046aqds_lpuart_defconfig
@@ -49,3 +49,5 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1046aqds_nand_defconfig b/configs/ls1046aqds_nand_defconfig
index c5bd6bf..71310ee 100644
--- a/configs/ls1046aqds_nand_defconfig
+++ b/configs/ls1046aqds_nand_defconfig
@@ -54,3 +54,5 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1046aqds_qspi_defconfig b/configs/ls1046aqds_qspi_defconfig
index 4f3290c..d6fd787 100644
--- a/configs/ls1046aqds_qspi_defconfig
+++ b/configs/ls1046aqds_qspi_defconfig
@@ -46,3 +46,5 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1046aqds_sdcard_ifc_defconfig b/configs/ls1046aqds_sdcard_ifc_defconfig
index 405df66..2fb4f03 100644
--- a/configs/ls1046aqds_sdcard_ifc_defconfig
+++ b/configs/ls1046aqds_sdcard_ifc_defconfig
@@ -55,3 +55,5 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1046aqds_sdcard_qspi_defconfig b/configs/ls1046aqds_sdcard_qspi_defconfig
index 45d80b9..a2b1abe 100644
--- a/configs/ls1046aqds_sdcard_qspi_defconfig
+++ b/configs/ls1046aqds_sdcard_qspi_defconfig
@@ -53,3 +53,5 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1046ardb_emmc_defconfig b/configs/ls1046ardb_emmc_defconfig
index 4f74dc5..bc9d631 100644
--- a/configs/ls1046ardb_emmc_defconfig
+++ b/configs/ls1046ardb_emmc_defconfig
@@ -50,3 +50,5 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1046ardb_qspi_SECURE_BOOT_defconfig b/configs/ls1046ardb_qspi_SECURE_BOOT_defconfig
index adc5db3..3169106 100644
--- a/configs/ls1046ardb_qspi_SECURE_BOOT_defconfig
+++ b/configs/ls1046ardb_qspi_SECURE_BOOT_defconfig
@@ -43,3 +43,5 @@ CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_RSA=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1046ardb_qspi_defconfig b/configs/ls1046ardb_qspi_defconfig
index c87fe97..d73a8f4 100644
--- a/configs/ls1046ardb_qspi_defconfig
+++ b/configs/ls1046ardb_qspi_defconfig
@@ -43,3 +43,5 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig b/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
index 04861b7..5f4692d 100644
--- a/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
+++ b/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
@@ -52,3 +52,5 @@ CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_RSA=y
 CONFIG_SPL_RSA=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1046ardb_sdcard_defconfig b/configs/ls1046ardb_sdcard_defconfig
index 2281417..d9337a0 100644
--- a/configs/ls1046ardb_sdcard_defconfig
+++ b/configs/ls1046ardb_sdcard_defconfig
@@ -49,3 +49,5 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1088aqds_defconfig b/configs/ls1088aqds_defconfig
index 05dc2ac..58031d7 100644
--- a/configs/ls1088aqds_defconfig
+++ b/configs/ls1088aqds_defconfig
@@ -45,3 +45,5 @@ CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_GADGET=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1088aqds_qspi_SECURE_BOOT_defconfig b/configs/ls1088aqds_qspi_SECURE_BOOT_defconfig
index 20376be..ea943a1 100644
--- a/configs/ls1088aqds_qspi_SECURE_BOOT_defconfig
+++ b/configs/ls1088aqds_qspi_SECURE_BOOT_defconfig
@@ -51,3 +51,5 @@ CONFIG_USB_GADGET=y
 CONFIG_RSA=y
 CONFIG_RSA_SOFTWARE_EXP=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1088aqds_qspi_defconfig b/configs/ls1088aqds_qspi_defconfig
index cf2b4e3..8a7a5ca 100644
--- a/configs/ls1088aqds_qspi_defconfig
+++ b/configs/ls1088aqds_qspi_defconfig
@@ -49,3 +49,5 @@ CONFIG_USB_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_GADGET=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1088aqds_sdcard_ifc_defconfig b/configs/ls1088aqds_sdcard_ifc_defconfig
index 39fa3d7..d5f5688 100644
--- a/configs/ls1088aqds_sdcard_ifc_defconfig
+++ b/configs/ls1088aqds_sdcard_ifc_defconfig
@@ -53,3 +53,5 @@ CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_GADGET=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1088aqds_sdcard_qspi_defconfig b/configs/ls1088aqds_sdcard_qspi_defconfig
index 8d854da..b537069 100644
--- a/configs/ls1088aqds_sdcard_qspi_defconfig
+++ b/configs/ls1088aqds_sdcard_qspi_defconfig
@@ -58,3 +58,5 @@ CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_GADGET=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1088ardb_qspi_SECURE_BOOT_defconfig b/configs/ls1088ardb_qspi_SECURE_BOOT_defconfig
index db95289..1c2ed03 100644
--- a/configs/ls1088ardb_qspi_SECURE_BOOT_defconfig
+++ b/configs/ls1088ardb_qspi_SECURE_BOOT_defconfig
@@ -51,3 +51,5 @@ CONFIG_USB_GADGET=y
 CONFIG_RSA=y
 CONFIG_RSA_SOFTWARE_EXP=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1088ardb_qspi_defconfig b/configs/ls1088ardb_qspi_defconfig
index fbb75df..ccf5008 100644
--- a/configs/ls1088ardb_qspi_defconfig
+++ b/configs/ls1088ardb_qspi_defconfig
@@ -49,3 +49,5 @@ CONFIG_USB_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_GADGET=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig b/configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig
index e4f0068..548c5a1 100644
--- a/configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig
+++ b/configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig
@@ -58,3 +58,5 @@ CONFIG_USB_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_RSA=y
 CONFIG_SPL_RSA=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls1088ardb_sdcard_qspi_defconfig b/configs/ls1088ardb_sdcard_qspi_defconfig
index 26966aa..cafaa99 100644
--- a/configs/ls1088ardb_sdcard_qspi_defconfig
+++ b/configs/ls1088ardb_sdcard_qspi_defconfig
@@ -58,3 +58,5 @@ CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_GADGET=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls2080a_emu_defconfig b/configs/ls2080a_emu_defconfig
index 582486c..410bdcf 100644
--- a/configs/ls2080a_emu_defconfig
+++ b/configs/ls2080a_emu_defconfig
@@ -31,3 +31,5 @@ CONFIG_FSL_CAAM=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls2080a_simu_defconfig b/configs/ls2080a_simu_defconfig
index 1cf5796..9e8a364 100644
--- a/configs/ls2080a_simu_defconfig
+++ b/configs/ls2080a_simu_defconfig
@@ -34,3 +34,5 @@ CONFIG_MTD_NOR_FLASH=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls2080aqds_SECURE_BOOT_defconfig b/configs/ls2080aqds_SECURE_BOOT_defconfig
index 74ff331..36cc643 100644
--- a/configs/ls2080aqds_SECURE_BOOT_defconfig
+++ b/configs/ls2080aqds_SECURE_BOOT_defconfig
@@ -52,3 +52,5 @@ CONFIG_USB_STORAGE=y
 CONFIG_RSA=y
 CONFIG_RSA_SOFTWARE_EXP=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls2080aqds_defconfig b/configs/ls2080aqds_defconfig
index 26548be..f5a3d52 100644
--- a/configs/ls2080aqds_defconfig
+++ b/configs/ls2080aqds_defconfig
@@ -51,3 +51,5 @@ CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls2080aqds_nand_defconfig b/configs/ls2080aqds_nand_defconfig
index cbb6133..1388639 100644
--- a/configs/ls2080aqds_nand_defconfig
+++ b/configs/ls2080aqds_nand_defconfig
@@ -61,3 +61,5 @@ CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls2080aqds_qspi_defconfig b/configs/ls2080aqds_qspi_defconfig
index b708790..9c3dbf0 100644
--- a/configs/ls2080aqds_qspi_defconfig
+++ b/configs/ls2080aqds_qspi_defconfig
@@ -51,3 +51,5 @@ CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls2080aqds_sdcard_defconfig b/configs/ls2080aqds_sdcard_defconfig
index eef7718..80e54f5 100644
--- a/configs/ls2080aqds_sdcard_defconfig
+++ b/configs/ls2080aqds_sdcard_defconfig
@@ -58,3 +58,5 @@ CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls2080ardb_SECURE_BOOT_defconfig b/configs/ls2080ardb_SECURE_BOOT_defconfig
index 89865a8..11ad337 100644
--- a/configs/ls2080ardb_SECURE_BOOT_defconfig
+++ b/configs/ls2080ardb_SECURE_BOOT_defconfig
@@ -52,3 +52,5 @@ CONFIG_USB_STORAGE=y
 CONFIG_RSA=y
 CONFIG_RSA_SOFTWARE_EXP=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls2080ardb_defconfig b/configs/ls2080ardb_defconfig
index 1bd1641..9f04297 100644
--- a/configs/ls2080ardb_defconfig
+++ b/configs/ls2080ardb_defconfig
@@ -51,3 +51,5 @@ CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls2080ardb_nand_defconfig b/configs/ls2080ardb_nand_defconfig
index 590d0ba..e79512f 100644
--- a/configs/ls2080ardb_nand_defconfig
+++ b/configs/ls2080ardb_nand_defconfig
@@ -56,3 +56,5 @@ CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls2088ardb_qspi_SECURE_BOOT_defconfig b/configs/ls2088ardb_qspi_SECURE_BOOT_defconfig
index 7c50834..2ddfcf0 100644
--- a/configs/ls2088ardb_qspi_SECURE_BOOT_defconfig
+++ b/configs/ls2088ardb_qspi_SECURE_BOOT_defconfig
@@ -47,3 +47,5 @@ CONFIG_USB_STORAGE=y
 CONFIG_RSA=y
 CONFIG_RSA_SOFTWARE_EXP=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
diff --git a/configs/ls2088ardb_qspi_defconfig b/configs/ls2088ardb_qspi_defconfig
index d9ba7b7..68e695e 100644
--- a/configs/ls2088ardb_qspi_defconfig
+++ b/configs/ls2088ardb_qspi_defconfig
@@ -49,3 +49,5 @@ CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
+CONFIG_BLK=y
+CONFIG_DM_MMC=y
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [U-Boot] [PATCH v1 2/8] armv8: ls1088a: fix sd boot config compile issue
  2018-07-09  4:44 [U-Boot] [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig Yinbo Zhu
@ 2018-07-09  4:44 ` Yinbo Zhu
  2018-07-09  4:44 ` [U-Boot] [PATCH v1 3/8] armv8/ls1088a/ls2088a: esdhc: Add esdhc clock support Yinbo Zhu
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 15+ messages in thread
From: Yinbo Zhu @ 2018-07-09  4:44 UTC (permalink / raw)
  To: u-boot

This patch is to fix sd boot config compile issue for ls1088a.

Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
---
 include/mmc.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/mmc.h b/include/mmc.h
index 534c317..66e69b7 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -604,7 +604,7 @@ struct mmc {
 	u64 enh_user_start;
 	u64 enh_user_size;
 #endif
-#if !CONFIG_IS_ENABLED(BLK)
+#if CONFIG_IS_ENABLED(BLK)
 	struct blk_desc block_dev;
 #endif
 	char op_cond_pending;	/* 1 if we are waiting on an op_cond command */
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [U-Boot] [PATCH v1 3/8] armv8/ls1088a/ls2088a: esdhc: Add esdhc clock support
  2018-07-09  4:44 [U-Boot] [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig Yinbo Zhu
  2018-07-09  4:44 ` [U-Boot] [PATCH v1 2/8] armv8: ls1088a: fix sd boot config compile issue Yinbo Zhu
@ 2018-07-09  4:44 ` Yinbo Zhu
  2018-07-09  4:44 ` [U-Boot] [PATCH v1 4/8] armv8: ls2088a: add eSDHC node Yinbo Zhu
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 15+ messages in thread
From: Yinbo Zhu @ 2018-07-09  4:44 UTC (permalink / raw)
  To: u-boot

This patch adds esdhc clock support for ls1088a and ls2088a.

Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
---
 .../arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c b/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c
index 653c6dd..bc268e2 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c
@@ -192,6 +192,16 @@ int get_dspi_freq(ulong dummy)
 	return get_bus_freq(0) / CONFIG_SYS_FSL_DSPI_CLK_DIV;
 }
 
+#ifdef CONFIG_FSL_ESDHC
+int get_sdhc_freq(ulong dummy)
+{
+	if (!gd->arch.sdhc_clk)
+		get_clocks();
+
+	return gd->arch.sdhc_clk;
+}
+#endif
+
 int get_serial_clock(void)
 {
 	return get_bus_freq(0) / CONFIG_SYS_FSL_DUART_CLK_DIV;
@@ -202,6 +212,10 @@ unsigned int mxc_get_clock(enum mxc_clock clk)
 	switch (clk) {
 	case MXC_I2C_CLK:
 		return get_i2c_freq(0);
+#if defined(CONFIG_FSL_ESDHC)
+	case MXC_ESDHC_CLK:
+		return get_sdhc_freq(0);
+#endif
 	case MXC_DSPI_CLK:
 		return get_dspi_freq(0);
 	default:
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [U-Boot] [PATCH v1 4/8] armv8: ls2088a: add eSDHC node
  2018-07-09  4:44 [U-Boot] [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig Yinbo Zhu
  2018-07-09  4:44 ` [U-Boot] [PATCH v1 2/8] armv8: ls1088a: fix sd boot config compile issue Yinbo Zhu
  2018-07-09  4:44 ` [U-Boot] [PATCH v1 3/8] armv8/ls1088a/ls2088a: esdhc: Add esdhc clock support Yinbo Zhu
@ 2018-07-09  4:44 ` Yinbo Zhu
  2018-07-09  4:44 ` [U-Boot] [PATCH v1 5/8] armv8: ls1088a: " Yinbo Zhu
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 15+ messages in thread
From: Yinbo Zhu @ 2018-07-09  4:44 UTC (permalink / raw)
  To: u-boot

This patch is to add eSDHC node for ls2088a.

Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
---
 arch/arm/dts/fsl-ls2080a.dtsi |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/arm/dts/fsl-ls2080a.dtsi b/arch/arm/dts/fsl-ls2080a.dtsi
index b0f8517..2d537ae 100644
--- a/arch/arm/dts/fsl-ls2080a.dtsi
+++ b/arch/arm/dts/fsl-ls2080a.dtsi
@@ -75,6 +75,14 @@
 		num-cs = <4>;
 	};
 
+	esdhc: esdhc at 0 {
+		compatible = "fsl,esdhc";
+		reg = <0x0 0x2140000 0x0 0x10000>;
+		interrupts = <0 28 0x4>; /* Level high type */
+		little-endian;
+		bus-width = <4>;
+	};
+
 	usb0: usb3 at 3100000 {
 		compatible = "fsl,layerscape-dwc3";
 		reg = <0x0 0x3100000 0x0 0x10000>;
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [U-Boot] [PATCH v1 5/8] armv8: ls1088a: add eSDHC node
  2018-07-09  4:44 [U-Boot] [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig Yinbo Zhu
                   ` (2 preceding siblings ...)
  2018-07-09  4:44 ` [U-Boot] [PATCH v1 4/8] armv8: ls2088a: add eSDHC node Yinbo Zhu
@ 2018-07-09  4:44 ` Yinbo Zhu
  2018-07-09  4:44 ` [U-Boot] [PATCH v1 6/8] armv8: ls1043a: " Yinbo Zhu
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 15+ messages in thread
From: Yinbo Zhu @ 2018-07-09  4:44 UTC (permalink / raw)
  To: u-boot

This patch is to add eSDHC node for ls1088a.

Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
---
 arch/arm/dts/fsl-ls1088a.dtsi |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/arch/arm/dts/fsl-ls1088a.dtsi b/arch/arm/dts/fsl-ls1088a.dtsi
index 077caf3..72d755a 100644
--- a/arch/arm/dts/fsl-ls1088a.dtsi
+++ b/arch/arm/dts/fsl-ls1088a.dtsi
@@ -74,6 +74,15 @@
 		reg-names = "QuadSPI", "QuadSPI-memory";
 		num-cs = <4>;
 	};
+
+	esdhc: esdhc at 2140000 {
+		compatible = "fsl,esdhc";
+		reg = <0x0 0x2140000 0x0 0x10000>;
+		interrupts = <0 28 0x4>; /* Level high type */
+		little-endian;
+		bus-width = <4>;
+	};
+
 	ifc: ifc at 1530000 {
 		compatible = "fsl,ifc", "simple-bus";
 		reg = <0x0 0x2240000 0x0 0x20000>;
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [U-Boot] [PATCH v1 6/8] armv8: ls1043a: add eSDHC node
  2018-07-09  4:44 [U-Boot] [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig Yinbo Zhu
                   ` (3 preceding siblings ...)
  2018-07-09  4:44 ` [U-Boot] [PATCH v1 5/8] armv8: ls1088a: " Yinbo Zhu
@ 2018-07-09  4:44 ` Yinbo Zhu
  2018-07-09  4:44 ` [U-Boot] [PATCH v1 7/8] armv8: ls1046a: " Yinbo Zhu
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 15+ messages in thread
From: Yinbo Zhu @ 2018-07-09  4:44 UTC (permalink / raw)
  To: u-boot

This patch is to add eSDHC node for ls1043a.

Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
---
 arch/arm/dts/fsl-ls1043a.dtsi |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/arm/dts/fsl-ls1043a.dtsi b/arch/arm/dts/fsl-ls1043a.dtsi
index ff40122..a804f51 100644
--- a/arch/arm/dts/fsl-ls1043a.dtsi
+++ b/arch/arm/dts/fsl-ls1043a.dtsi
@@ -70,6 +70,14 @@
 			status = "disabled";
 		};
 
+		esdhc: esdhc at 1560000 {
+			compatible = "fsl,esdhc";
+			reg = <0x0 0x1560000 0x0 0x10000>;
+			interrupts = <0 62 0x4>;
+			big-endian;
+			bus-width = <4>;
+		};
+
 		ifc: ifc at 1530000 {
 			compatible = "fsl,ifc", "simple-bus";
 			reg = <0x0 0x1530000 0x0 0x10000>;
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [U-Boot] [PATCH v1 7/8] armv8: ls1046a: add eSDHC node
  2018-07-09  4:44 [U-Boot] [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig Yinbo Zhu
                   ` (4 preceding siblings ...)
  2018-07-09  4:44 ` [U-Boot] [PATCH v1 6/8] armv8: ls1043a: " Yinbo Zhu
@ 2018-07-09  4:44 ` Yinbo Zhu
  2018-07-09  4:44 ` [U-Boot] [PATCH v1 8/8] armv7: ls1021a: enable esdhc Yinbo Zhu
  2018-07-09 15:50 ` [U-Boot] [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig York Sun
  7 siblings, 0 replies; 15+ messages in thread
From: Yinbo Zhu @ 2018-07-09  4:44 UTC (permalink / raw)
  To: u-boot

This patch is to add eSDHC node for ls1046a.

Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
---
 arch/arm/dts/fsl-ls1046a.dtsi |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/arm/dts/fsl-ls1046a.dtsi b/arch/arm/dts/fsl-ls1046a.dtsi
index 4acbaf7..7687d12 100644
--- a/arch/arm/dts/fsl-ls1046a.dtsi
+++ b/arch/arm/dts/fsl-ls1046a.dtsi
@@ -70,6 +70,14 @@
 			status = "disabled";
 		};
 
+		esdhc: esdhc at 1560000 {
+			compatible = "fsl,esdhc";
+			reg = <0x0 0x1560000 0x0 0x10000>;
+			interrupts = <0 62 0x4>;
+			big-endian;
+			bus-width = <4>;
+		};
+
 		ifc: ifc at 1530000 {
 			compatible = "fsl,ifc", "simple-bus";
 			reg = <0x0 0x1530000 0x0 0x10000>;
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [U-Boot] [PATCH v1 8/8] armv7: ls1021a: enable esdhc
  2018-07-09  4:44 [U-Boot] [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig Yinbo Zhu
                   ` (5 preceding siblings ...)
  2018-07-09  4:44 ` [U-Boot] [PATCH v1 7/8] armv8: ls1046a: " Yinbo Zhu
@ 2018-07-09  4:44 ` Yinbo Zhu
  2018-07-09 15:50 ` [U-Boot] [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig York Sun
  7 siblings, 0 replies; 15+ messages in thread
From: Yinbo Zhu @ 2018-07-09  4:44 UTC (permalink / raw)
  To: u-boot

This patch is to enable eSDHC for ls1021a.

Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
---
 arch/arm/dts/ls1021a.dtsi |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/arm/dts/ls1021a.dtsi b/arch/arm/dts/ls1021a.dtsi
index 5b3fc6a..59c97d5 100644
--- a/arch/arm/dts/ls1021a.dtsi
+++ b/arch/arm/dts/ls1021a.dtsi
@@ -96,7 +96,6 @@
 			sdhci,auto-cmd12;
 			big-endian;
 			bus-width = <4>;
-			status = "disabled";
 		};
 
 		scfg: scfg at 1570000 {
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [U-Boot] [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig
  2018-07-09  4:44 [U-Boot] [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig Yinbo Zhu
                   ` (6 preceding siblings ...)
  2018-07-09  4:44 ` [U-Boot] [PATCH v1 8/8] armv7: ls1021a: enable esdhc Yinbo Zhu
@ 2018-07-09 15:50 ` York Sun
  2018-07-17 10:50   ` Yinbo Zhu
  7 siblings, 1 reply; 15+ messages in thread
From: York Sun @ 2018-07-09 15:50 UTC (permalink / raw)
  To: u-boot

On 07/08/2018 09:46 PM, Yinbo Zhu wrote:
> This enables the folowing to Kconfig:
> 	CONFIG_BLK
> 	CONFIG_DM_MMC

The order of patches seems wrong. Don't you need patch 2 & 3 before
enabling these options?

York

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [U-Boot] [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig
  2018-07-09 15:50 ` [U-Boot] [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig York Sun
@ 2018-07-17 10:50   ` Yinbo Zhu
  2018-07-17 14:52     ` York Sun
  0 siblings, 1 reply; 15+ messages in thread
From: Yinbo Zhu @ 2018-07-17 10:50 UTC (permalink / raw)
  To: u-boot



-----Original Message-----
From: York Sun 
Sent: 2018年7月9日 23:50
To: Yinbo Zhu <yinbo.zhu@nxp.com>; u-boot at lists.denx.de
Cc: Y.b. Lu <yangbo.lu@nxp.com>; Xiaobo Xie <xiaobo.xie@nxp.com>
Subject: Re: [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig

On 07/08/2018 09:46 PM, Yinbo Zhu wrote:
> This enables the folowing to Kconfig:
> 	CONFIG_BLK
> 	CONFIG_DM_MMC

>The order of patches seems wrong. Don't you need patch 2 & 3 before enabling these options?

>York

HI York,

Thanks your feedback! And the patch 1 is applied then that it reported some compiled error, so add patch 2 to fix compile error, and I will only put the patch 3 in front of patch 1, Do you think that's okay?

Thanks,
Best Regards,
Yinbo

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [U-Boot] [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig
  2018-07-17 10:50   ` Yinbo Zhu
@ 2018-07-17 14:52     ` York Sun
  2018-07-26  7:09       ` Yinbo Zhu
  0 siblings, 1 reply; 15+ messages in thread
From: York Sun @ 2018-07-17 14:52 UTC (permalink / raw)
  To: u-boot

On 07/17/2018 03:50 AM, Yinbo Zhu wrote:
> 
> 
> -----Original Message-----
> From: York Sun 
> Sent: 2018年7月9日 23:50
> To: Yinbo Zhu <yinbo.zhu@nxp.com>; u-boot at lists.denx.de
> Cc: Y.b. Lu <yangbo.lu@nxp.com>; Xiaobo Xie <xiaobo.xie@nxp.com>
> Subject: Re: [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig
> 
> On 07/08/2018 09:46 PM, Yinbo Zhu wrote:
>> This enables the folowing to Kconfig:
>> 	CONFIG_BLK
>> 	CONFIG_DM_MMC
> 
>> The order of patches seems wrong. Don't you need patch 2 & 3 before enabling these options?
> 
>> York
> 
> HI York,
> 
> Thanks your feedback! And the patch 1 is applied then that it reported some compiled error, so add patch 2 to fix compile error, and I will only put the patch 3 in front of patch 1, Do you think that's okay?

Every single patch must be successfully compiled. U-Boot must be
functional, too. Otherwise, you will face problem when you try to bisect
an issue.

York

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [U-Boot] [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig
  2018-07-17 14:52     ` York Sun
@ 2018-07-26  7:09       ` Yinbo Zhu
  2018-07-31 17:32         ` York Sun
  0 siblings, 1 reply; 15+ messages in thread
From: Yinbo Zhu @ 2018-07-26  7:09 UTC (permalink / raw)
  To: u-boot



-----Original Message-----
From: York Sun 
Sent: 2018年7月17日 22:52
To: Yinbo Zhu <yinbo.zhu@nxp.com>; u-boot at lists.denx.de
Cc: Y.b. Lu <yangbo.lu@nxp.com>; Xiaobo Xie <xiaobo.xie@nxp.com>
Subject: Re: [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig

On 07/17/2018 03:50 AM, Yinbo Zhu wrote:
> 
> 
> -----Original Message-----
> From: York Sun
> Sent: 2018年7月9日 23:50
> To: Yinbo Zhu <yinbo.zhu@nxp.com>; u-boot at lists.denx.de
> Cc: Y.b. Lu <yangbo.lu@nxp.com>; Xiaobo Xie <xiaobo.xie@nxp.com>
> Subject: Re: [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to 
> Kconfig
> 
> On 07/08/2018 09:46 PM, Yinbo Zhu wrote:
>> This enables the folowing to Kconfig:
>> 	CONFIG_BLK
>> 	CONFIG_DM_MMC
> 
>> The order of patches seems wrong. Don't you need patch 2 & 3 before enabling these options?
> 
>> York
> 
> HI York,
> 
> Thanks your feedback! And the patch 1 is applied then that it reported some compiled error, so add patch 

>2 to fix compile error, and I will only put the patch 3 in front of patch 1, Do you think that's okay?

>Every single patch must be successfully compiled. U-Boot must be functional, too. Otherwise, you will face 

>problem when you try to bisect an issue.

>York

Hi York

I had updated the patch order, Could you give me a feedback?
http://patchwork.ozlabs.org/project/uboot/list/?series=&submitter=71513&state=*&q=&archive=both&delegate=

Thanks,
Yinbo

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [U-Boot] [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig
  2018-07-26  7:09       ` Yinbo Zhu
@ 2018-07-31 17:32         ` York Sun
  0 siblings, 0 replies; 15+ messages in thread
From: York Sun @ 2018-07-31 17:32 UTC (permalink / raw)
  To: u-boot

On 07/26/2018 12:09 AM, Yinbo Zhu wrote:
<snip>
>>
>> Thanks your feedback! And the patch 1 is applied then that it reported some compiled error, so add patch 
> 
>> 2 to fix compile error, and I will only put the patch 3 in front of patch 1, Do you think that's okay?
> 
>> Every single patch must be successfully compiled. U-Boot must be functional, too. Otherwise, you will face 
> 
>> problem when you try to bisect an issue.
> 
>> York
> 
> Hi York
> 
> I had updated the patch order, Could you give me a feedback?
> http://patchwork.ozlabs.org/project/uboot/list/?series=&submitter=71513&state=*&q=&archive=both&delegate=
> 

This link doesn't work. It gives me other unrelated patches as well.
Please send a new set.

York

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [U-Boot] [PATCH v1 4/8] armv8: ls2088a: add eSDHC node
  2018-08-03 10:37 [U-Boot] [PATCH v3 1/8] armv8: enable BLK code configuration Yinbo Zhu
@ 2018-08-03 10:37 ` Yinbo Zhu
  0 siblings, 0 replies; 15+ messages in thread
From: Yinbo Zhu @ 2018-08-03 10:37 UTC (permalink / raw)
  To: u-boot

This patch is to add eSDHC node for ls2088a.

Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
---
 arch/arm/dts/fsl-ls2080a.dtsi |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/arm/dts/fsl-ls2080a.dtsi b/arch/arm/dts/fsl-ls2080a.dtsi
index b0f8517..2d537ae 100644
--- a/arch/arm/dts/fsl-ls2080a.dtsi
+++ b/arch/arm/dts/fsl-ls2080a.dtsi
@@ -75,6 +75,14 @@
 		num-cs = <4>;
 	};
 
+	esdhc: esdhc at 0 {
+		compatible = "fsl,esdhc";
+		reg = <0x0 0x2140000 0x0 0x10000>;
+		interrupts = <0 28 0x4>; /* Level high type */
+		little-endian;
+		bus-width = <4>;
+	};
+
 	usb0: usb3 at 3100000 {
 		compatible = "fsl,layerscape-dwc3";
 		reg = <0x0 0x3100000 0x0 0x10000>;
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [U-Boot] [PATCH v1 4/8] armv8: ls2088a: add eSDHC node
  2018-07-18  3:00 [U-Boot] [PATCH v2 1/8] armv8: ls1088a: fix sd boot config compile issue Yinbo Zhu
@ 2018-07-18  3:00 ` Yinbo Zhu
  0 siblings, 0 replies; 15+ messages in thread
From: Yinbo Zhu @ 2018-07-18  3:00 UTC (permalink / raw)
  To: u-boot

This patch is to add eSDHC node for ls2088a.

Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
---
 arch/arm/dts/fsl-ls2080a.dtsi |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/arm/dts/fsl-ls2080a.dtsi b/arch/arm/dts/fsl-ls2080a.dtsi
index b0f8517..2d537ae 100644
--- a/arch/arm/dts/fsl-ls2080a.dtsi
+++ b/arch/arm/dts/fsl-ls2080a.dtsi
@@ -75,6 +75,14 @@
 		num-cs = <4>;
 	};
 
+	esdhc: esdhc at 0 {
+		compatible = "fsl,esdhc";
+		reg = <0x0 0x2140000 0x0 0x10000>;
+		interrupts = <0 28 0x4>; /* Level high type */
+		little-endian;
+		bus-width = <4>;
+	};
+
 	usb0: usb3 at 3100000 {
 		compatible = "fsl,layerscape-dwc3";
 		reg = <0x0 0x3100000 0x0 0x10000>;
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2018-08-03 10:37 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-09  4:44 [U-Boot] [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig Yinbo Zhu
2018-07-09  4:44 ` [U-Boot] [PATCH v1 2/8] armv8: ls1088a: fix sd boot config compile issue Yinbo Zhu
2018-07-09  4:44 ` [U-Boot] [PATCH v1 3/8] armv8/ls1088a/ls2088a: esdhc: Add esdhc clock support Yinbo Zhu
2018-07-09  4:44 ` [U-Boot] [PATCH v1 4/8] armv8: ls2088a: add eSDHC node Yinbo Zhu
2018-07-09  4:44 ` [U-Boot] [PATCH v1 5/8] armv8: ls1088a: " Yinbo Zhu
2018-07-09  4:44 ` [U-Boot] [PATCH v1 6/8] armv8: ls1043a: " Yinbo Zhu
2018-07-09  4:44 ` [U-Boot] [PATCH v1 7/8] armv8: ls1046a: " Yinbo Zhu
2018-07-09  4:44 ` [U-Boot] [PATCH v1 8/8] armv7: ls1021a: enable esdhc Yinbo Zhu
2018-07-09 15:50 ` [U-Boot] [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig York Sun
2018-07-17 10:50   ` Yinbo Zhu
2018-07-17 14:52     ` York Sun
2018-07-26  7:09       ` Yinbo Zhu
2018-07-31 17:32         ` York Sun
2018-07-18  3:00 [U-Boot] [PATCH v2 1/8] armv8: ls1088a: fix sd boot config compile issue Yinbo Zhu
2018-07-18  3:00 ` [U-Boot] [PATCH v1 4/8] armv8: ls2088a: add eSDHC node Yinbo Zhu
2018-08-03 10:37 [U-Boot] [PATCH v3 1/8] armv8: enable BLK code configuration Yinbo Zhu
2018-08-03 10:37 ` [U-Boot] [PATCH v1 4/8] armv8: ls2088a: add eSDHC node Yinbo Zhu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.