[U-Boot] bank8 in OMAP-L138 ?

Ran Shalit ranshalit at gmail.com
Mon May 23 21:42:29 CEST 2011


On Sun, May 22, 2011 at 9:55 PM, Ran Shalit <ranshalit at gmail.com> wrote:

>  Hello,
>
> It seems that bank 8 is missing in
>  [u-boot.git] <http://e2e.ti.com/cgi-bin/gitweb.cgi?p=u-boot.git;a=tree> /
> arch <http://e2e.ti.com/cgi-bin/gitweb.cgi?p=u-boot.git;a=tree;f=arch> /
> arm <http://e2e.ti.com/cgi-bin/gitweb.cgi?p=u-boot.git;a=tree;f=arch/arm>/
> include<http://e2e.ti.com/cgi-bin/gitweb.cgi?p=u-boot.git;a=tree;f=arch/arm/include>/
> asm<http://e2e.ti.com/cgi-bin/gitweb.cgi?p=u-boot.git;a=tree;f=arch/arm/include/asm>/
> arch-davinci<http://e2e.ti.com/cgi-bin/gitweb.cgi?p=u-boot.git;a=tree;f=arch/arm/include/asm/arch-davinci>/
> gpio_defs.h<http://e2e.ti.com/cgi-bin/gitweb.cgi?p=u-boot.git;a=blob_plain;f=arch/arm/include/asm/arch-davinci/gpio_defs.h>
> reference for bank 8 can be found in TI document:
> http://focus.ti.com/docs/prod/folders/print/omap-l138.html
>
> I have tried to add it to my code as following:
>
> #ifndef CONFIG_SOC_DA8XX
> #define DAVINCI_GPIO_BINTEN    0x01C67008
> #define DAVINCI_GPIO_BANK01    0x01C67010
> #define DAVINCI_GPIO_BANK23    0x01C67038
> #define DAVINCI_GPIO_BANK45    0x01C67060
> #define DAVINCI_GPIO_BANK67    0x01C67088
> + #define DAVINCI_GPIO_BANK8    0x01C670B0
> #else /* CONFIG_SOC_DA8XX */
> #define DAVINCI_GPIO_BINTEN    0x01E26008
> #define DAVINCI_GPIO_BANK01    0x01E26010
> #define DAVINCI_GPIO_BANK23    0x01E26038
> #define DAVINCI_GPIO_BANK45    0x01E26060
> #define DAVINCI_GPIO_BANK67    0x01E26088
> +#define DAVINCI_GPIO_BANK8    0x01E260B0
> #endif /* CONFIG_SOC_DA8XX */
>
> #define davinci_gpio_bank01 ((structI  davinci_gpio *)DAVINCI_GPIO_BANK01)
> #define davinci_gpio_bank23 ((struct davinci_gpio *)DAVINCI_GPIO_BANK23)
> #define davinci_gpio_bank45 ((struct davinci_gpio *)DAVINCI_GPIO_BANK45)
> #define davinci_gpio_bank67 ((struct davinci_gpio *)DAVINCI_GPIO_BANK67)
> +#define davinci_gpio_bank8 ((struct davinci_gpio *)DAVINCI_GPIO_BANK8)
> The thing is that on accesing bank 8  the u-boot crashes. Is there any
> memory allocation or power management of bank 8 that I am not familiar with
> ?
>
> Regards,
>  Ran
>

Hello,

I am still unsure as to what can be the problem, if anyone can please send
any idea...
Thank you!
Ran


More information about the U-Boot mailing list