[U-Boot] [PATCH v2 01/16] image: Correct the OS location code to work on sandbox

Simon Glass sjg at chromium.org
Fri Feb 26 18:13:04 CET 2016


On 24 February 2016 at 09:14, Simon Glass <sjg at chromium.org> wrote:
> A recent change broke the 'bootm' command on sandbox. The root cause is
> using a pointer as an address. Conversion from pointer to address needs to
> use map_to_sysmem() so that sandbox can do the right thing. The problem was
> pre-existing but uncovered by a recent commit.
>
> Fix this. Also move fit_get_end() to the C file to avoid needing to include
> mapmem.h (and thus asm/io.h) everywhere.
>
> Fixes: 1fec3c5d (common/image.c: Make boot_get_ramdisk() perform a check for Android images)
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
>  common/bootm.c     | 2 +-
>  common/image-fit.c | 5 +++++
>  include/image.h    | 5 +----
>  3 files changed, 7 insertions(+), 5 deletions(-)

Applied to u-boot-dm.


More information about the U-Boot mailing list