u-boot/cmd
Peter Hoyes b4fae89c48 fdt: Make fdt addr -q quieter
64597346 "fdt: Add -q option to fdt addr for distro_bootcmd" introduced
the -q option for fdt addr, which sets the current working fdt address
without printing any output.

baf41410 "fdt: Show a message when the working FDT changes" made the
utility function set_working_fdt_addr (in cmd/fdt.c) output a message
on each invocation, even if called via fdt addr -q, in which case its
output is now slightly noisier.

To fix this, split out set_working_fdt_addr into set_working_fdt_addr
plus the static function set_working_fdt_addr_quiet.
set_working_fdt_addr_quiet can be called by "quiet" fdt cmd logic and
set_working_fdt_addr is exported (as before) to other boot logic. The
latter calls the former.

Remove the assertion from the fdt addr test case when calling with the
-q argument.

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-04-03 06:53:53 +12:00
..
arm
broadcom
meson
mvebu cmd: mvebu/bubt: Enable command by default 2023-03-01 06:39:17 +01:00
riscv
sandbox
ti Correct SPL uses of SYS_LONGHELP 2023-02-10 07:41:40 -05:00
x86
.gitignore
ab_select.c
abootimg.c
acpi.c
adc.c
addrmap.c
adtimg.c
aes.c
armflash.c
avb.c
axi.c
bcb.c
bdinfo.c bbinfo: Show the size of the copy framebuffer 2023-03-13 13:53:01 +01:00
bind.c
binop.c
blk_common.c
blkcache.c
blob.c
bloblist.c
bmp.c
boot.c
bootcount.c Correct SPL uses of SYS_LONGHELP 2023-02-10 07:41:40 -05:00
bootdev.c
bootefi.c cmd: bootefi: allocate device-tree copy from high memory 2023-03-25 12:04:49 +01:00
bootflow.c bootflow: Rename bootflow_flags_t 2023-03-08 11:40:49 -08:00
booti.c
bootm.c
bootmenu.c Pull request for efi-2023-04-rc2 2023-02-10 13:45:15 -05:00
bootmeth.c
bootstage.c
bootz.c
btrfs.c
button.c
cache.c
cat.c
cbfs.c
clk.c cmd: clk: probe the clock before dump them 2023-02-12 13:37:56 -05:00
clone.c
cls.c video: Add a note about the broken implementation 2023-03-13 13:53:01 +01:00
config.c
conitrace.c
console.c cmd: improve coninfo output formatting 2023-02-10 13:05:39 +01:00
cpu.c Correct SPL uses of SYS_LONGHELP 2023-02-10 07:41:40 -05:00
cramfs.c
cros_ec.c
cyclic.c
date.c
demo.c
dfu.c
diag.c
disk.c
dm.c Correct SPL uses of SYS_LONGHELP 2023-02-10 07:41:40 -05:00
echo.c
eeprom.c
efi.c efi: Support showing tables 2023-03-25 11:07:22 +01:00
efi_common.c efi: Split out table-listing code into a new file 2023-03-25 11:07:22 +01:00
eficonfig.c Pull request for efi-2023-04-rc2 2023-02-10 13:45:15 -05:00
eficonfig_sbkey.c eficonfig: refactor eficonfig_process_common function 2023-01-27 18:32:00 +01:00
efidebug.c efi: Split out table-listing code into a new file 2023-03-25 11:07:22 +01:00
elf.c
erofs.c
ethsw.c
event.c
exit.c
ext2.c
ext4.c
extension_board.c bootstd: Add a hunter for the extension feature 2023-01-23 18:11:41 -05:00
fastboot.c Correct SPL use of USB_FUNCTION_FASTBOOT 2023-02-10 07:41:40 -05:00
fat.c
fdt.c fdt: Make fdt addr -q quieter 2023-04-03 06:53:53 +12:00
flash.c
font.c video console: move vidconsole_get_font_size() logic to driver ops 2023-03-07 15:59:21 +01:00
fpga.c
fpgad.c
fs.c
fs_uuid.c
fuse.c
fwu_mdata.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
kaslrseed.c
Kconfig cmd: ums: abort mounting by pressing any key 2023-03-30 15:09:59 -04:00
led.c
legacy-mtd-utils.c
legacy-mtd-utils.h
legacy_led.c
license.c
load.c
log.c
lsblk.c
lzmadec.c
mac.c
Makefile cmd: pci: Add command to set MPS of all PCIe devices 2023-03-30 15:09:59 -04:00
mbr.c
md5sum.c
mdio.c
mem.c cmd: fix mtest on 64 bit systems 2023-01-27 18:31:58 +01:00
mii.c
misc.c
mmc.c cmd: mmc: Expand bkops handling 2023-01-31 22:02:27 +09:00
mp.c
mtd.c
mtdparts.c
mux.c
nand.c mtd: nand: Mark reserved blocks 2023-02-27 16:28:30 +01:00
net.c Correct SPL uses of CMD_TFTPPUT 2023-02-09 16:32:26 -05:00
nvedit.c nvedit: simplify do_env_indirect() 2023-03-30 15:09:59 -04:00
nvedit_efi.c
nvme.c
onenand.c
optee_rpmb.c
osd.c
panic.c
part.c
pause.c
pcap.c
pci.c
pci_mps.c cmd: pci: Add command to set MPS of all PCIe devices 2023-03-30 15:09:59 -04:00
pinmux.c
pmc.c
pmic.c
printf.c
printf.h
pstore.c
pvblock.c
pwm.c
pxe.c
qfw.c qemu: Move qfw kernel setup into a common file 2023-02-06 13:04:53 -05:00
read.c cmd: introduce 'write' command 2023-03-17 15:44:01 -04:00
reginfo.c
regulator.c
reiser.c
remoteproc.c
rng.c
rockusb.c
rtc.c
sata.c
sb.c
scp03.c
scsi.c
seama.c cmd: Add a SEAMA image load command 2023-02-06 17:10:15 -05:00
setexpr.c
sf.c cmd: fix return code of 'sf erase' 2023-01-26 21:05:13 +05:30
sha1sum.c
sleep.c
smccc.c cmd: smccc: Print results in hex instead of dec 2023-03-09 13:15:00 +01:00
sound.c
source.c
spi.c
spl.c
sqfs.c
stackprot_test.c
strings.c
sysboot.c
temperature.c
terminal.c
test.c
thordown.c
time.c
timer.c
tlv_eeprom.c cmd: return code when tlv_eeprom incorrectly called 2023-02-13 10:14:50 +01:00
tpm-common.c
tpm-user-utils.h
tpm-v1.c
tpm-v2.c
tpm_test.c
trace.c
tsi148.c
ubi.c
ubifs.c
ufs.c
universe.c
unlz4.c
unzip.c
usb.c
usb_gadget_sdp.c
usb_mass_storage.c cmd: ums: abort mounting by pressing any key 2023-03-30 15:09:59 -04:00
vbe.c
version.c
video.c
virtio.c
w1.c
wdt.c
wol.c
ximg.c
xxd.c
yaffs2.c
zfs.c
zip.c