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>
Showing
- arch/mips/alchemy/common/platform.c 51 additions, 42 deletionsarch/mips/alchemy/common/platform.c
- arch/mips/alchemy/devboards/prom.c 1 addition, 1 deletionarch/mips/alchemy/devboards/prom.c
- arch/mips/alchemy/gpr/board_setup.c 4 additions, 10 deletionsarch/mips/alchemy/gpr/board_setup.c
- arch/mips/alchemy/gpr/init.c 1 addition, 1 deletionarch/mips/alchemy/gpr/init.c
- arch/mips/alchemy/mtx-1/init.c 1 addition, 1 deletionarch/mips/alchemy/mtx-1/init.c
- arch/mips/alchemy/xxs1500/board_setup.c 4 additions, 7 deletionsarch/mips/alchemy/xxs1500/board_setup.c
- arch/mips/alchemy/xxs1500/init.c 1 addition, 1 deletionarch/mips/alchemy/xxs1500/init.c
- arch/mips/boot/compressed/uart-alchemy.c 1 addition, 1 deletionarch/mips/boot/compressed/uart-alchemy.c
- arch/mips/include/asm/mach-au1x00/au1000.h 43 additions, 14 deletionsarch/mips/include/asm/mach-au1x00/au1000.h
Loading
Please register or sign in to comment