[RFC v2 2/5] add rtc support

Antony Pavlov antonynpavlov at gmail.com
Mon Jul 14 05:40:27 PDT 2014


On Mon, 14 Jul 2014 14:56:17 +0400
Antony Pavlov <antonynpavlov at gmail.com> wrote:

> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
> ---
>  drivers/Kconfig       |  1 +
>  drivers/Makefile      |  1 +
>  drivers/rtc/Kconfig   | 16 +++++++++++++++
>  drivers/rtc/Makefile  |  6 ++++++
>  drivers/rtc/class.c   | 53 +++++++++++++++++++++++++++++++++++++++++++++++++
>  drivers/rtc/rtc-lib.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++
>  include/linux/rtc.h   | 45 +++++++++++++++++++++++++++++++++++++++++
>  include/rtc.h         |  2 ++
>  8 files changed, 179 insertions(+)
> 
> diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
> new file mode 100644
> index 0000000..f148266
> --- /dev/null
> +++ b/drivers/rtc/Kconfig
> @@ -0,0 +1,16 @@
> +#
> +# RTC class/drivers configuration
> +#
> +
> +config RTC_LIB
> +	bool
> +
> +menuconfig RTC_CLASS
> +        bool "Real Time Clock"
> +        default n
> +        depends on !S390 && !UML

Sorry, I have to drop this line.

> +        select RTC_LIB
> +        help

-- 
Best regards,
  Antony Pavlov



More information about the barebox mailing list