[Top] [All Lists]

[PATCH -queue v1 2/7] [loongson] lemote-2f: rtc: enable legacy RTC drive

To: Ralf Baechle <>
Subject: [PATCH -queue v1 2/7] [loongson] lemote-2f: rtc: enable legacy RTC driver
From: Wu Zhangjin <>
Date: Fri, 6 Nov 2009 21:11:27 +0800
Cc: Arnaud Patard <>,,,, Nicholas Mc Guire <>, Wu Zhangjin <>,
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references:in-reply-to:references; bh=dPUS8WnhsQugPgviv9O3ELH6TD0t5cbmEn29wS0xZ3M=; b=ks5w+hNoJq9eBJcWUQNLsZwPB34afCwObmNwgSdV3ATRrO3OTWColho98+5sryZMGt LSv3chbNKdS3DGu6Ms0OLwIIwU1nMuMfYW3dH5NzV4azTr1ISXQ+CerqKEd002iXOw1f znVFew5GzcANAz5TGjLX07ruL9xBiMI09omFs=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=agbWVhmc25BPuEKQsBkQyZ22+EGa+USk95DO0NEhKgErs791TcdbiG2GULNeHJmqsT tDZ1hpwr3oEWUeq9KQJT+zBgib3ywxuvVUaH8+d8WaakmdHRZKV35wrsmtlVYAfrPgv9 //LPkfwtYSZU3/jZ8YRAd7ERd13U5y/50rLD4=
In-reply-to: <>
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
References: <>
From: Wu Zhangjin <>

Currently, RTC_LIB is not available on loongson family machines(need
extra patches to enable it), but the legacy RTC driver works well on
them. Herein, We just deselect RTC_LIB and make the legacy RTC driver as
a choice to not break the hwclock relative tools on these machines.

After the relative patches for RTC_LIB upstream
we will be safe to Remove this patch at that time, but currently, this
is need.

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

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index d00c953..240a3ca 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"

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