On Tue, 21 Feb 2023 at 17:39, Heinrich Schuchardt <heinrich.schucha...@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.schucha...@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 <s...@chromium.org>