]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox64: fix: return unsigned long in readq()
authorAbdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Mon, 17 Apr 2023 09:11:54 +0000 (10:11 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 27 Apr 2023 21:01:14 +0000 (17:01 -0400)
commit4b6d114d6d30dafd18c27fb00608b2f6038ac5ff
tree61a67d59b99e8280ec4647829a7f0c20241e3568
parent9e115ace358d9ed79844b27b06b3a0e8b23d49da
sandbox64: fix: return unsigned long in readq()

make readq return unsigned long

readq should return 64-bit data

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/cpu.c
arch/sandbox/include/asm/io.h