summaryrefslogtreecommitdiff
path: root/packages/linux/linux-rp-2.6.24/tosa/0057-Clean-up-tosa-resetting.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/linux/linux-rp-2.6.24/tosa/0057-Clean-up-tosa-resetting.patch
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/linux/linux-rp-2.6.24/tosa/0057-Clean-up-tosa-resetting.patch')
-rw-r--r--packages/linux/linux-rp-2.6.24/tosa/0057-Clean-up-tosa-resetting.patch70
1 files changed, 0 insertions, 70 deletions
diff --git a/packages/linux/linux-rp-2.6.24/tosa/0057-Clean-up-tosa-resetting.patch b/packages/linux/linux-rp-2.6.24/tosa/0057-Clean-up-tosa-resetting.patch
deleted file mode 100644
index 441e1bba75..0000000000
--- a/packages/linux/linux-rp-2.6.24/tosa/0057-Clean-up-tosa-resetting.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-From a6f03929fa4d20cef339dbed7ef5cd1e040d0548 Mon Sep 17 00:00:00 2001
-From: Dmitry Baryshkov <dbaryshkov@gmail.com>
-Date: Sun, 20 Jan 2008 02:48:07 +0300
-Subject: [PATCH 57/64] Clean up tosa resetting
-
-Use new gpio-assertion reset.
-
-Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
----
- arch/arm/mach-pxa/tosa.c | 16 +++++++---------
- 1 files changed, 7 insertions(+), 9 deletions(-)
-
-diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c
-index d1cf3dc..2b4aef7 100644
---- a/arch/arm/mach-pxa/tosa.c
-+++ b/arch/arm/mach-pxa/tosa.c
-@@ -41,6 +41,8 @@
- #include <asm/arch/irda.h>
- #include <asm/arch/mmc.h>
- #include <asm/arch/udc.h>
-+#include <asm/arch/pm.h>
-+#include <asm/arch/system.h>
-
- #include <asm/mach/arch.h>
- #include <asm/mach/map.h>
-@@ -489,13 +491,7 @@ static struct platform_device *devices[] __initdata = {
-
- static void tosa_poweroff(void)
- {
-- RCSR = RCSR_HWR | RCSR_WDR | RCSR_SMR | RCSR_GPR;
--
-- pxa_gpio_mode(TOSA_GPIO_ON_RESET | GPIO_OUT);
-- GPSR(TOSA_GPIO_ON_RESET) = GPIO_bit(TOSA_GPIO_ON_RESET);
--
-- mdelay(1000);
-- arm_machine_restart('h');
-+ arm_machine_restart('g');
- }
-
- static void tosa_restart(char mode)
-@@ -504,7 +500,7 @@ static void tosa_restart(char mode)
- if((MSC0 & 0xffff0000) == 0x7ff00000)
- MSC0 = (MSC0 & 0xffff) | 0x7ee00000;
-
-- tosa_poweroff();
-+ arm_machine_restart('g');
- }
-
- static void __init tosa_init(void)
-@@ -512,7 +508,6 @@ static void __init tosa_init(void)
- pm_power_off = tosa_poweroff;
- arm_pm_restart = tosa_restart;
-
-- pxa_gpio_mode(TOSA_GPIO_ON_RESET | GPIO_IN);
- pxa_gpio_mode(TOSA_GPIO_TC6393XB_INT | GPIO_IN);
- pxa_gpio_mode(TOSA_GPIO_USB_IN | GPIO_IN);
-
-@@ -544,6 +539,9 @@ static void __init fixup_tosa(struct machine_desc *desc,
- mi->bank[0].start = 0xa0000000;
- mi->bank[0].node = 0;
- mi->bank[0].size = (64*1024*1024);
-+
-+ if (reset_gpio == -1)
-+ reset_gpio = TOSA_GPIO_ON_RESET;
- }
-
- MACHINE_START(TOSA, "SHARP Tosa")
---
-1.5.3.8
-