Skip to contentSkip to conversation

mx51evk: Fix CONFIG_SYS_FSL_ESDHC_ADDR

PATCH New Fabio Estevam 2 participants 4 messages Sep 16, 2014 – Sep 22, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 mx51evk: Fix CONFIG_SYS_FSL_ESDHC_ADDR

From: Fabio Estevam <[email protected]>

We should pass the SDHC1 base address into CONFIG_SYS_FSL_ESDHC_ADDR.

---
 include/configs/mx51evk.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/mx51evk.h +1 -1
index b389475..b0d401c 100644
@@ -69,7 +69,7 @@
  * MMC Configs
  * */
 #define CONFIG_FSL_ESDHC
-#define CONFIG_SYS_FSL_ESDHC_ADDR	0
+#define CONFIG_SYS_FSL_ESDHC_ADDR	MMC_SDHC1_BASE_ADDR
 #define CONFIG_SYS_FSL_ESDHC_NUM	2
 
 #define CONFIG_MMC
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/2 mx51evk: Add generic board support

From: Fabio Estevam <[email protected]>

Let's enable CONFIG_SYS_GENERIC_BOARD in order to get rid of warnings related to generic board not being supported.

---
 include/configs/mx51evk.h | 1 +
 1 file changed, 1 insertion(+)
include/configs/mx51evk.h +1 -0
index b0d401c..d6e8ec4 100644
@@ -26,6 +26,7 @@
 #define CONFIG_SETUP_MEMORY_TAGS
 #define CONFIG_INITRD_TAG
 #define CONFIG_REVISION_TAG
+#define CONFIG_SYS_GENERIC_BOARD
 
 #define CONFIG_OF_LIBFDT
 
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/2 mx51evk: Add generic board support

Quoted 6 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Let's enable CONFIG_SYS_GENERIC_BOARD in order to get rid of warnings related to generic board not being supported.

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
#3 lore raw

PATCH 1/2 mx51evk: Fix CONFIG_SYS_FSL_ESDHC_ADDR

In reply to Fabio Estevam
Quoted 15 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

We should pass the SDHC1 base address into CONFIG_SYS_FSL_ESDHC_ADDR.

---
 include/configs/mx51evk.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/mx51evk.h +0 -0
index b389475..b0d401c 100644

include/configs/mx51evk.h line 75

Quoted 8 lines
include/configs/mx51evk.h +1 -1
@@ -69,7 +69,7 @@
  * MMC Configs
  * */
 #define CONFIG_FSL_ESDHC
-#define CONFIG_SYS_FSL_ESDHC_ADDR	0
+#define CONFIG_SYS_FSL_ESDHC_ADDR	MMC_SDHC1_BASE_ADDR
 #define CONFIG_SYS_FSL_ESDHC_NUM	2
 
 #define CONFIG_MMC

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================