You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Simon Glass
9dff490089
efi: sandbox: Tidy up copy_fdt() to work with sandbox
...
At present this function takes a pointer as its argument, then passes this
to efi_allocate_pages(), which actually takes an address. It uses casts,
which are not supported on sandbox.
Also the function calculates the FDT size rounded up to the neared EFI
page size, then its caller recalculates the size and adds a bit more to
it.
This function is much better written as something that works with
addresses only, and returns both the address and the size of the relocated
FDT.
Also, copy_fdt() returns NULL on error, but really should propagate the
error from efi_allocate_pages(). To do this it needs to return an
efi_status_t, not a void *.
Update the code in this way, so that it is easier to follow, and also
supports sandbox.
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
6 years ago
..
mvebu
…
ti
…
x86
…
.gitignore
…
Kconfig
cmd: ubi: change 'default y' for SUNXI to 'imply' in Kconfig
7 years ago
Makefile
fix: cmd: mvebu: Exclude mvebu commands from SPL builds
6 years ago
adc.c
…
aes.c
…
armflash.c
…
avb.c
…
axi.c
cmd: Add axi command
7 years ago
bdinfo.c
…
bedbug.c
…
bind.c
cmd: Add bind/unbind commands to bind a device to a driver from the command line
7 years ago
binop.c
…
blk_common.c
…
blkcache.c
…
blob.c
…
bmp.c
…
boot.c
…
bootcount.c
…
bootefi.c
efi: sandbox: Tidy up copy_fdt() to work with sandbox
6 years ago
booti.c
…
bootm.c
…
bootmenu.c
…
bootstage.c
…
bootz.c
…
btrfs.c
…
cache.c
…
cbfs.c
…
clk.c
…
config.c
…
console.c
…
cpu.c
…
cramfs.c
…
cros_ec.c
…
dataflash_mmc_mux.c
…
date.c
…
demo.c
…
dfu.c
…
diag.c
…
disk.c
…
display.c
…
dtimg.c
cmd: Add dtimg command
7 years ago
echo.c
…
eeprom.c
…
efi.c
cmd: efi: Clarify calculation precedence for '&' and '?'
7 years ago
elf.c
u-boot: align cache flushes in load_elf_image_shdr to line boundaries
7 years ago
ethsw.c
…
exit.c
…
ext2.c
…
ext4.c
…
fastboot.c
cmd: fastboot: Validate user input
7 years ago
fat.c
…
fdc.c
…
fdt.c
…
fitupd.c
…
flash.c
…
fpga.c
cmd: fpga: Fix loads command
7 years ago
fpgad.c
…
fs.c
…
fs_uuid.c
…
fuse.c
…
gettime.c
…
gpio.c
…
gpt.c
…
hash.c
…
help.c
…
host.c
…
i2c.c
…
ide.c
…
ini.c
…
io.c
…
iotrace.c
…
irq.c
…
itest.c
…
jffs2.c
…
led.c
…
legacy_led.c
…
license.c
…
load.c
…
log.c
…
lzmadec.c
…
mac.c
…
md5sum.c
…
mdio.c
…
mem.c
Remove <inttypes.h> includes and PRI* usages in printf() entirely
7 years ago
mfsl.c
…
mii.c
…
misc.c
…
mmc.c
…
mmc_spi.c
…
mp.c
…
mtdparts.c
…
nand.c
…
net.c
net: Read bootfile from env on netboot_common()
7 years ago
nvedit.c
…
nvme.c
…
onenand.c
…
part.c
cmd: part: use MAX_SEARCH_PARTITIONS for part search
7 years ago
pci.c
…
pcmcia.c
…
pmic.c
…
pxe.c
…
qfw.c
…
read.c
…
reginfo.c
…
regulator.c
…
reiser.c
…
remoteproc.c
…
rockusb.c
…
sata.c
sata: fix sata_Probe return value check
7 years ago
scsi.c
…
setexpr.c
…
sf.c
…
sha1sum.c
…
smccc.c
…
sound.c
…
source.c
…
spi.c
…
spl.c
…
strings.c
…
terminal.c
…
test.c
…
thordown.c
…
time.c
…
tpm-common.c
tpm: allow TPM v1 and v2 to be compiled at the same time
7 years ago
tpm-user-utils.h
…
tpm-v1.c
tpm: allow TPM v1 and v2 to be compiled at the same time
7 years ago
tpm-v2.c
tpm: allow TPM v1 and v2 to be compiled at the same time
7 years ago
tpm_test.c
…
trace.c
…
tsi148.c
…
ubi.c
cmd/ubi.c: Fix format warning
7 years ago
ubifs.c
…
universe.c
…
unzip.c
…
usb.c
…
usb_gadget_sdp.c
…
usb_mass_storage.c
…
version.c
…
wol.c
…
ximg.c
…
yaffs2.c
…
zfs.c
…
zip.c
…