diff mbox

[U-Boot] arm: omap3: Add uart4 omap3 adddress

Message ID 20131118140621.GA3942@panicking
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Michael Nazzareno Trimarchi Nov. 18, 2013, 2:06 p.m. UTC
This patch add the OMAP34XX_UART4 memory address

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
---
 arch/arm/include/asm/arch-omap3/omap3.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini Nov. 18, 2013, 3:37 p.m. UTC | #1
On Mon, Nov 18, 2013 at 03:06:21PM +0100, Michael Trimarchi wrote:
> This patch add the OMAP34XX_UART4 memory address
> 
> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
> ---
>  arch/arm/include/asm/arch-omap3/omap3.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/include/asm/arch-omap3/omap3.h b/arch/arm/include/asm/arch-omap3/omap3.h
> index 7fb549a..65a5995 100644
> --- a/arch/arm/include/asm/arch-omap3/omap3.h
> +++ b/arch/arm/include/asm/arch-omap3/omap3.h
> @@ -55,6 +55,7 @@ struct control_prog_io {
>  #define OMAP34XX_UART1			(OMAP34XX_L4_IO_BASE + 0x6a000)
>  #define OMAP34XX_UART2			(OMAP34XX_L4_IO_BASE + 0x6c000)
>  #define OMAP34XX_UART3			(OMAP34XX_L4_PER + 0x20000)
> +#define OMAP34XX_UART4			(OMAP34XX_L4_PER + 0x42000)
>  
>  /* General Purpose Timers */
>  #define OMAP34XX_GPT1			0x48318000

What needs this?  Thanks!
Michael Nazzareno Trimarchi Nov. 18, 2013, 3:58 p.m. UTC | #2
Hi Tom

On Mon, Nov 18, 2013 at 4:37 PM, Tom Rini <trini@ti.com> wrote:
> On Mon, Nov 18, 2013 at 03:06:21PM +0100, Michael Trimarchi wrote:
>> This patch add the OMAP34XX_UART4 memory address
>>
>> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
>> ---
>>  arch/arm/include/asm/arch-omap3/omap3.h | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm/include/asm/arch-omap3/omap3.h b/arch/arm/include/asm/arch-omap3/omap3.h
>> index 7fb549a..65a5995 100644
>> --- a/arch/arm/include/asm/arch-omap3/omap3.h
>> +++ b/arch/arm/include/asm/arch-omap3/omap3.h
>> @@ -55,6 +55,7 @@ struct control_prog_io {
>>  #define OMAP34XX_UART1                       (OMAP34XX_L4_IO_BASE + 0x6a000)
>>  #define OMAP34XX_UART2                       (OMAP34XX_L4_IO_BASE + 0x6c000)
>>  #define OMAP34XX_UART3                       (OMAP34XX_L4_PER + 0x20000)
>> +#define OMAP34XX_UART4                       (OMAP34XX_L4_PER + 0x42000)
>>
>>  /* General Purpose Timers */
>>  #define OMAP34XX_GPT1                        0x48318000
>
> What needs this?  Thanks!
>

I have a board the use uart4 as a console. I'm working to have it as an option
in omap3 code.

Michael


> --
> Tom
Tom Rini Nov. 18, 2013, 4:06 p.m. UTC | #3
On Mon, Nov 18, 2013 at 04:58:33PM +0100, Michael Trimarchi wrote:
> Hi Tom
> 
> On Mon, Nov 18, 2013 at 4:37 PM, Tom Rini <trini@ti.com> wrote:
> > On Mon, Nov 18, 2013 at 03:06:21PM +0100, Michael Trimarchi wrote:
> >> This patch add the OMAP34XX_UART4 memory address
> >>
> >> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
> >> ---
> >>  arch/arm/include/asm/arch-omap3/omap3.h | 1 +
> >>  1 file changed, 1 insertion(+)
> >>
> >> diff --git a/arch/arm/include/asm/arch-omap3/omap3.h b/arch/arm/include/asm/arch-omap3/omap3.h
> >> index 7fb549a..65a5995 100644
> >> --- a/arch/arm/include/asm/arch-omap3/omap3.h
> >> +++ b/arch/arm/include/asm/arch-omap3/omap3.h
> >> @@ -55,6 +55,7 @@ struct control_prog_io {
> >>  #define OMAP34XX_UART1                       (OMAP34XX_L4_IO_BASE + 0x6a000)
> >>  #define OMAP34XX_UART2                       (OMAP34XX_L4_IO_BASE + 0x6c000)
> >>  #define OMAP34XX_UART3                       (OMAP34XX_L4_PER + 0x20000)
> >> +#define OMAP34XX_UART4                       (OMAP34XX_L4_PER + 0x42000)
> >>
> >>  /* General Purpose Timers */
> >>  #define OMAP34XX_GPT1                        0x48318000
> >
> > What needs this?  Thanks!
> 
> I have a board the use uart4 as a console. I'm working to have it as an option
> in omap3 code.

Are you going to post the board?
Michael Nazzareno Trimarchi Nov. 18, 2013, 4:09 p.m. UTC | #4
Hi Tom

On Mon, Nov 18, 2013 at 5:06 PM, Tom Rini <trini@ti.com> wrote:
> On Mon, Nov 18, 2013 at 04:58:33PM +0100, Michael Trimarchi wrote:
>> Hi Tom
>>
>> On Mon, Nov 18, 2013 at 4:37 PM, Tom Rini <trini@ti.com> wrote:
>> > On Mon, Nov 18, 2013 at 03:06:21PM +0100, Michael Trimarchi wrote:
>> >> This patch add the OMAP34XX_UART4 memory address
>> >>
>> >> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
>> >> ---
>> >>  arch/arm/include/asm/arch-omap3/omap3.h | 1 +
>> >>  1 file changed, 1 insertion(+)
>> >>
>> >> diff --git a/arch/arm/include/asm/arch-omap3/omap3.h b/arch/arm/include/asm/arch-omap3/omap3.h
>> >> index 7fb549a..65a5995 100644
>> >> --- a/arch/arm/include/asm/arch-omap3/omap3.h
>> >> +++ b/arch/arm/include/asm/arch-omap3/omap3.h
>> >> @@ -55,6 +55,7 @@ struct control_prog_io {
>> >>  #define OMAP34XX_UART1                       (OMAP34XX_L4_IO_BASE + 0x6a000)
>> >>  #define OMAP34XX_UART2                       (OMAP34XX_L4_IO_BASE + 0x6c000)
>> >>  #define OMAP34XX_UART3                       (OMAP34XX_L4_PER + 0x20000)
>> >> +#define OMAP34XX_UART4                       (OMAP34XX_L4_PER + 0x42000)
>> >>
>> >>  /* General Purpose Timers */
>> >>  #define OMAP34XX_GPT1                        0x48318000
>> >
>> > What needs this?  Thanks!
>>
>> I have a board the use uart4 as a console. I'm working to have it as an option
>> in omap3 code.
>
> Are you going to post the board?

The product name is Morrison and I'm working on it. We are on pcb
design and I'm working
on the first sample trying to fix some problems. It is based on DM47xx
cpu and I don't know if
I will post the patches soon on it. This patch doesn't introduce any regression
right now

>
> --
> Tom

Michael
Tom Rini Dec. 4, 2013, 10:04 p.m. UTC | #5
On Mon, Nov 18, 2013 at 03:06:21PM +0100, Michael Trimarchi wrote:

> This patch add the OMAP34XX_UART4 memory address
> 
> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>

Applied to u-boot-ti/master, thanks!
diff mbox

Patch

diff --git a/arch/arm/include/asm/arch-omap3/omap3.h b/arch/arm/include/asm/arch-omap3/omap3.h
index 7fb549a..65a5995 100644
--- a/arch/arm/include/asm/arch-omap3/omap3.h
+++ b/arch/arm/include/asm/arch-omap3/omap3.h
@@ -55,6 +55,7 @@  struct control_prog_io {
 #define OMAP34XX_UART1			(OMAP34XX_L4_IO_BASE + 0x6a000)
 #define OMAP34XX_UART2			(OMAP34XX_L4_IO_BASE + 0x6c000)
 #define OMAP34XX_UART3			(OMAP34XX_L4_PER + 0x20000)
+#define OMAP34XX_UART4			(OMAP34XX_L4_PER + 0x42000)
 
 /* General Purpose Timers */
 #define OMAP34XX_GPT1			0x48318000