aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/at91/patches
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-04-26 16:55:40 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-04-26 16:55:40 +0000
commit2105af06d446c913b2af82ce9c07e2df78952f7a (patch)
treece5f52cf76d23ea9617d1b0630fcb709864ddbc9 /target/linux/at91/patches
parentfd01a68863b8207e60b15d1ed33bdf76bfe5c867 (diff)
downloadupstream-2105af06d446c913b2af82ce9c07e2df78952f7a.tar.gz
upstream-2105af06d446c913b2af82ce9c07e2df78952f7a.tar.bz2
upstream-2105af06d446c913b2af82ce9c07e2df78952f7a.zip
at91: upgrade to kernel 3.8.7 and use devicetree
This upgrades the AT91 target to 3.8.7, and migrates to device tree. This allows a single kernel to be built for most at91 variants which simplifies things quite a bit. The immediate result is that all subtargets are nuked, and any boards without dts files are no longer supported, though the target now includes more boards than before. The adc driver was also nuked as 3.8.7 includes a new one under the IIO subsystem. Signed-off-by: Adam Porter <porter.adam@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36452 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/at91/patches')
-rw-r--r--target/linux/at91/patches/900-AT91-Add-external-RTC-for-Flexibity-board.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/target/linux/at91/patches/900-AT91-Add-external-RTC-for-Flexibity-board.patch b/target/linux/at91/patches/900-AT91-Add-external-RTC-for-Flexibity-board.patch
deleted file mode 100644
index 2b67be1e4e..0000000000
--- a/target/linux/at91/patches/900-AT91-Add-external-RTC-for-Flexibity-board.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- a/arch/arm/mach-at91/board-flexibity.c
-+++ b/arch/arm/mach-at91/board-flexibity.c
-@@ -1,7 +1,7 @@
- /*
- * linux/arch/arm/mach-at91/board-flexibity.c
- *
-- * Copyright (C) 2010 Flexibity
-+ * Copyright (C) 2010-2011 Flexibity
- * Copyright (C) 2005 SAN People
- * Copyright (C) 2006 Atmel
- *
-@@ -62,6 +62,13 @@ static struct at91_udc_data __initdata f
- .pullup_pin = -EINVAL, /* pull-up driven by UDC */
- };
-
-+/* I2C devices */
-+static struct i2c_board_info __initdata flexibity_i2c_devices[] = {
-+ {
-+ I2C_BOARD_INFO("ds1307", 0x68),
-+ },
-+};
-+
- /* SPI devices */
- static struct spi_board_info flexibity_spi_devices[] = {
- { /* DataFlash chip */
-@@ -141,6 +148,9 @@ static void __init flexibity_board_init(
- at91_add_device_usbh(&flexibity_usbh_data);
- /* USB Device */
- at91_add_device_udc(&flexibity_udc_data);
-+ /* I2C */
-+ at91_add_device_i2c(flexibity_i2c_devices,
-+ ARRAY_SIZE(flexibity_i2c_devices));
- /* SPI */
- at91_add_device_spi(flexibity_spi_devices,
- ARRAY_SIZE(flexibity_spi_devices));