[U-Boot] [PATCH v4 04/16] sandbox: smbios: Update to support sandbox

Alexander Graf agraf at suse.de
Thu May 24 12:24:28 UTC 2018



On 16.05.18 17:42, Simon Glass wrote:
> At present this code casts addresses to pointers so cannot be used with
> sandbox. Update it to use mapmem instead.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

I really dislike the whole fact that you have to call map_sysmem() at
all. I don't quite understand the whole point of it either - it just
seems to clutter the code and make it harder to follow.

Can't we just simply make sandbox behave like any other target instead?


Alex


More information about the U-Boot mailing list