diff options
Diffstat (limited to 'arch/mips/txx9/generic/setup.c')
-rw-r--r-- | arch/mips/txx9/generic/setup.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/txx9/generic/setup.c b/arch/mips/txx9/generic/setup.c index 1bc57d0f4c5c..fe6bee09cece 100644 --- a/arch/mips/txx9/generic/setup.c +++ b/arch/mips/txx9/generic/setup.c | |||
@@ -53,6 +53,7 @@ txx9_reg_res_init(unsigned int pcode, unsigned long base, unsigned long size) | |||
53 | txx9_ce_res[i].name = txx9_ce_res_name[i]; | 53 | txx9_ce_res[i].name = txx9_ce_res_name[i]; |
54 | } | 54 | } |
55 | 55 | ||
56 | txx9_pcode = pcode; | ||
56 | sprintf(txx9_pcode_str, "TX%x", pcode); | 57 | sprintf(txx9_pcode_str, "TX%x", pcode); |
57 | if (base) { | 58 | if (base) { |
58 | txx9_reg_res.start = base & 0xfffffffffULL; | 59 | txx9_reg_res.start = base & 0xfffffffffULL; |
@@ -328,6 +329,9 @@ void __init arch_init_irq(void) | |||
328 | 329 | ||
329 | void __init plat_time_init(void) | 330 | void __init plat_time_init(void) |
330 | { | 331 | { |
332 | #ifdef CONFIG_CPU_TX49XX | ||
333 | mips_hpt_frequency = txx9_cpu_clock / 2; | ||
334 | #endif | ||
331 | txx9_board_vec->time_init(); | 335 | txx9_board_vec->time_init(); |
332 | } | 336 | } |
333 | 337 | ||