linux-mips
[Top] [All Lists]

[PATCH -queue v0 5/6] [loongson] rtc: enable legacy RTC driver on fuloon

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH -queue v0 5/6] [loongson] rtc: enable legacy RTC driver on fuloong2f
From: Wu Zhangjin <wuzhangjin@gmail.com>
Date: Wed, 4 Nov 2009 17:06:07 +0800
Cc: Wu Zhangjin <wuzhangjin@gmail.com>, linux-mips@linux-mips.org, LKML <linux-kernel@vger.kernel.org>, huhb@lemote.com, yanh@lemote.com, Zhang Le <r0bertz@gentoo.org>, Thomas Gleixner <tglx@linutronix.de>, Nicholas Mc Guire <der.herr@hofr.at>, zhangfx@lemote.com, liujl@lemote.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=VlbIkpAFSNzmIC7cIiqhqnxhrkxOf1q9N2cTY1gu5wU=; b=LAJEPou1JABakGomxSwuf11xQAcVJn5u8+bgWBKR4oZUkWOKW/i4OFkyjuat16fjFR ERbpLf5ODliZK+sXR2GrYiE6BaIwpnP0D8Dli6wFRVwM8pfMwl/5bf23+2rUE5oPFmMy G9xVirdGApYThfI6dJzskacGXeHxD2TnIRSaI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=G1JZ2U3GTEbXD0jykF8admYWCm9q4wgYugbeMG+MwLa7ibPmwxSFYTg65LkRFHLXs6 9wRYpqpBkZ20Um64J3/fByhZjkLborMbPOz4ZIeXfrQKI9i1tm2bQ27j9RWv2kWNkmIN 5bwmp/a0w1Pf3xAkTHT8w2EdF4szxW2Agiwqc=
In-reply-to: <cover.1257325319.git.wuzhangjin@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cover.1257325319.git.wuzhangjin@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
RTC_LIB is selected by MIPS by default, and therefore, the legacy RTC driver is
disabled. but fortunately, RTC_LIB not works on fulong, so, enabling the legcy
RTC driver is needed, otherwise, the tools like hwclock will not work.

because loongson family machines, including fuloong2e, fuloong2f and
yeeloong2f need to enable legacy RTC driver, so we use MACH_LOONGSON
here.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
---
 arch/mips/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 8417357..6a9bdda 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -7,7 +7,7 @@ config MIPS
        select HAVE_ARCH_KGDB
        # Horrible source of confusion.  Die, die, die ...
        select EMBEDDED
-       select RTC_LIB if !LEMOTE_FULOONG2E
+       select RTC_LIB if !MACH_LOONGSON
 
 mainmenu "Linux/MIPS Kernel Configuration"
 
-- 
1.6.2.1


<Prev in Thread] Current Thread [Next in Thread>