mirror of https://github.com/hak5/openwrt.git
refresh patches
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com> SVN-Revision: 23502lede-17.01
parent
9f4c51acb7
commit
265bf2ccb0
|
@ -936,7 +936,7 @@
|
||||||
obj-y += boards/
|
obj-y += boards/
|
||||||
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
||||||
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
||||||
@@ -31,6 +31,7 @@
|
@@ -33,6 +33,7 @@
|
||||||
#include <bcm63xx_dev_usb_ohci.h>
|
#include <bcm63xx_dev_usb_ohci.h>
|
||||||
#include <bcm63xx_dev_usb_ehci.h>
|
#include <bcm63xx_dev_usb_ehci.h>
|
||||||
#include <bcm63xx_dev_usb_udc.h>
|
#include <bcm63xx_dev_usb_udc.h>
|
||||||
|
@ -944,9 +944,9 @@
|
||||||
#include <board_bcm963xx.h>
|
#include <board_bcm963xx.h>
|
||||||
|
|
||||||
#define PFX "board_bcm963xx: "
|
#define PFX "board_bcm963xx: "
|
||||||
@@ -1557,6 +1558,9 @@ int __init board_register_devices(void)
|
@@ -1596,6 +1597,9 @@ int __init board_register_devices(void)
|
||||||
if (board.has_udc0)
|
if (board.num_spis)
|
||||||
bcm63xx_udc_register();
|
spi_register_board_info(board.spis, board.num_spis);
|
||||||
|
|
||||||
+ if (!BCMCPU_IS_6345())
|
+ if (!BCMCPU_IS_6345())
|
||||||
+ bcm63xx_spi_register();
|
+ bcm63xx_spi_register();
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
||||||
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
||||||
@@ -1453,6 +1453,8 @@ void __init board_prom_init(void)
|
@@ -1486,6 +1486,8 @@ void __init board_prom_init(void)
|
||||||
if (BCMCPU_IS_6348())
|
if (BCMCPU_IS_6348())
|
||||||
val |= GPIO_MODE_6348_G3_EXT_MII |
|
val |= GPIO_MODE_6348_G3_EXT_MII |
|
||||||
GPIO_MODE_6348_G0_EXT_MII;
|
GPIO_MODE_6348_G0_EXT_MII;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
||||||
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
||||||
@@ -53,6 +53,13 @@ static unsigned int mac_addr_used;
|
@@ -49,6 +49,13 @@ static unsigned int mac_addr_used;
|
||||||
static struct board_info board;
|
static struct board_info board;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
* known 6338 boards
|
* known 6338 boards
|
||||||
*/
|
*/
|
||||||
#ifdef CONFIG_BCM63XX_CPU_6338
|
#ifdef CONFIG_BCM63XX_CPU_6338
|
||||||
@@ -1403,6 +1410,7 @@ void __init board_prom_init(void)
|
@@ -1420,6 +1427,7 @@ void __init board_prom_init(void)
|
||||||
|
|
||||||
/* extract nvram data */
|
/* extract nvram data */
|
||||||
memcpy(&nvram, boot_addr + BCM963XX_NVRAM_OFFSET, sizeof(nvram));
|
memcpy(&nvram, boot_addr + BCM963XX_NVRAM_OFFSET, sizeof(nvram));
|
||||||
|
|
Loading…
Reference in New Issue