[Top] [All Lists]

[PATCH v2 2/7] [loongson] lemote-2f: rtc: enable legacy RTC driver

To: Ralf Baechle <>
Subject: [PATCH v2 2/7] [loongson] lemote-2f: rtc: enable legacy RTC driver
From: Wu Zhangjin <>
Date: Tue, 10 Nov 2009 00:06:11 +0800
Cc:,,, Nicholas Mc Guire <>, Arnaud Patard <>,, 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=L7IiA1Dc0vGczHXXYok/fJ+q2PNb+xBgf3gc6Tu476SJkePV6IP/HMe0cvd8rv+UxK pKvVJ1j/NAIN6GFQ9uXWPUivKzYldioyqskDiYYE1NiAl6C3rxgE6tlegbs1PuNE/n19 OguYYQ2VRzJuoiB+wTaFruXHXJGv8jEyRkRWs=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=eNl5qM7ORd7v0smIQnmGHUOdVljAvVv/tZpkEAsFkStIFIhBPM3WC5keHzkgLA45jh /PxzesywxPtBKUbWUUeocmhRmwAqhoYwGVAxLwXVZaqEIjvua29IwVBkmyq9d2p2kV6U CtH0n+uQ/BHc2QPbuW555Td/p+dTASrBTN1l0=
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>