From mboxrd@z Thu Jan 1 00:00:00 1970 From: thunder.leizhen@huawei.com (Leizhen (ThunderTown)) Date: Thu, 8 Oct 2015 17:07:28 +0800 Subject: [PATCH 2/2] arm64: to allow EFI_RTC can be selected on ARM64 In-Reply-To: <56090C08.8070003@huawei.com> References: <1443418478-8240-1-git-send-email-thunder.leizhen@huawei.com> <1783631.jH4WY2RqXu@wuerfel> <5608FA85.8070009@huawei.com> <2245172.1ESUGv0DKo@wuerfel> <56090C08.8070003@huawei.com> Message-ID: <56163250.90207@huawei.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 2015/9/28 17:44, Leizhen (ThunderTown) wrote: >> > >>> >> --------------drivers/char/Kconfig-------------- >>> >> if RTC_LIB=n >>> >> >>> >> config RTC >>> >> tristate "Enhanced Real Time Clock Support (legacy PC RTC driver)" >>> >> >>> >> ....... >>> >> >>> >> config EFI_RTC >>> >> bool "EFI Real Time Clock Services" >>> >> depends on IA64 || ARM64 >>> >> >>> >> ....... >>> >> >>> >> endif # RTC_LIB >> > >> > The driver you want is RTC_DRV_EFI, not EFI_RTC. > OK, I will try it tommorrow. Sorry, the coach called me to learn to drive these days. I opened RTC_DRV_EFI and the RTC worked fine, thanks a lot. > >> > >> > Arnd >> > >> > . >> > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755151AbbJHJMF (ORCPT ); Thu, 8 Oct 2015 05:12:05 -0400 Received: from szxga01-in.huawei.com ([58.251.152.64]:43096 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754798AbbJHJMC (ORCPT ); Thu, 8 Oct 2015 05:12:02 -0400 Subject: Re: [PATCH 2/2] arm64: to allow EFI_RTC can be selected on ARM64 To: Arnd Bergmann References: <1443418478-8240-1-git-send-email-thunder.leizhen@huawei.com> <1783631.jH4WY2RqXu@wuerfel> <5608FA85.8070009@huawei.com> <2245172.1ESUGv0DKo@wuerfel> <56090C08.8070003@huawei.com> CC: , Catalin Marinas , Will Deacon , "Greg Kroah-Hartman" , linux-kernel , Kefeng Wang , Xinwei Hu , Zefan Li , Tianhong Ding , Hanjun Guo From: "Leizhen (ThunderTown)" Message-ID: <56163250.90207@huawei.com> Date: Thu, 8 Oct 2015 17:07:28 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <56090C08.8070003@huawei.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.23.164] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2015/9/28 17:44, Leizhen (ThunderTown) wrote: >> > >>> >> --------------drivers/char/Kconfig-------------- >>> >> if RTC_LIB=n >>> >> >>> >> config RTC >>> >> tristate "Enhanced Real Time Clock Support (legacy PC RTC driver)" >>> >> >>> >> ....... >>> >> >>> >> config EFI_RTC >>> >> bool "EFI Real Time Clock Services" >>> >> depends on IA64 || ARM64 >>> >> >>> >> ....... >>> >> >>> >> endif # RTC_LIB >> > >> > The driver you want is RTC_DRV_EFI, not EFI_RTC. > OK, I will try it tommorrow. Sorry, the coach called me to learn to drive these days. I opened RTC_DRV_EFI and the RTC worked fine, thanks a lot. > >> > >> > Arnd >> > >> > . >> >