u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: Tom Rini <trini@konsulko.com>
Cc: u-boot@lists.denx.de
Subject: Re: [PATCH 18/19] global: Finish CONFIG -> CFG migration
Date: Tue, 10 Jan 2023 17:15:23 -0700	[thread overview]
Message-ID: <CAPnjgZ1S0f+R4mdA1guiVdBNBrysJnAjkH+2+TMvq2wmSF5r+w@mail.gmail.com> (raw)
In-Reply-To: <20230110161946.3816866-18-trini@konsulko.com>

On Tue, 10 Jan 2023 at 09:25, Tom Rini <trini@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@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@chromium.org>

  reply	other threads:[~2023-01-11  0:16 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-10 16:19 [PATCH 01/19] global: Remove unused CONFIG defines Tom Rini
2023-01-10 16:19 ` [PATCH 02/19] arc: Migrate ARC_MMU_VER to Kconfig Tom Rini
2023-01-10 16:19 ` [PATCH 03/19] i2c: fsl_i2c: Rework usage of CONFIG_SYS_IMMR Tom Rini
2023-01-10 16:19 ` [PATCH 04/19] arm: Rework usage of CONFIG_ARMV[78]_SECURE_BASE in linker scripts Tom Rini
2023-01-10 16:19 ` [PATCH 05/19] dm: ns16550: Change how we get UART_REG to be defined Tom Rini
2023-01-11  0:15   ` Simon Glass
2023-01-17 22:10   ` [PATCHv2 05/19] dm: ns16550: Restore how we define UART_REG Tom Rini
2023-01-17 23:34     ` Andre Przywara
2023-01-18 14:15     ` Quentin Schulz
2023-01-10 16:19 ` [PATCH 06/19] arm: lib1funcs.S: Update compatibility with Linux comment slightly Tom Rini
2023-01-10 16:19 ` [PATCH 07/19] autoboot: Rework CONFIG_AUTOBOOT_STOP_STR_* usage Tom Rini
2023-01-10 16:19 ` [PATCH 08/19] spl: sata: Rework the loading case it not use IS_ENABLED(...) Tom Rini
2023-01-10 16:19 ` [PATCH 09/19] common/update: Finish Kconfig migration Tom Rini
2023-01-10 16:19 ` [PATCH 10/19] fpga: Migrate CONFIG_MAX_FPGA_DEVICES to Kconfig Tom Rini
2023-01-11  8:17   ` Michal Simek
2023-01-10 16:19 ` [PATCH 11/19] usb: musb: Rename CONFIG_USB_MUSB_TIMEOUT to MUSB_TIMEOUT Tom Rini
2023-01-10 17:20   ` Marek Vasut
2023-01-10 16:19 ` [PATCH 12/19] fsl-layerscape: Rework usage of CONFIG_CLUSTER_CLK_FREQ Tom Rini
2023-01-10 16:19 ` [PATCH 13/19] net: phy: mv88e61xx: Finish migration of MV88E61XX_FIXED_PORTS Tom Rini
2023-01-10 17:11   ` Ramon Fried
2023-01-10 16:19 ` [PATCH 14/19] nxp: Finish migration of SYS_FSL_IFC_BANK_COUNT to Kconfig Tom Rini
2023-01-10 16:19 ` [PATCH 15/19] nxp: Finish migration of SYS_FSL_SRDS_[12] " Tom Rini
2023-01-10 16:19 ` [PATCH 16/19] usbtty: Remove default CONFIG_USBD_* values Tom Rini
2023-01-10 16:19 ` [PATCH 17/19] watchdog: Clean up defaults for imx_watchdog / ulp_wdog Tom Rini
2023-01-10 16:54   ` Stefan Roese
2023-01-10 16:19 ` [PATCH 18/19] global: Finish CONFIG -> CFG migration Tom Rini
2023-01-11  0:15   ` Simon Glass [this message]
2023-01-10 16:19 ` [PATCH 19/19] CI: Make check for new defined CONFIG symbols even more robust Tom Rini
2023-01-11  0:15   ` Simon Glass
2023-01-20 23:21 ` [PATCH 01/19] global: Remove unused CONFIG defines Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPnjgZ1S0f+R4mdA1guiVdBNBrysJnAjkH+2+TMvq2wmSF5r+w@mail.gmail.com \
    --to=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).