[PATCH 18/19] global: Finish CONFIG -> CFG migration

Simon Glass sjg at chromium.org
Wed Jan 11 01:15:23 CET 2023


On Tue, 10 Jan 2023 at 09:25, Tom Rini <trini at konsulko.com> wrote:
>
> At this point, the remaining places where we have a symbol that is
> defined as CONFIG_... are in fairly odd locations. While as much dead
> code has been removed as possible, some of these locations are simply
> less obvious at first. In other cases, this code is used, but was
> defined in such a way as to have been missed by earlier checks.  Perform
> a rename of all such remaining symbols to be CFG_... rather than
> CONFIG_...
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
>  README                                        |  24 +-
>  arch/arm/cpu/armv8/fsl-layerscape/cpu.c       | 166 +++++-----
>  .../arm/include/asm/arch-fsl-layerscape/cpu.h |  96 +++---
>  .../include/asm/arch-rockchip/ddr_rk3288.h    |   2 +-
>  .../include/asm/arch-rockchip/sdram_rk322x.h  |   2 +-
>  arch/arm/include/asm/arch-sunxi/i2c.h         |   2 +-
>  arch/arm/mach-omap2/fdt-common.c              |   4 +-
>  arch/arm/mach-omap2/omap5/fdt.c               |   8 +-
>  .../arm/mach-rmobile/include/mach/rcar-mstp.h |  96 +++---
>  arch/arm/mach-rockchip/rk3036/sdram_rk3036.c  |   2 +-
>  arch/arm/mach-tegra/tegra20/warmboot_avp.c    |   2 +-
>  arch/arm/mach-tegra/tegra20/warmboot_avp.h    |   4 +-
>  arch/m68k/cpu/mcf523x/interrupts.c            |   8 +-
>  arch/m68k/cpu/mcf52x2/interrupts.c            |  14 +-
>  arch/m68k/cpu/mcf530x/interrupts.c            |   2 +-
>  arch/m68k/cpu/mcf532x/interrupts.c            |   8 +-
>  arch/m68k/cpu/mcf5445x/interrupts.c           |   8 +-
>  arch/m68k/include/asm/cache.h                 |  42 +--
>  arch/m68k/include/asm/coldfire/intctrl.h      |   8 +-
>  arch/m68k/include/asm/immap.h                 | 290 +++++++++---------
>  arch/m68k/lib/cache.c                         |  28 +-
>  arch/m68k/lib/interrupts.c                    |   2 +-
>  arch/m68k/lib/time.c                          |  24 +-
>  arch/mips/mach-mtmips/mt7621/spl/start.S      |   8 +-
>  arch/powerpc/cpu/mpc83xx/bats/bats.h          | 128 ++++----
>  arch/powerpc/cpu/mpc83xx/cpu_init.c           |  26 +-
>  arch/powerpc/cpu/mpc83xx/hid/hid.h            |  12 +-
>  arch/powerpc/cpu/mpc83xx/hrcw/hrcw.h          |   4 +-
>  arch/powerpc/cpu/mpc83xx/lblaw/lblaw.h        |  32 +-
>  arch/powerpc/cpu/mpc83xx/spd_sdram.c          |   6 +-
>  arch/powerpc/cpu/mpc83xx/spl_minimal.c        |  10 +-
>  arch/powerpc/cpu/mpc83xx/start.S              | 154 +++++-----
>  arch/powerpc/cpu/mpc85xx/cpu_init.c           |  56 ++--
>  arch/powerpc/cpu/mpc85xx/fdt.c                |  10 +-
>  arch/powerpc/cpu/mpc85xx/liodn.c              |   6 +-
>  arch/powerpc/cpu/mpc8xxx/fsl_pamu.c           |  16 +-
>  arch/powerpc/include/asm/fsl_pamu.h           |   2 +-
>  arch/powerpc/include/asm/fsl_secure_boot.h    |   8 +-
>  arch/powerpc/lib/bootm.c                      |   6 +-
>  arch/powerpc/lib/interrupts.c                 |   6 +-
>  arch/riscv/include/asm/encoding.h             |   2 +-
>  arch/x86/include/asm/acpi/chromeos.asl        |   4 +-
>  board/alliedtelesis/x530/x530.c               |   6 +-
>  board/armltd/vexpress64/vexpress64.c          |   2 +-
>  .../compulab/imx8mm-cl-iot-gate/eeprom_spl.c  |   6 +-
>  board/davinci/da8xxevm/da850evm.c             |   6 +-
>  board/davinci/da8xxevm/omapl138_lcdk.c        |   4 +-
>  board/eets/pdu001/board.c                     |   4 +-
>  board/freescale/common/cadmus.c               |  12 +-
>  board/freescale/common/fsl_chain_of_trust.c   |   6 +-
>  board/freescale/common/pixis.c                |  30 +-
>  board/freescale/ls1043aqds/eth.c              |   4 +-
>  board/freescale/ls1043ardb/eth.c              |   4 +-
>  board/freescale/ls1046afrwy/eth.c             |   2 +-
>  board/freescale/ls1046aqds/eth.c              |   2 +-
>  board/freescale/ls1046ardb/eth.c              |   4 +-
>  board/freescale/p2041rdb/eth.c                |   4 +-
>  board/freescale/t102xrdb/eth_t102xrdb.c       |   4 +-
>  board/freescale/t104xrdb/eth.c                |   2 +-
>  board/freescale/t208xqds/eth_t208xqds.c       |   4 +-
>  board/freescale/t4rdb/eth.c                   |   4 +-
>  board/logicpd/omap3som/omap3logic.c           |   4 +-
>  board/renesas/blanche/blanche.c               |   2 +-
>  board/sysam/amcore/amcore.c                   |   2 +-
>  board/ti/evm/evm.c                            |   4 +-
>  cmd/ximg.c                                    |   6 +-
>  common/command.c                              |   2 +-
>  doc/README.davinci                            |   2 +-
>  doc/README.fec_mxc                            |   2 +-
>  doc/develop/environment.rst                   |   2 +-
>  doc/usage/netconsole.rst                      |   2 +-
>  drivers/crypto/fsl/jr.c                       |   6 +-
>  drivers/crypto/fsl/jr.h                       |   2 +-
>  drivers/ddr/fsl/ctrl_regs.c                   |  10 +-
>  drivers/ddr/fsl/options.c                     |   6 +-
>  drivers/fpga/virtex2.c                        |   8 +-
>  drivers/fpga/zynqpl.c                         |   6 +-
>  drivers/gpio/mpc83xx_gpio.c                   |  40 +--
>  drivers/i2c/fsl_i2c.c                         |  16 +-
>  drivers/i2c/lpc32xx_i2c.c                     |  16 +-
>  drivers/i2c/mvtwsi.c                          |   6 +-
>  drivers/i2c/octeon_i2c.c                      |   4 +-
>  drivers/misc/gpio_led.c                       |   6 +-
>  drivers/mtd/nand/raw/kmeter1_nand.c           |  12 +-
>  drivers/mtd/spi/fsl_espi_spl.c                |   4 +-
>  drivers/net/ag7xxx.c                          |  30 +-
>  drivers/net/designware.c                      |  18 +-
>  drivers/net/designware.h                      |  18 +-
>  drivers/net/eepro100.c                        |  24 +-
>  drivers/net/fec_mxc.c                         |   8 +-
>  drivers/net/fm/fm.c                           |   2 +-
>  drivers/net/mcfmii.c                          |  12 +-
>  drivers/net/mt7628-eth.c                      |  12 +-
>  drivers/net/mvpp2.c                           |   2 +-
>  drivers/net/netconsole.c                      |   6 +-
>  drivers/net/npcm750_eth.c                     |  32 +-
>  drivers/net/octeon/octeon_eth.c               |   6 +-
>  drivers/net/qe/dm_qe_uec.c                    |   8 +-
>  drivers/net/sun8i_emac.c                      |  38 +--
>  drivers/net/ti/davinci_emac.c                 |  20 +-
>  drivers/phy/phy-ti-am654.c                    |   8 +-
>  drivers/pinctrl/nxp/pinctrl-imx.h             |   2 +-
>  drivers/pinctrl/nxp/pinctrl-imx7ulp.c         |   4 +-
>  drivers/pinctrl/nxp/pinctrl-imx8ulp.c         |   4 +-
>  drivers/pinctrl/nxp/pinctrl-mxs.c             |   6 +-
>  drivers/pinctrl/nxp/pinctrl-mxs.h             |   6 +-
>  drivers/pinctrl/pinctrl-zynqmp.c              |   8 +-
>  drivers/qe/qe.c                               |   4 +-
>  drivers/ram/aspeed/sdram_ast2600.c            |  12 +-
>  drivers/ram/octeon/octeon_ddr.c               |   8 +-
>  drivers/ram/rockchip/dmc-rk3368.c             |   2 +-
>  drivers/serial/ns16550.c                      |  12 +-
>  drivers/serial/serial_omap.c                  |   6 +-
>  drivers/serial/usbtty.c                       |  28 +-
>  drivers/serial/usbtty.h                       |  18 +-
>  drivers/spi/mxc_spi.c                         |   6 +-
>  drivers/timer/mpc83xx_timer.c                 |   6 +-
>  drivers/ufs/ufs.h                             |   2 +-
>  drivers/usb/gadget/ci_udc.c                   |  10 +-
>  drivers/usb/gadget/ci_udc.h                   |   6 +-
>  drivers/usb/host/ehci-faraday.c               |   6 +-
>  drivers/usb/host/ehci-tegra.c                 |   6 +-
>  drivers/usb/musb-new/linux-compat.h           |   4 +-
>  drivers/usb/musb-new/musb_core.c              |   4 +-
>  drivers/usb/musb-new/musb_core.h              |   2 +-
>  drivers/usb/ulpi/omap-ulpi-viewport.c         |   2 +-
>  drivers/usb/ulpi/ulpi-viewport.c              |   2 +-
>  drivers/usb/ulpi/ulpi.c                       |   2 +-
>  include/command.h                             |   4 +-
>  include/env_callback.h                        |   6 +-
>  include/fm_eth.h                              |  28 +-
>  include/fsl_ddr_sdram.h                       |  16 +-
>  include/fsl_usb.h                             |  42 +--
>  include/usb/ulpi.h                            |   4 +-
>  lib/gzip.c                                    |  14 +-
>  lib/time.c                                    |   6 +-
>  net/bootp.c                                   |  14 +-
>  137 files changed, 1087 insertions(+), 1087 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list