blob: 6198ad503179e9df733fda82d56b67223dc37f41 [file] [log] [blame]
From 1035d753565a08a83e35f3b9203260676d37674f Mon Sep 17 00:00:00 2001
From: Wu Zhangjin <wuzhangjin@gmail.com>
Date: Wed, 10 Mar 2010 22:04:08 +0800
Subject: [PATCH] Loongson: Cleanup the comment of reset_cpu()
commit 142f50c7dad7c5d4b48f7849e81e027c52d18de3 in tip.
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
arch/mips/loongson/lemote-2f/reset.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/mips/loongson/lemote-2f/reset.c b/arch/mips/loongson/lemote-2f/reset.c
index 36020a0..a1b22da 100644
--- a/arch/mips/loongson/lemote-2f/reset.c
+++ b/arch/mips/loongson/lemote-2f/reset.c
@@ -25,8 +25,9 @@
static void reset_cpu(void)
{
/*
- * reset cpu to full speed, this is needed when enabling cpu frequency
- * scalling
+ * reset cpu to full speed, this is needed to avoid the machine reboot
+ * very slowly for the cpu speed may be set as a low level when the
+ * support of cpu frequency scaling is enabled.
*/
LOONGSON_CHIPCFG0 |= 0x7;
}
--
1.7.0.4