From: Tom Rini Date: Wed, 2 Dec 2020 16:21:41 -0500 Subject: [PATCH 1/1] net: sntp: remove CONFIG_TIMESTAMP constraint In-Reply-To: <20201023105827.6185-1-xypron.glpk@gmx.de> References: <20201023105827.6185-1-xypron.glpk@gmx.de> Message-ID: <20201202212141.GM32272@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: