diff options
author | Wu Zhangjin <wuzhangjin@gmail.com> | 2010-01-04 04:16:48 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-02-27 06:53:11 -0500 |
commit | eb11df472d8491fcb28534b59017e1b5465997fa (patch) | |
tree | 019fe0166af774fffe0227b42546463a326e144e /arch/mips/include/asm/mach-loongson | |
parent | 97e6a89634befaf5bd66d3044d36961c887cd98c (diff) |
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>
Diffstat (limited to 'arch/mips/include/asm/mach-loongson')
-rw-r--r-- | arch/mips/include/asm/mach-loongson/loongson.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/mach-loongson/loongson.h b/arch/mips/include/asm/mach-loongson/loongson.h index ee8bc8376972..a6eac0f93799 100644 --- a/arch/mips/include/asm/mach-loongson/loongson.h +++ b/arch/mips/include/asm/mach-loongson/loongson.h | |||
@@ -23,7 +23,7 @@ extern void mach_prepare_reboot(void); | |||
23 | extern void mach_prepare_shutdown(void); | 23 | extern void mach_prepare_shutdown(void); |
24 | 24 | ||
25 | /* environment arguments from bootloader */ | 25 | /* environment arguments from bootloader */ |
26 | extern unsigned long bus_clock, cpu_clock_freq; | 26 | extern unsigned long cpu_clock_freq; |
27 | extern unsigned long memsize, highmemsize; | 27 | extern unsigned long memsize, highmemsize; |
28 | 28 | ||
29 | /* loongson-specific command line, env and memory initialization */ | 29 | /* loongson-specific command line, env and memory initialization */ |