uboot/common
Joe Hershberger 7afcf3a55b env: Refactor apply into change_ok
Move the read of the old value to inside the check function.  In some
cases it can be avoided all together and at the least the code is only
called from one place.

Also name the function and the callback to more clearly describe what
it does.

Pass the ENTRY instead of just the name for direct access to the whole
data structure.

Pass an enum to the callback that specifies the operation being approved.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
2012-12-13 11:46:55 -07:00
..
spl SPL: Port SPL framework to powerpc 2012-12-05 17:30:22 +01:00
Makefile gpt: Support for new "gpt" command 2012-12-13 11:46:02 -07:00
bedbug.c
bootstage.c bootstage: Add feature to stash/unstash bootstage info 2012-10-03 00:52:40 +02:00
bouncebuf.c common: rework bouncebuf implementation 2012-11-27 17:26:48 -06:00
cmd_ambapp.c
cmd_bdinfo.c x86: Change global data baudrate to int 2012-10-19 15:25:46 -07:00
cmd_bedbug.c
cmd_bmp.c video: Provide an API to access video parameters 2012-11-06 22:57:32 +01:00
cmd_boot.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_bootldr.c
cmd_bootm.c Fix use of conditional LMB 2012-12-11 13:17:33 -07:00
cmd_bootstage.c bootstage: Add bootstage command 2012-10-03 00:52:44 +02:00
cmd_cache.c Cleanup cache command prints 2012-10-03 16:01:22 -07:00
cmd_cbfs.c fs: Add a Coreboot Filesystem (CBFS) driver and commands 2012-10-22 08:29:55 -07:00
cmd_console.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_cplbinfo.c
cmd_cramfs.c
cmd_dataflash_mmc_mux.c
cmd_date.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_dcr.c
cmd_df.c
cmd_dfu.c ARM: prevent misaligned array inits 2012-10-15 11:53:07 -07:00
cmd_diag.c
cmd_disk.c disk: get_device_and_partition() "auto" partition and cleanup 2012-09-25 14:58:48 -07:00
cmd_display.c
cmd_dtt.c
cmd_echo.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_eeprom.c
cmd_elf.c common: cmd_elf.c: use uintptr_t for casts from u32 to void* 2012-10-15 11:53:46 -07:00
cmd_exit.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_ext2.c fs: rename fsload command to load 2012-11-04 11:00:34 -07:00
cmd_ext4.c fs: rename fsload command to load 2012-11-04 11:00:34 -07:00
cmd_fat.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_fdc.c
cmd_fdos.c
cmd_fdt.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_fitupd.c
cmd_flash.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_fpga.c
cmd_fs.c fs: rename fsload command to load 2012-11-04 11:00:34 -07:00
cmd_gettime.c Add gettime command 2012-12-11 13:17:33 -07:00
cmd_gpio.c
cmd_gpt.c gpt: Support for new "gpt" command 2012-12-13 11:46:02 -07:00
cmd_hash.c Add hash command to perform hashing using various algorithms 2012-12-11 13:17:34 -07:00
cmd_help.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_i2c.c edid: Add I2C command for printing the EDID 2012-12-11 13:17:35 -07:00
cmd_ide.c ide: Correct function signatures for ide_read/write() 2012-11-02 15:20:43 -07:00
cmd_immap.c
cmd_ini.c Improve license declaration for cmd_ini.h 2012-10-05 11:07:42 -07:00
cmd_io.c Add console command to access io space registers 2012-12-11 13:17:35 -07:00
cmd_irq.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_itest.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_jffs2.c
cmd_ldrinfo.c
cmd_led.c cmd_led.c: Standardize format of help and usage info. 2012-12-06 13:56:39 -07:00
cmd_license.c
cmd_load.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_log.c
cmd_mac.c
cmd_md5sum.c Add parameter to md5sum to save the md5 sum 2012-10-03 16:01:22 -07:00
cmd_mdio.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_mem.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_mfsl.c
cmd_mii.c
cmd_misc.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_mmc.c mmc: Fix incorrect handling of 'read' & 'write' commands 2012-11-27 17:26:49 -06:00
cmd_mmc_spi.c
cmd_mp.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_mtdparts.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_nand.c nand: Add torture feature 2012-11-26 15:41:29 -06:00
cmd_net.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_nvedit.c env: Refactor apply into change_ok 2012-12-13 11:46:55 -07:00
cmd_onenand.c
cmd_otp.c
cmd_part.c cmd_part: add partition-related command 2012-09-25 15:05:47 -07:00
cmd_pci.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_pcmcia.c
cmd_portio.c
cmd_pxe.c PXE: FDT: Add support for fdt in PXE 2012-09-27 12:22:11 -05:00
cmd_read.c Add a command to read raw blocks from a partition 2012-12-11 13:17:33 -07:00
cmd_reginfo.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_reiser.c disk: get_device_and_partition() "auto" partition and cleanup 2012-09-25 14:58:48 -07:00
cmd_sata.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_scsi.c ahci: Support 64-bit LBA option when reading capacity 2012-11-02 15:20:42 -07:00
cmd_setexpr.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_sf.c
cmd_sha1sum.c sha1sum: Use generic hash layer 2012-12-11 13:17:34 -07:00
cmd_source.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_spi.c
cmd_spibootldr.c
cmd_spl.c cmd:spl:fix: Prevent from a build error on boards, which don't support FDT 2012-12-11 13:18:14 -07:00
cmd_strings.c
cmd_terminal.c
cmd_test.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_time.c
cmd_tpm.c tpm: Add TPM stress test 2012-12-11 13:18:13 -07:00
cmd_tsi148.c
cmd_ubi.c
cmd_ubifs.c
cmd_universe.c
cmd_unzip.c
cmd_usb.c usb: use linux/usb/ch9.h instead of usbdescriptors.h 2012-11-20 00:16:06 +01:00
cmd_version.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_ximg.c common/cmd_*.c: sparse fixes 2012-11-04 11:00:35 -07:00
cmd_yaffs2.c
cmd_zfs.c ZFS: Fix compile warning in cmd_zfs.c (GCC 4.6.4 from ELDK 5.2.1) 2012-11-02 15:20:39 -07:00
cmd_zip.c common: add zip command support 2012-09-29 07:26:09 -07:00
command.c common/command.c: revert changes from commit 199adb60 2012-11-08 13:18:10 +01:00
console.c env: Refactor do_apply to a flag 2012-12-13 11:46:54 -07:00
ddr_spd.c
dlmalloc.c common/misc: sparse fixes 2012-11-04 11:00:35 -07:00
dlmalloc.src
edid.c edid: Library of EDID decode and print 2012-12-11 13:17:34 -07:00
env_common.c env: Refactor apply into change_ok 2012-12-13 11:46:55 -07:00
env_dataflash.c
env_eeprom.c
env_embedded.c env: cosmetic: Consilidate the default env definition 2012-10-19 15:25:43 -07:00
env_fat.c env: checkpatch clean env_fat 2012-09-26 11:08:32 -07:00
env_flash.c
env_mmc.c
env_nand.c
env_nowhere.c
env_nvram.c
env_onenand.c
env_remote.c env: remove duplicated env_get_char_spec() 2012-09-26 11:08:32 -07:00
env_sf.c
exports.c
fdt_support.c fdt: edid: Enable fdt_add_edid() function when CONFIG_LCD defined 2012-12-11 13:17:35 -07:00
flash.c
hash.c Add generic hash API 2012-12-11 13:17:34 -07:00
hush.c common/misc: sparse fixes 2012-11-04 11:00:35 -07:00
hwconfig.c
image.c fdt: Add option to default to most compatible conf in a fit image 2012-11-12 23:14:57 -05:00
iomux.c serial: remove calls to serial_assign() 2012-10-29 09:07:06 -07:00
kallsyms.c
kgdb.c
kgdb_stubs.c
lcd.c lcd: Implement RLE8 bitmap decoding 2012-11-07 00:57:25 +01:00
lynxkdi.c
main.c Add new bootstage step for the main loop 2012-12-11 13:17:32 -07:00
memsize.c Revert "memsize: Fix for bug in memory sizing code" 2012-09-21 08:14:05 -07:00
menu.c
miiphyutil.c
modem.c
s_record.c
stdio.c stdio: remove useless strncpy 2012-12-11 13:17:33 -07:00
system_map.c
update.c net/: sparse fixes 2012-11-04 11:00:36 -07:00
usb.c usb: use linux/usb/ch9.h instead of usbdescriptors.h 2012-11-20 00:16:06 +01:00
usb_hub.c usb: lowlevel interface change to support multiple controllers 2012-10-15 11:54:00 -07:00
usb_kbd.c USB: add arrow key support to usb_kbd 2012-11-20 00:16:06 +01:00
usb_storage.c common/misc: sparse fixes 2012-11-04 11:00:35 -07:00
xyzModem.c common/misc: sparse fixes 2012-11-04 11:00:35 -07:00