]> git.dujemihanovic.xyz Git - u-boot.git/commit
global: Convert simple_strtoul() with hex to hextoul()
authorSimon Glass <sjg@chromium.org>
Sat, 24 Jul 2021 15:03:29 +0000 (09:03 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 2 Aug 2021 17:32:14 +0000 (13:32 -0400)
commit7e5f460ec457fe310156e399198a41eb0ce1e98c
tree7e89e4d15fcea2d2263c4b4af1be69905537ef42
parent031725f8cdf33e836d19f35d3fe82c5baa5a2976
global: Convert simple_strtoul() with hex to hextoul()

It is a pain to have to specify the value 16 in each call. Add a new
hextoul() function and update the code to use it.

Add a proper comment to simple_strtoul() while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
183 files changed:
arch/arm/cpu/armv8/fsl-layerscape/fdt.c
arch/arm/lib/semihosting.c
arch/arm/mach-imx/cmd_dek.c
arch/arm/mach-imx/cmd_mfgprot.c
arch/arm/mach-imx/cmd_nandbcb.c
arch/arm/mach-imx/hab.c
arch/arm/mach-imx/imx8/ahab.c
arch/arm/mach-imx/imx8/snvs_security_sc.c
arch/arm/mach-imx/imx_bootaux.c
arch/arm/mach-imx/mx6/mp.c
arch/arm/mach-keystone/cmd_mon.c
arch/arm/mach-snapdragon/misc.c
arch/arm/mach-socfpga/misc.c
arch/arm/mach-socfpga/vab.c
arch/arm/mach-stm32mp/cmd_stm32key.c
arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
arch/arm/mach-uniphier/board_late_init.c
arch/arm/mach-zynqmp/mp.c
arch/mips/mach-octeon/bootoctlinux.c
arch/nds32/lib/bootm.c
arch/nios2/lib/bootm.c
arch/powerpc/cpu/mpc83xx/ecc.c
arch/powerpc/cpu/mpc85xx/mp.c
arch/sh/lib/zimageboot.c
arch/x86/lib/zimage.c
board/BuS/eb_cpu5282/eb_cpu5282.c
board/Marvell/octeontx2/board.c
board/amlogic/beelink-s922x/beelink-s922x.c
board/amlogic/odroid-n2/odroid-n2.c
board/amlogic/vim3/vim3.c
board/bluewater/gurnard/gurnard.c
board/cavium/thunderx/atf.c
board/esd/meesc/meesc.c
board/freescale/common/cmd_esbc_validate.c
board/freescale/common/fsl_validate.c
board/freescale/common/sys_eeprom.c
board/freescale/lx2160a/eth_lx2160aqds.c
board/freescale/lx2160a/eth_lx2162aqds.c
board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c
board/freescale/p2041rdb/cpld.c
board/gateworks/gw_ventana/common.c
board/gateworks/gw_ventana/gw_ventana.c
board/gdsys/common/osd.c
board/gdsys/common/osd_cmd.c
board/keymile/common/common.c
board/kontron/sl28/cmds.c
board/menlo/m53menlo/m53menlo.c
board/renesas/stout/cpld.c
board/renesas/ulcb/cpld.c
board/siemens/common/factoryset.c
board/sifive/unmatched/hifive-platform-i2c-eeprom.c
board/synopsys/hsdk/env-lib.c
board/ti/am64x/evm.c
board/ti/j721e/evm.c
board/varisys/common/sys_eeprom.c
board/xilinx/common/fru.c
board/xilinx/versal/cmds.c
board/xilinx/zynq/cmds.c
board/xilinx/zynqmp/cmds.c
cmd/abootimg.c
cmd/adtimg.c
cmd/aes.c
cmd/armflash.c
cmd/avb.c
cmd/axi.c
cmd/bedbug.c
cmd/binop.c
cmd/blk_common.c
cmd/blob.c
cmd/bmp.c
cmd/boot.c
cmd/bootefi.c
cmd/booti.c
cmd/bootm.c
cmd/bootstage.c
cmd/bootz.c
cmd/broadcom/nitro_image_load.c
cmd/cbfs.c
cmd/cramfs.c
cmd/cros_ec.c
cmd/demo.c
cmd/disk.c
cmd/efidebug.c
cmd/elf.c
cmd/fastboot.c
cmd/fdt.c
cmd/flash.c
cmd/fpga.c
cmd/fpgad.c
cmd/host.c
cmd/i2c.c
cmd/ini.c
cmd/io.c
cmd/iotrace.c
cmd/itest.c
cmd/jffs2.c
cmd/load.c
cmd/lzmadec.c
cmd/md5sum.c
cmd/mdio.c
cmd/mem.c
cmd/mfsl.c
cmd/mii.c
cmd/misc.c
cmd/mmc.c
cmd/mtd.c
cmd/mvebu/bubt.c
cmd/mvebu/comphy_rx_training.c
cmd/nand.c
cmd/net.c
cmd/nvedit.c
cmd/nvedit_efi.c
cmd/onenand.c
cmd/osd.c
cmd/pcap.c
cmd/pci.c
cmd/pstore.c
cmd/pxe_utils.c
cmd/qfw.c
cmd/read.c
cmd/reiser.c
cmd/remoteproc.c
cmd/rng.c
cmd/rtc.c
cmd/setexpr.c
cmd/sf.c
cmd/smccc.c
cmd/source.c
cmd/strings.c
cmd/ti/ddr3.c
cmd/tlv_eeprom.c
cmd/tpm-common.c
cmd/trace.c
cmd/tsi148.c
cmd/ubi.c
cmd/ubifs.c
cmd/universe.c
cmd/unlz4.c
cmd/unzip.c
cmd/x86/mtrr.c
cmd/ximg.c
cmd/yaffs2.c
cmd/zfs.c
cmd/zip.c
common/bedbug.c
common/bootm_os.c
common/fdt_support.c
common/hash.c
common/image-fdt.c
common/image-fit.c
common/image.c
common/kallsyms.c
common/lcd.c
common/splash.c
common/splash_source.c
common/update.c
disk/part.c
drivers/dfu/dfu_mtd.c
drivers/dfu/dfu_nand.c
drivers/dfu/dfu_ram.c
drivers/dfu/dfu_sf.c
drivers/fastboot/fb_command.c
drivers/gpio/pca953x.c
drivers/misc/ds4510.c
drivers/net/e1000_spi.c
drivers/net/fm/fdt.c
drivers/net/fsl-mc/mc.c
drivers/net/pfe_eth/pfe_cmd.c
drivers/net/phy/b53.c
drivers/net/phy/mv88e6352.c
drivers/power/power_core.c
drivers/qe/qe.c
drivers/rtc/m41t60.c
drivers/video/ati_radeon_fb.c
drivers/video/cfb_console.c
drivers/video/mx3fb.c
fs/fs.c
include/vsprintf.h
lib/net_utils.c
lib/strto.c
lib/uuid.c
lib/vsprintf.c
test/str_ut.c