[PATCH v2 1/1] sandbox: fix building with CONFIG_SPL_TIMER=y
Simon Glass
sjg at chromium.org
Wed Mar 1 21:14:14 CET 2023
On Tue, 21 Feb 2023 at 17:39, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> Building sandbox_defconfig with CONFIG_SPL_TIMER=y results in an error
>
> include/dm/platdata.h:63:33: error: static assertion failed:
> "Cannot use U_BOOT_DRVINFO with of-platdata.
> Please use devicetree instead"
>
> Add a missing condition in the sandbox driver.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> v2:
> don't create U_BOOT_DRVINFO for DT_PLAT_C
> (as requested in review comment by Simon)
> ---
> drivers/timer/sandbox_timer.c | 2 ++
> 1 file changed, 2 insertions(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list