MIPS: Loongson: Cleanup of the environment variables
authorWu Zhangjin <wuzhangjin@gmail.com>
Mon, 4 Jan 2010 09:16:48 +0000 (17:16 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 27 Feb 2010 11:53:11 +0000 (12:53 +0100)
commiteb11df472d8491fcb28534b59017e1b5465997fa
tree019fe0166af774fffe0227b42546463a326e144e
parent97e6a89634befaf5bd66d3044d36961c887cd98c
MIPS: Loongson: Cleanup of the environment variables

Changes:

o Move bus_clock into prom_init_env()
o Initialize the cpu_clock_freq to the default values for the
correspoding processor revisions if no such environment variable
passed by BIOS/Bootloader.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: yanh@lemote.com
Cc: huhb@lemote.com
Cc: zhangfx@lemote.com
Patchwork: http://patchwork.linux-mips.org/patch/826/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-loongson/loongson.h
arch/mips/loongson/common/env.c