]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitc4e471cc8bfd7a2d34318e088812269764d980a8
tree2362d86570872bc50940093f47f62165414f2e8d
parent32a048dc30191ecae4482f5a25507cd0b248318d
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