On Thu, 6 Jan 2022 at 05:00, Johan Jonker <jbx6...@gmail.com> wrote: > > The Rockchip rk3066 SoC has 3 dw-apb-timer nodes. > U-boot is compiled with OF_PLATDATA TPL/SPL options, > so add OF_PLATDATA support for the dw-apb-timer. > Also change driver name to be able to compile with > U-boot scripts. No reset OF_PLATDATA support was added, > because the rk3066 nodes don't need/have them. > > Signed-off-by: Johan Jonker <jbx6...@gmail.com> > --- > > Changed V3: > use if (CONFIG_IS_ENABLED(OF_REAL)) > remove white space fix > > Changed V2: > use #if CONFIG_IS_ENABLED(OF_REAL) > --- > drivers/timer/dw-apb-timer.c | 50 ++++++++++++++++++++++++++---------- > 1 file changed, 37 insertions(+), 13 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org>