rv1126-uboot/cmd
Rob Clark 2f0750eb18 UPSTREAM: efi_loader: refactor boot device and loaded_image handling
Get rid of the hacky fake boot-device and duplicate device-path
constructing (which needs to match what efi_disk and efi_net do).
Instead convert over to use efi_device_path helpers to construct
device-paths, and use that to look up the actual boot device.

Also, extract out a helper to plug things in properly to the
loaded_image.  In a following patch we'll want to re-use this in
efi_load_image() to handle the case of loading an image from a
file_path.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
(cherry picked from commit 95c5553ea268144056c4bafc318b9e8b5c096a6c)

Change-Id: Iaa6a9865f2cbd15d6537d200bd86662fa4baf5a0
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
2020-01-06 11:45:12 +08:00
..
ddr_tool driver: ram: rockchip: rename sdram_common.* to sdram.* 2019-10-09 18:10:19 +08:00
fastboot fastboot: remove 'default y' from RK_AVB_LIBAVB_ENABLE_ATH_UNLOCK 2019-09-20 11:17:38 +08:00
memtester driver: ram: rockchip: rename sdram_common.* to sdram.* 2019-10-09 18:10:19 +08:00
mvebu env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
.gitignore
Kconfig cmd: rk_secure_storage: dump data which is written in OTP or efuse 2019-08-21 12:58:49 +08:00
Makefile cmd: rk_secure_storage: dump data which is written in OTP or efuse 2019-08-21 12:58:49 +08:00
aes.c Rename aes.h to uboot_aes.h 2017-04-12 13:28:27 -04:00
android.c cmd: android: round up image header size 2019-09-03 08:53:08 +08:00
android_ab_select.c android: Fix off-by-one error when joining strings 2017-11-14 10:55:47 +08:00
android_cmds.c android: Implement A/B slot select. 2017-11-14 10:55:46 +08:00
armflash.c
bdinfo.c UPSTREAM: powerpc: mpc8xx: Change CONFIG_8xx to CONFIG_MPC8xx 2019-07-23 17:15:32 +08:00
bedbug.c powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
blk_common.c UPSTREAM: cmd: blk: remove unreachable code 2018-01-17 15:27:28 +08:00
blkcache.c
blob.c
bmp.c
boot.c cmd: boot: add mode args for "reset" 2019-11-12 19:34:04 +08:00
boot_android.c common: android/rkimg: remove/clean android a/b (slot) code 2019-11-04 15:43:46 +08:00
bootefi.c UPSTREAM: efi_loader: refactor boot device and loaded_image handling 2020-01-06 11:45:12 +08:00
booti.c
bootm.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
bootmenu.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
bootrkp.c rockchip: support boot from U-disk 2019-11-04 14:53:45 +08:00
bootstage.c
bootz.c
cache.c
cbfs.c env: Rename common functions related to setenv() 2017-08-16 08:23:32 -04:00
charge.c power: charge animation: fix cmd compile error 2019-04-30 11:38:48 +08:00
clk.c
config.c
console.c
cpu.c cmd: cpu: refactor to ensure devices are probed and improve code style 2017-05-10 16:16:09 +02:00
cramfs.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
cros_ec.c
crypto.c cmd: crypto: unifiy hash output variable 2019-12-10 08:39:32 +08:00
dataflash_mmc_mux.c
date.c
demo.c
dfu.c
diag.c
disk.c
display.c
download.c cmd: add "download" to enter rockusb/bootrom mode 2019-08-01 10:05:41 +08:00
dtimg.c FROMLIST: cmd: Add dtimg command 2018-08-06 11:15:19 +08:00
dvfs.c dm: dvfs: don't print fail message when there is no device 2019-03-27 08:59:47 +08:00
echo.c
eeprom.c UPSTREAM: Convert CONFIG_SPI to Kconfig 2019-07-23 17:15:32 +08:00
efi.c
elf.c env: Rename some other getenv()-related functions 2017-08-16 08:31:11 -04:00
ethsw.c cmd: ethsw: Fix out-of-bounds error 2017-06-16 10:11:42 -04:00
exit.c
ext2.c
ext4.c
fastboot.c lib: sysmem: refactor code 2019-03-26 11:04:33 +08:00
fat.c
fdc.c
fdt.c cmd: fdt: use gd->fdt_blob as default fdt address 2019-12-03 20:23:51 +08:00
fitupd.c
flash.c UPSTREAM: Drop CONFIG_HAS_DATAFLASH 2018-01-17 15:27:28 +08:00
fpga.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
fpgad.c
fs.c
fs_uuid.c
fuse.c
gettime.c
gpio.c
gpt.c UPSTREAM: cmd/gpt.c, cmd/nvedit.c, tools/fit_image.c: Rework recent fixes for Coverity 2018-01-17 15:27:28 +08:00
hash.c
help.c
host.c
i2c.c UPSTREAM: cmd: i2c: Fix use sdram sub command with CONFIG_DM_I2C 2018-01-17 15:27:28 +08:00
ide.c cmd: ide: Make the first device the default one 2017-09-10 12:27:43 -04:00
ini.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
io.c cmd/io.c: Fix comparison of unsigned expression warning 2017-05-12 08:37:38 -04:00
iotrace.c
irq.c
itest.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
jffs2.c UPSTREAM: mtd: nand: Rename nand.h into rawnand.h 2019-07-05 19:21:04 +08:00
led.c cmd/led.c: Remove unnecessary check on 'cmd' value 2017-05-12 08:37:38 -04:00
legacy_led.c led: Mark existing driver as legacy 2017-04-14 19:38:57 -06:00
license.c
load.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
load_android.c Move Android Image loading logic to image-android.c 2017-11-14 10:55:46 +08:00
log.c log: Add a test command 2018-01-17 15:27:28 +08:00
lzmadec.c env: Rename common functions related to setenv() 2017-08-16 08:23:32 -04:00
mac.c
md5sum.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
mdio.c
mem.c UPSTREAM: Drop CONFIG_HAS_DATAFLASH 2018-01-17 15:27:28 +08:00
mfsl.c
mii.c
misc.c
mmc.c cmd: mmc: find current device first before find mmc device 2019-06-26 10:59:13 +08:00
mmc_spi.c
mp.c
mtd.c cmd: mtd: fix compiler error 2019-08-07 17:37:14 +08:00
mtd_blk.c cmd: cmd_blk: rename the command mtd to mtd_blk 2019-07-09 15:06:41 +08:00
mtdparts.c UPSTREAM: mtd: nand: Rename nand.h into rawnand.h 2019-07-05 19:21:04 +08:00
nand.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
net.c Add support for fastboot command over UDP 2017-11-14 10:55:44 +08:00
nvedit.c cmd: nvedit: add "env update ..." sub command 2019-10-24 09:12:10 +08:00
nvme.c nvme: Adjust the 'nvme' command to use blk_common_cmd() 2017-08-28 07:17:15 -04:00
onenand.c
optee.c lib: optee_client: change the condition for eMMC devices 2019-07-15 17:06:52 +08:00
part.c cmd: part: use MAX_SEARCH_PARTITIONS for part search 2018-09-10 11:16:25 +08:00
pci.c Kconfig: Drop CONFIG_CMD_PCI_ENUM 2017-08-11 15:41:51 -04:00
pcmcia.c powerpc, 8xx: remove support for 8xx 2017-06-12 08:37:55 -04:00
pmic.c
pxe.c UPSTREAM: cmd/pxe.c: Rework bootargs construction to clarify string checks 2018-01-17 15:27:28 +08:00
qfw.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
read.c cmd/read.c: Fix checking blk_dread return value 2017-08-20 09:54:30 -04:00
reginfo.c powerpc: Remove unneccessary #ifdefs in reginfo 2017-07-22 22:22:49 -04:00
regulator.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
reiser.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
remoteproc.c
rk_secure_storage.c cmd: rk_secure_storage: dump data which is written in OTP or efuse 2019-08-21 12:58:49 +08:00
rknand.c drivers: rknand: add nand flash drivers for Rockchip SoC 2017-10-20 08:59:10 +08:00
rksfc.c cmd: rksfc: change dev if_type 2018-07-31 14:51:32 +08:00
rockusb.c cmd: rockusb: forbid to flash mmc 1(sdcard) 2019-10-16 10:01:39 +08:00
sata.c dm: sata: Support driver model with the 'sata' command 2017-08-17 16:44:17 +09:00
scsi.c dm: scsi: Adjust the 'scsi' command to use blk_common_cmd() 2017-08-17 16:44:16 +09:00
setexpr.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
sf.c UPSTREAM: dm: spi: Read default speed and mode values from DT 2019-07-05 19:33:50 +08:00
sha1sum.c
sound.c
source.c env: Rename getenv_hex(), getenv_yesno(), getenv_ulong() 2017-08-16 08:30:32 -04:00
spi.c
spl.c UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-12-24 17:20:37 +08:00
strings.c
terminal.c
test.c
thordown.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
time.c UPSTREAM: cmd/time.c: Initialize 'repeatable' variable 2018-01-17 15:27:28 +08:00
tpm.c env: Rename common functions related to setenv() 2017-08-16 08:23:32 -04:00
tpm_test.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
trace.c env: Rename getenv_hex(), getenv_yesno(), getenv_ulong() 2017-08-16 08:30:32 -04:00
tsi148.c
ubi.c cmd: ubi: remove unnecessary logical constraint 2017-04-18 06:08:32 +02:00
ubifs.c
universe.c
unzip.c env: Rename common functions related to setenv() 2017-08-16 08:23:32 -04:00
usb.c UPSTREAM: cmd: usb: ignore blk, emulation devices in usb tree/info display 2018-01-17 15:27:28 +08:00
usb_gadget_sdp.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
usb_mass_storage.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
version.c display_options: Refactor to allow obtaining the banner 2017-07-11 10:08:19 -06:00
ximg.c env: Rename getenv_hex(), getenv_yesno(), getenv_ulong() 2017-08-16 08:30:32 -04:00
yaffs2.c
zfs.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
zip.c env: Rename common functions related to setenv() 2017-08-16 08:23:32 -04:00