[U-Boot] [PATCH] ae3xx: timer: Fix ae3xx timer work abnormal in 64 bit.

Simon Glass sjg at chromium.org
Mon Nov 20 15:39:50 UTC 2017


On 14 November 2017 at 19:43, Andes <uboot at andestech.com> wrote:
> From: Rick Chen <rick at andestech.com>
>
> 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 at andestech.com>
> ---
>  drivers/timer/ae3xx_timer.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list