diff options
author | Henry von Tresckow <hvontres@gmail.com> | 2010-03-06 16:39:03 -0800 |
---|---|---|
committer | Andrea Adami <andrea.adami@gmail.com> | 2010-05-21 01:53:47 +0200 |
commit | fedcbafe3b269089e33687267aa69e385e76adc7 (patch) | |
tree | 262ab2c76d5c13f872199f87860e261cabf44093 /recipes/linux/linux-rp-2.6.26/poodle_serial_vcc-r1.patch | |
parent | 75bc8e0ea1118b478332e110eb39bd6cf405ee26 (diff) | |
download | openembedded-fedcbafe3b269089e33687267aa69e385e76adc7.tar.gz |
linux-rp: make 2.6.26 compile for poodle
* first try: kernel compiles
* still hangs at: "Uncompressing Linux..... done, booting the kernel."
Signed-off-by: Henry von Tresckow <hvontres@gmail.com>
Acked-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'recipes/linux/linux-rp-2.6.26/poodle_serial_vcc-r1.patch')
-rw-r--r-- | recipes/linux/linux-rp-2.6.26/poodle_serial_vcc-r1.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes/linux/linux-rp-2.6.26/poodle_serial_vcc-r1.patch b/recipes/linux/linux-rp-2.6.26/poodle_serial_vcc-r1.patch new file mode 100644 index 0000000000..853dce8ac2 --- /dev/null +++ b/recipes/linux/linux-rp-2.6.26/poodle_serial_vcc-r1.patch @@ -0,0 +1,30 @@ + +Index: linux-2.6.26/arch/arm/common/locomo.c +=================================================================== +--- linux-2.6.26.orig/arch/arm/common/locomo.c 2008-08-02 20:53:56.000000000 -0700 ++++ linux-2.6.26/arch/arm/common/locomo.c 2008-08-04 16:50:29.000000000 -0700 +@@ -715,7 +715,7 @@ + locomo_writel(0, lchip->base + LOCOMO_KEYBOARD + LOCOMO_KIC); + + /* GPIO */ +- locomo_writel(0, lchip->base + LOCOMO_GPO); ++ locomo_writel(POODLE_LOCOMO_GPIO_232VCC_ON, lchip->base + LOCOMO_GPO); + locomo_writel((LOCOMO_GPIO(1) | LOCOMO_GPIO(2) | LOCOMO_GPIO(13) | LOCOMO_GPIO(14)) + , lchip->base + LOCOMO_GPE); + locomo_writel((LOCOMO_GPIO(1) | LOCOMO_GPIO(2) | LOCOMO_GPIO(13) | LOCOMO_GPIO(14)) +Index: linux-2.6.26/drivers/serial/pxa.c +=================================================================== +--- linux-2.6.26.orig/drivers/serial/pxa.c 2008-08-04 16:46:37.000000000 -0700 ++++ linux-2.6.26/drivers/serial/pxa.c 2008-08-04 16:48:18.000000000 -0700 +@@ -296,9 +296,9 @@ + unsigned char mcr = 0; + + if (mctrl & TIOCM_RTS) +- mcr |= UART_MCR_RTS; ++ mcr &= ~UART_MCR_RTS; + if (mctrl & TIOCM_DTR) +- mcr |= UART_MCR_DTR; ++ mcr &= ~UART_MCR_DTR; + if (mctrl & TIOCM_OUT1) + mcr |= UART_MCR_OUT1; + if (mctrl & TIOCM_OUT2) |