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

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

Signed-off-by: Simon Glass <sjg@chromium.org>
111 files changed:
arch/arm/cpu/armv8/fsl-layerscape/soc.c
arch/arm/mach-imx/cmd_dek.c
arch/arm/mach-imx/cmd_mfgprot.c
arch/arm/mach-imx/imx8/snvs_security_sc.c
arch/arm/mach-keystone/cmd_clock.c
arch/arm/mach-kirkwood/cpu.c
arch/arm/mach-nexell/clock.c
arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c
arch/powerpc/cpu/mpc83xx/ecc.c
board/Arcturus/ucp1020/ucp1020.c
board/BuS/eb_cpu5282/eb_cpu5282.c
board/atmel/common/board.c
board/cavium/thunderx/atf.c
board/compulab/common/eeprom.c
board/compulab/common/omap3_display.c
board/davinci/da8xxevm/da850evm.c
board/freescale/common/pixis.c
board/freescale/common/sys_eeprom.c
board/gateworks/gw_ventana/gsc.c
board/gateworks/gw_ventana/gw_ventana.c
board/gateworks/venice/gsc.c
board/gdsys/common/cmd_ioloop.c
board/samsung/common/exynos5-dt.c
board/samsung/odroid/odroid.c
board/siemens/taurus/taurus.c
board/sifive/unmatched/hifive-platform-i2c-eeprom.c
board/synopsys/hsdk/env-lib.c
board/toradex/common/tdx-cfg-block.c
board/varisys/common/sys_eeprom.c
board/work-microwave/work_92105/work_92105_display.c
cmd/avb.c
cmd/axi.c
cmd/bind.c
cmd/binop.c
cmd/blk_common.c
cmd/bmp.c
cmd/clk.c
cmd/clone.c
cmd/cros_ec.c
cmd/demo.c
cmd/exit.c
cmd/flash.c
cmd/gpio.c
cmd/gpt.c
cmd/i2c.c
cmd/led.c
cmd/legacy_led.c
cmd/load.c
cmd/log.c
cmd/mbr.c
cmd/mem.c
cmd/mmc.c
cmd/mp.c
cmd/nand.c
cmd/nvedit.c
cmd/optee_rpmb.c
cmd/osd.c
cmd/pcap.c
cmd/pstore.c
cmd/pwm.c
cmd/remoteproc.c
cmd/rtc.c
cmd/sata.c
cmd/sleep.c
cmd/sound.c
cmd/spi.c
cmd/ti/pd.c
cmd/tpm-common.c
cmd/ufs.c
cmd/usb.c
cmd/w1.c
common/bedbug.c
common/lcd_console.c
disk/part_amiga.c
drivers/dfu/dfu_mmc.c
drivers/dfu/dfu_mtd.c
drivers/dfu/dfu_nand.c
drivers/dfu/dfu_sf.c
drivers/dfu/dfu_virt.c
drivers/gpio/gpio-uclass.c
drivers/gpio/mxs_gpio.c
drivers/gpio/tca642x.c
drivers/net/e1000.c
drivers/net/fsl-mc/mc.c
drivers/net/netconsole.c
drivers/net/pfe_eth/pfe_firmware.c
drivers/net/phy/b53.c
drivers/net/phy/mv88e6352.c
drivers/net/qe/dm_qe_uec.c
drivers/pinctrl/nexell/pinctrl-nexell.c
drivers/pinctrl/pinctrl-uclass.c
drivers/ram/octeon/octeon_ddr.c
drivers/serial/serial-uclass.c
drivers/serial/serial.c
drivers/usb/cdns3/gadget.c
drivers/usb/gadget/epautoconf.c
drivers/usb/gadget/ether.c
drivers/video/vidconsole-uclass.c
examples/standalone/atmel_df_pow2.c
include/vsprintf.h
lib/dhry/cmd_dhry.c
lib/fdtdec.c
lib/net_utils.c
lib/strto.c
net/bootp.c
net/eth-uclass.c
net/eth_legacy.c
net/net.c
net/tftp.c
test/str_ut.c