diff options
author | Jonas Gorski <jogo@openwrt.org> | 2014-07-08 12:27:55 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2014-07-08 12:27:55 +0000 |
commit | 5787156b55216dd241ead36f56f058ff77d92110 (patch) | |
tree | e88a8d6d871fd14530988418998e002f152bc427 /target/linux/brcm63xx/patches-3.14/501-board-NB4.patch | |
parent | bbf839a3e399e36a66ffab7a65797ba254b4ec1d (diff) | |
download | upstream-5787156b55216dd241ead36f56f058ff77d92110.tar.gz upstream-5787156b55216dd241ead36f56f058ff77d92110.tar.bz2 upstream-5787156b55216dd241ead36f56f058ff77d92110.zip |
brcm63xx: fixup patches borked by allowing too much fuzz
Move defines and board_info structs back to their proper locations so
(de-)selecting SOC support won't break the build.
Reported-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41550 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-3.14/501-board-NB4.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.14/501-board-NB4.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/brcm63xx/patches-3.14/501-board-NB4.patch b/target/linux/brcm63xx/patches-3.14/501-board-NB4.patch index ca32c79c9f..10baa3fb3a 100644 --- a/target/linux/brcm63xx/patches-3.14/501-board-NB4.patch +++ b/target/linux/brcm63xx/patches-3.14/501-board-NB4.patch @@ -13,7 +13,7 @@ #include <asm/addrspace.h> #include <bcm63xx_board.h> #include <bcm63xx_cpu.h> -@@ -343,6 +349,12 @@ static struct board_info __initdata boar +@@ -35,6 +41,12 @@ #define CFE_OFFSET_64K 0x10000 #define CFE_OFFSET_128K 0x20000 @@ -23,9 +23,9 @@ +#define NB4_SPI_GPIO_CLK 6 +#define NB4_74HC64_GPIO(X) (NB4_74X164_GPIO_BASE + (X)) + - - .has_ohci0 = 1, - .has_pccard = 1, + /* + * known 3368 boards + */ @@ -739,6 +751,605 @@ static struct board_info __initdata boar .has_ohci0 = 1, |