Home
last modified time | relevance | path

Searched hist:"10 eca96895ada8ca2d38437746a3875270eb66a0" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/cmd/
H A Dbootefi.c10eca96895ada8ca2d38437746a3875270eb66a0 Mon Aug 28 16:54:30 UTC 2017 Heinrich Schuchardt <xypron.glpk@gmx.de> UPSTREAM: efi_loader: bootefi hello should use loadaddr

Command 'bootefi hello' currently uses CONFIG_SYS_LOAD_ADDR
as loading address.

qemu machines have by default 128 MiB RAM.
CONFIG_SYS_LOAD_ADDR for x86 is 0x20000000 (512 MiB).
This causes 'bootefi hello' to fail.

We should use the environment variable loadaddr if available.
It defaults to 0x1000000 (16 MiB) on qemu_x86.

Change-Id: Iff6bfbd6c93f115f7f616c42b6e1c2dc4d61e156
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 51c533fdce75fbdec7de28a05a675a553d209bcb)