[U-Boot] [PATCH v1 0/2] DS1307 RTC update

Simon Glass sjg at chromium.org
Mon Apr 24 03:38:58 UTC 2017


+Tom

Hi Chris,

On 21 April 2017 at 10:27, Chris Packham <judge.packham at gmail.com> wrote:
>
> The first patch is the addition of a KConfig option for the date
> command. I haven't updated any boards to use the new option due to the
> sheer number of boards that would affect. It's probably better if board
> maintainers switch if/when they're ready.

You should be able to use moveconfig.py to do this automatically.

I'm not sure of the best method here.

Tom, do you expect people to run the tool or are you doing this
yourself before you apply it?

>
> The second patch is the change I really want to see. As it allows me to
> switch a board I'm working on over to the driver model. I've tried to
> replicate the non-DM version of the driver faithfully but I've only got
> access to a ds1340 device so I can't be sure that the mcp7941x specific
> code is correct.
>
> Chris Packham (2):
>   cmd: add Kconfig option for 'date' command
>   rtc: Add DM support to ds1307
>
>  cmd/Kconfig          |   6 ++
>  drivers/rtc/Kconfig  |   7 ++
>  drivers/rtc/ds1307.c | 196 ++++++++++++++++++++++++++++++++++++++++++++++-----
>  3 files changed, 190 insertions(+), 19 deletions(-)
>
> --
> 2.10.1
>

Regards,
Simon


More information about the U-Boot mailing list