]> git.ipfire.org Git - people/ms/u-boot.git/commit
rockchip: timer: update for 32/64bit-aware OF_PLATDATA
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Mon, 14 Aug 2017 17:05:31 +0000 (19:05 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Mon, 18 Sep 2017 18:40:37 +0000 (20:40 +0200)
commit8158a848fa4d506d46a5193daf13367f3839022a
tree3ba3de00f67b6ec4c2c750a027d37e1f3017b3c4
parent7b87e3bfaf1ef1109da0f749040426c9e665c361
rockchip: timer: update for 32/64bit-aware OF_PLATDATA

With dtoc emitting fdt64_t for addresses (and region sizes), the array
indices for accessing the reg[] array needs to be adjusted.  This
adjusts the Rockchip DM timer driver to correctly handle OF_PLATDATA
given this new structure layout.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/timer/rockchip_timer.c