diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/linux/linux-2.6.24/ts72xx/ep93xx-serial-clocks.diff | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) | |
download | openembedded-709c4d66e0b107ca606941b988bad717c0b45d9b.tar.gz |
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-2.6.24/ts72xx/ep93xx-serial-clocks.diff')
-rw-r--r-- | packages/linux/linux-2.6.24/ts72xx/ep93xx-serial-clocks.diff | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/packages/linux/linux-2.6.24/ts72xx/ep93xx-serial-clocks.diff b/packages/linux/linux-2.6.24/ts72xx/ep93xx-serial-clocks.diff deleted file mode 100644 index 9eb2d9de98..0000000000 --- a/packages/linux/linux-2.6.24/ts72xx/ep93xx-serial-clocks.diff +++ /dev/null @@ -1,42 +0,0 @@ - -Hackishly enable all UART clocks before uncompressing the kernel, -so that using ttyAM1 or ttyAM2 as console can work. - -Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> - -Index: linux-2.6.22/include/asm-arm/arch-ep93xx/uncompress.h -=================================================================== ---- linux-2.6.22.orig/include/asm-arm/arch-ep93xx/uncompress.h -+++ linux-2.6.22/include/asm-arm/arch-ep93xx/uncompress.h -@@ -78,6 +78,23 @@ static void ethernet_reset(void) - - - /* -+ * We don't have clock management for the UARTs (amba-pl010) -+ * yet, so hackily enable all UART clocks here for now. -+ */ -+#define PHYS_SYSCON_DEVICE_CONFIG 0x80930080 -+#define PHYS_SYSCON_SWLOCK 0x809300c0 -+ -+static void enable_all_uart_clocks(void) -+{ -+ unsigned int v; -+ -+ v = __raw_readl(PHYS_SYSCON_DEVICE_CONFIG); -+ __raw_writel(0xaa, PHYS_SYSCON_SWLOCK); -+ __raw_writel(v | 0x01140000, PHYS_SYSCON_DEVICE_CONFIG); -+} -+ -+ -+/* - * Some bootloaders don't turn on the UARTBAUD bit, which means that - * the UARTs will be running off a divided 7.3728 MHz clock instead of - * the 14.7456 MHz peripheral clock when linux boots. -@@ -126,6 +143,7 @@ static void fix_uart_base(void) - static void arch_decomp_setup(void) - { - ethernet_reset(); -+ enable_all_uart_clocks(); - fix_uart_base(); - } - |