[PATCH 1/1] net: sntp: remove CONFIG_TIMESTAMP constraint
Tom Rini
trini at konsulko.com
Wed Dec 2 22:21:41 CET 2020
On Fri, Oct 23, 2020 at 12:58:27PM +0200, Heinrich Schuchardt wrote:
> CONFIG_TIMESTAMP is not related to the RTC drivers. It does not make any
> sense to let the updating of the RTC by the sntp command depend on it.
>
> Drop the CONFIG_TIMESTAMP checks.
>
> Furthermore function dm_rtc_set() is enabled by CONFIG_DM_RTC. There is no
> reason to require CONFIG_CMD_DATE when using a driver model RTC. The UEFI
> sub-system can consume the RTC functions even if there is not date command.
>
> Only check CONFIG_CMD_DATE when using a non-driver model RTC.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
Applied to u-boot/next, thanks!
--
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/20201202/1248b202/attachment.sig>
More information about the U-Boot
mailing list