u-boot/include
Simon Glass c595199194 env: Adjust the load() method to return an error
The load() methods have inconsistent behaviour on error. Some of them load
an empty default environment. Some load an environment containing an error
message. Others do nothing.

As a step in the right direction, have the method return an error code.
Then the caller could handle this itself in a consistent way.

Signed-off-by: Simon Glass <sjg@chromium.org>
2017-08-16 08:31:24 -04:00
..
andestech
asm-generic env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
bedbug powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
cavium
configs env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
cramfs
dm dm: blk: part: Add UCLASS_NVME and IF_TYPE_NVME 2017-08-13 15:17:30 -04:00
dt-bindings rockchip: rk3368: add DRAM controller driver with DRAM initialisation 2017-08-13 17:12:33 +02:00
environment/ti arm: omap: Extract OMAP5 boot environment to separate file 2017-06-23 10:38:02 -04:00
faraday
fsl-mc drivers: net: fsl-mc: Link MC boot to PHY_RESET_R 2017-06-01 19:55:50 -07:00
jffs2
linux net: Add mii_resolve_flowctrl_fdx() 2017-08-14 12:47:32 -05:00
lzma
mtd
net
pcmcia
power regulator: palmas: disable bypass when the LDO is enabled 2017-08-01 11:58:01 +09:00
samsung
spmi
synopsys
tee arm: omap5: Add TEE loading support 2016-12-03 13:21:21 -05:00
test dm: test: Fix nit with position of backslash 2017-06-01 07:03:17 -06:00
u-boot tools: Allow crc8 to be used 2017-02-07 10:54:32 -06:00
usb config: ls1012aqds: Enable USB EHCI support for ls1012aqds 2017-08-09 09:57:32 -07:00
zfs
.gitignore cmd: rework "license" command 2017-02-08 15:56:28 -05:00
_exports.h env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
ACEX1K.h
adc.h
addr_map.h
ahci.h ahci: Support non-PCI controllers 2017-08-01 11:58:00 +09:00
ali512x.h
altera.h
android_image.h image: Update include/android_image.h 2017-05-11 22:03:37 -04:00
ansi.h
api.h api: Add a header for api_init() 2017-06-05 11:02:29 -04:00
api_public.h
armcoremodule.h
asm-offsets.h
ata.h
atf_common.h spl: add support to booting with ATF 2017-05-15 10:38:09 -04:00
atmel_hlcdc.h
atmel_lcd.h
atmel_lcdc.h
atmel_mci.h
atsha204a-i2c.h drivers/misc: Add basic support for ATSHA204A Crypto module 2017-07-12 06:57:38 +02:00
autoboot.h
axp152.h
axp209.h
axp221.h
axp809.h
axp818.h
axp_pmic.h
backlight.h
bcd.h
bios_emul.h
bitfield.h
blk.h dm: blk: part: Add UCLASS_NVME and IF_TYPE_NVME 2017-08-13 15:17:30 -04:00
bmp_layout.h
boot_fit.h boot_fit: Create helper functions that can be used to select DTB out of FIT 2017-07-10 14:25:50 -04:00
bootcount.h
bootm.h
bootretry.h
bootstage.h bootstage: Record time taken to set up the live device tree 2017-06-05 14:13:09 -04:00
bouncebuf.h
bus_vcxk.h
bzlib.h
cbfs.h
circbuf.h
cli.h
cli_hush.h
clk-uclass.h clk: Modify xlate() method for livetree 2017-06-01 07:03:14 -06:00
clk.h clk: fix compilation errors for poplar platform 2017-07-28 23:34:46 +02:00
cmd_spl.h
command.h Kconfig: Drop CONFIG_CMD_PORTIO and associated command 2017-08-11 15:41:52 -04:00
common.h env: Rename some other getenv()-related functions 2017-08-16 08:31:11 -04:00
common_timing_params.h
commproc.h powerpc, 8xx: Handle checkpatch errors and some of the warnings/checks 2017-07-08 15:55:34 -04:00
compiler.h compiler.h: use u-boot endian macros on OpenBSD 2016-12-02 21:32:38 -05:00
config_defaults.h disk: convert CONFIG_PARTITIONS to Kconfig 2017-01-28 08:47:30 -05:00
config_distro_bootcmd.h Kconfig: Drop CONFIG_CMD_PCI_ENUM 2017-08-11 15:41:51 -04:00
config_distro_defaults.h disk: convert CONFIG_EFI_PARTITION to Kconfig 2017-01-28 08:47:42 -05:00
config_fallbacks.h env: Migrate CONFIG_ENV_IS_IN_FAT options to Kconfig 2017-07-31 11:22:56 -04:00
config_fsl_chain_trust.h common: Move CONFIG_BOOTARGS to Kconfig 2017-08-14 17:06:06 -04:00
config_phylib_all_drivers.h Move PHY_MICREL and PHY_MICREL_KSZ90X1 to Kconfig 2017-08-07 15:22:29 -05:00
config_uncmd_spl.h
console.h Allow displaying the U-Boot banner on a video display 2017-07-11 10:08:19 -06:00
cortina.h
cpsw.h
cpu.h
crc.h
cros_ec.h cros_ec: Convert to support live tree 2017-06-01 07:03:11 -06:00
cros_ec_message.h
dataflash.h env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
ddr_spd.h
debug_uart.h serial: omap: Support debug UART 2017-05-11 22:21:27 -04:00
dfu.h dfu: remove limitation on partition size 2017-07-28 23:34:39 +02:00
dialog_pmic.h
display.h video: Track whether a display is in use 2016-11-25 17:59:31 -07:00
display_options.h display_options: Refactor to allow obtaining the banner 2017-07-11 10:08:19 -06:00
div64.h lib: div64: sync with Linux 2017-04-13 09:41:10 -04:00
dm-demo.h
dm.h dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
dm9000.h
dma.h
dp83848.h
ds1722.h
dt-structs.h dm: Fix typo in include-guard for dm-structs.h 2017-07-28 12:02:47 -06:00
dw_hdmi.h rockchip: video: Split out HDMI controller code 2017-04-04 20:01:57 -06:00
dwc3-omap-uboot.h
dwc3-uboot.h
dwmmc.h
e500.h
ec_commands.h
edid.h edid: Add HDMI flag to timing info 2017-05-15 20:32:12 +02:00
eeprom_field.h
eeprom_layout.h
efi.h efi_loader: define all known status codes 2017-07-19 14:14:40 +02:00
efi_api.h efi_loader: expose protocols via GUID 2017-07-25 10:58:07 +02:00
efi_loader.h efi_loader: indent entry/exit prints to show nesting level 2017-07-29 00:18:46 +02:00
elf.h
env_attr.h
env_callback.h
env_default.h common: Move CONFIG_BOOTARGS to Kconfig 2017-08-14 17:06:06 -04:00
env_flags.h
environment.h env: Adjust the load() method to return an error 2017-08-16 08:31:24 -04:00
errno.h
ethsw.h
exports.h env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
ext4fs.h
ext_common.h
exynos_lcd.h
fastboot.h
fat.h Kconfig: Migrate FS_FAT / FAT_WRITE 2017-06-03 17:55:34 -04:00
fb_mmc.h
fb_nand.h
fdt.h fdt: Move header files into lib/libfdt 2017-06-02 10:16:46 -06:00
fdt_simplefb.h
fdt_support.h fdt: Rename a few functions in fdt_support 2017-06-01 07:03:11 -06:00
fdtdec.h fdtdec: Drop old compatible values 2017-07-28 12:02:48 -06:00
fis.h
flash.h stm32f1: remove stm32f1 support 2017-08-13 15:17:37 -04:00
fm_eth.h
fpga.h
fs.h
fsl_csu.h fsl-lsch2: csu: correct the workaround A-010315 2017-08-09 09:57:33 -07:00
fsl_dcu_fb.h video: fsl_dcu_fb: fix framebuffer to the end of memory 2017-04-14 13:50:41 +02:00
fsl_ddr.h ddr: fsl: Merge macro CONFIG_NUM_DDR_CONTROLLERS and CONFIG_SYS_NUM_DDR_CTRLS 2017-01-04 19:40:52 -05:00
fsl_ddr_dimm_params.h
fsl_ddr_sdram.h arm: freescale: Rename initdram() to fsl_initdram() 2017-04-12 13:28:32 -04:00
fsl_ddrc_version.h
fsl_devdis.h
fsl_diu_fb.h
fsl_dspi.h
fsl_dtsec.h
fsl_errata.h armv7: ls1021a: Drop macro CONFIG_LS102XA 2017-04-17 09:03:30 -07:00
fsl_esdhc.h mmc: fsl_esdhc: introduce vs18_enable for 1.8V fix I/O 2017-07-12 09:44:22 +02:00
fsl_fman.h
fsl_ifc.h common: arm: freescale: layerscape: Move header files out of common.h 2017-06-05 14:12:59 -04:00
fsl_immap.h
fsl_lpuart.h serial: lpuart: add i.MX7ULP support 2017-03-17 09:27:08 +01:00
fsl_mdio.h
fsl_memac.h net: fman: fix 2.5G SGMII settings 2016-12-08 10:36:22 -06:00
fsl_mmdc.h
fsl_pmic.h
fsl_qe.h
fsl_sec.h crypto: Move CONFIG_SYS_FSL_SEC_LE and _BE to Kconfig 2017-01-04 19:40:19 -05:00
fsl_sec_mon.h
fsl_secboot_err.h
fsl_sfp.h
fsl_tgec.h
fsl_usb.h
fsl_validate.h fsl: Secure Boot: Enable IE (Key extention) Feature 2017-03-28 09:03:04 -07:00
fsl_wdog.h
fuse.h
g_dnl.h
gdsys_fpga.h
generic-phy.h dm: phy: add missing #ifdef CONFIG_PHY 2017-07-28 23:34:41 +02:00
gt64120.h
hash.h Kconfig: Finish migration of hashing commands 2017-05-31 19:38:14 -04:00
hw_sha.h
hwconfig.h
i2c.h powerpc, 8260: remove support for mpc8260 2017-06-12 08:38:02 -04:00
i2c_eeprom.h i2c_eeprom: add read and write functions 2017-05-10 13:37:22 -06:00
i2s.h
i8042.h
ide.h
image-sparse.h
image.h env: Rename some other getenv()-related functions 2017-08-16 08:31:11 -04:00
imx_thermal.h
init_helpers.h board_f: Make init_helpers generic 2017-04-05 16:36:56 -04:00
initcall.h board_f: initcall: Add a header guard 2017-04-05 13:52:35 -04:00
input.h
inttypes.h
iomux.h
ioports.h powerpc: Remove 8260 remainders 2017-07-23 09:24:47 -04:00
iotrace.h
ipu_pixfmt.h
key_matrix.h cros_ec: Update the cros_ec keyboard driver to livetree 2017-06-01 07:03:16 -06:00
keyboard.h powerpc, 5xxx, 512x: remove support for mpc5xxx and mpc512x 2017-06-16 10:14:55 -04:00
kgdb.h
lattice.h
lcd.h powerpc, 8xx: remove support for 8xx 2017-06-12 08:37:55 -04:00
lcd_console.h
lcdvideo.h
ld9040.h
led-display.h
led.h dm: led: Add support for blinking LEDs 2017-04-14 19:38:57 -06:00
libata.h
libfdt.h fdt: Move header files into lib/libfdt 2017-06-02 10:16:46 -06:00
libfdt_env.h
libtizen.h
linker_lists.h
linux_logo.h
lmb.h
logbuff.h
lxt971a.h
lynxkdi.h
mailbox-uclass.h dm: mailbox: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
mailbox.h
malloc.h
mapmem.h
mb862xx.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
memalign.h
membuff.h
menu.h
micrel.h
mii_phy.h
miiphy.h common: miiphyutil: Add helper function for mdio bus name 2016-12-20 07:40:04 +01:00
mipi_display.h
misc.h
mk48t59.h
mmc.h Merge git://git.denx.de/u-boot-x86 2017-08-01 15:38:32 -04:00
mpc8xx.h powerpc: Partialy restore core of mpc8xx 2017-07-08 15:55:26 -04:00
mpc8xx_irq.h
mpc83xx.h
mpc85xx.h
mpc86xx.h
mpc106.h
msc01.h
mtd.h
mtd_node.h
mv88e6352.h
mvebu_mmc.h
mvmfp.h
nand.h mtd: nand: make nand_info array static 2017-07-11 22:41:54 -04:00
net.h env: Rename some other getenv()-related functions 2017-08-16 08:31:11 -04:00
netdev.h powerpc, 82xx: remove some missed mpc82xx remains 2017-06-16 10:14:56 -04:00
ns16550.h serial: ns16550: Add RX interrupt buffer support 2017-07-23 17:04:46 -04:00
ns87308.h
nuvoton_nct6102d.h
nvme.h nvme: Add show routine to print detailed information 2017-08-13 15:17:31 -04:00
of_live.h dm: Add a function to create a 'live' device tree 2017-06-01 07:03:06 -06:00
onenand_uboot.h
os.h sandbox: remove os_putc() and os_puts() 2017-07-28 12:02:47 -06:00
palmas.h ARM: OMAP4+: Add support for getting pbias info from board 2016-12-04 13:54:51 -05:00
panel.h
part.h GPT: read partition table from device into a data structure 2017-08-04 20:34:04 -04:00
part_efi.h
pc_keyb.h
pca953x.h
pca9564.h
pca9698.h
pch.h
pci.h drivers: pci: imx: add imx_pcie_remove function 2017-05-31 10:09:03 +02:00
pci_gt64120.h
pci_ids.h nvme: Detect devices that are class Storage Express 2017-08-13 15:17:32 -04:00
pci_msc01.h
pci_rom.h
pcmcia.h powerpc, 8xx: remove support for 8xx 2017-06-12 08:37:55 -04:00
pe.h
phy.h net: phy: micrel: Separate KSZ9000 drivers from KSZ8000 drivers 2017-08-07 15:18:30 -05:00
phys2bus.h
physmem.h
post.h powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
power-domain-uclass.h dm: power-domain: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
power-domain.h
ppc_asm.tmpl powerpc: Partialy restore core of mpc8xx 2017-07-08 15:55:26 -04:00
ppc_defs.h
ps2mult.h
pwm.h power: regulator: pwm: support pwm polarity setting 2017-05-10 13:37:21 -06:00
pwrseq.h
pxa_lcd.h
qfw.h
radeon.h
ram.h
rc4.h
regmap.h
reiserfs.h
relocate.h board_f: Make relocation functions generic 2017-04-05 16:36:57 -04:00
remoteproc.h
reset-uclass.h dm: reset: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
reset.h reset: add reset_release_all() 2017-07-28 23:34:07 +02:00
rtc.h dm: rtc: Add 16-bit read/write support 2017-04-10 10:02:03 +08:00
rtc_def.h
s6e63d6.h
s_record.h
SA-1100.h
samsung-usb-phy-uboot.h
sandbox-adc.h
sandboxblockdev.h
sandboxfs.h
sata.h dm: Add support for scsi/sata based devices 2016-12-20 09:15:27 +01:00
scf0403_lcd.h
scsi.h dm: scsi: Split out the bus scanning code 2017-07-11 10:08:19 -06:00
sdhci.h mmc: sdhci: Add support for optional controller specific set_ios_post() 2017-01-25 07:03:44 +01:00
search.h env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
serial.h powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
sh_pfc.h
sh_tmu.h
sja1000.h
slre.h
smbios.h x86: Use unsigned long for address in table generation 2017-02-06 11:38:46 +08:00
smsc_lpc47m.h
smsc_sio1007.h
sound.h
sparse_defs.h
sparse_format.h
spartan2.h
spartan3.h
spd.h
spd_sdram.h
spi.h dm: spi: Convert uclass to livetree 2017-06-01 07:03:16 -06:00
spi_flash.h
spl.h spl: add a 'return to bootrom' boot method 2017-08-13 17:12:19 +02:00
splash.h splash: add support for loading splash from a FIT image 2017-01-13 17:40:38 +01:00
status_led.h powerpc, 5xxx, 512x: remove support for mpc5xxx and mpc512x 2017-06-16 10:14:55 -04:00
stdio_dev.h dm: console: Check for serial devices properly 2017-07-31 12:21:40 -04:00
stdlib.h
stratixII.h
sy8106a.h
sym53c8xx.h
syscon.h
sysreset.h
tables_csum.h
tca642x.h
tegra-kbc.h
thermal.h
thor.h
ti-usb-phy-uboot.h
time.h time: import time_after, time_before and friends from Linux 2017-01-14 16:46:30 -05:00
timer.h
timestamp.h
tmu.h
tpm.h tpm: Add function to load keys via their parent's SHA1 hash 2017-03-26 13:22:58 -06:00
tps6586x.h
trace.h
tsec.h armv7: ls1021a: Drop macro CONFIG_LS102XA 2017-04-17 09:03:30 -07:00
tsi108.h
tsi148.h
twl4030.h
twl6030.h
ubi_uboot.h
ubifs_uboot.h
ubispl.h
uboot_aes.h Rename aes.h to uboot_aes.h 2017-04-12 13:28:27 -04:00
universe.h
usb.h dm: usb: Add a new USB controller operation 'update_hub_device' 2017-07-28 23:34:35 +02:00
usb_cdc_acm.h
usb_defs.h usb: hub: Parse and save TT details from device descriptor 2017-07-28 23:34:34 +02:00
usb_ether.h
usb_mass_storage.h
usbdescriptors.h
usbdevice.h
usbroothubdes.h
uuid.h
vbe.h
version.h
video.h
video_bridge.h
video_console.h
video_easylogo.h
video_fb.h
video_font.h
video_font_4x6.h
video_font_data.h
video_logo.h
virtex2.h
vsc7385.h
vsc9953.h
vsprintf.h
vxworks.h
w83c553f.h
wait_bit.h lib: Add WATCHDOG_RESET to wait_bit.h 2017-01-10 10:18:11 +01:00
watchdog.h powerpc, 8xx: Use IO accessors to access IO memory 2017-07-08 15:55:32 -04:00
wdt.h wdt: Update uclass to make clear that the timeout is in ms 2017-08-13 15:17:34 -04:00
winbond_w83627.h
xilinx.h
xyzModem.h common/xyzModem.c: unifdef (Remove useless #ifdefs) 2017-04-08 09:26:54 -04:00
zfs_common.h
zynqmppl.h arm64: zynqmp: Fix SVD mask for getting chip ID 2017-08-02 09:11:52 +02:00
zynqpl.h