b3ae52b6b0
SSB: Change fallback sprom to callback mechanism.
...
Some embedded devices like the Netgear WNDR3300 have two SSB based cards
without an own sprom on the pci bus. We have to provide two different
fallback sproms for these and this was not possible with the old solution.
In the bcm47xx architecture the sprom data is stored in the nvram in the
main flash storage. The architecture code will be able to fill the sprom
with the stored data based on the bus where the device was found.
The bcm63xx code should do the same thing as before, just using the new
API.
Acked-by: Michael Buesch <mb@bu3sch.de >
Cc: netdev@vger.kernel.org
Cc: linux-wireless@vger.kernel.org
Cc: Florian Fainelli <florian@openwrt.org >
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2362/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-05-19 09:55:47 +01:00
e3726304a2
mips: change to new flag variable
...
Replace EXTRA_CFLAGS with ccflags-y.
Signed-off-by: matt mooney <mfm@muteddisk.com >
Acked-by: WANG Cong <xiyou.wangcong@gmail.com >
Signed-off-by: Michal Marek <mmarek@suse.cz >
2011-03-17 14:02:56 +01:00
5e3644a95d
MIPS: BCM63xx: Fix build failure in board_bcm963xx.c
...
Since 2083e8327aeeaf818b0e4522a9d2539835c60423, the SPROM is now registered
in the board_prom_init callback, but it references variables and functions
which are declared below. Move the variables and functions above
board_prom_init.
Signed-off-by: Florian Fainelli <ffainelli@freebox.fr >
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1077/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-04-12 17:26:20 +01:00
e23a90eb73
MIPS: BCM63xx: Register SSB SPROM fallback in board's first stage callback
...
Signed-off-by: Florian Fainelli <ffainelli@freebox.fr >
To: Maxime Bizon <mbizon@freebox.fr >
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1017/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-04-12 17:26:18 +01:00
524ef29cff
MIPS: BCM63xx: Add support for second uart.
...
The BCm63xx SOC has two uarts. Some boards use the second one for
bluetooth. This patch changes platform device registration code to
handle this. Changes to the UART driver were already merged in
6a2c7eabfd
.
Signed-off-by: Maxime Bizon <mbizon@freebox.fr >
To: linux-mips@linux-mips.org
Cc: Maxime Bizon <mbizon@freebox.fr >
Patchwork: http://patchwork.linux-mips.org/patch/900/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-04-12 17:26:18 +01:00
f29b7cac19
MIPS: BCM63xx: Add DWVS0 board
...
The DWVS0 board is a BCM6358-based board with an on-board OHCI controler.
Signed-off-by: Florian Fainelli <florian@openwrt.org >
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1015/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-04-12 17:26:17 +01:00
2e6ad9a958
MIPS: BCM63xx: Add the RTA1025W-16 BCM6348-based board to suppported boards.
...
Signed-off-by: Florian Fainelli <florian@openwrt.org >
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1014/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-04-12 17:26:17 +01:00
e0e53dee69
MIPS: Nuke trailing blank lines
...
Recent git versions now warn about those and they've always been a bit of
an annoyance.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-02-27 12:53:14 +01:00
05c694681e
MIPS: BCM63xx: Fix whitespace damaged board_bcm963xx.c
...
Signed-off-by: Florian Fainelli <ffainelli@freebox.fr >
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-01-12 18:19:30 +01:00
6c1e7a5ad9
MIPS: BCM63xx: Make bcm63xx_uart_register an initfunc
...
This patch removes the calls to bcm63xx_uart_register in board_bcm963xx.c
and make bcm63xx_uart_register an initfunc. Allows us to remove
bcm63xx_dev_uart.h which was there to make checkpatch.pl happy.
Signed-off-by: Florian Fainelli <florian@openwrt.org >
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2009-11-02 12:00:03 +01:00
553d6d5f5b
MIPS: BCM63xx: Add PCMCIA & Cardbus support.
...
Signed-off-by: Maxime Bizon <mbizon@freebox.fr >
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de >
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2009-09-30 21:47:01 +02:00
9fcd66e572
MIPS: BCM63xx: Add serial driver for bcm63xx integrated UART.
...
Signed-off-by: Maxime Bizon <mbizon@freebox.fr >
Acked-by: Greg Kroah-Hartman <gregkh@suse.de >
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2009-09-30 21:46:59 +02:00
6fae5311a9
MIPS: BCM63xx: Remove duplicated #include
...
Remove duplicated #include in arch/mips/bcm63xx/boards/board_bcm963xx.c.
Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com >
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2009-09-30 21:46:58 +02:00
e7300d04bd
MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs.
...
Signed-off-by: Maxime Bizon <mbizon@freebox.fr >
Signed-off-by: Florian Fainelli <florian@openwrt.org >
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2009-09-17 20:07:52 +02:00