]> git.dujemihanovic.xyz Git - u-boot.git/commit
ast2600: spl: Use readl for reading mmio
authorJoel Stanley <joel@jms.id.au>
Mon, 18 Nov 2024 02:12:56 +0000 (12:42 +1030)
committerTom Rini <trini@konsulko.com>
Mon, 25 Nov 2024 19:12:19 +0000 (13:12 -0600)
commit7327218681d98e8f66624667c6e3b0554502ce6c
tree5c75fad12fb43d4589a2b20928c2450a1270ae57
parentc0e978b4b7527dc1fe75d0d9c98f7427c19d439c
ast2600: spl: Use readl for reading mmio

u-boot was crashing in qemu as the modeled hardware enforced overly
strict memory reads.

While this code will work on existing hardware, fix to avoid future issues.

Fixes: 12770d0df0e8 ("ast2600: spl: Add boot mode detection")
Link: https://gitlab.com/qemu-project/qemu/-/issues/2636
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/mach-aspeed/ast2600/spl.c