Patchwork [U-Boot,U-Boot,6/7] arm: dra7xx: Add board files for DRA7XX socs

login
register
mail settings
Submitter Tom Rini
Date March 11, 2013, 6:35 p.m.
Message ID <20130311183551.GI27930@bill-the-cat>
Download mbox | patch
Permalink /patch/226642/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Tom Rini - March 11, 2013, 6:35 p.m.
On Tue, Feb 12, 2013 at 09:29:08PM -0000, Lokesh Vutla wrote:

> Adding new board files for DRA7XX socs.
> The pad registers layout is changed completely from OMAP5
> So introducing the new structure here and also adding the
> minimal data.
> 
> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
> Signed-off-by: Nishant Kamat <nskamat@ti.com>
> Signed-off-by: R Sricharan <r.sricharan@ti.com>
> Reviewed-by: Tom Rini <trini@ti.com>

With the following change to adapt to the omap_mmc_init changes I've
also taken into u-boot-ti/master:


This is now applied to u-boot-ti/master, thanks!
Lokesh Vutla - March 12, 2013, 3:42 a.m.
On Tuesday 12 March 2013 12:05 AM, Tom Rini wrote:
> On Tue, Feb 12, 2013 at 09:29:08PM -0000, Lokesh Vutla wrote:
>
>> Adding new board files for DRA7XX socs.
>> The pad registers layout is changed completely from OMAP5
>> So introducing the new structure here and also adding the
>> minimal data.
>>
>> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
>> Signed-off-by: Nishant Kamat <nskamat@ti.com>
>> Signed-off-by: R Sricharan <r.sricharan@ti.com>
>> Reviewed-by: Tom Rini <trini@ti.com>
>
> With the following change to adapt to the omap_mmc_init changes I've
> also taken into u-boot-ti/master:
>
> diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
> index cd344da..7bbb549 100644
> --- a/board/ti/dra7xx/evm.c
> +++ b/board/ti/dra7xx/evm.c
> @@ -96,8 +96,8 @@ void set_muxconf_regs_essential(void)
>   #if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_GENERIC_MMC)
>   int board_mmc_init(bd_t *bis)
>   {
> -	omap_mmc_init(0, 0, 0);
> -	omap_mmc_init(1, 0, 0);
> +	omap_mmc_init(0, 0, 0, -1, -1);
> +	omap_mmc_init(1, 0, 0, -1, -1);
>   	return 0;
>   }
>   #endif
>
> This is now applied to u-boot-ti/master, thanks!
Ok..Thanks..

Regards,
Lokesh
>
SRICHARAN R - March 12, 2013, 3:47 a.m.
On Tuesday 12 March 2013 12:05 AM, Tom Rini wrote:
> On Tue, Feb 12, 2013 at 09:29:08PM -0000, Lokesh Vutla wrote:
>
>> Adding new board files for DRA7XX socs.
>> The pad registers layout is changed completely from OMAP5
>> So introducing the new structure here and also adding the
>> minimal data.
>>
>> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
>> Signed-off-by: Nishant Kamat <nskamat@ti.com>
>> Signed-off-by: R Sricharan <r.sricharan@ti.com>
>> Reviewed-by: Tom Rini <trini@ti.com>
> With the following change to adapt to the omap_mmc_init changes I've
> also taken into u-boot-ti/master:
>
> diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
> index cd344da..7bbb549 100644
> --- a/board/ti/dra7xx/evm.c
> +++ b/board/ti/dra7xx/evm.c
> @@ -96,8 +96,8 @@ void set_muxconf_regs_essential(void)
>  #if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_GENERIC_MMC)
>  int board_mmc_init(bd_t *bis)
>  {
> -	omap_mmc_init(0, 0, 0);
> -	omap_mmc_init(1, 0, 0);
> +	omap_mmc_init(0, 0, 0, -1, -1);
> +	omap_mmc_init(1, 0, 0, -1, -1);
>  	return 0;
>  }
>  #endif
>
> This is now applied to u-boot-ti/master, thanks!
>
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
Thanks Tom..

Regards,
 Sricharan

Patch

diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
index cd344da..7bbb549 100644
--- a/board/ti/dra7xx/evm.c
+++ b/board/ti/dra7xx/evm.c
@@ -96,8 +96,8 @@  void set_muxconf_regs_essential(void)
 #if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_GENERIC_MMC)
 int board_mmc_init(bd_t *bis)
 {
-	omap_mmc_init(0, 0, 0);
-	omap_mmc_init(1, 0, 0);
+	omap_mmc_init(0, 0, 0, -1, -1);
+	omap_mmc_init(1, 0, 0, -1, -1);
 	return 0;
 }
 #endif