diff options
author | Michael Lauer <mickey@vanille-media.de> | 2006-05-20 18:31:50 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-05-20 18:31:50 +0000 |
commit | 61a3368e962e14767ccbd4f24456b362bedbfdd2 (patch) | |
tree | 365738e7b61ac4c5ed95e64876acc334490c54f7 /packages/linux/linux-ezx/exz-platformdevices.patch | |
parent | f89ded6650e53252ce92bb12072a47f63badc918 (diff) | |
parent | 5dc648ea9c4ff5e7976f17459dc2fb685fcebc26 (diff) |
merge of 17b5ed09da5a4cdb493874b746d2586d5ba53c86
and 8d5e1a3025b2da6e7d30136891450c13c77eacfe
Diffstat (limited to 'packages/linux/linux-ezx/exz-platformdevices.patch')
-rw-r--r-- | packages/linux/linux-ezx/exz-platformdevices.patch | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/packages/linux/linux-ezx/exz-platformdevices.patch b/packages/linux/linux-ezx/exz-platformdevices.patch deleted file mode 100644 index 8466ef9eca..0000000000 --- a/packages/linux/linux-ezx/exz-platformdevices.patch +++ /dev/null @@ -1,63 +0,0 @@ -Index: linux-2.6.16.5-a/arch/arm/mach-pxa/ezx.c -=================================================================== ---- linux-2.6.16.5-a.orig/arch/arm/mach-pxa/ezx.c 2006-05-04 15:38:52.000000000 +0200 -+++ linux-2.6.16.5-a/arch/arm/mach-pxa/ezx.c 2006-05-04 15:40:59.000000000 +0200 -@@ -257,13 +257,41 @@ - }; - - --/* backlight */ -+/* backlight for lcd */ -+ -+static struct resource ezx_backlight_resources[] = { -+}; -+ -+static struct platform_device ezx_backlight_device = { -+ .name = "ezx-lcd-backlight", -+ .id = -1, -+ .resource = &ezx_backlight_resources, -+ .num_resources = ARRAY_SIZE(ezx_backlight_resources), -+}; -+ - /* keyboard */ -+ -+static struct resource ezx_kbd_resources[] = { -+ { -+ .start = IRQ_KEYPAD, -+ .end = IRQ_KEYPAD, -+ .flags = IORESOURCE_IRQ, -+ }, -+}; -+ -+static struct platform_device ezx_kbd_device = { -+ .name = "ezx-keyboard", -+ .id = -1, -+ .resource = &ezx_kbd_resources, -+ .num_resources = ARRAY_SIZE(ezx_kbd_resources), -+}; -+ - /* touch screen */ - -+ - /* SSP device */ - --struct platform_device ezx_ssp_pcap_device = { -+static struct platform_device ezx_ssp_pcap_device = { - .name = "ezx-ssp-pcap", - .dev = { - //.parent = , -@@ -549,8 +577,12 @@ - - ssp_pcap_init(); - -- /* try to configure USB connector as FFUART */ -- emu_switch_to(EMU_SWITCH_TO_UART); -+ emu_switch_to(EMU_SWITCH_TO_USB); -+ -+ /* enable this line when you want to run FFUART on the USB plug */ -+ //emu_switch_to(EMU_SWITCH_TO_UART); -+ /* enable this line when you want to output power on the USB plug */ -+ //SSP_PCAP_bit_set(SSP_PCAP_ADJ_BIT_BUSCTRL_VUSB_MSTR_EN); - - platform_add_devices(devices, ARRAY_SIZE(devices)); - } |