diff options
author | John Crispin <john@openwrt.org> | 2015-02-11 13:05:23 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-02-11 13:05:23 +0000 |
commit | 146c9aff275c5f075a29641e2d6d38153e96696e (patch) | |
tree | aef492e429f921b5bda14c9b19663ba877ee0c64 /target/linux/brcm2708/patches-3.14/0037-BCM2708-Add-I2S-support-to-board-file.patch | |
parent | 0f4431758b8b4ab008d12988f8215377b6ff3cc0 (diff) | |
download | upstream-146c9aff275c5f075a29641e2d6d38153e96696e.tar.gz upstream-146c9aff275c5f075a29641e2d6d38153e96696e.tar.bz2 upstream-146c9aff275c5f075a29641e2d6d38153e96696e.zip |
brcm2708: remove 3.14 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 44402
Diffstat (limited to 'target/linux/brcm2708/patches-3.14/0037-BCM2708-Add-I2S-support-to-board-file.patch')
-rw-r--r-- | target/linux/brcm2708/patches-3.14/0037-BCM2708-Add-I2S-support-to-board-file.patch | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/target/linux/brcm2708/patches-3.14/0037-BCM2708-Add-I2S-support-to-board-file.patch b/target/linux/brcm2708/patches-3.14/0037-BCM2708-Add-I2S-support-to-board-file.patch deleted file mode 100644 index b6658a66df..0000000000 --- a/target/linux/brcm2708/patches-3.14/0037-BCM2708-Add-I2S-support-to-board-file.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 575806f9f3c40e16ac377c9d7d076fb87773968a Mon Sep 17 00:00:00 2001 -From: Florian Meier <florian.meier@koalo.de> -Date: Fri, 22 Nov 2013 19:04:54 +0100 -Subject: [PATCH 37/54] BCM2708: Add I2S support to board file - -Adds the required initializations for I2S -to the board file of mach-bcm2708. - -Signed-off-by: Florian Meier <florian.meier@koalo.de> ---- - arch/arm/mach-bcm2708/bcm2708.c | 26 ++++++++++++++++++++++++++ - 1 file changed, 26 insertions(+) - ---- a/arch/arm/mach-bcm2708/bcm2708.c -+++ b/arch/arm/mach-bcm2708/bcm2708.c -@@ -615,6 +615,28 @@ static struct platform_device bcm2835_th - .name = "bcm2835_thermal", - }; - -+#ifdef CONFIG_SND_BCM2708_SOC_I2S_MODULE -+static struct resource bcm2708_i2s_resources[] = { -+ { -+ .start = I2S_BASE, -+ .end = I2S_BASE + 0x20, -+ .flags = IORESOURCE_MEM, -+ }, -+ { -+ .start = PCM_CLOCK_BASE, -+ .end = PCM_CLOCK_BASE + 0x02, -+ .flags = IORESOURCE_MEM, -+ } -+}; -+ -+static struct platform_device bcm2708_i2s_device = { -+ .name = "bcm2708-i2s", -+ .id = 0, -+ .num_resources = ARRAY_SIZE(bcm2708_i2s_resources), -+ .resource = bcm2708_i2s_resources, -+}; -+#endif -+ - int __init bcm_register_device(struct platform_device *pdev) - { - int ret; -@@ -738,6 +760,10 @@ void __init bcm2708_init(void) - bcm_register_device(&bcm2835_hwmon_device); - bcm_register_device(&bcm2835_thermal_device); - -+#ifdef CONFIG_SND_BCM2708_SOC_I2S_MODULE -+ bcm_register_device(&bcm2708_i2s_device); -+#endif -+ - for (i = 0; i < ARRAY_SIZE(amba_devs); i++) { - struct amba_device *d = amba_devs[i]; - amba_device_register(d, &iomem_resource); |