Manuel Lauss
f59c811f8c
MIPS: Alchemy: one kernel for DB1000/DB1500/DB1100
...
These 3 boards are very similar; with this patch a single kernel image
which runs on all three can be built.
Tested on DB1500 and DB1100.
Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2872/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-12-07 22:02:07 +00:00
Manuel Lauss
64cd04d0cf
MIPS: Alchemy: Basic support for the DB1300 board.
...
Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2867/
Patchwork: https://patchwork.linux-mips.org/patch/2919/
Patchwork: https://patchwork.linux-mips.org/patch/2928/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-12-07 22:02:06 +00:00
Manuel Lauss
435037c630
MIPS: Alchemy: Drop MIRAGE/BOSPORUS board support
...
No test hardware and no (apparent) users. These boards seem very
similar to the DB1500, so if required support can be brought back
again (I have datasheets) but then with dedicated board code, not
tacked on to DB1000 support.
Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com >
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2864/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-12-07 22:02:05 +00:00
Manuel Lauss
3f724080a3
MIPS: Alchemy: remove PB1000 support
...
Noone seems to have test hardware or care anymore. Drop PB1000 support
and along with it the old Alchemy PCMCIA socket driver.
Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com >
To: linux-mips@linux-mips.org
Cc: netdev@vger.kernel.org
Cc: linux-pcmcia@lists.infradead.org
Patchwork: https://patchwork.linux-mips.org/patch/2881/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2011-12-07 22:02:05 +00:00
Manuel Lauss
80130204b4
MIPS: Alchemy: Rewrite UART setup and constants.
...
Detect CPU type at runtime and setup uarts accordingly; also clean up the
uart base address mess in the process as far as possible.
Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com >
To: Linux-MIPS <linux-mips@linux-mips.org >
Cc: Florian Fainelli <florian@openwrt.org >
Cc: Wolfgang Grandegger <wg@grandegger.com >
Patchwork: https://patchwork.linux-mips.org/patch/2352/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org
2011-05-19 09:55:45 +01:00
Yoichi Yuasa
690ca2ce0c
MIPS: Alchemy: Add return value check for strict_strtoul()
...
arch/mips/alchemy/devboards/prom.c: In function 'prom_init':
arch/mips/alchemy/devboards/prom.c:60: error: ignoring return value of
'strict_strtoul', declared with attribute warn_unused_result
Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org >
Cc: linux-mips <linux-mips@linux-mips.org >
Patchwork: https://patchwork.linux-mips.org/patch/1761/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-12-16 18:10:55 +00:00
Manuel Lauss
8402a1588a
MIPS: Alchemy: prom_putchar is board dependent
...
This patch replaces the general alchemy prom_putchar() implementation
in favor of board-specific versions: The UART where the output of
prom_putchar is directed to really depends on the board, the current
implementation hardcodes this on a per-SoC basis which is just wrong.
So a generic uart tx function is provided in the alchemy headers,
and the boards can provide their own prom_putchar with custom
destination uart, and all in-kernel alchemy boards support
early printk.
Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com >
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2010-02-27 12:52:55 +01:00
Manuel Lauss
23ba25d566
MIPS: Alchemy: devboards: consolidate files
...
Share some code and merge small files:
- Extract the prom init code from all devboard files (they only differ in
memory configuration).
- Merge the irq configuration into board setup code.
- Merge smaller files into board setup code.
Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net >
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
delete mode 100644 arch/mips/alchemy/devboards/db1x00/init.c
delete mode 100644 arch/mips/alchemy/devboards/pb1000/init.c
delete mode 100644 arch/mips/alchemy/devboards/pb1000/irqmap.c
delete mode 100644 arch/mips/alchemy/devboards/pb1100/init.c
delete mode 100644 arch/mips/alchemy/devboards/pb1100/irqmap.c
delete mode 100644 arch/mips/alchemy/devboards/pb1200/init.c
delete mode 100644 arch/mips/alchemy/devboards/pb1500/init.c
delete mode 100644 arch/mips/alchemy/devboards/pb1500/irqmap.c
delete mode 100644 arch/mips/alchemy/devboards/pb1550/init.c
delete mode 100644 arch/mips/alchemy/devboards/pb1550/irqmap.c
create mode 100644 arch/mips/alchemy/devboards/prom.c
2009-01-11 09:57:25 +00:00