From 04b7f6c327cbf5d900883c1e614aecfa77bb40c1 Mon Sep 17 00:00:00 2001 From: James Maki Date: Fri, 17 Sep 2010 11:28:44 -0500 Subject: update linux-2.6.32.3 kernel patches - patch at91_mci to use 4 wire mode for sam9g20 --- recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-mach-at91.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-mach-at91.patch') diff --git a/recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-mach-at91.patch b/recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-mach-at91.patch index 0a6d8077d8..03389ce29b 100644 --- a/recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-mach-at91.patch +++ b/recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-mach-at91.patch @@ -1,6 +1,6 @@ diff -uprN -X linux-2.6.32.3/Documentation/dontdiff linux-2.6.32.3-vanilla/arch/arm/mach-at91/at91sam9260_devices.c linux-2.6.32.3/arch/arm/mach-at91/at91sam9260_devices.c --- linux-2.6.32.3-vanilla/arch/arm/mach-at91/at91sam9260_devices.c 2010-01-06 17:07:45.000000000 -0600 -+++ linux-2.6.32.3/arch/arm/mach-at91/at91sam9260_devices.c 2010-09-09 10:24:26.000000000 -0500 ++++ linux-2.6.32.3/arch/arm/mach-at91/at91sam9260_devices.c 2010-09-17 10:36:01.000000000 -0500 @@ -183,9 +183,9 @@ void __init at91_add_device_eth(struct a at91_set_B_periph(AT91_PIN_PA25, 0); /* ERX2 */ at91_set_B_periph(AT91_PIN_PA26, 0); /* ERX3 */ @@ -33,7 +33,7 @@ diff -uprN -X linux-2.6.32.3/Documentation/dontdiff linux-2.6.32.3-vanilla/arch/ { diff -uprN -X linux-2.6.32.3/Documentation/dontdiff linux-2.6.32.3-vanilla/arch/arm/mach-at91/board-sam9g20ek.c linux-2.6.32.3/arch/arm/mach-at91/board-sam9g20ek.c --- linux-2.6.32.3-vanilla/arch/arm/mach-at91/board-sam9g20ek.c 2010-01-06 17:07:45.000000000 -0600 -+++ linux-2.6.32.3/arch/arm/mach-at91/board-sam9g20ek.c 2010-09-09 10:24:26.000000000 -0500 ++++ linux-2.6.32.3/arch/arm/mach-at91/board-sam9g20ek.c 2010-09-17 10:45:36.000000000 -0500 @@ -27,6 +27,8 @@ #include #include @@ -71,7 +71,7 @@ diff -uprN -X linux-2.6.32.3/Documentation/dontdiff linux-2.6.32.3-vanilla/arch/ + at91_set_gpio_input(AT91_PIN_PA24, 0); + + /* -+ * PA24 and PA23 are used as ID pins on MTCBA and I2C pins on MTCDP. ++ * PA24 and PA23 are used as ID pins on MTCBA/MTCDP-0.0 and I2C pins on MTCDP-1.0. + * + * MTCBA Rev. B: 0x01, C: 0x02, D: 0x03 + * MTCDP Rev. A reads as 0x00 with TWCK and TWD pulled high @@ -82,7 +82,7 @@ diff -uprN -X linux-2.6.32.3/Documentation/dontdiff linux-2.6.32.3-vanilla/arch/ + i2c_present = !tmp; + + /* -+ * The GPS receiver is either at US2 on MTCBA and US3 on MTCDP. ++ * The GPS receiver is either at US2 on MTCBA/MTCDP-0.0 and US3 on MTCDP-1.0. + */ + if (i2c_present) { + at91_register_uart(AT91SAM9260_ID_US3, 3, ATMEL_UART_CTS | ATMEL_UART_RTS); -- cgit v1.2.3