[PATCH] sandbox: Rework readX/writeX macros to be more like ARM

Tom Rini trini at konsulko.com
Sat Oct 11 19:07:24 CEST 2025


On Wed, 01 Oct 2025 14:30:35 -0600, Tom Rini wrote:

> The way that the current readX/writeX macros are implemented on sandbox
> means that when IO_TRACE is not enabled some code will throw up
> incorrect warnings due to how sandbox_{read,write} is implemented. We
> instead need to do the "uX __v; __v = sandbox..(..v); __v;" trick that
> ARM does.
> 
> 
> [...]

Applied to u-boot/master, thanks!

[1/1] sandbox: Rework readX/writeX macros to be more like ARM
      commit: b30155c08e95550296668766bfd7d3da27c970fe
-- 
Tom




More information about the U-Boot mailing list