diff options
author | Jonas Gorski <jogo@openwrt.org> | 2014-06-21 19:23:38 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2014-06-21 19:23:38 +0000 |
commit | 43cc8c3ebec4658963d44a6108f8f74e8ccdbb54 (patch) | |
tree | 5e1eda807e353fc17f5fa4da15611b58d7524833 /target/linux/brcm63xx/patches-3.14/534-board_hw556.patch | |
parent | 21d65bb185225a3a5369756fc44acbbbfbc2f651 (diff) | |
download | upstream-43cc8c3ebec4658963d44a6108f8f74e8ccdbb54.tar.gz upstream-43cc8c3ebec4658963d44a6108f8f74e8ccdbb54.tar.bz2 upstream-43cc8c3ebec4658963d44a6108f8f74e8ccdbb54.zip |
brcm63xx: allow bcm963xx and livebox support at the same time
Use the CFE_EPTSEAL to tell them apart at runtime. Added for now only
for the 3.14 until properly tested.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41296
Diffstat (limited to 'target/linux/brcm63xx/patches-3.14/534-board_hw556.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.14/534-board_hw556.patch | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/patches-3.14/534-board_hw556.patch b/target/linux/brcm63xx/patches-3.14/534-board_hw556.patch index 2026aec27f..04c6b2b93d 100644 --- a/target/linux/brcm63xx/patches-3.14/534-board_hw556.patch +++ b/target/linux/brcm63xx/patches-3.14/534-board_hw556.patch @@ -1,6 +1,14 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -2911,6 +2911,492 @@ static struct board_info __initdata boar +@@ -12,6 +12,7 @@ + #include <linux/string.h> + #include <linux/gpio_keys.h> + #include <linux/input.h> ++#include <linux/pci_ids.h> + #include <linux/platform_device.h> + #include <linux/spi/spi.h> + #include <linux/spi/spi_gpio.h> +@@ -2897,6 +2898,492 @@ static struct board_info __initdata boar }, }; @@ -493,7 +501,7 @@ /* T-Home Speedport W 303V Typ B */ static struct board_info __initdata board_spw303v = { .name = "96358-502V", -@@ -3350,6 +3836,10 @@ static const struct board_info __initcon +@@ -3336,6 +3823,10 @@ static const struct board_info __initcon &board_nb4_fxc_r2, &board_ct6373_1, &board_HW553, @@ -504,7 +512,7 @@ &board_spw303v, &board_DVAG3810BN, #endif -@@ -3415,13 +3905,37 @@ static void __init boardid_fixup(u8 *boo +@@ -3355,13 +3846,37 @@ static void __init boardid_fixup(u8 *boo struct bcm_tag *tag = (struct bcm_tag *)(boot_addr + CFE_OFFSET_64K); char *board_name = (char *)bcm63xx_nvram_get_name(); |