Skip to contentSkip to conversation

Fix recent pxa270 serial breakage

PATCH Applied Lars Munch 2 participants 2 messages Mar 23, 2010

lore
Share & tools
lore

Lars Munch

author
#0 lore raw

PATCH 1/1 Fix recent pxa270 serial breakage

This fixes a copy/paste bug introduced in commit 2d48377a8531de63ec1d0c4b9b1959dc4b78356c that pushed TARGET_WORDS_BIGENDIAN dependency to board level.

---
 hw/pxa2xx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
hw/pxa2xx.c +1 -1
index 4fafba2..4f9b95b 100644
@@ -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;
Signature · 1 line
1.7.0.2
Applied
#1 lore raw

Thanks, applied. I've checked that the other parts of the commit don't have the same problem. Sorry for the trouble.

Quoted 28 lines · Lars Munch

This fixes a copy/paste bug introduced in commit 2d48377a8531de63ec1d0c4b9b1959dc4b78356c that pushed TARGET_WORDS_BIGENDIAN dependency to board level.

---

  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