MIPS: Loongson: Split the implementation of prom and setup parts
authorWu Zhangjin <wuzj@lemote.com>
Thu, 2 Jul 2009 15:22:36 +0000 (23:22 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 17 Sep 2009 18:07:46 +0000 (20:07 +0200)
commitbd92aa013e8fcd17328ec8e060477761cf3380d9
tree0435f611a87d8be266c44629c80a2fd7459ef026
parentf54a40ee6b3cb4da638d7705e433bc80aa4f49f6
MIPS: Loongson: Split the implementation of prom and setup parts

This patch split the old initilization and setup implementation to
several file, one file one logic function.

the other main changes include:

1. as the script/checkpatch.pl suggests, use strict_strtol instead
of simple_strtol in arch/mips/lemote/lm2e/cmdline.c

2. use the existed macros in asm/mips-boards/bonito64.h as the
arguments of set_io_port_base() and remove the un-needed ones in
asm/mach-lemote/pci.h

Signed-off-by: Wu Zhangjin <wuzj@lemote.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-lemote/pci.h
arch/mips/lemote/lm2e/Makefile
arch/mips/lemote/lm2e/cmdline.c [new file with mode: 0644]
arch/mips/lemote/lm2e/env.c [new file with mode: 0644]
arch/mips/lemote/lm2e/init.c [new file with mode: 0644]
arch/mips/lemote/lm2e/machtype.c [new file with mode: 0644]
arch/mips/lemote/lm2e/mem.c
arch/mips/lemote/lm2e/prom.c [deleted file]
arch/mips/lemote/lm2e/setup.c
arch/mips/lemote/lm2e/time.c [new file with mode: 0644]