summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorKuan-Wei Chiu <[email protected]>2026-05-16 16:39:55 +0900
committerTom Rini <[email protected]>2026-05-22 16:47:54 -0600
commit5116fed77dee99a513f17f18be0dbf2e63363eef (patch)
tree96010f47993b984dda7cbcf9bbad5a2734af59cb /scripts/basic
parent0bcd158db30aa14aa6add56060626388079c50cf (diff)
rtc: goldfish: Use __raw_readl() and __raw_writel()
In QEMU, the Goldfish RTC is explicitly instantiated as a big-endian device on the m68k virt machine (via the 'big-endian=true' property). Currently, this driver uses ioread32() and iowrite32(), which works by luck because the underlying readl() and writel() are currently broken on m68k. Use __raw_readl() and __raw_writel() instead to avoid breaking this driver when the endianness of readl() and writel() is fixed. Signed-off-by: Kuan-Wei Chiu <[email protected]> Tested-by: Daniel Palmer <[email protected]> Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Daniel Palmer <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions