diff options
author | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-11-30 18:12:21 +0000 |
---|---|---|
committer | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-11-30 18:12:21 +0000 |
commit | ff53a4a17c5acfa705b127ac02e2a4d70e3ff6fe (patch) | |
tree | 563182b88f9ca8f00b1ee32673fd1a94044e650f /target/linux/ixp4xx/patches-2.6.27/191-cambria_optional_uart.patch | |
parent | 3bedd206ff99279034442b09b5d1fb00f1cc6cb0 (diff) |
migrate gateworks board support to the new at24 eeprom driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13450 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.27/191-cambria_optional_uart.patch')
-rw-r--r-- | target/linux/ixp4xx/patches-2.6.27/191-cambria_optional_uart.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.27/191-cambria_optional_uart.patch b/target/linux/ixp4xx/patches-2.6.27/191-cambria_optional_uart.patch index 5305417ab9..946d685a19 100644 --- a/target/linux/ixp4xx/patches-2.6.27/191-cambria_optional_uart.patch +++ b/target/linux/ixp4xx/patches-2.6.27/191-cambria_optional_uart.patch @@ -1,14 +1,14 @@ --- a/arch/arm/mach-ixp4xx/cambria-setup.c +++ b/arch/arm/mach-ixp4xx/cambria-setup.c -@@ -36,6 +36,7 @@ - #include <asm/mach-types.h> +@@ -34,6 +34,7 @@ #include <asm/mach/arch.h> #include <asm/mach/flash.h> + #include <asm/setup.h> +#include <linux/irq.h> struct cambria_board_info { unsigned char *model; -@@ -105,6 +106,43 @@ static struct platform_device cambria_ua +@@ -127,6 +128,43 @@ static struct platform_device cambria_ua .resource = &cambria_uart_resource, }; @@ -52,8 +52,8 @@ static struct resource cambria_pata_resources[] = { { .flags = IORESOURCE_MEM -@@ -287,6 +325,19 @@ static void __init cambria_gw23xx_setup( - #ifdef CONFIG_SENSORS_EEPROM +@@ -283,6 +321,19 @@ static void __init cambria_gw23xx_setup( + static void __init cambria_gw2350_setup(void) { + *IXP4XX_EXP_CS2 = 0xbfff0003; @@ -72,7 +72,7 @@ platform_device_register(&cambria_npec_device); platform_device_register(&cambria_npea_device); -@@ -294,10 +345,26 @@ static void __init cambria_gw2350_setup( +@@ -290,10 +341,26 @@ static void __init cambria_gw2350_setup( platform_device_register(&cambria_usb1_device); platform_device_register(&cambria_gpio_leds_device); |