X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/dd75071f4e094618fcb5ed182fbe3a47641d9739..93f0b2377f4c571b41a02a4ea812d2e09985c796:/target/linux/adm5120-2.6/files/arch/mips/adm5120/setup.c diff --git a/target/linux/adm5120-2.6/files/arch/mips/adm5120/setup.c b/target/linux/adm5120-2.6/files/arch/mips/adm5120/setup.c index 1b99d7799..3f4f36561 100644 --- a/target/linux/adm5120-2.6/files/arch/mips/adm5120/setup.c +++ b/target/linux/adm5120-2.6/files/arch/mips/adm5120/setup.c @@ -3,6 +3,7 @@ * Creator : daniell@admtek.com.tw * Copyright 1999, 2000 MIPS Technologies, Inc. * Copyright Jeroen Vreeken (pe1rxq@amsat.org), 2005 + * Copyright (C) 2007 OpenWrt.org */ #include @@ -44,7 +45,7 @@ void adm5120_power_off(void) void __init adm5120_time_init(void) { - mips_counter_frequency = adm5120_info.cpu_speed >> 1; + mips_counter_frequency = adm5120_speed >> 1; } void __init plat_timer_setup(struct irqaction *irq) @@ -71,7 +72,7 @@ void __init plat_mem_setup(void) const char *get_system_type(void) { - return "ADM5120 Board"; + return adm5120_board_name(); } static struct resource adm5120_hcd_resources[] = {