Skip to contentSkip to conversation

udoo_neo: Remove USDHC3 entry

PATCH New Fabio Estevam 2 participants 3 messages Dec 16, 2016 – Jan 2, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 udoo_neo: Remove USDHC3 entry

Commit c94981efa20cc58 ("udoo_neo: Remove USDHC3 support") removed the SDHC3 support, but missed to remove the entry from the usdhc_cfg structure, so just remove it.

---
 board/udoo/neo/neo.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
board/udoo/neo/neo.c +1 -2
index 688b522..c5058b4 100644
@@ -389,9 +389,8 @@ int board_early_init_f(void)
 	return 0;
 }
 
-static struct fsl_esdhc_cfg usdhc_cfg[2] = {
+static struct fsl_esdhc_cfg usdhc_cfg[1] = {
 	{USDHC2_BASE_ADDR, 0, 4},
-	{USDHC3_BASE_ADDR, 0, 4},
 };
 
 #define USDHC2_PWR_GPIO IMX_GPIO_NR(6, 1)
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 udoo_neo: Remove USDHC3 entry

Quoted 15 lines · Fabio Estevam

Commit c94981efa20cc58 ("udoo_neo: Remove USDHC3 support") removed the SDHC3 support, but missed to remove the entry from the usdhc_cfg structure, so just remove it.

---
 board/udoo/neo/neo.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
board/udoo/neo/neo.c +0 -0
index 688b522..c5058b4 100644

board/udoo/neo/neo.c int board_early_init_f(void) · line 396

Quoted 10 lines
board/udoo/neo/neo.c +1 -2
@@ -389,9 +389,8 @@ int board_early_init_f(void)
 	return 0;
 }
 
-static struct fsl_esdhc_cfg usdhc_cfg[2] = {
+static struct fsl_esdhc_cfg usdhc_cfg[1] = {
 	{USDHC2_BASE_ADDR, 0, 4},
-	{USDHC3_BASE_ADDR, 0, 4},
 };
 
 #define USDHC2_PWR_GPIO IMX_GPIO_NR(6, 1)

Applied to u-boot-imx, -master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
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
=====================================================================
#2 lore raw

PATCH 1/1 udoo_neo: Remove USDHC3 entry

In reply to Fabio Estevam
Quoted 15 lines · Fabio Estevam

Commit c94981efa20cc58 ("udoo_neo: Remove USDHC3 support") removed the SDHC3 support, but missed to remove the entry from the usdhc_cfg structure, so just remove it.

---
 board/udoo/neo/neo.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
board/udoo/neo/neo.c +0 -0
index 688b522..c5058b4 100644

board/udoo/neo/neo.c int board_early_init_f(void) · line 396

Quoted 10 lines
board/udoo/neo/neo.c +1 -2
@@ -389,9 +389,8 @@ int board_early_init_f(void)
 	return 0;
 }
 
-static struct fsl_esdhc_cfg usdhc_cfg[2] = {
+static struct fsl_esdhc_cfg usdhc_cfg[1] = {
 	{USDHC2_BASE_ADDR, 0, 4},
-	{USDHC3_BASE_ADDR, 0, 4},
 };
 
 #define USDHC2_PWR_GPIO IMX_GPIO_NR(6, 1)

Applied to u-boot-imx, -master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
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
=====================================================================