ae3xx: timer: Fix ae3xx timer work abnormal in 64 bit.
authorRick Chen <rick@andestech.com>
Thu, 23 Nov 2017 03:04:34 +0000 (11:04 +0800)
committerRick Chen <rickchen36@gmail.com>
Thu, 30 Nov 2017 01:38:21 +0000 (09:38 +0800)
commit0e920ef052e2a5d33b1fd37b0b0ef7b74831e851
tree2362d86570872bc50940093f47f62165414f2e8d
parentb06c46de632c55f4c39d404c6f0f65e414b31050
ae3xx: timer: Fix ae3xx timer work abnormal in 64 bit.

It will be work fine with unsigned long declaretion in timer
register struct when system is 32 bit. But it will not work
well when system is 64 bit. Replace it by u32 and verify both
ok in 32/64 bit.

Signed-off-by: Rick Chen <rick@andestech.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/timer/ae3xx_timer.c