diff mbox

[U-Boot] udoo_neo: Remove USDHC3 entry

Message ID 1481894312-11413-1-git-send-email-fabio.estevam@nxp.com
State Accepted
Commit 7be4f7938878826267a2779e55b37870ef0b5621
Delegated to: Stefano Babic
Headers show

Commit Message

Fabio Estevam Dec. 16, 2016, 1:18 p.m. UTC
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. 

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 board/udoo/neo/neo.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Stefano Babic Jan. 2, 2017, 4:51 p.m. UTC | #1
On 16/12/2016 14:18, Fabio Estevam wrote:
> 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. 
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---
>  board/udoo/neo/neo.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/board/udoo/neo/neo.c b/board/udoo/neo/neo.c
> index 688b522..c5058b4 100644
> --- a/board/udoo/neo/neo.c
> +++ b/board/udoo/neo/neo.c
> @@ -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
Stefano Babic Jan. 2, 2017, 4:57 p.m. UTC | #2
On 16/12/2016 14:18, Fabio Estevam wrote:
> 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. 
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---
>  board/udoo/neo/neo.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/board/udoo/neo/neo.c b/board/udoo/neo/neo.c
> index 688b522..c5058b4 100644
> --- a/board/udoo/neo/neo.c
> +++ b/board/udoo/neo/neo.c
> @@ -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
diff mbox

Patch

diff --git a/board/udoo/neo/neo.c b/board/udoo/neo/neo.c
index 688b522..c5058b4 100644
--- a/board/udoo/neo/neo.c
+++ b/board/udoo/neo/neo.c
@@ -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)