[PATCH v2] rtc: Add fallbacks for dm functions
Tom Rini
trini at konsulko.com
Sat Oct 22 03:37:24 CEST 2022
On Tue, Oct 11, 2022 at 04:06:35PM -0400, Sean Anderson wrote:
> This adds fallbacks for the various dm_rtc_* functions. This allows
> common code to use these functions without ifdefs.
>
> Fixes: c8ce7ba87d1 ("misc: Add support for nvmem cells")
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Signed-off-by: Sean Anderson <sean.anderson at seco.com>
> ---
>
> Changes in v2:
> - Include linux/errno.h for ENOSYS. This is needed for some mips boards
> when CONFIG_BLK is enabled for whatever reason.
>
> include/rtc.h | 32 +++++++++++++++++++++++++++++---
> 1 file changed, 29 insertions(+), 3 deletions(-)
Almost there, this just breaks chromebook_coral now, but nothing else.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20221021/3c98f6a2/attachment.sig>
More information about the U-Boot
mailing list