diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-08-30 12:17:52 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-08-30 12:17:52 +0000 |
commit | 5ebd02e8d51163229658dabba7507b3abc67b215 (patch) | |
tree | e405e727c055bc43275c58a5519c28b736ff6a0c /target/linux/brcm63xx/patches-4.1/413-BCM63XX-allow-providing-fixup-data-in-board-data.patch | |
parent | 78f253f9b10fe2cea7e8a6b8e792523ba05bad77 (diff) | |
download | upstream-5ebd02e8d51163229658dabba7507b3abc67b215.tar.gz upstream-5ebd02e8d51163229658dabba7507b3abc67b215.tar.bz2 upstream-5ebd02e8d51163229658dabba7507b3abc67b215.zip |
brcm63xx: remove legacy led/button related patches
We register all gpio buttons and leds through DT, so no need to keep
fixes/additions for the platform data based bay.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46753
Diffstat (limited to 'target/linux/brcm63xx/patches-4.1/413-BCM63XX-allow-providing-fixup-data-in-board-data.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-4.1/413-BCM63XX-allow-providing-fixup-data-in-board-data.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/target/linux/brcm63xx/patches-4.1/413-BCM63XX-allow-providing-fixup-data-in-board-data.patch b/target/linux/brcm63xx/patches-4.1/413-BCM63XX-allow-providing-fixup-data-in-board-data.patch index 09600057c5..5f830dda7b 100644 --- a/target/linux/brcm63xx/patches-4.1/413-BCM63XX-allow-providing-fixup-data-in-board-data.patch +++ b/target/linux/brcm63xx/patches-4.1/413-BCM63XX-allow-providing-fixup-data-in-board-data.patch @@ -10,7 +10,7 @@ Subject: [PATCH 58/72] BCM63XX: allow providing fixup data in board data --- a/arch/mips/bcm63xx/boards/board_common.c +++ b/arch/mips/bcm63xx/boards/board_common.c -@@ -36,6 +36,7 @@ +@@ -35,6 +35,7 @@ #include <bcm63xx_dev_usb_ohci.h> #include <bcm63xx_dev_usb_usbd.h> #include <board_bcm963xx.h> @@ -18,16 +18,16 @@ Subject: [PATCH 58/72] BCM63XX: allow providing fixup data in board data #include "board_common.h" -@@ -196,6 +197,7 @@ int __init board_register_devices(void) - int button_count = 0; - int led_count = 0; +@@ -181,6 +182,7 @@ static struct of_device_id of_ids[] = { + int __init board_register_devices(void) + { int usbh_ports = 0; + int i; #if CONFIG_OF if (of_have_populated_dt()) { -@@ -296,6 +298,10 @@ int __init board_register_devices(void) - platform_device_register(&bcm63xx_gpio_keys_device); +@@ -264,6 +266,10 @@ int __init board_register_devices(void) + board.ephy_reset_gpio_flags); } + /* register any fixups */ @@ -39,7 +39,7 @@ Subject: [PATCH 58/72] BCM63XX: allow providing fixup data in board data --- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h +++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h -@@ -10,6 +10,7 @@ +@@ -9,6 +9,7 @@ #include <bcm63xx_dev_usb_usbd.h> #include <bcm63xx_dev_dsp.h> #include <bcm63xx_fallback_sprom.h> @@ -47,7 +47,7 @@ Subject: [PATCH 58/72] BCM63XX: allow providing fixup data in board data /* * flash mapping -@@ -17,6 +18,11 @@ +@@ -16,6 +17,11 @@ #define BCM963XX_CFE_VERSION_OFFSET 0x570 #define BCM963XX_NVRAM_OFFSET 0x580 @@ -59,7 +59,7 @@ Subject: [PATCH 58/72] BCM63XX: allow providing fixup data in board data /* * board definition */ -@@ -37,6 +43,10 @@ struct board_info { +@@ -36,6 +42,10 @@ struct board_info { unsigned int has_uart0:1; unsigned int has_uart1:1; unsigned int use_fallback_sprom:1; |