1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

bcm63xx: add support for the HSSPI controller

Add support for the HSSPI controller found on bcm6328 and SPI attached
flash.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31879 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jogo
2012-05-27 13:22:33 +00:00
parent 35f8e31243
commit d1683ec919
33 changed files with 1241 additions and 55 deletions

View File

@@ -8,7 +8,7 @@
#include <linux/spi/spi.h>
#include <linux/spi/spi_gpio.h>
#include <linux/spi/74x164.h>
@@ -53,6 +54,13 @@ static unsigned int mac_addr_used;
@@ -54,6 +55,13 @@ static unsigned int mac_addr_used;
static struct board_info board;
/*
@@ -22,7 +22,7 @@
* known 6338 boards
*/
#ifdef CONFIG_BCM63XX_CPU_6338
@@ -2495,6 +2503,7 @@ void __init board_prom_init(void)
@@ -2496,6 +2504,7 @@ void __init board_prom_init(void)
/* extract nvram data */
memcpy(&nvram, boot_addr + BCM963XX_NVRAM_OFFSET, sizeof(nvram));