Patchwork Fix recent pxa270 serial breakage

login
register
mail settings
Submitter Lars Munch
Date March 23, 2010, 4:27 p.m.
Message ID <20100323162701.GA5925@firewall>
Download mbox | patch
Permalink /patch/48354/
State New
Headers show

Comments

Lars Munch - March 23, 2010, 4:27 p.m.
This fixes a copy/paste bug introduced in commit
2d48377a8531de63ec1d0c4b9b1959dc4b78356c that pushed TARGET_WORDS_BIGENDIAN
dependency to board level.

Signed-off-by: Lars Munch <lars@segv.dk>
---
 hw/pxa2xx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Blue Swirl - March 23, 2010, 7:29 p.m.
Thanks, applied. I've checked that the other parts of the commit don't
have the same problem. Sorry for the trouble.

On 3/23/10, Lars Munch <lars@segv.dk> wrote:
>
>  This fixes a copy/paste bug introduced in commit
>  2d48377a8531de63ec1d0c4b9b1959dc4b78356c that pushed TARGET_WORDS_BIGENDIAN
>  dependency to board level.
>
>  Signed-off-by: Lars Munch <lars@segv.dk>
>  ---
>   hw/pxa2xx.c |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
>  diff --git a/hw/pxa2xx.c b/hw/pxa2xx.c
>  index 4fafba2..4f9b95b 100644
>  --- a/hw/pxa2xx.c
>  +++ b/hw/pxa2xx.c
>  @@ -2084,7 +2084,7 @@ PXA2xxState *pxa270_init(unsigned int sdram_size, const char *revision)
>   #else
>              serial_mm_init(pxa270_serial[i].io_base, 2,
>                             s->pic[pxa270_serial[i].irqn], 14857000/16,
>  -                           serial_hds[i], 1, 1);
>  +                           serial_hds[i], 1, 0);
>   #endif
>          else
>              break;
>
> --
>  1.7.0.2
>
>

Patch

diff --git a/hw/pxa2xx.c b/hw/pxa2xx.c
index 4fafba2..4f9b95b 100644
--- a/hw/pxa2xx.c
+++ b/hw/pxa2xx.c
@@ -2084,7 +2084,7 @@  PXA2xxState *pxa270_init(unsigned int sdram_size, const char *revision)
 #else
             serial_mm_init(pxa270_serial[i].io_base, 2,
                            s->pic[pxa270_serial[i].irqn], 14857000/16,
-                           serial_hds[i], 1, 1);
+                           serial_hds[i], 1, 0);
 #endif
         else
             break;