Skip to contentSkip to conversation

Clean up of bad Kconfig options

PATCH Superseded Simon Glass 3 participants 99 messages Jan 29, 2023 – Feb 1, 2023

Subsystems (39)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover Clean up of bad Kconfig options

This series adds source scanning to moveconfig.py so that it can look for Kconfig options mentioned in the source which do not appear in Kconfig, and vice versa.

This tool is then used to clean up the unused or obsolete options mentioned in Makefiles, along with any attached source code.

No functional change is intended.

This should make it easier to move to the new kconfig approach.

Changes in v2:
- Just drop the reference
- Drop patch "treewide: Correct invalid Kconfig syntax and warnings"

Simon Glass (87):
moveconfig: Add an option to compare Kconfig against source
power: Drop fg_max77693
nand: Drop CONFIG_NAND_SPEAR
power: Drop pmic_max77693.c
gpio: Drop adi_gpio2
Makefile: Drop CONFIG_AIS_CONFIG_FILE
misc: Drop ali512x
sandbox: Drop reference to CONFIG_ARCH_DEVICE_TREE Rename ARCH_NPCM7xx
arm: mvebu: Remove reference to ARMADA_370
arm: mvebu: Drop reference to CONFIG_ARMADA_39X
ppc: Drop bat_rw
rockchip: Correct a reference to CONFIG_BOOT_MODE_REG
cmd: Add an option to enable the ini command
cmd: Drop mfsl command
Correct CONFIG_CONTROLCENTERDC
Drop dataflash_mmc_mux command
Drop CONFIG_DM644X_GPIO
Makefile: Avoid use of invalid CONFIG_ option
env: Drop ENV_IS_IN_SATA
samsung: Drop CONFIG_EXYNOS_PWM_BL
fpga: Add a LATTICE option
fpga: Add a FPGA_STRATIX_II option
misc: Drop mc9sdz60 driver
freescale: Drop unused pixis code
freescale: Drop unused ftpmu010 driver
rcar: Drop timer
i2c: Rename I2C_MUX_PCA954x
imx: Drop unused CONFIG_IMX
arm: Drop old kona code
video: Drop unused lg4573 driver
m68k: Drop unused CONFIG_M52277
m68k: Rename MCF5301x
m68k: Rename MCF532x
m68k: Rename MCF5441x
m68k: Drop unused CONFIG_MACH_DAVINCI_DA830_EVM
arm: Drop CONFIG_MMU
arc: Drop CONFIG_MMU
ppc: Rename MPC83xx
gpio: Drop unused mpc83xx_gpio driver
ppc: Rename MPC85xx
powerpc: Rename MPC86xx
imx: Rename CONFIG_MXS to CFG_MXS
nand: Drop unused actl_nand driver
mtd: Drop unused fsl_upm driver
mtd: Drop unused fsmc_nand driver
mtd: Drop unused kb9202_nand driver
mtd: Drop unused nand_plat driver
Makefile: Drop CONFIG_OF_EARLY_FLATTREE
omap: Drop unused CONFIG_OMAP_USB_PHY
mtd: Drop unused CONFIG_ONENAND_U_BOOT
ppc: Drop unused CONFIG_P2020DS
gpio: Drop unused pca9698 driver
samsung: Rename PINCTRL_EXYNOS78x0
power: Drop unused bat_trats driver and battery code
power: Drop unused fg_max17042 driver and fuel gauge code
power: Drop unused muic_max77693 driver and mfd code
power: Drop unused muic_max8997 driver
freescale: Drop unused pq-mds-pib driver
rmobile: Drop CONFIG_RMOBILE
rtc: Drop old and unused drivers
mtd: Drop unused CONFIG_S32V234
mtd: Drop unused scf0403_lcd driver
rmobile: Drop CONFIG_SH73A0 and associated code
sh4: Drop unused pci_sh7780 driver
Drop ubsha1 tool
arm: Rename STM32MP13x
arm: Rename STM32MP15x
sysreset: at91: Correct Makefile rule for SYSRESET_AT91
gdsys: Drop unused fpga file
sh4: Drop unused kona_i2c driver
compulab: Drop CONFIG_TARGET_MCM_IMX8M_MINI
freescale: Drop CONFIG_TARGET_MPC8536DS et al
sh4: Drop unused twl6030 driver
ppc: Makefile: Drop unused ppc4xx code
armada: usb: net: Drop unused USB drivers
usb: Drop unused ehci-faraday driver
usb: Drop unused fotg210 gadget
rmobile: Drop unused ehci-rmobile driver
usb: Drop unused ehci-vct driver
usb: Drop unused sl811-hcd driver
imx: Drop CONFIG_USE_PLUGIN
freescale: Drop unused vsc3316_3308 driver
watchdog: Rename WDT_MPC8xx
tools: Drop xway-swap-bytes tool
freescale: Drop unused zm7300 driver
fdt: Drop use of non-existent OF_PLATDATA option

 Kconfig                                       |    2 +-
 Makefile                                      |   24 +-
 README                                        |    7 -
 api/api_platform-powerpc.c                    |    4 +-
 arch/Kconfig                                  |    2 +-
 arch/Kconfig.nxp                              |    6 +-
 arch/arc/config.mk                            |    4 -
 arch/arc/lib/ints_low.S                       |    5 -
 arch/arm/cpu/arm920t/Makefile                 |    2 -
 arch/arm/cpu/armv7/Makefile                   |    2 -
 arch/arm/cpu/armv7/kona-common/Makefile       |    8 -
 arch/arm/cpu/armv7/kona-common/clk-stubs.c    |   25 -
 .../arm/cpu/armv7/kona-common/hwinit-common.c |   17 -
 arch/arm/cpu/armv7/kona-common/reset.S        |   25 -
 arch/arm/cpu/armv7/kona-common/s_init.c       |   11 -
 arch/arm/cpu/armv8/Makefile                   |    1 -
 arch/arm/dts/Makefile                         |    6 +-
 arch/arm/dts/stm32mp15-u-boot.dtsi            |    2 +-
 arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi      |    4 +-
 arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi      |    4 +-
 arch/arm/lib/debug.S                          |   21 -
 arch/arm/mach-exynos/Kconfig                  |    6 +-
 arch/arm/mach-mvebu/Kconfig                   |    2 +-
 arch/arm/mach-mvebu/Makefile                  |    4 +-
 arch/arm/mach-npcm/Kconfig                    |    4 +-
 arch/arm/mach-npcm/Makefile                   |    2 +-
 arch/arm/mach-npcm/npcm7xx/Kconfig            |    2 +-
 arch/arm/mach-rmobile/Makefile                |    2 -
 arch/arm/mach-rmobile/cpu_info-sh73a0.c       |   43 -
 arch/arm/mach-rmobile/cpu_info.c              |    1 -
 .../mach-rmobile/include/mach/ehci-rmobile.h  |  146 -
 arch/arm/mach-rmobile/include/mach/gpio.h     |    5 +-
 arch/arm/mach-rmobile/include/mach/rmobile.h  |    5 +-
 .../mach-rmobile/include/mach/sh73a0-gpio.h   |  553 ----
 arch/arm/mach-rmobile/include/mach/sh73a0.h   |  289 --
 arch/arm/mach-rmobile/pfc-sh73a0.c            | 2807 -----------------
 arch/arm/mach-rmobile/timer.c                 |   87 -
 arch/arm/mach-rockchip/Makefile               |    2 +-
 arch/arm/mach-stm32mp/Kconfig                 |    8 +-
 arch/arm/mach-stm32mp/Kconfig.13x             |    4 +-
 arch/arm/mach-stm32mp/Kconfig.15x             |    6 +-
 arch/arm/mach-stm32mp/Makefile                |    4 +-
 arch/arm/mach-stm32mp/cmd_stm32key.c          |   20 +-
 .../cmd_stm32prog/cmd_stm32prog.c             |    2 +-
 .../mach-stm32mp/cmd_stm32prog/stm32prog.c    |    4 +-
 .../mach-stm32mp/cmd_stm32prog/stm32prog.h    |    6 +-
 arch/arm/mach-stm32mp/fdt.c                   |   12 +-
 arch/arm/mach-stm32mp/include/mach/stm32.h    |   16 +-
 .../arm/mach-stm32mp/include/mach/stm32prog.h |    2 +-
 arch/m68k/Kconfig                             |   14 +-
 arch/m68k/Makefile                            |    9 +-
 arch/m68k/cpu/mcf532x/cpu.c                   |    4 +-
 arch/m68k/cpu/mcf532x/cpu_init.c              |    8 +-
 arch/m68k/cpu/mcf532x/speed.c                 |   28 +-
 arch/m68k/cpu/mcf532x/start.S                 |    2 +-
 arch/m68k/cpu/mcf5445x/cpu_init.c             |   12 +-
 arch/m68k/cpu/mcf5445x/dspi.c                 |    4 +-
 arch/m68k/cpu/mcf5445x/speed.c                |    4 +-
 arch/m68k/cpu/mcf5445x/start.S                |    8 +-
 arch/m68k/include/asm/cache.h                 |    8 +-
 arch/m68k/include/asm/coldfire/skha.h         |    2 +-
 arch/m68k/include/asm/global_data.h           |    2 +-
 arch/m68k/include/asm/immap.h                 |    2 +-
 arch/m68k/include/asm/immap_5301x.h           |    2 +-
 arch/m68k/include/asm/immap_5441x.h           |    2 +-
 arch/mips/mach-octeon/octeon_fdt.c            |   43 +-
 arch/powerpc/Kconfig                          |   14 +-
 arch/powerpc/Makefile                         |    2 +-
 arch/powerpc/cpu/Makefile                     |    6 +-
 arch/powerpc/cpu/mpc83xx/Kconfig              |    4 +-
 arch/powerpc/cpu/mpc83xx/cpu.c                |    4 +-
 arch/powerpc/cpu/mpc83xx/start.S              |    2 +-
 arch/powerpc/cpu/mpc85xx/Kconfig              |   16 +-
 arch/powerpc/cpu/mpc85xx/bsc9132_serdes.c     |    6 +-
 arch/powerpc/cpu/mpc85xx/c29x_serdes.c        |    6 +-
 arch/powerpc/cpu/mpc85xx/cpu.c                |   10 +-
 arch/powerpc/cpu/mpc85xx/cpu_init.c           |   34 +-
 arch/powerpc/cpu/mpc85xx/cpu_init_early.c     |   14 +-
 arch/powerpc/cpu/mpc85xx/fdt.c                |    6 +-
 .../powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c |    4 +-
 arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c |   10 +-
 arch/powerpc/cpu/mpc85xx/interrupts.c         |    8 +-
 arch/powerpc/cpu/mpc85xx/mp.c                 |   32 +-
 arch/powerpc/cpu/mpc85xx/mpc8536_serdes.c     |    8 +-
 arch/powerpc/cpu/mpc85xx/mpc8544_serdes.c     |   10 +-
 arch/powerpc/cpu/mpc85xx/mpc8548_serdes.c     |    6 +-
 arch/powerpc/cpu/mpc85xx/p1010_serdes.c       |    6 +-
 arch/powerpc/cpu/mpc85xx/p1021_serdes.c       |    8 +-
 arch/powerpc/cpu/mpc85xx/p1023_serdes.c       |    6 +-
 arch/powerpc/cpu/mpc85xx/p2020_serdes.c       |    6 +-
 arch/powerpc/cpu/mpc85xx/qe_io.c              |    2 +-
 arch/powerpc/cpu/mpc85xx/speed.c              |   14 +-
 arch/powerpc/cpu/mpc85xx/spl_minimal.c        |    6 +-
 arch/powerpc/cpu/mpc85xx/start.S              |   28 +-
 arch/powerpc/cpu/mpc8xxx/Makefile             |    4 +-
 arch/powerpc/cpu/mpc8xxx/cpu.c                |   14 +-
 arch/powerpc/cpu/mpc8xxx/fdt.c                |    4 +-
 arch/powerpc/cpu/mpc8xxx/fsl_lbc.c            |    6 +-
 arch/powerpc/cpu/mpc8xxx/law.c                |    2 +-
 arch/powerpc/cpu/mpc8xxx/srio.c               |   20 +-
 arch/powerpc/include/asm/config.h             |    4 +-
 arch/powerpc/include/asm/config_mpc85xx.h     |    8 +-
 arch/powerpc/include/asm/fsl_dma.h            |    4 +-
 arch/powerpc/include/asm/fsl_lbc.h            |    6 +-
 arch/powerpc/include/asm/fsl_liodn.h          |   26 +-
 arch/powerpc/include/asm/fsl_pci.h            |    4 +-
 arch/powerpc/include/asm/global_data.h        |   12 +-
 arch/powerpc/include/asm/immap_83xx.h         |   14 +-
 arch/powerpc/include/asm/immap_85xx.h         |  728 ++---
 arch/powerpc/include/asm/mpc85xx_gpio.h       |    4 +-
 arch/powerpc/include/asm/ppc.h                |   20 +-
 arch/powerpc/include/asm/processor.h          |   18 +-
 arch/powerpc/lib/Makefile                     |    1 -
 arch/powerpc/lib/bat_rw.c                     |  244 --
 arch/powerpc/lib/bdinfo.c                     |    4 +-
 arch/powerpc/lib/bootm.c                      |    4 +-
 arch/powerpc/lib/ppccache.S                   |    4 +-
 arch/powerpc/lib/stack.c                      |    2 +-
 arch/sandbox/config.mk                        |    2 -
 arch/sh/include/asm/pci.h                     |    2 -
 .../compulab/imx8mm-cl-iot-gate/ddr/Makefile  |    4 -
 board/davinci/da8xxevm/Makefile               |    1 -
 board/freescale/common/Makefile               |    8 -
 board/freescale/common/fsl_chain_of_trust.c   |   12 +-
 board/freescale/common/fsl_validate.c         |    8 +-
 board/freescale/common/mpc85xx_sleep.c        |    6 +-
 board/freescale/common/pixis.c                |  470 ---
 board/freescale/common/pixis.h                |   54 -
 board/freescale/common/pq-mds-pib.c           |   60 -
 board/freescale/common/pq-mds-pib.h           |    9 -
 board/freescale/common/via.h                  |    4 +-
 board/freescale/common/vid.c                  |    2 +-
 board/freescale/common/vsc3316_3308.c         |  530 ----
 board/freescale/common/zm7300.c               |  232 --
 board/freescale/common/zm7300.h               |   21 -
 board/freescale/m53017evb/README              |    6 +-
 board/freescale/m5373evb/README               |    2 +-
 board/freescale/mpc837xerdb/README            |    2 +-
 board/freescale/mpc8548cds/mpc8548cds.c       |    6 +-
 board/freescale/mx7ulp_evk/Makefile           |    4 -
 board/freescale/p1010rdb/p1010rdb.c           |   28 +-
 board/freescale/p1010rdb/spl.c                |    6 +-
 board/freescale/p1010rdb/spl_minimal.c        |    4 +-
 board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c   |   20 +-
 board/freescale/p1_p2_rdb_pc/spl.c            |    8 +-
 board/freescale/p1_p2_rdb_pc/spl_minimal.c    |    4 +-
 board/freescale/p2041rdb/p2041rdb.c           |    4 +-
 board/freescale/t102xrdb/eth_t102xrdb.c       |    2 +-
 board/freescale/t102xrdb/spl.c                |    6 +-
 board/freescale/t102xrdb/t102xrdb.c           |   16 +-
 board/freescale/t104xrdb/spl.c                |    2 +-
 board/freescale/t104xrdb/t104xrdb.c           |    2 +-
 board/freescale/t208xqds/eth_t208xqds.c       |    6 +-
 board/freescale/t208xqds/spl.c                |    2 +-
 board/freescale/t208xqds/t208xqds.c           |    2 +-
 board/freescale/t208xrdb/spl.c                |    2 +-
 board/freescale/t4rdb/eth.c                   |    2 +-
 board/freescale/t4rdb/spl.c                   |    2 +-
 board/gdsys/a38x/hre.c                        |    1 -
 board/gdsys/common/Makefile                   |    3 +-
 board/gdsys/common/fpga.c                     |   28 -
 board/keymile/Kconfig                         |    8 +-
 board/keymile/km83xx/Kconfig                  |    2 +-
 board/keymile/kmcent2/kmcent2.c               |    6 +-
 board/socrates/socrates.c                     |    6 +-
 board/st/common/Kconfig                       |   14 +-
 board/st/common/stm32mp_mtdparts.c            |   18 +-
 board/st/stm32mp1/Kconfig                     |    4 +-
 board/st/stm32mp1/stm32mp1.c                  |    6 +-
 board/xes/common/Makefile                     |    7 +-
 board/xes/common/actl_nand.c                  |   49 -
 board/xes/common/fsl_8xxx_clk.c               |   10 +-
 board/xes/common/fsl_8xxx_misc.c              |    6 +-
 boot/Kconfig                                  |    4 +-
 cmd/Kconfig                                   |    7 +
 cmd/Makefile                                  |    2 -
 cmd/dataflash_mmc_mux.c                       |   48 -
 cmd/mfsl.c                                    |  387 ---
 cmd/nvedit.c                                  |    1 -
 common/Kconfig                                |    2 +-
 common/board_r.c                              |    2 +-
 common/memsize.c                              |    2 +-
 common/usb_hub.c                              |   18 -
 configs/MPC837XERDB_defconfig                 |    2 +-
 configs/MPC8548CDS_36BIT_defconfig            |    2 +-
 configs/MPC8548CDS_defconfig                  |    2 +-
 configs/MPC8548CDS_legacy_defconfig           |    2 +-
 configs/P1010RDB-PA_36BIT_NAND_defconfig      |    2 +-
 configs/P1010RDB-PA_36BIT_NOR_defconfig       |    2 +-
 configs/P1010RDB-PA_36BIT_SDCARD_defconfig    |    2 +-
 configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig  |    2 +-
 configs/P1010RDB-PA_NAND_defconfig            |    2 +-
 configs/P1010RDB-PA_NOR_defconfig             |    2 +-
 configs/P1010RDB-PA_SDCARD_defconfig          |    2 +-
 configs/P1010RDB-PA_SPIFLASH_defconfig        |    2 +-
 configs/P1010RDB-PB_36BIT_NAND_defconfig      |    2 +-
 configs/P1010RDB-PB_36BIT_NOR_defconfig       |    2 +-
 configs/P1010RDB-PB_36BIT_SDCARD_defconfig    |    2 +-
 configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig  |    2 +-
 configs/P1010RDB-PB_NAND_defconfig            |    2 +-
 configs/P1010RDB-PB_NOR_defconfig             |    2 +-
 configs/P1010RDB-PB_SDCARD_defconfig          |    2 +-
 configs/P1010RDB-PB_SPIFLASH_defconfig        |    2 +-
 configs/P1020RDB-PC_36BIT_NAND_defconfig      |    2 +-
 configs/P1020RDB-PC_36BIT_SDCARD_defconfig    |    2 +-
 configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig  |    2 +-
 configs/P1020RDB-PC_36BIT_defconfig           |    2 +-
 configs/P1020RDB-PC_NAND_defconfig            |    2 +-
 configs/P1020RDB-PC_SDCARD_defconfig          |    2 +-
 configs/P1020RDB-PC_SPIFLASH_defconfig        |    2 +-
 configs/P1020RDB-PC_defconfig                 |    2 +-
 configs/P1020RDB-PD_NAND_defconfig            |    2 +-
 configs/P1020RDB-PD_SDCARD_defconfig          |    2 +-
 configs/P1020RDB-PD_SPIFLASH_defconfig        |    2 +-
 configs/P1020RDB-PD_defconfig                 |    2 +-
 configs/P2020RDB-PC_36BIT_NAND_defconfig      |    2 +-
 configs/P2020RDB-PC_36BIT_SDCARD_defconfig    |    2 +-
 configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig  |    2 +-
 configs/P2020RDB-PC_36BIT_defconfig           |    2 +-
 configs/P2020RDB-PC_NAND_defconfig            |    2 +-
 configs/P2020RDB-PC_SDCARD_defconfig          |    2 +-
 configs/P2020RDB-PC_SPIFLASH_defconfig        |    2 +-
 configs/P2020RDB-PC_defconfig                 |    2 +-
 configs/P2041RDB_NAND_defconfig               |    2 +-
 configs/P2041RDB_SDCARD_defconfig             |    2 +-
 configs/P2041RDB_SPIFLASH_defconfig           |    2 +-
 configs/P2041RDB_defconfig                    |    2 +-
 configs/SBx81LIFKW_defconfig                  |    2 +-
 configs/SBx81LIFXCAT_defconfig                |    2 +-
 configs/T1024RDB_NAND_defconfig               |    2 +-
 configs/T1024RDB_SDCARD_defconfig             |    2 +-
 configs/T1024RDB_SPIFLASH_defconfig           |    2 +-
 configs/T1024RDB_defconfig                    |    2 +-
 configs/T1042D4RDB_NAND_defconfig             |    2 +-
 configs/T1042D4RDB_SDCARD_defconfig           |    2 +-
 configs/T1042D4RDB_SPIFLASH_defconfig         |    2 +-
 configs/T1042D4RDB_defconfig                  |    2 +-
 configs/T2080QDS_NAND_defconfig               |    2 +-
 configs/T2080QDS_SDCARD_defconfig             |    2 +-
 configs/T2080QDS_SECURE_BOOT_defconfig        |    2 +-
 configs/T2080QDS_SPIFLASH_defconfig           |    2 +-
 configs/T2080QDS_SRIO_PCIE_BOOT_defconfig     |    2 +-
 configs/T2080QDS_defconfig                    |    2 +-
 configs/T2080RDB_NAND_defconfig               |    2 +-
 configs/T2080RDB_SDCARD_defconfig             |    2 +-
 configs/T2080RDB_SPIFLASH_defconfig           |    2 +-
 configs/T2080RDB_defconfig                    |    2 +-
 configs/T2080RDB_revD_NAND_defconfig          |    2 +-
 configs/T2080RDB_revD_SDCARD_defconfig        |    2 +-
 configs/T2080RDB_revD_SPIFLASH_defconfig      |    2 +-
 configs/T2080RDB_revD_defconfig               |    2 +-
 configs/T4240RDB_SDCARD_defconfig             |    2 +-
 configs/T4240RDB_defconfig                    |    2 +-
 configs/cgtqmx8_defconfig                     |    2 +-
 configs/gazerbeam_defconfig                   |    2 +-
 configs/ge_bx50v3_defconfig                   |    2 +-
 configs/imx8qm_mek_defconfig                  |    2 +-
 configs/imx8qm_rom7720_a1_4G_defconfig        |    2 +-
 configs/imx8qxp_mek_defconfig                 |    2 +-
 configs/kmcent2_defconfig                     |    4 +-
 configs/kmcoge5ne_defconfig                   |    4 +-
 configs/kmeter1_defconfig                     |    4 +-
 configs/kmopti2_defconfig                     |    4 +-
 configs/kmsupx5_defconfig                     |    4 +-
 configs/kmtepr2_defconfig                     |    4 +-
 configs/ls1028aqds_tfa_SECURE_BOOT_defconfig  |    2 +-
 configs/ls1028aqds_tfa_defconfig              |    2 +-
 configs/ls1028aqds_tfa_lpuart_defconfig       |    2 +-
 configs/ls1028ardb_tfa_SECURE_BOOT_defconfig  |    2 +-
 configs/ls1028ardb_tfa_defconfig              |    2 +-
 configs/ls1088aqds_tfa_defconfig              |    2 +-
 configs/ls1088ardb_tfa_SECURE_BOOT_defconfig  |    2 +-
 configs/ls1088ardb_tfa_defconfig              |    2 +-
 configs/ls2088aqds_tfa_defconfig              |    2 +-
 configs/ls2088ardb_tfa_SECURE_BOOT_defconfig  |    2 +-
 configs/ls2088ardb_tfa_defconfig              |    2 +-
 configs/lx2160aqds_tfa_SECURE_BOOT_defconfig  |    2 +-
 configs/lx2160aqds_tfa_defconfig              |    2 +-
 configs/lx2162aqds_tfa_SECURE_BOOT_defconfig  |    2 +-
 configs/lx2162aqds_tfa_defconfig              |    2 +-
 .../lx2162aqds_tfa_verified_boot_defconfig    |    2 +-
 configs/mvebu_puzzle-m801-88f8040_defconfig   |    2 +-
 configs/mx53ppd_defconfig                     |    2 +-
 configs/octeontx2_96xx_defconfig              |    2 +-
 configs/qemu-ppce500_defconfig                |    2 +-
 configs/socrates_defconfig                    |    2 +-
 configs/stm32mp13_defconfig                   |    4 +-
 configs/stm32mp15_basic_defconfig             |    2 +-
 configs/stm32mp15_defconfig                   |    2 +-
 configs/stm32mp15_trusted_defconfig           |    4 +-
 configs/tuge1_defconfig                       |    4 +-
 configs/tuxx1_defconfig                       |    4 +-
 configs/x530_defconfig                        |    2 +-
 configs/xilinx_versal_net_virt_defconfig      |    2 +-
 configs/xilinx_versal_virt_defconfig          |    2 +-
 configs/xilinx_zynq_virt_defconfig            |    2 +-
 configs/xilinx_zynqmp_virt_defconfig          |    2 +-
 drivers/Makefile                              |    1 -
 drivers/ata/fsl_sata.c                        |    2 +-
 drivers/clk/Kconfig                           |    4 +-
 drivers/clk/mpc83xx_clk.c                     |    4 +-
 drivers/clk/mpc83xx_clk.h                     |   20 +-
 drivers/clk/nuvoton/Makefile                  |    2 +-
 drivers/clk/stm32/Kconfig                     |    4 +-
 drivers/cpu/Kconfig                           |    6 +-
 drivers/cpu/mpc83xx_cpu.c                     |   14 +-
 drivers/cpu/mpc83xx_cpu.h                     |    8 +-
 drivers/ddr/fsl/Kconfig                       |   10 +-
 drivers/ddr/fsl/ctrl_regs.c                   |    2 +-
 drivers/ddr/fsl/main.c                        |    2 +-
 drivers/ddr/fsl/mpc85xx_ddr_gen2.c            |    4 +-
 drivers/ddr/fsl/mpc85xx_ddr_gen3.c            |    2 +-
 drivers/dma/fsl_dma.c                         |   28 +-
 drivers/fpga/Kconfig                          |   12 +
 drivers/gpio/Makefile                         |    5 -
 drivers/gpio/adi_gpio2.c                      |  425 ---
 drivers/gpio/kona_gpio.c                      |  141 -
 drivers/gpio/mpc83xx_gpio.c                   |  183 --
 drivers/gpio/pca9698.c                        |  127 -
 drivers/i2c/Kconfig                           |    2 +-
 drivers/i2c/Makefile                          |    1 -
 drivers/i2c/kona_i2c.c                        |  728 -----
 drivers/i2c/muxes/Kconfig                     |    2 +-
 drivers/i2c/muxes/Makefile                    |    2 +-
 drivers/i2c/sh_i2c.c                          |    5 -
 drivers/input/Makefile                        |    1 -
 drivers/input/twl6030.c                       |   47 -
 drivers/misc/Kconfig                          |    4 +-
 drivers/misc/Makefile                         |    2 -
 drivers/misc/ali512x.c                        |  401 ---
 drivers/misc/mc9sdz60.c                       |   34 -
 drivers/misc/mpc83xx_serdes.c                 |    4 +-
 drivers/misc/npcm_otp.c                       |    2 +-
 drivers/mmc/fsl_esdhc_imx.c                   |   12 +-
 drivers/mtd/nand/raw/Makefile                 |    5 -
 drivers/mtd/nand/raw/fsl_elbc_spl.c           |    2 +-
 drivers/mtd/nand/raw/fsl_upm.c                |  187 --
 drivers/mtd/nand/raw/fsmc_nand.c              |  470 ---
 drivers/mtd/nand/raw/kb9202_nand.c            |  134 -
 drivers/mtd/nand/raw/nand_plat.c              |   65 -
 drivers/net/fm/b4860.c                        |    8 +-
 drivers/net/fm/p1023.c                        |   18 +-
 drivers/net/fm/p4080.c                        |    8 +-
 drivers/net/fm/p5020.c                        |    8 +-
 drivers/net/fm/p5040.c                        |    8 +-
 drivers/net/fm/t1024.c                        |    6 +-
 drivers/net/fm/t1040.c                        |    2 +-
 drivers/net/fm/t2080.c                        |    6 +-
 drivers/net/fm/t4240.c                        |    8 +-
 drivers/pci/Kconfig                           |    4 +-
 drivers/pci/Makefile                          |    1 -
 drivers/pci/pci_sh7780.c                      |   92 -
 drivers/pinctrl/exynos/Kconfig                |    2 +-
 drivers/pinctrl/exynos/Makefile               |    2 +-
 drivers/pinctrl/nuvoton/Kconfig               |    2 +-
 drivers/power/Makefile                        |    4 -
 drivers/power/battery/Makefile                |    7 -
 drivers/power/battery/bat_trats.c             |   91 -
 drivers/power/battery/bat_trats2.c            |   65 -
 drivers/power/ftpmu010.c                      |   87 -
 drivers/power/fuel_gauge/Makefile             |    6 -
 drivers/power/fuel_gauge/fg_max17042.c        |  287 --
 drivers/power/mfd/Makefile                    |    8 -
 drivers/power/mfd/fg_max77693.c               |  137 -
 drivers/power/mfd/muic_max77693.c             |   77 -
 drivers/power/mfd/pmic_max77693.c             |   96 -
 drivers/power/pmic/Makefile                   |    1 -
 drivers/power/pmic/muic_max8997.c             |   74 -
 drivers/qe/qe.c                               |   14 +-
 drivers/ram/Kconfig                           |    2 +-
 drivers/ram/mpc83xx_sdram.c                   |    2 +-
 drivers/rtc/Makefile                          |   14 -
 drivers/rtc/at91sam9_rtt.c                    |   78 -
 drivers/rtc/ds1302.c                          |  329 --
 drivers/rtc/ds1306.c                          |  438 ---
 drivers/rtc/ftrtc010.c                        |  122 -
 drivers/rtc/imxdi.c                           |  223 --
 drivers/rtc/max6900.c                         |  105 -
 drivers/rtc/mk48t59.c                         |  175 -
 drivers/rtc/mx27rtc.c                         |   64 -
 drivers/rtc/rs5c372.c                         |  256 --
 drivers/rtc/s3c24x0_rtc.c                     |  149 -
 drivers/rtc/x1205.c                           |  161 -
 drivers/serial/serial_sh.h                    |   10 +-
 drivers/spi/fsl_espi.c                        |    2 +-
 drivers/spi/mpc8xxx_spi.c                     |    2 +-
 drivers/sysreset/Kconfig                      |    4 +-
 drivers/sysreset/Makefile                     |    2 +-
 drivers/timer/Kconfig                         |    4 +-
 drivers/timer/mpc83xx_timer.c                 |    2 +-
 drivers/usb/gadget/Makefile                   |    3 +-
 drivers/usb/gadget/fotg210.c                  |  964 ------
 drivers/usb/gadget/gadget_chips.h             |    8 -
 drivers/usb/host/Kconfig                      |    2 +-
 drivers/usb/host/Makefile                     |    5 -
 drivers/usb/host/ehci-armada100.c             |   48 -
 drivers/usb/host/ehci-faraday.c               |  144 -
 drivers/usb/host/ehci-hcd.c                   |    5 -
 drivers/usb/host/ehci-rmobile.c               |  129 -
 drivers/usb/host/ehci-vct.c                   |   44 -
 drivers/usb/host/sl811-hcd.c                  |  714 -----
 drivers/usb/host/sl811.h                      |  104 -
 drivers/usb/host/utmi-armada100.c             |   80 -
 drivers/video/Makefile                        |    2 -
 drivers/video/exynos/Makefile                 |    1 -
 drivers/video/lg4573.c                        |  331 --
 drivers/video/scf0403_lcd.c                   |  297 --
 drivers/watchdog/Kconfig                      |    6 +-
 drivers/watchdog/Makefile                     |    2 +-
 dts/Kconfig                                   |    4 +-
 env/Kconfig                                   |    4 +-
 env/Makefile                                  |    1 -
 env/env.c                                     |    3 -
 env/sata.c                                    |  122 -
 include/asm-generic/u-boot.h                  |    4 +-
 include/configs/MPC837XERDB.h                 |    2 +-
 include/configs/P1010RDB.h                    |    2 +-
 include/configs/P2041RDB.h                    |    2 +-
 include/configs/T102xRDB.h                    |    2 +-
 include/configs/T104xRDB.h                    |    2 +-
 include/configs/T208xQDS.h                    |    2 +-
 include/configs/T208xRDB.h                    |    2 +-
 include/configs/T4240RDB.h                    |    2 +-
 include/configs/p1_p2_rdb_pc.h                |    2 +-
 include/configs/socrates.h                    |    2 +-
 include/e500.h                                |    2 +-
 include/faraday/ftpmu010.h                    |  234 --
 include/fsl_ddr_sdram.h                       |    2 +-
 include/fsl_fman.h                            |    2 +-
 include/ioports.h                             |    2 +-
 include/linux/immap_qe.h                      |    2 +-
 include/linux/mtd/fsl_upm.h                   |   44 -
 include/linux/mtd/fsmc_nand.h                 |   84 -
 include/mpc85xx.h                             |    6 +-
 include/mpc86xx.h                             |    8 +-
 include/netdev.h                              |    1 -
 include/pca9698.h                             |   17 -
 include/pci.h                                 |    2 +-
 include/post.h                                |    4 +-
 include/power/fg_battery_cell_params.h        |   73 -
 include/scf0403_lcd.h                         |   10 -
 include/serial.h                              |    4 +-
 include/usb/fotg210.h                         |  362 ---
 include/usb/fusbh200.h                        |   59 -
 include/watchdog.h                            |    2 +-
 lib/efi_loader/Kconfig                        |    2 +-
 post/Makefile                                 |    2 +-
 tools/.gitignore                              |    1 -
 tools/Makefile                                |   14 +-
 tools/moveconfig.py                           |  334 ++
 tools/mxsimage.c                              |    2 +-
 tools/ubsha1.c                                |   83 -
 tools/xway-swap-bytes.c                       |   38 -
 453 files changed, 1508 insertions(+), 17591 deletions(-)
 delete mode 100644 arch/arm/cpu/armv7/kona-common/Makefile
 delete mode 100644 arch/arm/cpu/armv7/kona-common/clk-stubs.c
 delete mode 100644 arch/arm/cpu/armv7/kona-common/hwinit-common.c
 delete mode 100644 arch/arm/cpu/armv7/kona-common/reset.S
 delete mode 100644 arch/arm/cpu/armv7/kona-common/s_init.c
 delete mode 100644 arch/arm/mach-rmobile/cpu_info-sh73a0.c
 delete mode 100644 arch/arm/mach-rmobile/include/mach/ehci-rmobile.h
 delete mode 100644 arch/arm/mach-rmobile/include/mach/sh73a0-gpio.h
 delete mode 100644 arch/arm/mach-rmobile/include/mach/sh73a0.h
 delete mode 100644 arch/arm/mach-rmobile/pfc-sh73a0.c
 delete mode 100644 arch/arm/mach-rmobile/timer.c
 delete mode 100644 arch/powerpc/lib/bat_rw.c
 delete mode 100644 board/freescale/common/pixis.c
 delete mode 100644 board/freescale/common/pixis.h
 delete mode 100644 board/freescale/common/pq-mds-pib.c
 delete mode 100644 board/freescale/common/pq-mds-pib.h
 delete mode 100644 board/freescale/common/vsc3316_3308.c
 delete mode 100644 board/freescale/common/zm7300.c
 delete mode 100644 board/freescale/common/zm7300.h
 delete mode 100644 board/gdsys/common/fpga.c
 delete mode 100644 board/xes/common/actl_nand.c
 delete mode 100644 cmd/dataflash_mmc_mux.c
 delete mode 100644 cmd/mfsl.c
 delete mode 100644 drivers/gpio/adi_gpio2.c
 delete mode 100644 drivers/gpio/kona_gpio.c
 delete mode 100644 drivers/gpio/mpc83xx_gpio.c
 delete mode 100644 drivers/gpio/pca9698.c
 delete mode 100644 drivers/i2c/kona_i2c.c
 delete mode 100644 drivers/input/twl6030.c
 delete mode 100644 drivers/misc/ali512x.c
 delete mode 100644 drivers/misc/mc9sdz60.c
 delete mode 100644 drivers/mtd/nand/raw/fsl_upm.c
 delete mode 100644 drivers/mtd/nand/raw/fsmc_nand.c
 delete mode 100644 drivers/mtd/nand/raw/kb9202_nand.c
 delete mode 100644 drivers/mtd/nand/raw/nand_plat.c
 delete mode 100644 drivers/pci/pci_sh7780.c
 delete mode 100644 drivers/power/battery/Makefile
 delete mode 100644 drivers/power/battery/bat_trats.c
 delete mode 100644 drivers/power/battery/bat_trats2.c
 delete mode 100644 drivers/power/ftpmu010.c
 delete mode 100644 drivers/power/fuel_gauge/Makefile
 delete mode 100644 drivers/power/fuel_gauge/fg_max17042.c
 delete mode 100644 drivers/power/mfd/Makefile
 delete mode 100644 drivers/power/mfd/fg_max77693.c
 delete mode 100644 drivers/power/mfd/muic_max77693.c
 delete mode 100644 drivers/power/mfd/pmic_max77693.c
 delete mode 100644 drivers/power/pmic/muic_max8997.c
 delete mode 100644 drivers/rtc/at91sam9_rtt.c
 delete mode 100644 drivers/rtc/ds1302.c
 delete mode 100644 drivers/rtc/ds1306.c
 delete mode 100644 drivers/rtc/ftrtc010.c
 delete mode 100644 drivers/rtc/imxdi.c
 delete mode 100644 drivers/rtc/max6900.c
 delete mode 100644 drivers/rtc/mk48t59.c
 delete mode 100644 drivers/rtc/mx27rtc.c
 delete mode 100644 drivers/rtc/rs5c372.c
 delete mode 100644 drivers/rtc/s3c24x0_rtc.c
 delete mode 100644 drivers/rtc/x1205.c
 delete mode 100644 drivers/usb/gadget/fotg210.c
 delete mode 100644 drivers/usb/host/ehci-armada100.c
 delete mode 100644 drivers/usb/host/ehci-faraday.c
 delete mode 100644 drivers/usb/host/ehci-rmobile.c
 delete mode 100644 drivers/usb/host/ehci-vct.c
 delete mode 100644 drivers/usb/host/sl811-hcd.c
 delete mode 100644 drivers/usb/host/sl811.h
 delete mode 100644 drivers/usb/host/utmi-armada100.c
 delete mode 100644 drivers/video/lg4573.c
 delete mode 100644 drivers/video/scf0403_lcd.c
 delete mode 100644 env/sata.c
 delete mode 100644 include/faraday/ftpmu010.h
 delete mode 100644 include/linux/mtd/fsl_upm.h
 delete mode 100644 include/linux/mtd/fsmc_nand.h
 delete mode 100644 include/pca9698.h
 delete mode 100644 include/power/fg_battery_cell_params.h
 delete mode 100644 include/scf0403_lcd.h
 delete mode 100644 include/usb/fotg210.h
 delete mode 100644 include/usb/fusbh200.h
 delete mode 100644 tools/ubsha1.c
 delete mode 100644 tools/xway-swap-bytes.c
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#1 lore raw

PATCH v2 1/87 moveconfig: Add an option to compare Kconfig against source

Sometimes the Makefile rules or source code refers to Kconfig options which don't exist. Update the moveconfig tool to check this and produce a series of reports about inconsistencies.

This can then be used to generate patches to correct the problems.

---

(no changes since v1)

 lib/efi_loader/Kconfig |   2 +-
 tools/moveconfig.py    | 334 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 335 insertions(+), 1 deletion(-)
lib/efi_loader/Kconfig +1 -1
index c56904afc2e..9fe9a2df9ea 100644
@@ -84,7 +84,7 @@ if EFI_VARIABLES_PRESEED
 
 config EFI_VAR_SEED_FILE
 	string "File with initial values of non-volatile UEFI variables"
-	default ubootefi.var
+	default "ubootefi.var"
 	help
 	  File with initial values of non-volatile UEFI variables. The file must
 	  be in the same format as the storage in the EFI system partition. The
tools/moveconfig.py +334 -0

368 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#2 lore raw

PATCH v2 2/87 power: Drop fg_max77693

In reply to Simon Glass

This is not used in U-Boot. Drop it.

---

(no changes since v1)

 drivers/power/mfd/Makefile      |   1 -
 drivers/power/mfd/fg_max77693.c | 137 --------------------------------
 2 files changed, 138 deletions(-)
 delete mode 100644 drivers/power/mfd/fg_max77693.c
drivers/power/mfd/Makefile +0 -1
index a8eb7f81e72..5dfbdbd1b0f 100644
@@ -5,4 +5,3 @@
 
 obj-$(CONFIG_POWER_PMIC_MAX77693) += pmic_max77693.o
 obj-$(CONFIG_POWER_MUIC_MAX77693) += muic_max77693.o
-obj-$(CONFIG_POWER_FG_MAX77693) += fg_max77693.o
drivers/power/mfd/fg_max77693.c deleted +0 -137

137 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#3 lore raw

PATCH v2 3/87 nand: Drop CONFIG_NAND_SPEAR

In reply to Simon Glass

This is not used anymore. Drop it.

---

(no changes since v1)

 drivers/mtd/nand/raw/Makefile | 1 -
 1 file changed, 1 deletion(-)
drivers/mtd/nand/raw/Makefile +0 -1
index 7320d581e2f..4c59903aa8c 100644
@@ -70,7 +70,6 @@ obj-$(CONFIG_NAND_MXS_DT) += mxs_nand_dt.o
 obj-$(CONFIG_NAND_OCTEONTX) += octeontx_nand.o
 obj-$(CONFIG_NAND_OCTEONTX_HW_ECC) += octeontx_bch.o
 obj-$(CONFIG_NAND_PXA3XX) += pxa3xx_nand.o
-obj-$(CONFIG_NAND_SPEAR) += spr_nand.o
 obj-$(CONFIG_TEGRA_NAND) += tegra_nand.o
 obj-$(CONFIG_NAND_OMAP_GPMC) += omap_gpmc.o
 obj-$(CONFIG_NAND_OMAP_ELM) += omap_elm.o
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#4 lore raw

PATCH v2 4/87 power: Drop pmic_max77693.c

In reply to Simon Glass

Drop this driver and the associated CONFIG option, as it is not used.

---

(no changes since v1)

 drivers/power/mfd/Makefile        |  1 -
 drivers/power/mfd/pmic_max77693.c | 96 -------------------------------
 2 files changed, 97 deletions(-)
 delete mode 100644 drivers/power/mfd/pmic_max77693.c
drivers/power/mfd/Makefile +0 -1
index 5dfbdbd1b0f..b5ec8f00bb0 100644
@@ -3,5 +3,4 @@
 # Copyright (C) 2013 Samsung Electronics
 # Piotr Wilczek <[email protected]>
 
-obj-$(CONFIG_POWER_PMIC_MAX77693) += pmic_max77693.o
 obj-$(CONFIG_POWER_MUIC_MAX77693) += muic_max77693.o
drivers/power/mfd/pmic_max77693.c deleted +0 -96

96 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#5 lore raw

PATCH v2 5/87 gpio: Drop adi_gpio2

In reply to Simon Glass

Drop this unused driver.

---

(no changes since v1)

 drivers/gpio/Makefile    |   1 -
 drivers/gpio/adi_gpio2.c | 425 ---------------------------------------
 2 files changed, 426 deletions(-)
 delete mode 100644 drivers/gpio/adi_gpio2.c
drivers/gpio/Makefile +0 -1
index 7235714fcc0..57603645c1c 100644
@@ -47,7 +47,6 @@ obj-$(CONFIG_SH_GPIO_PFC)	+= sh_pfc.o
 obj-$(CONFIG_OMAP_GPIO)	+= omap_gpio.o
 obj-$(CONFIG_BCM2835_GPIO)	+= bcm2835_gpio.o
 obj-$(CONFIG_XILINX_GPIO)	+= xilinx_gpio.o
-obj-$(CONFIG_ADI_GPIO2)	+= adi_gpio2.o
 obj-$(CONFIG_TCA642X)		+= tca642x.o
 obj-$(CONFIG_SUNXI_GPIO)	+= sunxi_gpio.o
 obj-$(CONFIG_LPC32XX_GPIO)	+= lpc32xx_gpio.o
drivers/gpio/adi_gpio2.c deleted +0 -425

425 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#6 lore raw

PATCH v2 6/87 Makefile: Drop CONFIG_AIS_CONFIG_FILE

In reply to Simon Glass

This is not defined anywhere. Drop it.

---

(no changes since v1)

 Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Makefile +1 -2
index 9c38cc29e9d..debe691c39e 100644
@@ -1528,8 +1528,7 @@ MKIMAGEFLAGS_u-boot.ubl = -n $(UBL_CONFIG) -T ublimage -e $(CONFIG_TEXT_BASE)
 u-boot.ubl: u-boot-with-spl.bin FORCE
 	$(call if_changed,mkimage)
 
-MKIMAGEFLAGS_u-boot-spl.ais = -s -n $(if $(CONFIG_AIS_CONFIG_FILE), \
-	$(srctree)/$(CONFIG_AIS_CONFIG_FILE:"%"=%),"/dev/null") \
+MKIMAGEFLAGS_u-boot-spl.ais = -s -n "/dev/null" \
 	-T aisimage -e $(CONFIG_SPL_TEXT_BASE)
 spl/u-boot-spl.ais: spl/u-boot-spl.bin FORCE
 	$(call if_changed,mkimage)
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#7 lore raw

PATCH v2 7/87 misc: Drop ali512x

In reply to Simon Glass

Drop this unused driver.

---

(no changes since v1)

 drivers/misc/Makefile  |   1 -
 drivers/misc/ali512x.c | 401 -----------------------------------------
 2 files changed, 402 deletions(-)
 delete mode 100644 drivers/misc/ali512x.c
drivers/misc/Makefile +0 -1
index d494639cd95..2de510329d8 100644
@@ -29,7 +29,6 @@ ifdef CONFIG_SPL_BUILD
 obj-$(CONFIG_SANDBOX) += spltest_sandbox.o
 endif
 endif
-obj-$(CONFIG_ALI152X) += ali512x.o
 obj-$(CONFIG_ALTERA_SYSID) += altera_sysid.o
 obj-$(CONFIG_ATSHA204A) += atsha204a-i2c.o
 obj-$(CONFIG_CBMEM_CONSOLE) += cbmem_console.o
drivers/misc/ali512x.c deleted +0 -401

401 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#8 lore raw

PATCH v2 8/87 sandbox: Drop reference to CONFIG_ARCH_DEVICE_TREE

In reply to Simon Glass

This is not used anywhere. Drop it.

---

(no changes since v1)

 arch/sandbox/config.mk | 2 --
 1 file changed, 2 deletions(-)
arch/sandbox/config.mk +0 -2
index 1284ef390b5..2d184c5f652 100644
@@ -44,8 +44,6 @@ cmd_u-boot-spl = (cd $(obj) && $(CC) -o $(SPL_BIN) -Wl,-T u-boot-spl.lds \
 	-Wl,--no-whole-archive \
 	$(PLATFORM_LIBS) -Wl,-Map -Wl,u-boot-spl.map -Wl,--gc-sections)
 
-CONFIG_ARCH_DEVICE_TREE := sandbox
-
 ifeq ($(HOST_ARCH),$(HOST_ARCH_X86_64))
 EFI_LDS := ${SRCDIR}/../../../arch/x86/lib/elf_x86_64_efi.lds
 EFI_TARGET := --target=efi-app-x86_64
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#9 lore raw

PATCH v2 9/87 Rename ARCH_NPCM7xx

In reply to Simon Glass

CONFIG options must not use lower-case letter. Convert this to upper case.

---

(no changes since v1)

 arch/arm/dts/Makefile              | 2 +-
 arch/arm/mach-npcm/Kconfig         | 4 ++--
 arch/arm/mach-npcm/Makefile        | 2 +-
 arch/arm/mach-npcm/npcm7xx/Kconfig | 2 +-
 drivers/clk/nuvoton/Makefile       | 2 +-
 drivers/misc/npcm_otp.c            | 2 +-
 drivers/pinctrl/nuvoton/Kconfig    | 2 +-
 7 files changed, 8 insertions(+), 8 deletions(-)
arch/arm/dts/Makefile +1 -1
index 3ecd6a86e95..cd5b56034d5 100644
@@ -1289,7 +1289,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \
 	mt8516-pumpkin.dtb \
 	mt8518-ap1-emmc.dtb
 
-dtb-$(CONFIG_ARCH_NPCM7xx) += nuvoton-npcm750-evb.dtb
+dtb-$(CONFIG_ARCH_NPCM7XX) += nuvoton-npcm750-evb.dtb
 dtb-$(CONFIG_ARCH_NPCM8XX) += nuvoton-npcm845-evb.dtb
 dtb-$(CONFIG_XEN) += xenguest-arm64.dtb
 
arch/arm/mach-npcm/Kconfig +2 -2
index 24bd2ad423f..a709e1f2402 100644
@@ -8,9 +8,9 @@ config TEXT_BASE
 
 choice
 	prompt "Nuvoton SoC select"
-	default ARCH_NPCM7xx
+	default ARCH_NPCM7XX
 
-config ARCH_NPCM7xx
+config ARCH_NPCM7XX
 	bool "Support Nuvoton NPCM7xx SoC"
 	select CPU_V7A
 	select OF_CONTROL
arch/arm/mach-npcm/Makefile +1 -1
index b448329dea7..4c15fbb8fe5 100644
@@ -1,2 +1,2 @@
-obj-$(CONFIG_ARCH_NPCM7xx) += npcm7xx/
+obj-$(CONFIG_ARCH_NPCM7XX) += npcm7xx/
 obj-$(CONFIG_ARCH_NPCM8XX) += npcm8xx/
arch/arm/mach-npcm/npcm7xx/Kconfig +1 -1
index 237e7ba7e50..17d0a37e97c 100644
@@ -1,4 +1,4 @@
-if ARCH_NPCM7xx
+if ARCH_NPCM7XX
 
 config SYS_CPU
         default "armv7"
drivers/clk/nuvoton/Makefile +1 -1
index b55dc80de20..1c210a997d4 100644
@@ -1,3 +1,3 @@
 obj-$(CONFIG_ARCH_NPCM) += clk_npcm.o
-obj-$(CONFIG_ARCH_NPCM7xx) += clk_npcm7xx.o
+obj-$(CONFIG_ARCH_NPCM7XX) += clk_npcm7xx.o
 obj-$(CONFIG_ARCH_NPCM8XX) += clk_npcm8xx.o
drivers/misc/npcm_otp.c +1 -1
index 304910888bb..15d016f606b 100644
@@ -484,7 +484,7 @@ static int npcm_otp_bind(struct udevice *dev)
 	}
 	otp_priv->regs[0] = regs;
 
-	if (IS_ENABLED(CONFIG_ARCH_NPCM7xx)) {
+	if (IS_ENABLED(CONFIG_ARCH_NPCM7XX)) {
 		regs = dev_remap_addr_index(dev, 1);
 		if (!regs) {
 			printf("Cannot find reg address (arr #1), binding failed\n");
drivers/pinctrl/nuvoton/Kconfig +1 -1
index e55a0261adb..748d18d40ff 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config PINCTRL_NPCM7XX
 	bool "Pinctrl and GPIO driver for Nuvoton NPCM7XX"
-	depends on DM && PINCTRL_GENERIC && ARCH_NPCM7xx
+	depends on DM && PINCTRL_GENERIC && ARCH_NPCM7XX
 	help
 	  Say Y here to enable pin controller and GPIO support
 	  for Nuvoton NPCM750/730/715/705 SoCs.
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#10 lore raw

Re: [PATCH v2 09/87] Rename ARCH_NPCM7xx

Quoted 1 line · Simon Glass

CONFIG options must not use lower-case letter.

Why?

Rasmus

#11 lore raw

Re: [PATCH v2 09/87] Rename ARCH_NPCM7xx

Quoted 4 lines · Rasmus Villemoes
Quoted 1 line · Simon Glass

CONFIG options must not use lower-case letter.

Why?

So, kconfiglib complains about these. However, I can't find a formal language definition and the kernel documentation doesn't specify, merely imply that it should always be all uppercase.

Further, I see now that IS_REACHABLE is a kconfig macro, that would cover our usage of IS_ENABLED.

Signature · 1 line
Tom
#12 lore raw

Re: [PATCH v2 09/87] Rename ARCH_NPCM7xx

Quoted 7 lines · Tom Rini
Quoted 4 lines · Rasmus Villemoes
Quoted 1 line · Simon Glass

CONFIG options must not use lower-case letter.

Why?

So, kconfiglib complains about these.

Which IMO would be a bug in kconfiglib. Can you point me at where that warning is in kconfiglib.py and how it looks and when one would encounter it?

Quoted 3 lines

However, I can't find a formal
language definition and the kernel documentation doesn't specify, merely imply that it should always be all uppercase.

Well, yes, mostly, but since the de facto specification (namely, the kernel's implementation) doesn't complain and the kernel's Kconfig files do contain several examples of config symbols with lowercase characters, why deviate? In particular, since we share a lot of code, if some piece of kernel code has an IS_ENABLED(CONFIG_FOO876xx), why make it harder to import and keep that in sync?

Perhaps we can get Masahiro to tell us whether lowercase characters are allowed in kconfig symbols or not.

For reference, another kconfig-using project decided to fix their own infrastructure around kconfig instead of enforcing uppercase symbols:

https://github.com/zephyrproject-rtos/zephyr/issues/40420

Rasmus

#13 lore raw

Re: [PATCH v2 09/87] Rename ARCH_NPCM7xx

Quoted 24 lines · Rasmus Villemoes
Quoted 7 lines · Tom Rini
Quoted 4 lines · Rasmus Villemoes
Quoted 1 line · Simon Glass

CONFIG options must not use lower-case letter.

Why?

So, kconfiglib complains about these.

Which IMO would be a bug in kconfiglib. Can you point me at where that warning is in kconfiglib.py and how it looks and when one would encounter it?

Quoted 3 lines

However, I can't find a formal
language definition and the kernel documentation doesn't specify, merely imply that it should always be all uppercase.

Well, yes, mostly, but since the de facto specification (namely, the kernel's implementation) doesn't complain and the kernel's Kconfig files do contain several examples of config symbols with lowercase characters, why deviate? In particular, since we share a lot of code, if some piece of kernel code has an IS_ENABLED(CONFIG_FOO876xx), why make it harder to import and keep that in sync?

Quoted 7 lines

Perhaps we can get Masahiro to tell us whether lowercase characters are allowed in kconfig symbols or not.

For reference, another kconfig-using project decided to fix their own infrastructure around kconfig instead of enforcing uppercase symbols:

https://github.com/zephyrproject-rtos/zephyr/issues/40420

I think it would be very good if the kconfig language itself declared what does and does not make up a valid symbol. Note that the only thing complaining in U-Boot today is kconfiglib using tools.

Signature · 1 line
Tom
#14 lore raw

Re: [PATCH v2 09/87] Rename ARCH_NPCM7xx

In reply to Rasmus Villemoes

Hi Rasmus,

Quoted 25 lines · Rasmus Villemoes
Quoted 7 lines · Tom Rini
Quoted 4 lines · Rasmus Villemoes
Quoted 1 line · Simon Glass

CONFIG options must not use lower-case letter.

Why?

So, kconfiglib complains about these.

Which IMO would be a bug in kconfiglib. Can you point me at where that warning is in kconfiglib.py and how it looks and when one would encounter it?

Quoted 3 lines

However, I can't find a formal
language definition and the kernel documentation doesn't specify, merely imply that it should always be all uppercase.

Well, yes, mostly, but since the de facto specification (namely, the kernel's implementation) doesn't complain and the kernel's Kconfig files do contain several examples of config symbols with lowercase characters, why deviate? In particular, since we share a lot of code, if some piece of kernel code has an IS_ENABLED(CONFIG_FOO876xx), why make it harder to import and keep that in sync?

Quoted 7 lines

Perhaps we can get Masahiro to tell us whether lowercase characters are allowed in kconfig symbols or not.

For reference, another kconfig-using project decided to fix their own infrastructure around kconfig instead of enforcing uppercase symbols:

https://github.com/zephyrproject-rtos/zephyr/issues/40420

That's all good context, thank you.

When we use #define it is normally with an upper-case string. The is the convention in U-Boot and Linux (and many other projects), I believe. Also, having lower and upper case strings does become confusing, and inconsistent.

I was unaware that lower-case was allowed in Linux. It seems there are 35 cases of this in Linux. I'm not sure if any is intended. But perhaps we should not allow it in U-Boot?

Regards,
Simon

#15 lore raw

Re: [PATCH v2 09/87] Rename ARCH_NPCM7xx

Quoted 35 lines · Simon Glass

Hi Rasmus,

Quoted 31 lines · Rasmus Villemoes
Quoted 7 lines · Tom Rini
Quoted 4 lines · Rasmus Villemoes
Quoted 1 line · Simon Glass

CONFIG options must not use lower-case letter.

Why?

So, kconfiglib complains about these.

Which IMO would be a bug in kconfiglib. Can you point me at where that warning is in kconfiglib.py and how it looks and when one would encounter it?

Quoted 3 lines

However, I can't find a formal
language definition and the kernel documentation doesn't specify, merely imply that it should always be all uppercase.

Well, yes, mostly, but since the de facto specification (namely, the kernel's implementation) doesn't complain and the kernel's Kconfig files do contain several examples of config symbols with lowercase characters, why deviate? In particular, since we share a lot of code, if some piece of kernel code has an IS_ENABLED(CONFIG_FOO876xx), why make it harder to import and keep that in sync?

Perhaps we can get Masahiro to tell us whether lowercase characters are allowed in kconfig symbols or not.

For reference, another kconfig-using project decided to fix their own infrastructure around kconfig instead of enforcing uppercase symbols:

Quoted 7 lines
Quoted 1 line

https://github.com/zephyrproject-rtos/zephyr/issues/40420

That's all good context, thank you.

When we use #define it is normally with an upper-case string. The is the convention in U-Boot and Linux (and many other projects), I believe.

I don't disagree with the "normally", but that very word is precisely my
point: It's not universal, and there can be good reasons to deviate. Both projects frown upon camelcase, so you don't see a lot of mixed-case macros, but there's definitely a lot of all-lowercase ones (e.g. iterators), and to pick just one example of a justified mixed-case one, there's a "#define RANGE_mA" in some iio device.

Also, having lower and upper case strings does become

Quoted 4 lines

confusing, and inconsistent.

I was unaware that lower-case was allowed in Linux. It seems there are 35 cases of this in Linux.

Dunno how you reach that number, I can easily find 174. Among them stuff like "config FONT_6x11" which is definitely more readable than with an uppercase X. But yes, either way it's a very small fraction of all config symbols, but OTOH I highly doubt linux would accept patches to start renaming those without a very strong reason - it would break out-of-tree defconfig files.

Quoted 1 line

But perhaps we should not allow it in U-Boot?

Discourage, definitely, perhaps even add something to checkpatch. But renaming existing seems to be pointless churn, and definitely needs a better rationale than "is not allowed" when that is manifestly not true.

Maybe prepend a patch updating codingstyle.rst and amend this to say "is not allowed by the U-Boot coding standard". Or otherwise please provide some reference answering my "why".

Rasmus

#16 lore raw

Re: [PATCH v2 09/87] Rename ARCH_NPCM7xx

Quoted 66 lines · Rasmus Villemoes
Quoted 35 lines · Simon Glass

Hi Rasmus,

Quoted 31 lines · Rasmus Villemoes
Quoted 7 lines · Tom Rini
Quoted 4 lines · Rasmus Villemoes
Quoted 1 line · Simon Glass

CONFIG options must not use lower-case letter.

Why?

So, kconfiglib complains about these.

Which IMO would be a bug in kconfiglib. Can you point me at where that warning is in kconfiglib.py and how it looks and when one would encounter it?

Quoted 3 lines

However, I can't find a formal
language definition and the kernel documentation doesn't specify, merely imply that it should always be all uppercase.

Well, yes, mostly, but since the de facto specification (namely, the kernel's implementation) doesn't complain and the kernel's Kconfig files do contain several examples of config symbols with lowercase characters, why deviate? In particular, since we share a lot of code, if some piece of kernel code has an IS_ENABLED(CONFIG_FOO876xx), why make it harder to import and keep that in sync?

Perhaps we can get Masahiro to tell us whether lowercase characters are allowed in kconfig symbols or not.

For reference, another kconfig-using project decided to fix their own infrastructure around kconfig instead of enforcing uppercase symbols:

Quoted 7 lines
Quoted 1 line

https://github.com/zephyrproject-rtos/zephyr/issues/40420

That's all good context, thank you.

When we use #define it is normally with an upper-case string. The is the convention in U-Boot and Linux (and many other projects), I believe.

I don't disagree with the "normally", but that very word is precisely my
point: It's not universal, and there can be good reasons to deviate. Both projects frown upon camelcase, so you don't see a lot of mixed-case macros, but there's definitely a lot of all-lowercase ones (e.g. iterators), and to pick just one example of a justified mixed-case one, there's a "#define RANGE_mA" in some iio device.

Also, having lower and upper case strings does become

Quoted 4 lines

confusing, and inconsistent.

I was unaware that lower-case was allowed in Linux. It seems there are 35 cases of this in Linux.

Dunno how you reach that number, I can easily find 174. Among them stuff like "config FONT_6x11" which is definitely more readable than with an uppercase X. But yes, either way it's a very small fraction of all config symbols, but OTOH I highly doubt linux would accept patches to start renaming those without a very strong reason - it would break out-of-tree defconfig files.

Quoted 1 line

But perhaps we should not allow it in U-Boot?

Quoted 7 lines

Discourage, definitely, perhaps even add something to checkpatch. But renaming existing seems to be pointless churn, and definitely needs a better rationale than "is not allowed" when that is manifestly not true.

Maybe prepend a patch updating codingstyle.rst and amend this to say "is not allowed by the U-Boot coding standard". Or otherwise please provide some reference answering my "why".

I suspect the answer here is that we should:
- Patch (and submit upstream) kconfiglib.py to accept lowercase [a-z] as valid symbol names, as they are.
- Add a sentence or two to codingstyle.rst about discouraging lowercase, as suggested by Rasmus
- Drop the rename parts of this series.

Signature · 1 line
Tom
#17 lore raw

Re: [PATCH v2 09/87] Rename ARCH_NPCM7xx

Hi,

Quoted 53 lines · Tom Rini
Quoted 51 lines · Rasmus Villemoes
Quoted 35 lines · Simon Glass

Hi Rasmus,

Quoted 31 lines · Rasmus Villemoes
Quoted 7 lines · Tom Rini
Quoted 4 lines · Rasmus Villemoes
Quoted 1 line · Simon Glass

CONFIG options must not use lower-case letter.

Why?

So, kconfiglib complains about these.

Which IMO would be a bug in kconfiglib. Can you point me at where that warning is in kconfiglib.py and how it looks and when one would encounter it?

Quoted 3 lines

However, I can't find a formal
language definition and the kernel documentation doesn't specify, merely imply that it should always be all uppercase.

Well, yes, mostly, but since the de facto specification (namely, the kernel's implementation) doesn't complain and the kernel's Kconfig files do contain several examples of config symbols with lowercase characters, why deviate? In particular, since we share a lot of code, if some piece of kernel code has an IS_ENABLED(CONFIG_FOO876xx), why make it harder to import and keep that in sync?

Perhaps we can get Masahiro to tell us whether lowercase characters are allowed in kconfig symbols or not.

For reference, another kconfig-using project decided to fix their own infrastructure around kconfig instead of enforcing uppercase symbols:

Quoted 7 lines
Quoted 1 line

https://github.com/zephyrproject-rtos/zephyr/issues/40420

That's all good context, thank you.

When we use #define it is normally with an upper-case string. The is the convention in U-Boot and Linux (and many other projects), I believe.

I don't disagree with the "normally", but that very word is precisely my
point: It's not universal, and there can be good reasons to deviate. Both projects frown upon camelcase, so you don't see a lot of mixed-case macros, but there's definitely a lot of all-lowercase ones (e.g. iterators), and to pick just one example of a justified mixed-case one, there's a "#define RANGE_mA" in some iio device.

Quoted 7 lines
Quoted 7 lines

Also, having lower and upper case strings does become

Quoted 4 lines

confusing, and inconsistent.

I was unaware that lower-case was allowed in Linux. It seems there are 35 cases of this in Linux.

Dunno how you reach that number, I can easily find 174. Among them stuff

Yes I was missing an underscore.

git grep -E "CONFIG_([A-Za-z0-9_]*)\b" |sed -n "s/.*\bCONFIG_\([A-Za-z0-9_]*\)\b.*/\1/p" | sort |uniq | grep "[a-z]" |wc -l
187

But some are not real.

Quoted 5 lines
Quoted 5 lines

like "config FONT_6x11" which is definitely more readable than with an uppercase X. But yes, either way it's a very small fraction of all config symbols, but OTOH I highly doubt linux would accept patches to start renaming those without a very strong reason - it would break out-of-tree defconfig files.

FONT_6X11 isn't that bad :-)

Quoted 10 lines
Quoted 10 lines
Quoted 2 lines

But perhaps we should not allow it in U-Boot?

Discourage, definitely, perhaps even add something to checkpatch. But renaming existing seems to be pointless churn, and definitely needs a better rationale than "is not allowed" when that is manifestly not true.

Maybe prepend a patch updating codingstyle.rst and amend this to say "is not allowed by the U-Boot coding standard". Or otherwise please provide some reference answering my "why".

OK would you like to have a crack at these?

Quoted 4 lines

I suspect the answer here is that we should:
- Patch (and submit upstream) kconfiglib.py to accept lowercase [a-z] as valid symbol names, as they are.

That project is dead, unfortunately. I've had a PR outstanding for over a year. It looks like someone here might take it on, once we can figure out naming, etc.

Rasmus, would you like to take a look at the one in U-Boot?

Here is what Zephyr did:

https://github.com/zephyrproject-rtos/zephyr/issues/40420

Quoted 3 lines

- Add a sentence or two to codingstyle.rst about discouraging lowercase, as suggested by Rasmus
- Drop the rename parts of this series.

If people still want lower case that's OK with me. We have so few I felt it was just confusing, plus the fact that the widely use kconfiglib doesn't support it...

Regards,
Simon

#18 lore raw

Re: [PATCH v2 09/87] Rename ARCH_NPCM7xx

Hi,

Quoted 110 lines · Simon Glass

Hi,

Quoted 53 lines · Tom Rini
Quoted 51 lines · Rasmus Villemoes
Quoted 35 lines · Simon Glass

Hi Rasmus,

Quoted 31 lines · Rasmus Villemoes
Quoted 7 lines · Tom Rini
Quoted 4 lines · Rasmus Villemoes
Quoted 1 line · Simon Glass

CONFIG options must not use lower-case letter.

Why?

So, kconfiglib complains about these.

Which IMO would be a bug in kconfiglib. Can you point me at where that warning is in kconfiglib.py and how it looks and when one would encounter it?

Quoted 3 lines

However, I can't find a formal
language definition and the kernel documentation doesn't specify, merely imply that it should always be all uppercase.

Well, yes, mostly, but since the de facto specification (namely, the kernel's implementation) doesn't complain and the kernel's Kconfig files do contain several examples of config symbols with lowercase characters, why deviate? In particular, since we share a lot of code, if some piece of kernel code has an IS_ENABLED(CONFIG_FOO876xx), why make it harder to import and keep that in sync?

Perhaps we can get Masahiro to tell us whether lowercase characters are allowed in kconfig symbols or not.

For reference, another kconfig-using project decided to fix their own infrastructure around kconfig instead of enforcing uppercase symbols:

Quoted 7 lines
Quoted 1 line

https://github.com/zephyrproject-rtos/zephyr/issues/40420

That's all good context, thank you.

When we use #define it is normally with an upper-case string. The is the convention in U-Boot and Linux (and many other projects), I believe.

I don't disagree with the "normally", but that very word is precisely my
point: It's not universal, and there can be good reasons to deviate. Both projects frown upon camelcase, so you don't see a lot of mixed-case macros, but there's definitely a lot of all-lowercase ones (e.g. iterators), and to pick just one example of a justified mixed-case one, there's a "#define RANGE_mA" in some iio device.

Quoted 7 lines
Quoted 7 lines

Also, having lower and upper case strings does become

Quoted 4 lines

confusing, and inconsistent.

I was unaware that lower-case was allowed in Linux. It seems there are 35 cases of this in Linux.

Dunno how you reach that number, I can easily find 174. Among them stuff

Yes I was missing an underscore.

git grep -E "CONFIG_([A-Za-z0-9_]*)\b" |sed -n "s/.*\bCONFIG_\([A-Za-z0-9_]*\)\b.*/\1/p" | sort |uniq | grep "[a-z]" |wc -l
187

But some are not real.

Quoted 5 lines
Quoted 5 lines

like "config FONT_6x11" which is definitely more readable than with an uppercase X. But yes, either way it's a very small fraction of all config symbols, but OTOH I highly doubt linux would accept patches to start renaming those without a very strong reason - it would break out-of-tree defconfig files.

FONT_6X11 isn't that bad :-)

Quoted 10 lines
Quoted 10 lines
Quoted 2 lines

But perhaps we should not allow it in U-Boot?

Discourage, definitely, perhaps even add something to checkpatch. But renaming existing seems to be pointless churn, and definitely needs a better rationale than "is not allowed" when that is manifestly not true.

Maybe prepend a patch updating codingstyle.rst and amend this to say "is not allowed by the U-Boot coding standard". Or otherwise please provide some reference answering my "why".

OK would you like to have a crack at these?

Quoted 4 lines

I suspect the answer here is that we should:
- Patch (and submit upstream) kconfiglib.py to accept lowercase [a-z] as valid symbol names, as they are.

That project is dead, unfortunately. I've had a PR outstanding for over a year. It looks like someone here might take it on, once we can figure out naming, etc.

Rasmus, would you like to take a look at the one in U-Boot?

Here is what Zephyr did:

https://github.com/zephyrproject-rtos/zephyr/issues/40420

Quoted 7 lines
Quoted 3 lines

- Add a sentence or two to codingstyle.rst about discouraging lowercase, as suggested by Rasmus
- Drop the rename parts of this series.

If people still want lower case that's OK with me. We have so few I felt it was just confusing, plus the fact that the widely use kconfiglib doesn't support it...

Actually that's not true, it does support lower-case Kconfig options, or at least the one we do does. I'll send a v3 with these patches dropped.

Regards,
Simon

#19 lore raw

PATCH v2 10/87 arm: mvebu: Remove reference to ARMADA_370

In reply to Simon Glass

Drop this as it is not referenced anywhere else in the code.

---

Changes in v2:
- Just drop the reference

 arch/arm/mach-mvebu/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-mvebu/Makefile +1 -1
index a23511b113b..28d3e5e1052 100644
@@ -35,7 +35,7 @@ endif
 
 extra-y += kwbimage.cfg
 
-ifneq ($(CONFIG_ARMADA_370)$(CONFIG_ARMADA_XP),)
+ifneq ($(CONFIG_ARMADA_XP),)
 	KWB_REPLACE += CPU
 	KWB_CFG_CPU = SHEEVA
 else ifneq ($(CONFIG_ARMADA_375)$(CONFIG_ARMADA_38X)$(CONFIG_ARMADA_39X),)
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#20 lore raw

PATCH v2 11/87 arm: mvebu: Drop reference to CONFIG_ARMADA_39X

In reply to Simon Glass

This is not defined anywhere. Drop it.

---

(no changes since v1)

 arch/arm/mach-mvebu/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-mvebu/Makefile +1 -1
index 28d3e5e1052..a9f506cf2fb 100644
@@ -38,7 +38,7 @@ extra-y += kwbimage.cfg
 ifneq ($(CONFIG_ARMADA_XP),)
 	KWB_REPLACE += CPU
 	KWB_CFG_CPU = SHEEVA
-else ifneq ($(CONFIG_ARMADA_375)$(CONFIG_ARMADA_38X)$(CONFIG_ARMADA_39X),)
+else ifneq ($(CONFIG_ARMADA_375)$(CONFIG_ARMADA_38X),)
 	KWB_REPLACE += CPU
 	KWB_CFG_CPU = A9
 endif
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#21 lore raw

PATCH v2 12/87 ppc: Drop bat_rw

In reply to Simon Glass

Drop this unused driver.

---

(no changes since v1)

 arch/powerpc/lib/Makefile |   1 -
 arch/powerpc/lib/bat_rw.c | 244 --------------------------------------
 2 files changed, 245 deletions(-)
 delete mode 100644 arch/powerpc/lib/bat_rw.c
arch/powerpc/lib/Makefile +0 -1
index 066d7f408e0..bb819dcbb6c 100644
@@ -34,7 +34,6 @@ obj-y	+= ticks.o
 endif
 obj-y	+= reloc.o
 
-obj-$(CONFIG_BAT_RW) += bat_rw.o
 obj-$(CONFIG_CMD_BOOTM) += bootm.o
 obj-y	+= cache.o
 obj-y	+= extable.o
arch/powerpc/lib/bat_rw.c deleted +0 -244

244 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#22 lore raw

PATCH v2 13/87 rockchip: Correct a reference to CONFIG_BOOT_MODE_REG

In reply to Simon Glass

This option does not exist and should refer to
CONFIG_ROCKCHIP_BOOT_MODE_REG instead. Fix it.

---

(no changes since v1)

 arch/arm/mach-rockchip/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-rockchip/Makefile +1 -1
index 32138fa723f..e3d4a8b42e4 100644
@@ -18,7 +18,7 @@ obj-spl-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board-spl.o
 ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),)
 
 # Always include boot_mode.o, as we bypass it (i.e. turn it off)
-# inside of boot_mode.c when CONFIG_BOOT_MODE_REG is 0.  This way,
+# inside of boot_mode.c when CONFIG_ROCKCHIP_BOOT_MODE_REG is 0.  This way,
 # we can have the preprocessor correctly recognise both 0x0 and 0
 # meaning "turn it off".
 obj-y += boot_mode.o
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#23 lore raw

PATCH v2 14/87 cmd: Add an option to enable the ini command

In reply to Simon Glass

This command has no Kconfig option at present, but seems useful enough to keep around. Add one.

---

(no changes since v1)

 cmd/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)
cmd/Kconfig +7 -0
index 4fe2c75de25..b697469a4cb 100644
@@ -2015,6 +2015,13 @@ config CMD_LED
 	  with led on/off/togle/blink. Any LED drivers can be controlled with
 	  this command, e.g. led_gpio.
 
+config CMD_INI
+	bool "ini"
+	help
+	  Enable the 'ini' command which allows a .ini file to be parsed and
+	  placed into environment variables. Please check the source code for
+	  this as there is no documentation.
+
 config CMD_DATE
 	bool "date"
 	default y if DM_RTC
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#24 lore raw

PATCH v2 15/87 cmd: Drop mfsl command

In reply to Simon Glass

This is not used anywhere. Drop it.

---

(no changes since v1)

 cmd/Makefile |   1 -
 cmd/mfsl.c   | 387 ---------------------------------------------------
 2 files changed, 388 deletions(-)
 delete mode 100644 cmd/mfsl.c
cmd/Makefile +0 -1
index 0b6a96c1d91..4adc7530a0a 100644
@@ -108,7 +108,6 @@ obj-$(CONFIG_ID_EEPROM) += mac.o
 obj-$(CONFIG_CMD_MD5SUM) += md5sum.o
 obj-$(CONFIG_CMD_MEMORY) += mem.o
 obj-$(CONFIG_CMD_IO) += io.o
-obj-$(CONFIG_CMD_MFSL) += mfsl.o
 obj-$(CONFIG_CMD_MII) += mii.o
 obj-$(CONFIG_CMD_MISC) += misc.o
 obj-$(CONFIG_CMD_MDIO) += mdio.o
cmd/mfsl.c deleted +0 -387

387 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#25 lore raw

PATCH v2 16/87 Correct CONFIG_CONTROLCENTERDC

In reply to Simon Glass

This option does not exist but presumably means to point to CONFIG_TARGET_CONTROLCENTERDC. Fix it.

---

(no changes since v1)

 board/gdsys/common/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/gdsys/common/Makefile +1 -1
index dd6d5e69de5..553e2ca50ed 100644
@@ -5,7 +5,7 @@
 
 obj-$(CONFIG_SYS_FPGA_COMMON) += fpga.o
 obj-$(CONFIG_CMD_IOLOOP) += cmd_ioloop.o
-obj-$(CONFIG_CONTROLCENTERD) += dp501.o
+obj-$(CONFIG_TARGET_CONTROLCENTERDC) += dp501.o
 obj-$(CONFIG_TARGET_GAZERBEAM) += osd.o ihs_mdio.o ioep-fpga.o
 
 ifdef CONFIG_OSD
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#26 lore raw

PATCH v2 17/87 Drop dataflash_mmc_mux command

In reply to Simon Glass

This is not used. Drop it.

---

(no changes since v1)

 cmd/Makefile            |  1 -
 cmd/dataflash_mmc_mux.c | 48 -----------------------------------------
 2 files changed, 49 deletions(-)
 delete mode 100644 cmd/dataflash_mmc_mux.c
cmd/Makefile +0 -1
index 4adc7530a0a..b6888a52f49 100644
@@ -47,7 +47,6 @@ obj-$(CONFIG_CMD_CONFIG) += config.o
 obj-$(CONFIG_CMD_CONITRACE) += conitrace.o
 obj-$(CONFIG_CMD_CONSOLE) += console.o
 obj-$(CONFIG_CMD_CPU) += cpu.o
-obj-$(CONFIG_DATAFLASH_MMC_SELECT) += dataflash_mmc_mux.o
 obj-$(CONFIG_CMD_DATE) += date.o
 obj-$(CONFIG_CMD_DEMO) += demo.o
 obj-$(CONFIG_CMD_DM) += dm.o
cmd/dataflash_mmc_mux.c deleted +0 -48

48 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#27 lore raw

PATCH v2 18/87 Drop CONFIG_DM644X_GPIO

In reply to Simon Glass

Drop this unused option.

---

(no changes since v1)

 drivers/gpio/Makefile | 1 -
 1 file changed, 1 deletion(-)
drivers/gpio/Makefile +0 -1
index 57603645c1c..07fca7bd33d 100644
@@ -38,7 +38,6 @@ obj-$(CONFIG_SANDBOX_GPIO)	+= sandbox.o sandbox_test.o
 obj-$(CONFIG_TEGRA_GPIO)	+= tegra_gpio.o
 obj-$(CONFIG_TEGRA186_GPIO)	+= tegra186_gpio.o
 obj-$(CONFIG_DA8XX_GPIO)	+= da8xx_gpio.o
-obj-$(CONFIG_DM644X_GPIO)	+= da8xx_gpio.o
 obj-$(CONFIG_ALTERA_PIO)	+= altera_pio.o
 obj-$(CONFIG_MPC83XX_GPIO)	+= mpc83xx_gpio.o
 obj-$(CONFIG_MPC8XXX_GPIO)	+= mpc8xxx_gpio.o
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#28 lore raw

PATCH v2 19/87 Makefile: Avoid use of invalid CONFIG_ option

In reply to Simon Glass

This appears in a comment but is not a real option. Drop it.

---

(no changes since v1)

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index debe691c39e..400261606e3 100644
@@ -1082,7 +1082,7 @@ expect = $(foreach cfg,$(1),y)
 
 # Show a deprecation message
 # Args:
-# 1: List of CONFIG_DM_... to migrate to (e.g. "CONFIG_DM_MMC CONFIG_BLK")
+# 1: List of options to migrate to (e.g. "CONFIG_DM_MMC CONFIG_BLK")
 # 2: Name of component (e.g . "Ethernet drivers")
 # 3: Release deadline (e.g. "v202.07")
 # 4: Condition to require before checking (e.g. "$(CONFIG_NET)")
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#29 lore raw

PATCH v2 20/87 env: Drop ENV_IS_IN_SATA

In reply to Simon Glass

This is not used anywhere, so drop it.

---

(no changes since v1)

 cmd/nvedit.c |   1 -
 env/Makefile |   1 -
 env/env.c    |   3 --
 env/sata.c   | 122 ---------------------------------------------------
 4 files changed, 127 deletions(-)
 delete mode 100644 env/sata.c
cmd/nvedit.c +0 -1
index 53e6b57b60e..e2a5f0089e9 100644
@@ -51,7 +51,6 @@ DECLARE_GLOBAL_DATA_PTR;
 	defined(CONFIG_ENV_IS_IN_NAND)		|| \
 	defined(CONFIG_ENV_IS_IN_NVRAM)		|| \
 	defined(CONFIG_ENV_IS_IN_ONENAND)	|| \
-	defined(CONFIG_ENV_IS_IN_SATA)		|| \
 	defined(CONFIG_ENV_IS_IN_SPI_FLASH)	|| \
 	defined(CONFIG_ENV_IS_IN_REMOTE)	|| \
 	defined(CONFIG_ENV_IS_IN_UBI)
env/Makefile +0 -1
index bb6e24b396d..673b979fdfa 100644
@@ -16,7 +16,6 @@ extra-$(CONFIG_ENV_IS_IN_FLASH) += embedded.o
 obj-$(CONFIG_ENV_IS_IN_NVRAM) += embedded.o
 obj-$(CONFIG_ENV_IS_IN_NVRAM) += nvram.o
 obj-$(CONFIG_ENV_IS_IN_ONENAND) += onenand.o
-obj-$(CONFIG_ENV_IS_IN_SATA) += sata.o
 obj-$(CONFIG_ENV_IS_IN_REMOTE) += remote.o
 obj-$(CONFIG_ENV_IS_IN_UBI) += ubi.o
 endif
env/env.c +0 -3
index 06078c7f374..0f73ebc08e0 100644
@@ -78,9 +78,6 @@ static enum env_location env_locations[] = {
 #ifdef CONFIG_ENV_IS_IN_REMOTE
 	ENVL_REMOTE,
 #endif
-#ifdef CONFIG_ENV_IS_IN_SATA
-	ENVL_ESATA,
-#endif
 #ifdef CONFIG_ENV_IS_IN_SPI_FLASH
 	ENVL_SPI_FLASH,
 #endif
env/sata.c deleted +0 -122

122 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#30 lore raw

PATCH v2 21/87 samsung: Drop CONFIG_EXYNOS_PWM_BL

In reply to Simon Glass

This is not defined anywhere. Drop it.

---

(no changes since v1)

 drivers/video/exynos/Makefile | 1 -
 1 file changed, 1 deletion(-)
drivers/video/exynos/Makefile +0 -1
index 0f58954e49c..45067f562cb 100644
@@ -7,4 +7,3 @@ obj-$(CONFIG_EXYNOS_DP) += exynos_dp.o exynos_dp_lowlevel.o
 obj-$(CONFIG_EXYNOS_FB) += exynos_fb.o
 obj-$(CONFIG_EXYNOS_MIPI_DSIM) += exynos_mipi_dsi.o exynos_mipi_dsi_common.o \
 				exynos_mipi_dsi_lowlevel.o
-obj-$(CONFIG_EXYNOS_PWM_BL) += exynos_pwm_bl.o
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#31 lore raw

PATCH v2 22/87 fpga: Add a LATTICE option

In reply to Simon Glass

There is no Kconfig option for this code, but it seems to be useful. Add one.

---

(no changes since v1)

 drivers/fpga/Kconfig | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/fpga/Kconfig +6 -0
index 4113de230cd..2034d0ebd9c 100644
@@ -54,6 +54,12 @@ config FPGA_INTEL_SDM_MAILBOX
 	  Enable FPGA driver for writing full bitstream into Intel FPGA
 	  devices through SDM (Secure Device Manager) Mailbox.
 
+config FPGA_LATTICE
+	bool "Enable Lattice FPGA driver"
+	help
+	  This is used for the lattice FPGAs. Please check the source code as
+	  there is no documentation for this at present.
+
 config FPGA_XILINX
 	bool "Enable Xilinx FPGA drivers"
 	select FPGA
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#32 lore raw

PATCH v2 23/87 fpga: Add a FPGA_STRATIX_II option

In reply to Simon Glass

There is no Kconfig option for this code, but it seems to be useful. Add one.

---

(no changes since v1)

 drivers/fpga/Kconfig | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/fpga/Kconfig +6 -0
index 2034d0ebd9c..61490d6d8de 100644
@@ -21,6 +21,12 @@ config FPGA_SOCFPGA
 
 	  This provides common functionality for Gen5 and Arria10 devices.
 
+config FPGA_STRATIX_II
+	bool "Enable Stratix II FPGA drivers"
+	depends on FPGA_ALTERA
+	help
+	  Say Y here to enable the Altera Stratix II FPGA-specific driver.
+
 config FPGA_STRATIX_V
 	bool "Enable Stratix V FPGA drivers"
 	depends on FPGA_ALTERA
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#33 lore raw

PATCH v2 24/87 misc: Drop mc9sdz60 driver

In reply to Simon Glass

Drop this unused driver.

---

(no changes since v1)

 drivers/misc/Makefile   |  1 -
 drivers/misc/mc9sdz60.c | 34 ----------------------------------
 2 files changed, 35 deletions(-)
 delete mode 100644 drivers/misc/mc9sdz60.c
drivers/misc/Makefile +0 -1
index 2de510329d8..3b792f2a14c 100644
@@ -36,7 +36,6 @@ obj-$(CONFIG_DS4510)  += ds4510.o
 obj-$(CONFIG_FSL_DEVICE_DISABLE) += fsl_devdis.o
 obj-$(CONFIG_FSL_IFC) += fsl_ifc.o
 obj-$(CONFIG_FSL_IIM) += fsl_iim.o
-obj-$(CONFIG_FSL_MC9SDZ60) += mc9sdz60.o
 obj-$(CONFIG_FSL_SEC_MON) += fsl_sec_mon.o
 obj-$(CONFIG_$(SPL_)FS_LOADER) += fs_loader.o
 obj-$(CONFIG_GATEWORKS_SC) += gsc.o
drivers/misc/mc9sdz60.c deleted +0 -34
deleted file mode 100644
index e68a056a559..00000000000
@@ -1,34 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * (C) Copyright 2010 Stefano Babic <[email protected]>
- */
-
-
-#include <config.h>
-#include <common.h>
-#include <linux/errno.h>
-#include <linux/types.h>
-#include <i2c.h>
-#include <mc9sdz60.h>
-
-#ifndef CONFIG_SYS_FSL_MC9SDZ60_I2C_ADDR
-#error "You have to configure I2C address for MC9SDZ60"
-#endif
-
-
-u8 mc9sdz60_reg_read(enum mc9sdz60_reg reg)
-{
-	u8 val;
-
-	if (i2c_read(CONFIG_SYS_FSL_MC9SDZ60_I2C_ADDR, reg, 1, &val, 1)) {
-		puts("Error reading MC9SDZ60 register\n");
-		return -1;
-	}
-
-	return val;
-}
-
-void mc9sdz60_reg_write(enum mc9sdz60_reg reg, u8 val)
-{
-	i2c_write(CONFIG_SYS_FSL_MC9SDZ60_I2C_ADDR, reg, 1, &val, 1);
-}
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#34 lore raw

PATCH v2 25/87 freescale: Drop unused pixis code

In reply to Simon Glass

Drop this unused code.

---

(no changes since v1)

 board/freescale/common/Makefile |   1 -
 board/freescale/common/pixis.c  | 470 --------------------------------
 board/freescale/common/pixis.h  |  54 ----
 3 files changed, 525 deletions(-)
 delete mode 100644 board/freescale/common/pixis.c
 delete mode 100644 board/freescale/common/pixis.h
board/freescale/common/Makefile +0 -1
index cc1371867d8..fc51d6d3e18 100644
@@ -29,7 +29,6 @@ endif
 obj-$(CONFIG_FSL_CADMUS)	+= cadmus.o
 obj-$(CONFIG_FSL_VIA)		+= cds_via.o
 obj-$(CONFIG_FMAN_ENET)	+= fman.o
-obj-$(CONFIG_FSL_PIXIS)	+= pixis.o
 ifndef CONFIG_SPL_BUILD
 obj-$(CONFIG_FSL_NGPIXIS)	+= ngpixis.o
 endif
board/freescale/common/pixis.c deleted +0 -470

470 lines not on this page · raw message

board/freescale/common/pixis.h deleted +0 -54

54 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#35 lore raw

PATCH v2 26/87 freescale: Drop unused ftpmu010 driver

In reply to Simon Glass

Drop this unused code.

---

(no changes since v1)

 drivers/power/Makefile     |   1 -
 drivers/power/ftpmu010.c   |  87 --------------
 include/faraday/ftpmu010.h | 234 -------------------------------------
 3 files changed, 322 deletions(-)
 delete mode 100644 drivers/power/ftpmu010.c
 delete mode 100644 include/faraday/ftpmu010.h
drivers/power/Makefile +0 -1
index f805027784d..34a84808a9c 100644
@@ -18,7 +18,6 @@ obj-$(CONFIG_AXP305_POWER)	+= axp305.o
 obj-$(CONFIG_AXP809_POWER)	+= axp809.o
 obj-$(CONFIG_AXP818_POWER)	+= axp818.o
 obj-$(CONFIG_EXYNOS_TMU)	+= exynos-tmu.o
-obj-$(CONFIG_FTPMU010_POWER)	+= ftpmu010.o
 obj-$(CONFIG_SY8106A_POWER)	+= sy8106a.o
 obj-$(CONFIG_TPS6586X_POWER)	+= tps6586x.o
 obj-$(CONFIG_TWL4030_POWER)	+= twl4030.o
drivers/power/ftpmu010.c deleted +0 -87

87 lines not on this page · raw message

include/faraday/ftpmu010.h deleted +0 -234

234 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#36 lore raw

PATCH v2 27/87 rcar: Drop timer

In reply to Simon Glass

Drop this unused driver.

---

(no changes since v1)

 arch/arm/mach-rmobile/Makefile |  1 -
 arch/arm/mach-rmobile/timer.c  | 87 ----------------------------------
 2 files changed, 88 deletions(-)
 delete mode 100644 arch/arm/mach-rmobile/timer.c
arch/arm/mach-rmobile/Makefile +0 -1
index 195bbeb5c88..3f77760e50d 100644
@@ -7,7 +7,6 @@ obj-y = cpu_info.o
 obj-y += emac.o
 
 obj-$(CONFIG_DISPLAY_BOARDINFO) += board.o
-obj-$(CONFIG_GLOBAL_TIMER) += timer.o
 obj-$(CONFIG_TMU_TIMER) += ../../sh/lib/time.o
 obj-$(CONFIG_SH73A0) += lowlevel_init.o cpu_info-sh73a0.o pfc-sh73a0.o
 obj-$(CONFIG_R8A7740) += lowlevel_init.o cpu_info-r8a7740.o pfc-r8a7740.o
arch/arm/mach-rmobile/timer.c deleted +0 -87

87 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#37 lore raw

PATCH v2 28/87 i2c: Rename I2C_MUX_PCA954x

In reply to Simon Glass

CONFIG options must not use lower-case letter. Convert this to upper case.

---

(no changes since v1)

 arch/arm/mach-mvebu/Kconfig                    | 2 +-
 configs/SBx81LIFKW_defconfig                   | 2 +-
 configs/SBx81LIFXCAT_defconfig                 | 2 +-
 configs/cgtqmx8_defconfig                      | 2 +-
 configs/ge_bx50v3_defconfig                    | 2 +-
 configs/imx8qm_mek_defconfig                   | 2 +-
 configs/imx8qm_rom7720_a1_4G_defconfig         | 2 +-
 configs/imx8qxp_mek_defconfig                  | 2 +-
 configs/kmcent2_defconfig                      | 2 +-
 configs/kmcoge5ne_defconfig                    | 2 +-
 configs/kmeter1_defconfig                      | 2 +-
 configs/kmopti2_defconfig                      | 2 +-
 configs/kmsupx5_defconfig                      | 2 +-
 configs/kmtepr2_defconfig                      | 2 +-
 configs/ls1028aqds_tfa_SECURE_BOOT_defconfig   | 2 +-
 configs/ls1028aqds_tfa_defconfig               | 2 +-
 configs/ls1028aqds_tfa_lpuart_defconfig        | 2 +-
 configs/ls1028ardb_tfa_SECURE_BOOT_defconfig   | 2 +-
 configs/ls1028ardb_tfa_defconfig               | 2 +-
 configs/ls1088aqds_tfa_defconfig               | 2 +-
 configs/ls1088ardb_tfa_SECURE_BOOT_defconfig   | 2 +-
 configs/ls1088ardb_tfa_defconfig               | 2 +-
 configs/ls2088aqds_tfa_defconfig               | 2 +-
 configs/ls2088ardb_tfa_SECURE_BOOT_defconfig   | 2 +-
 configs/ls2088ardb_tfa_defconfig               | 2 +-
 configs/lx2160aqds_tfa_SECURE_BOOT_defconfig   | 2 +-
 configs/lx2160aqds_tfa_defconfig               | 2 +-
 configs/lx2162aqds_tfa_SECURE_BOOT_defconfig   | 2 +-
 configs/lx2162aqds_tfa_defconfig               | 2 +-
 configs/lx2162aqds_tfa_verified_boot_defconfig | 2 +-
 configs/mvebu_puzzle-m801-88f8040_defconfig    | 2 +-
 configs/mx53ppd_defconfig                      | 2 +-
 configs/octeontx2_96xx_defconfig               | 2 +-
 configs/tuge1_defconfig                        | 2 +-
 configs/tuxx1_defconfig                        | 2 +-
 configs/x530_defconfig                         | 2 +-
 configs/xilinx_versal_net_virt_defconfig       | 2 +-
 configs/xilinx_versal_virt_defconfig           | 2 +-
 configs/xilinx_zynq_virt_defconfig             | 2 +-
 configs/xilinx_zynqmp_virt_defconfig           | 2 +-
 drivers/i2c/muxes/Kconfig                      | 2 +-
 drivers/i2c/muxes/Makefile                     | 2 +-
 42 files changed, 42 insertions(+), 42 deletions(-)
arch/arm/mach-mvebu/Kconfig +1 -1
index 594e9a03d90..71676be84b2 100644
@@ -133,7 +133,7 @@ config TARGET_TURRIS_OMNIA
 	select BOARD_LATE_INIT
 	select DM_I2C
 	select I2C_MUX
-	select I2C_MUX_PCA954x
+	select I2C_MUX_PCA954X
 	select SPL_DRIVERS_MISC
 	select SPL_I2C_MUX
 	select SPL_SYS_MALLOC_SIMPLE
configs/SBx81LIFKW_defconfig +1 -1
index e53f2489c5d..a94da5a017a 100644
@@ -47,7 +47,7 @@ CONFIG_DM_PCA953X=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
 # CONFIG_MMC is not set
configs/SBx81LIFXCAT_defconfig +1 -1
index 80dbbb11c9b..da493c29ffc 100644
@@ -47,7 +47,7 @@ CONFIG_DM_PCA953X=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
 # CONFIG_MMC is not set
configs/cgtqmx8_defconfig +1 -1
index 019701010ac..a0d24b4d534 100644
@@ -78,7 +78,7 @@ CONFIG_DM_PCA953X=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_IMX_LPI2C=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_MISC=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_FSL_USDHC=y
configs/ge_bx50v3_defconfig +1 -1
index 82f6cc3f824..80667ee79cd 100644
@@ -54,7 +54,7 @@ CONFIG_DM_BOOTCOUNT_I2C_EEPROM=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MXC=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_MISC=y
 CONFIG_I2C_EEPROM=y
 CONFIG_SUPPORT_EMMC_BOOT=y
configs/imx8qm_mek_defconfig +1 -1
index 4fc828681b6..ef9c1130ab6 100644
@@ -81,7 +81,7 @@ CONFIG_DM_PCA953X=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_IMX_LPI2C=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_FSL_USDHC=y
 CONFIG_PHYLIB=y
configs/imx8qm_rom7720_a1_4G_defconfig +1 -1
index 7819bef8638..0246b2a966a 100644
@@ -68,7 +68,7 @@ CONFIG_DM_PCA953X=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_IMX_LPI2C=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_MISC=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_FSL_USDHC=y
configs/imx8qxp_mek_defconfig +1 -1
index a00951a3b03..ef86485badf 100644
@@ -84,7 +84,7 @@ CONFIG_DM_PCA953X=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_IMX_LPI2C=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_FSL_USDHC=y
 CONFIG_PHYLIB=y
configs/kmcent2_defconfig +1 -1
index bd4943006c1..d9aae79bc2b 100644
@@ -69,7 +69,7 @@ CONFIG_SYS_FSL_DDR3=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_FSL=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_FSL_ESDHC=y
 CONFIG_MTD=y
 CONFIG_DM_MTD=y
configs/kmcoge5ne_defconfig +1 -1
index 4ea7da8d32c..c8897003c10 100644
@@ -222,7 +222,7 @@ CONFIG_SYS_OR4_PRELIM=0xF0000E25
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_FSL=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_MTD_NOR_FLASH=y
configs/kmeter1_defconfig +1 -1
index 96298ed0c38..573dc4c5c4e 100644
@@ -188,7 +188,7 @@ CONFIG_SYS_OR3_PRELIM=0xF0000E25
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_FSL=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_MTD_NOR_FLASH=y
configs/kmopti2_defconfig +1 -1
index db717e4a15d..895ac4649a2 100644
@@ -203,7 +203,7 @@ CONFIG_SYS_OR3_PRELIM=0xF0000040
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_FSL=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_MTD_NOR_FLASH=y
configs/kmsupx5_defconfig +1 -1
index 69de685bafd..e99c55e47a1 100644
@@ -180,7 +180,7 @@ CONFIG_SYS_OR2_PRELIM=0xF0000C25
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_FSL=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_MTD_NOR_FLASH=y
configs/kmtepr2_defconfig +1 -1
index 92f2b0adecd..fd206f3d0e6 100644
@@ -202,7 +202,7 @@ CONFIG_SYS_OR3_PRELIM=0xF0000040
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_FSL=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_MTD_NOR_FLASH=y
configs/ls1028aqds_tfa_SECURE_BOOT_defconfig +1 -1
index 525c7df6d0f..6913addf265 100644
@@ -58,7 +58,7 @@ CONFIG_MPC8XXX_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_SYS_I2C_EEPROM_ADDR=0x57
 CONFIG_FSL_ESDHC=y
 CONFIG_MTD=y
configs/ls1028aqds_tfa_defconfig +1 -1
index dde204eaa0d..43ac651507b 100644
@@ -64,7 +64,7 @@ CONFIG_MPC8XXX_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_SYS_I2C_EEPROM_ADDR=0x57
 CONFIG_FSL_ESDHC=y
 CONFIG_MTD=y
configs/ls1028aqds_tfa_lpuart_defconfig +1 -1
index 8cd90863a1c..10ed3d50131 100644
@@ -63,7 +63,7 @@ CONFIG_MPC8XXX_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_SYS_I2C_EEPROM_ADDR=0x57
 CONFIG_FSL_ESDHC=y
 CONFIG_MTD=y
configs/ls1028ardb_tfa_SECURE_BOOT_defconfig +1 -1
index b8df245025f..49ca58a753b 100644
@@ -56,7 +56,7 @@ CONFIG_MPC8XXX_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_SYS_I2C_EEPROM_ADDR=0x57
 CONFIG_FSL_ESDHC=y
 CONFIG_MTD=y
configs/ls1028ardb_tfa_defconfig +1 -1
index 5b1cf988cf0..4110f7c7ef7 100644
@@ -62,7 +62,7 @@ CONFIG_MPC8XXX_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_SYS_I2C_EEPROM_ADDR=0x57
 CONFIG_FSL_ESDHC=y
 CONFIG_MTD=y
configs/ls1088aqds_tfa_defconfig +1 -1
index c8ab5723539..4310df41ece 100644
@@ -75,7 +75,7 @@ CONFIG_MPC8XXX_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_SYS_I2C_EEPROM_ADDR=0x57
 CONFIG_FSL_ESDHC=y
 CONFIG_ESDHC_DETECT_QUIRK=y
configs/ls1088ardb_tfa_SECURE_BOOT_defconfig +1 -1
index 0ec80be2ea6..f1bb25c7c71 100644
@@ -64,7 +64,7 @@ CONFIG_MPC8XXX_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_SYS_I2C_EEPROM_ADDR=0x57
 CONFIG_FSL_ESDHC=y
 CONFIG_MTD=y
configs/ls1088ardb_tfa_defconfig +1 -1
index 27323be4089..f4aaca00673 100644
@@ -70,7 +70,7 @@ CONFIG_MPC8XXX_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_SYS_I2C_EEPROM_ADDR=0x57
 CONFIG_FSL_ESDHC=y
 CONFIG_MTD=y
configs/ls2088aqds_tfa_defconfig +1 -1
index a9faa1525ac..31c5fa7a2f7 100644
@@ -72,7 +72,7 @@ CONFIG_MPC8XXX_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_SYS_I2C_EEPROM_ADDR=0x57
 CONFIG_FSL_ESDHC=y
 CONFIG_ESDHC_DETECT_QUIRK=y
configs/ls2088ardb_tfa_SECURE_BOOT_defconfig +1 -1
index 1dd7c1dd808..e290dad5711 100644
@@ -67,7 +67,7 @@ CONFIG_MPC8XXX_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_SYS_I2C_EEPROM_ADDR=0x57
 CONFIG_FSL_ESDHC=y
 CONFIG_MTD=y
configs/ls2088ardb_tfa_defconfig +1 -1
index 246ab403754..03c48d7a850 100644
@@ -74,7 +74,7 @@ CONFIG_MPC8XXX_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_SYS_I2C_EEPROM_ADDR=0x57
 CONFIG_FSL_ESDHC=y
 CONFIG_MTD=y
configs/lx2160aqds_tfa_SECURE_BOOT_defconfig +1 -1
index ea3f2acaeb2..b47af2a883c 100644
@@ -67,7 +67,7 @@ CONFIG_MPC8XXX_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_SYS_I2C_EEPROM_ADDR=0x57
 CONFIG_FSL_ESDHC=y
 CONFIG_ESDHC_DETECT_QUIRK=y
configs/lx2160aqds_tfa_defconfig +1 -1
index 9be7ac9c282..11d934509d0 100644
@@ -74,7 +74,7 @@ CONFIG_MPC8XXX_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_SYS_I2C_EEPROM_ADDR=0x57
 CONFIG_FSL_ESDHC=y
 CONFIG_ESDHC_DETECT_QUIRK=y
configs/lx2162aqds_tfa_SECURE_BOOT_defconfig +1 -1
index ad1b1234c01..acd778a624c 100644
@@ -69,7 +69,7 @@ CONFIG_MPC8XXX_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_SYS_I2C_EEPROM_ADDR=0x57
 CONFIG_MMC_HS400_SUPPORT=y
 CONFIG_FSL_ESDHC=y
configs/lx2162aqds_tfa_defconfig +1 -1
index ee37dfd83d8..de43d6c5e1f 100644
@@ -76,7 +76,7 @@ CONFIG_MPC8XXX_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_SYS_I2C_EEPROM_ADDR=0x57
 CONFIG_SUPPORT_EMMC_RPMB=y
 CONFIG_MMC_HS400_SUPPORT=y
configs/lx2162aqds_tfa_verified_boot_defconfig +1 -1
index 0fe96e37999..3cf10e8bab5 100644
@@ -77,7 +77,7 @@ CONFIG_MPC8XXX_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_SYS_I2C_EEPROM_ADDR=0x57
 CONFIG_SUPPORT_EMMC_RPMB=y
 CONFIG_MMC_HS400_SUPPORT=y
configs/mvebu_puzzle-m801-88f8040_defconfig +1 -1
index 06112b373b2..e2b735ee6bb 100644
@@ -57,7 +57,7 @@ CONFIG_DM_PCA953X=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_MISC=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_XENON=y
configs/mx53ppd_defconfig +1 -1
index 055dbcb0335..59ca8b639aa 100644
@@ -49,7 +49,7 @@ CONFIG_DM_BOOTCOUNT_I2C_EEPROM=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MXC=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_MISC=y
 CONFIG_FSL_IIM=y
 CONFIG_I2C_EEPROM=y
configs/octeontx2_96xx_defconfig +1 -1
index 061464d7903..46e963b1d63 100644
@@ -87,7 +87,7 @@ CONFIG_AHCI_PCI=y
 CONFIG_DM_I2C=y
 CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_MISC=y
 CONFIG_SYS_MMC_MAX_BLK_COUNT=8192
 CONFIG_SUPPORT_EMMC_RPMB=y
configs/tuge1_defconfig +1 -1
index 0c3381461eb..3301a7f936b 100644
@@ -180,7 +180,7 @@ CONFIG_SYS_OR2_PRELIM=0xF0000C25
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_FSL=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_MTD_NOR_FLASH=y
configs/tuxx1_defconfig +1 -1
index 4f192ad2624..02b369beacf 100644
@@ -204,7 +204,7 @@ CONFIG_SYS_OR3_PRELIM=0xF0000E24
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_FSL=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_MTD_NOR_FLASH=y
configs/x530_defconfig +1 -1
index 70c08adcde9..c0128f623da 100644
@@ -67,7 +67,7 @@ CONFIG_SPL_OF_TRANSLATE=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_MTD_RAW_NAND=y
configs/xilinx_versal_net_virt_defconfig +1 -1
index 729c6ad4503..54e90995dee 100644
@@ -68,7 +68,7 @@ CONFIG_ZYNQ_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_CADENCE=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_DM_MAILBOX=y
 CONFIG_ZYNQMP_IPI=y
 CONFIG_MISC=y
configs/xilinx_versal_virt_defconfig +1 -1
index de74b705504..5c0db77cee2 100644
@@ -72,7 +72,7 @@ CONFIG_FPGA_VERSALPL=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_CADENCE=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_DM_MAILBOX=y
 CONFIG_ZYNQMP_IPI=y
 CONFIG_MISC=y
configs/xilinx_zynq_virt_defconfig +1 -1
index 0ae771da817..08a57ede019 100644
@@ -101,7 +101,7 @@ CONFIG_FPGA_ZYNQPL=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_CADENCE=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
 CONFIG_MISC=y
configs/xilinx_zynqmp_virt_defconfig +1 -1
index c40490a9f80..b28708a125a 100644
@@ -141,7 +141,7 @@ CONFIG_SLG7XL45106_I2C_GPO=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_CADENCE=y
 CONFIG_I2C_MUX=y
-CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_MUX_PCA954X=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
 CONFIG_MISC=y
drivers/i2c/muxes/Kconfig +1 -1
index 323c4fbe9cc..4882e5909d3 100644
@@ -25,7 +25,7 @@ config I2C_ARB_GPIO_CHALLENGE
 	  response mechanism where masters have to claim the bus by asserting
 	  a GPIO.
 
-config I2C_MUX_PCA954x
+config I2C_MUX_PCA954X
 	tristate "TI PCA954x I2C Mux/switches"
 	depends on I2C_MUX
 	help
drivers/i2c/muxes/Makefile +1 -1
index b690821199f..84abd059580 100644
@@ -3,5 +3,5 @@
 # Copyright (c) 2015 Google, Inc
 obj-$(CONFIG_I2C_ARB_GPIO_CHALLENGE) += i2c-arb-gpio-challenge.o
 obj-$(CONFIG_I2C_MUX) += i2c-mux-uclass.o
-obj-$(CONFIG_I2C_MUX_PCA954x) += pca954x.o
+obj-$(CONFIG_I2C_MUX_PCA954X) += pca954x.o
 obj-$(CONFIG_I2C_MUX_GPIO) += i2c-mux-gpio.o
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#38 lore raw

PATCH v2 29/87 imx: Drop unused CONFIG_IMX

In reply to Simon Glass

This option does not exist, so the Makefile rule does nothing. Drop it.

---

(no changes since v1)

 arch/arm/cpu/arm920t/Makefile | 2 --
 1 file changed, 2 deletions(-)
arch/arm/cpu/arm920t/Makefile +0 -2
index b70822c67ab..5ac3740621c 100644
@@ -7,8 +7,6 @@ extra-y	= start.o
 
 obj-y	+= cpu.o
 
-obj-$(CONFIG_IMX) += imx/
-
 # some files can only build in ARM mode
 
 ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#39 lore raw

PATCH v2 30/87 arm: Drop old kona code

In reply to Simon Glass

The KONA and KONA_GPIO options don't exist anymore, since this commit:

0f6807e77b0 arm: Remove bcm28155_ap board

Drop the dead code.

---

(no changes since v1)

 arch/arm/cpu/armv7/Makefile                   |   1 -
 arch/arm/cpu/armv7/kona-common/Makefile       |   8 -
 arch/arm/cpu/armv7/kona-common/clk-stubs.c    |  25 ----
 .../arm/cpu/armv7/kona-common/hwinit-common.c |  17 ---
 arch/arm/cpu/armv7/kona-common/reset.S        |  25 ----
 arch/arm/cpu/armv7/kona-common/s_init.c       |  11 --
 drivers/gpio/Makefile                         |   1 -
 drivers/gpio/kona_gpio.c                      | 141 ------------------
 8 files changed, 229 deletions(-)
 delete mode 100644 arch/arm/cpu/armv7/kona-common/Makefile
 delete mode 100644 arch/arm/cpu/armv7/kona-common/clk-stubs.c
 delete mode 100644 arch/arm/cpu/armv7/kona-common/hwinit-common.c
 delete mode 100644 arch/arm/cpu/armv7/kona-common/reset.S
 delete mode 100644 arch/arm/cpu/armv7/kona-common/s_init.c
 delete mode 100644 drivers/gpio/kona_gpio.c
arch/arm/cpu/armv7/Makefile +0 -1
index bfbd85ae64e..7d7907601ec 100644
@@ -26,7 +26,6 @@ obj-$(CONFIG_ARMV7_NONSEC)	+= nonsec_virt.o virt-v7.o virt-dt.o
 obj-$(CONFIG_ARMV7_PSCI)	+= psci.o psci-common.o
 
 obj-$(CONFIG_IPROC) += iproc-common/
-obj-$(CONFIG_KONA) += kona-common/
 obj-$(CONFIG_SYS_ARCH_TIMER) += arch_timer.o
 
 ifneq (,$(filter s5pc1xx exynos,$(SOC)))
arch/arm/cpu/armv7/kona-common/Makefile deleted +0 -8
deleted file mode 100644
index 56de3d18e0e..00000000000
@@ -1,8 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# Copyright 2013 Broadcom Corporation.
-
-obj-y	+= s_init.o
-obj-y	+= hwinit-common.o
-obj-y	+= clk-stubs.o
-obj-${CONFIG_KONA_RESET_S} += reset.o
arch/arm/cpu/armv7/kona-common/clk-stubs.c deleted +0 -25
deleted file mode 100644
index 4eddaca8879..00000000000
@@ -1,25 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright 2013 Broadcom Corporation.
- */
-
-#include <common.h>
-
-/*
- * These weak functions are available to kona architectures that don't
- * require clock enables from the driver code.
- */
-int __weak clk_sdio_enable(void *base, u32 rate, u32 *actual_ratep)
-{
-	return 0;
-}
-
-int __weak clk_bsc_enable(void *base)
-{
-	return 0;
-}
-
-int __weak clk_usb_otg_enable(void *base)
-{
-	return 0;
-}
arch/arm/cpu/armv7/kona-common/hwinit-common.c deleted +0 -17
deleted file mode 100644
index cfc7c9fbc64..00000000000
@@ -1,17 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright 2013 Broadcom Corporation.
- */
-
-#include <common.h>
-#include <cpu_func.h>
-#include <asm/cache.h>
-#include <linux/sizes.h>
-
-#if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF)
-void enable_caches(void)
-{
-	/* Enable D-cache. I-cache is already enabled in start.S */
-	dcache_enable();
-}
-#endif
arch/arm/cpu/armv7/kona-common/reset.S deleted +0 -25
deleted file mode 100644
index eea835b341c..00000000000
@@ -1,25 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Copyright 2013 Broadcom Corporation.
- */
-
-.globl reset_cpu
-reset_cpu:
-	ldr	r1, =0x35001f00
-	ldr	r2, [r1]
-	ldr	r4, =0x80000000
-	and	r4, r2, r4
-	ldr	r3, =0xA5A500
-	orr	r4, r4, r3
-	orr	r4, r4, #0x1
-
-	str	r4, [r1]
-
-	ldr	r1, =0x35001f04
-	ldr	r2, [r1]
-	ldr	r4, =0x80000000
-	and	r4, r2, r4
-	str	r4, [r1]
-
-_loop_forever:
-	b	_loop_forever
arch/arm/cpu/armv7/kona-common/s_init.c deleted +0 -11
deleted file mode 100644
index 778b9176fa2..00000000000
@@ -1,11 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright 2014 Broadcom Corporation.
- */
-
-/*
- * Early system init. Currently empty.
- */
-void s_init(void)
-{
-}
drivers/gpio/Makefile +0 -1
index 07fca7bd33d..ec65f70c318 100644
@@ -23,7 +23,6 @@ obj-$(CONFIG_INTEL_ICH6_GPIO)	+= intel_ich6_gpio.o
 obj-$(CONFIG_INTEL_BROADWELL_GPIO)	+= intel_broadwell_gpio.o
 obj-$(CONFIG_IPROC_GPIO)	+= iproc_gpio.o
 obj-$(CONFIG_KIRKWOOD_GPIO)	+= kw_gpio.o
-obj-$(CONFIG_KONA_GPIO)	+= kona_gpio.o
 obj-$(CONFIG_MCP230XX_GPIO)	+= mcp230xx_gpio.o
 obj-$(CONFIG_MXC_GPIO)	+= mxc_gpio.o
 obj-$(CONFIG_MXS_GPIO)	+= mxs_gpio.o
drivers/gpio/kona_gpio.c deleted +0 -141

141 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#40 lore raw

PATCH v2 31/87 video: Drop unused lg4573 driver

In reply to Simon Glass

This is not used since this commit:

3cf02f5ffa4 imx6: remove not longer supported aristainetos boards

Drop the driver and Kconfig option.

---

(no changes since v1)

 drivers/video/Makefile |   1 -
 drivers/video/lg4573.c | 331 -----------------------------------------
 2 files changed, 332 deletions(-)
 delete mode 100644 drivers/video/lg4573.c
drivers/video/Makefile +0 -1
index 40a871d638e..12b68cdd068 100644
@@ -30,7 +30,6 @@ obj-${CONFIG_VIDEO_TEGRA124} += tegra124/
 obj-$(CONFIG_ATMEL_HLCD) += atmel_hlcdfb.o
 obj-$(CONFIG_ATMEL_LCD) += atmel_lcdfb.o
 obj-$(CONFIG_IHS_VIDEO_OUT) += ihs_video_out.o
-obj-$(CONFIG_LG4573) += lg4573.o
 obj-$(CONFIG_LOGICORE_DP_TX) += logicore_dp_tx.o
 obj-$(CONFIG_NXP_TDA19988) += tda19988.o
 obj-$(CONFIG_OSD) += video_osd-uclass.o
drivers/video/lg4573.c deleted +0 -331

331 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#41 lore raw

PATCH v2 32/87 m68k: Drop unused CONFIG_M52277

In reply to Simon Glass

This option does not exist, so the Makefile rule does nothing. Drop it.

---

(no changes since v1)

 arch/m68k/Makefile | 1 -
 1 file changed, 1 deletion(-)
arch/m68k/Makefile +0 -1
index 63f18109a57..4a7960bbeb4 100644
@@ -7,7 +7,6 @@ libs-y += arch/m68k/lib/
 
 cpuflags-$(CONFIG_M5208)	:= -mcpu=5208
 cpuflags-$(CONFIG_M5235)	:= -mcpu=5235 -fPIC
-cpuflags-$(CONFIG_M52277)	:= -mcpu=52277 -fPIC
 cpuflags-$(CONFIG_M5249)	:= -mcpu=5249
 cpuflags-$(CONFIG_M5253)	:= -mcpu=5253
 cpuflags-$(CONFIG_M5271)	:= -mcpu=5271
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#42 lore raw

PATCH v2 33/87 m68k: Rename MCF5301x

In reply to Simon Glass

CONFIG options must not use lower-case letter. Convert this to upper case.

---

(no changes since v1)

 arch/m68k/Kconfig                   |  4 ++--
 arch/m68k/Makefile                  |  2 +-
 arch/m68k/cpu/mcf532x/cpu.c         |  2 +-
 arch/m68k/cpu/mcf532x/cpu_init.c    |  4 ++--
 arch/m68k/cpu/mcf532x/speed.c       | 12 ++++++------
 arch/m68k/cpu/mcf532x/start.S       |  2 +-
 arch/m68k/include/asm/cache.h       |  2 +-
 arch/m68k/include/asm/immap.h       |  2 +-
 arch/m68k/include/asm/immap_5301x.h |  2 +-
 board/freescale/m53017evb/README    |  6 +++---
 10 files changed, 19 insertions(+), 19 deletions(-)
arch/m68k/Kconfig +2 -2
index 76233ef563f..af5540f14a4 100644
@@ -32,7 +32,7 @@ config MCF530x
         select DM_SERIAL
 	bool
 
-config MCF5301x
+config MCF5301X
 	select OF_CONTROL
 	select DM
         select DM_SERIAL
@@ -95,7 +95,7 @@ config M5307
 
 config M53015
 	bool
-	select MCF5301x
+	select MCF5301X
 
 config M5329
 	bool
arch/m68k/Makefile +1 -1
index 4a7960bbeb4..21e5337d309 100644
@@ -14,7 +14,7 @@ cpuflags-$(CONFIG_M5272)	:= -mcpu=5272
 cpuflags-$(CONFIG_M5275)	:= -mcpu=5275
 cpuflags-$(CONFIG_M5282)	:= -mcpu=5282
 cpuflags-$(CONFIG_M5307)	:= -mcpu=5307
-cpuflags-$(CONFIG_MCF5301x)	:= -mcpu=53015 -fPIC
+cpuflags-$(CONFIG_MCF5301X)	:= -mcpu=53015 -fPIC
 cpuflags-$(CONFIG_MCF532x)	:= -mcpu=5329 -fPIC
 cpuflags-$(CONFIG_MCF5441x)	:= -mcpu=54418 -fPIC
 
arch/m68k/cpu/mcf532x/cpu.c +1 -1
index 548cbca36aa..96a9a422f3a 100644
@@ -46,7 +46,7 @@ int print_cpuinfo(void)
 	msk = (in_be16(&ccm->cir) >> 6);
 	ver = (in_be16(&ccm->cir) & 0x003f);
 	switch (msk) {
-#ifdef CONFIG_MCF5301x
+#ifdef CONFIG_MCF5301X
 	case 0x78:
 		id = 53010;
 		break;
arch/m68k/cpu/mcf532x/cpu_init.c +2 -2
index 844d2cd7600..c12cb310e62 100644
@@ -21,7 +21,7 @@
 #include <asm/fec.h>
 #endif
 
-#ifdef CONFIG_MCF5301x
+#ifdef CONFIG_MCF5301X
 void cpu_init_f(void)
 {
 	scm1_t *scm1 = (scm1_t *) MMAP_SCM1;
@@ -207,7 +207,7 @@ int fecpin_setclear(fec_info_t *info, int setclear)
 	return 0;
 }
 #endif				/* CONFIG_CMD_NET */
-#endif				/* CONFIG_MCF5301x */
+#endif				/* CONFIG_MCF5301X */
 
 #ifdef CONFIG_MCF532x
 void cpu_init_f(void)
arch/m68k/cpu/mcf532x/speed.c +6 -6
index 32ffac08135..24b2f937aeb 100644
@@ -23,7 +23,7 @@ DECLARE_GLOBAL_DATA_PTR;
 #define MAX_FSYS	80000	/* KHz */
 #define MIN_FSYS	58333	/* KHz */
 
-#ifdef CONFIG_MCF5301x
+#ifdef CONFIG_MCF5301X
 #define FREF		20000	/* KHz */
 #define MAX_MFD		63	/* Multiplier */
 #define MIN_MFD		0	/* Multiplier */
@@ -58,14 +58,14 @@ int get_sys_clock(void)
 	/* Test to see if device is in LIMP mode */
 	if (in_be16(&ccm->misccr) & CCM_MISCCR_LIMP) {
 		divider = in_be16(&ccm->cdr) & CCM_CDR_LPDIV(0xF);
-#ifdef CONFIG_MCF5301x
+#ifdef CONFIG_MCF5301X
 		return (FREF / (3 * (1 << divider)));
 #endif
 #ifdef CONFIG_MCF532x
 		return (FREF / (2 << divider));
 #endif
 	} else {
-#ifdef CONFIG_MCF5301x
+#ifdef CONFIG_MCF5301X
 		u32 pfdr = (in_be32(&pll->pcr) & 0x3F) + 1;
 		u32 refdiv = (1 << ((in_be32(&pll->pcr) & PLL_PCR_REFDIV(7)) >> 8));
 		u32 busdiv = ((in_be32(&pll->pdr) & 0x00F0) >> 4) + 1;
@@ -151,7 +151,7 @@ int clock_pll(int fsys, int flags)
 
 	if (fsys == 0) {
 		/* Return current PLL output */
-#ifdef CONFIG_MCF5301x
+#ifdef CONFIG_MCF5301X
 		u32 busdiv = ((in_be32(&pll->pdr) >> 4) & 0x0F) + 1;
 		mfd = (in_be32(&pll->pcr) & 0x3F) + 1;
 
@@ -178,7 +178,7 @@ int clock_pll(int fsys, int flags)
 	 * point libraries.
 	 */
 	temp = (100 * fsys) / fref;
-#ifdef CONFIG_MCF5301x
+#ifdef CONFIG_MCF5301X
 	mfd = (BUSDIV * temp) / 100;
 
 	/* Determine the output frequency for selected values */
@@ -209,7 +209,7 @@ int clock_pll(int fsys, int flags)
 	/* Enter LIMP mode */
 	clock_limp(DEFAULT_LPD);
 
-#ifdef CONFIG_MCF5301x
+#ifdef CONFIG_MCF5301X
 	out_be32(&pll->pdr,
 		PLL_PDR_OUTDIV1((BUSDIV / 3) - 1) |
 		PLL_PDR_OUTDIV2(BUSDIV - 1)	|
arch/m68k/cpu/mcf532x/start.S +1 -1
index 72a2f99b7dd..442a91f73ac 100644
@@ -112,7 +112,7 @@ _start:
 	movec	%d0, %ACR0
 	movec	%d0, %ACR1
 
-#ifdef CONFIG_MCF5301x
+#ifdef CONFIG_MCF5301X
 	move.l	#(0xFC0a0010), %a0
 	move.w	(%a0), %d0
 	and.l	%d0, 0xEFFF
arch/m68k/include/asm/cache.h +1 -1
index 8ed2b4dbab4..78ff04fe29b 100644
@@ -15,7 +15,7 @@
 #endif
 
 #if defined(CONFIG_MCF530x) || defined(CONFIG_MCF532x) || \
-    defined(CONFIG_MCF5301x)
+    defined(CONFIG_MCF5301X)
 #define CFG_CF_V3
 #endif
 
arch/m68k/include/asm/immap.h +1 -1
index 8207c8d5b73..ec270fcf579 100644
@@ -210,7 +210,7 @@
 #endif
 #endif                          /* CONFIG_M5307 */
 
-#if defined(CONFIG_MCF5301x)
+#if defined(CONFIG_MCF5301X)
 #include <asm/immap_5301x.h>
 #include <asm/m5301x.h>
 
arch/m68k/include/asm/immap_5301x.h +1 -1
index e1f7858b100..6bfd5c7a840 100644
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0+ */
 /*
- * MCF5301x Internal Memory Map
+ * MCF5301X Internal Memory Map
  *
  * Copyright (C) 2004-2008 Freescale Semiconductor, Inc.
  * TsiChung Liew ([email protected])
board/freescale/m53017evb/README +3 -3
index 34f05f3fdc7..9c14f836cbf 100644
@@ -58,12 +58,12 @@ Changed files:
 - arch/m68k/lib/time.c			Timer functions (Dma timer and PIT)
 - arch/m68k/lib/traps.c			Exception init code
 
-1 MCF5301x specific Options/Settings
+1 MCF5301X specific Options/Settings
 ====================================
 1.1 pre-loader is no longer suppoer in thie coldfire family
 
 1.2 Configuration settings for M53017EVB Development Board
-CONFIG_MCF5301x			-- define for all MCF5301x CPUs
+CONFIG_MCF5301X			-- define for all MCF5301X CPUs
 CONFIG_M53015			-- define for MCF53015 CPUs
 CONFIG_M53017EVB		-- define for M53017EVB board
 
@@ -100,7 +100,7 @@ CFG_SYS_MBAR			-- define MBAR offset
 
 CONFIG_MONITOR_IS_IN_RAM	-- Not support
 
-CFG_SYS_INIT_RAM_ADDR	-- defines the base address of the MCF5301x internal SRAM
+CFG_SYS_INIT_RAM_ADDR	-- defines the base address of the MCF5301X internal SRAM
 
 CONFIG_SYS_CSn_BASE		-- defines the Chip Select Base register
 CONFIG_SYS_CSn_MASK		-- defines the Chip Select Mask register
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#43 lore raw

PATCH v2 34/87 m68k: Rename MCF532x

In reply to Simon Glass

CONFIG options must not use lower-case letter. Convert this to upper case.

---

(no changes since v1)

 arch/m68k/Kconfig                     |  6 +++---
 arch/m68k/Makefile                    |  2 +-
 arch/m68k/cpu/mcf532x/cpu.c           |  2 +-
 arch/m68k/cpu/mcf532x/cpu_init.c      |  4 ++--
 arch/m68k/cpu/mcf532x/speed.c         | 16 ++++++++--------
 arch/m68k/include/asm/cache.h         |  2 +-
 arch/m68k/include/asm/coldfire/skha.h |  2 +-
 board/freescale/m5373evb/README       |  2 +-
 env/Kconfig                           |  2 +-
 9 files changed, 19 insertions(+), 19 deletions(-)
arch/m68k/Kconfig +3 -3
index af5540f14a4..6781ba28c7a 100644
@@ -38,7 +38,7 @@ config MCF5301X
         select DM_SERIAL
 	bool
 
-config MCF532x
+config MCF532X
 	select OF_CONTROL
 	select DM
         select DM_SERIAL
@@ -99,11 +99,11 @@ config M53015
 
 config M5329
 	bool
-	select MCF532x
+	select MCF532X
 
 config M5373
 	bool
-	select MCF532x
+	select MCF532X
 	select MCF537x
 
 config M54418
arch/m68k/Makefile +1 -1
index 21e5337d309..cf4562c55f1 100644
@@ -15,7 +15,7 @@ cpuflags-$(CONFIG_M5275)	:= -mcpu=5275
 cpuflags-$(CONFIG_M5282)	:= -mcpu=5282
 cpuflags-$(CONFIG_M5307)	:= -mcpu=5307
 cpuflags-$(CONFIG_MCF5301X)	:= -mcpu=53015 -fPIC
-cpuflags-$(CONFIG_MCF532x)	:= -mcpu=5329 -fPIC
+cpuflags-$(CONFIG_MCF532X)	:= -mcpu=5329 -fPIC
 cpuflags-$(CONFIG_MCF5441x)	:= -mcpu=54418 -fPIC
 
 PLATFORM_CPPFLAGS += $(cpuflags-y)
arch/m68k/cpu/mcf532x/cpu.c +1 -1
index 96a9a422f3a..108f3cae6df 100644
@@ -63,7 +63,7 @@ int print_cpuinfo(void)
 		id = 53013;
 		break;
 #endif
-#ifdef CONFIG_MCF532x
+#ifdef CONFIG_MCF532X
 	case 0x54:
 		id = 5329;
 		break;
arch/m68k/cpu/mcf532x/cpu_init.c +2 -2
index c12cb310e62..2ddb5b35e23 100644
@@ -209,7 +209,7 @@ int fecpin_setclear(fec_info_t *info, int setclear)
 #endif				/* CONFIG_CMD_NET */
 #endif				/* CONFIG_MCF5301X */
 
-#ifdef CONFIG_MCF532x
+#ifdef CONFIG_MCF532X
 void cpu_init_f(void)
 {
 	scm1_t *scm1 = (scm1_t *) MMAP_SCM1;
@@ -355,4 +355,4 @@ int fecpin_setclear(fec_info_t *info, int setclear)
 	return 0;
 }
 #endif
-#endif				/* CONFIG_MCF532x */
+#endif				/* CONFIG_MCF532X */
arch/m68k/cpu/mcf532x/speed.c +8 -8
index 24b2f937aeb..a326535561d 100644
@@ -35,7 +35,7 @@ DECLARE_GLOBAL_DATA_PTR;
 #define DEFAULT_LPD	(0)	/* Divider (not encoded) */
 #endif
 
-#ifdef CONFIG_MCF532x
+#ifdef CONFIG_MCF532X
 #define FREF		16000	/* KHz */
 #define MAX_MFD		135	/* Multiplier */
 #define MIN_MFD		88	/* Multiplier */
@@ -61,7 +61,7 @@ int get_sys_clock(void)
 #ifdef CONFIG_MCF5301X
 		return (FREF / (3 * (1 << divider)));
 #endif
-#ifdef CONFIG_MCF532x
+#ifdef CONFIG_MCF532X
 		return (FREF / (2 << divider));
 #endif
 	} else {
@@ -72,7 +72,7 @@ int get_sys_clock(void)
 
 		return (((FREF * pfdr) / refdiv) / busdiv);
 #endif
-#ifdef CONFIG_MCF532x
+#ifdef CONFIG_MCF532X
 		return (FREF * in_8(&pll->pfdr)) / (BUSDIV * 4);
 #endif
 	}
@@ -139,7 +139,7 @@ int clock_exit_limp(void)
  */
 int clock_pll(int fsys, int flags)
 {
-#ifdef CONFIG_MCF532x
+#ifdef CONFIG_MCF532X
 	u32 *sdram_workaround = (u32 *)(MMAP_SDRAM + 0x80);
 #endif
 	sdram_t *sdram = (sdram_t *)(MMAP_SDRAM);
@@ -157,7 +157,7 @@ int clock_pll(int fsys, int flags)
 
 		return (fref * mfd) / busdiv;
 #endif
-#ifdef CONFIG_MCF532x
+#ifdef CONFIG_MCF532X
 		mfd = in_8(&pll->pfdr);
 
 		return (fref * mfd / (BUSDIV * 4));
@@ -184,7 +184,7 @@ int clock_pll(int fsys, int flags)
 	/* Determine the output frequency for selected values */
 	fout = ((fref * mfd) / BUSDIV);
 #endif
-#ifdef CONFIG_MCF532x
+#ifdef CONFIG_MCF532X
 	mfd = (4 * BUSDIV * temp) / 100;
 
 	/* Determine the output frequency for selected values */
@@ -219,7 +219,7 @@ int clock_pll(int fsys, int flags)
 	clrbits_be32(&pll->pcr, ~PLL_PCR_FBDIV_UNMASK);
 	setbits_be32(&pll->pcr, PLL_PCR_FBDIV(mfd - 1));
 #endif
-#ifdef CONFIG_MCF532x
+#ifdef CONFIG_MCF532X
 	/* Reprogram PLL for desired fsys */
 	out_8(&pll->podr,
 		PLL_PODR_CPUDIV(BUSDIV / 3) | PLL_PODR_BUSDIV(BUSDIV));
@@ -234,7 +234,7 @@ int clock_pll(int fsys, int flags)
 	if (in_be32(&sdram->ctrl) & SDRAMC_SDCR_REF)
 		setbits_be32(&sdram->ctrl, SDRAMC_SDCR_CKE);
 
-#ifdef CONFIG_MCF532x
+#ifdef CONFIG_MCF532X
 	/*
 	 * software workaround for SDRAM opeartion after exiting LIMP
 	 * mode errata
arch/m68k/include/asm/cache.h +1 -1
index 78ff04fe29b..4acd677c676 100644
@@ -14,7 +14,7 @@
 #define CFG_CF_V2
 #endif
 
-#if defined(CONFIG_MCF530x) || defined(CONFIG_MCF532x) || \
+#if defined(CONFIG_MCF530x) || defined(CONFIG_MCF532X) || \
     defined(CONFIG_MCF5301X)
 #define CFG_CF_V3
 #endif
arch/m68k/include/asm/coldfire/skha.h +1 -1
index 3b48dc970c9..e0585a5b409 100644
@@ -42,7 +42,7 @@ typedef struct skha_ctrl {
 	u32 c12;		/* 0x9C Context 12 - 5235, 5271, 5272 */
 } skha_t;
 
-#ifdef CONFIG_MCF532x
+#ifdef CONFIG_MCF532X
 #define	SKHA_MODE_CTRM(x)	(((x) & 0x0F) << 9)
 #define	SKHA_MODE_CTRM_MASK	(0xFFFFE1FF)
 #define	SKHA_MODE_DKP		(0x00000100)
board/freescale/m5373evb/README +1 -1
index 7240648796b..80e8e2ddde7 100644
@@ -62,7 +62,7 @@ Changed files:
 1.1 pre-loader is no longer suppoer in thie coldfire family
 
 1.2 Configuration settings for M5373EVB Development Board
-CONFIG_MCF532x		-- define for all MCF532x CPUs
+CONFIG_MCF532X		-- define for all MCF532X CPUs
 CONFIG_M5373		-- define for all Freescale MCF5373 CPUs
 CONFIG_M5373EVB		-- define for M5373EVB board
 
env/Kconfig +1 -1
index c409ea71fe5..688f34841fa 100644
@@ -115,7 +115,7 @@ config ENV_IS_IN_FLASH
 	default y if ARCH_CINTEGRATOR
 	default y if ARCH_INTEGRATOR_CP
 	default y if M548x || M547x || M5282
-	default y if MCF532x || MCF52x2
+	default y if MCF532X || MCF52x2
 	default y if MPC86xx || MPC83xx
 	default y if ARCH_MPC8548
 	default y if SH && !CPU_SH4
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#44 lore raw

PATCH v2 35/87 m68k: Rename MCF5441x

In reply to Simon Glass

CONFIG options must not use lower-case letter. Convert this to upper case.

---

(no changes since v1)

 arch/m68k/Kconfig                   |  4 ++--
 arch/m68k/Makefile                  |  4 ++--
 arch/m68k/cpu/mcf5445x/cpu_init.c   | 12 ++++++------
 arch/m68k/cpu/mcf5445x/dspi.c       |  4 ++--
 arch/m68k/cpu/mcf5445x/speed.c      |  4 ++--
 arch/m68k/cpu/mcf5445x/start.S      |  8 ++++----
 arch/m68k/include/asm/cache.h       |  4 ++--
 arch/m68k/include/asm/global_data.h |  2 +-
 arch/m68k/include/asm/immap_5441x.h |  2 +-
 drivers/mmc/fsl_esdhc_imx.c         | 12 ++++++------
 10 files changed, 28 insertions(+), 28 deletions(-)
arch/m68k/Kconfig +2 -2
index 6781ba28c7a..4e2a9075b10 100644
@@ -50,7 +50,7 @@ config MCF537x
         select DM_SERIAL
 	bool
 
-config MCF5441x
+config MCF5441X
 	select OF_CONTROL
 	select DM
         select DM_SERIAL
@@ -108,7 +108,7 @@ config M5373
 
 config M54418
 	bool
-	select MCF5441x
+	select MCF5441X
 
 # peripherals
 config CF_DSPI
arch/m68k/Makefile +2 -2
index cf4562c55f1..b44726242d2 100644
@@ -16,12 +16,12 @@ cpuflags-$(CONFIG_M5282)	:= -mcpu=5282
 cpuflags-$(CONFIG_M5307)	:= -mcpu=5307
 cpuflags-$(CONFIG_MCF5301X)	:= -mcpu=53015 -fPIC
 cpuflags-$(CONFIG_MCF532X)	:= -mcpu=5329 -fPIC
-cpuflags-$(CONFIG_MCF5441x)	:= -mcpu=54418 -fPIC
+cpuflags-$(CONFIG_MCF5441X)	:= -mcpu=54418 -fPIC
 
 PLATFORM_CPPFLAGS += $(cpuflags-y)
 
 
-ldflags-$(CONFIG_MCF5441x)	:= --got=single
+ldflags-$(CONFIG_MCF5441X)	:= --got=single
 
 ifneq (,$(findstring -linux-,$(shell $(CC) --version)))
 ifneq (,$(findstring GOT,$(shell $(LD) --help)))
arch/m68k/cpu/mcf5445x/cpu_init.c +6 -6
index 1ce244872f1..a70ecfbae73 100644
@@ -73,7 +73,7 @@ void cfspi_port_conf(void)
 {
 	gpio_t *gpio = (gpio_t *)MMAP_GPIO;
 
-#ifdef CONFIG_MCF5441x
+#ifdef CONFIG_MCF5441X
 	pm_t *pm = (pm_t *)MMAP_PM;
 
 	out_8(&gpio->par_dspi0,
@@ -98,7 +98,7 @@ void cpu_init_f(void)
 {
 	gpio_t *gpio = (gpio_t *) MMAP_GPIO;
 
-#ifdef CONFIG_MCF5441x
+#ifdef CONFIG_MCF5441X
 	scm_t *scm = (scm_t *) MMAP_SCM;
 	pm_t *pm = (pm_t *) MMAP_PM;
 
@@ -203,7 +203,7 @@ void cpu_init_f(void)
 	out_8(&gpio->par_sdhch, 0xff);
 	out_8(&gpio->par_sdhcl, 0xff);
 #endif
-#endif		/* CONFIG_MCF5441x */
+#endif		/* CONFIG_MCF5441X */
 
 	/* FlexBus Chipselect */
 	init_fbcs();
@@ -240,13 +240,13 @@ int cpu_init_r(void)
 void uart_port_conf(int port)
 {
 	gpio_t *gpio = (gpio_t *) MMAP_GPIO;
-#ifdef CONFIG_MCF5441x
+#ifdef CONFIG_MCF5441X
 	pm_t *pm = (pm_t *) MMAP_PM;
 #endif
 
 	/* Setup Ports: */
 	switch (port) {
-#ifdef CONFIG_MCF5441x
+#ifdef CONFIG_MCF5441X
 	case 0:
 		/* UART0 */
 		out_8(&pm->pmcr0, 24);
@@ -340,7 +340,7 @@ int fecpin_setclear(fec_info_t *info, int setclear)
 	if (fec_get_base_addr(0, &fec0_base))
 		return -1;
 
-#ifdef CONFIG_MCF5441x
+#ifdef CONFIG_MCF5441X
 	if (setclear) {
 		out_8(&gpio->par_fec, 0x03);
 		out_8(&gpio->srcr_fec, 0x0F);
arch/m68k/cpu/mcf5445x/dspi.c +2 -2
index 456af171a4e..628be0c8bbb 100644
@@ -15,7 +15,7 @@ void dspi_chip_select(int cs)
 {
 	struct gpio *gpio = (struct gpio *)MMAP_GPIO;
 
-#ifdef CONFIG_MCF5441x
+#ifdef CONFIG_MCF5441X
 	switch (cs) {
 	case 0:
 		clrbits_8(&gpio->par_dspi0,
@@ -37,7 +37,7 @@ void dspi_chip_unselect(int cs)
 {
 	struct gpio *gpio = (struct gpio *)MMAP_GPIO;
 
-#ifdef CONFIG_MCF5441x
+#ifdef CONFIG_MCF5441X
 	if (cs == 1)
 		clrbits_8(&gpio->par_dspiow, GPIO_PAR_DSPIOW_DSPI0PSC1);
 #endif
arch/m68k/cpu/mcf5445x/speed.c +2 -2
index eb73da68c6b..59a6625a4fd 100644
@@ -63,7 +63,7 @@ void clock_exit_limp(void)
 		;
 }
 
-#ifdef CONFIG_MCF5441x
+#ifdef CONFIG_MCF5441X
 void setup_5441x_clocks(void)
 {
 	ccm_t *ccm = (ccm_t *)MMAP_CCM;
@@ -125,7 +125,7 @@ void setup_5441x_clocks(void)
 /* get_clocks() fills in gd->cpu_clock and gd->bus_clk */
 int get_clocks(void)
 {
-#ifdef CONFIG_MCF5441x
+#ifdef CONFIG_MCF5441X
 	setup_5441x_clocks();
 #endif
 
arch/m68k/cpu/mcf5445x/start.S +4 -4
index a083c3d45d2..baf39127b29 100644
@@ -167,7 +167,7 @@ asm_dram_init:
 #endif
 #endif /* CONFIG_CF_SBF */
 
-#ifdef CONFIG_MCF5441x
+#ifdef CONFIG_MCF5441X
 	/* TC: enable all peripherals,
 	in the future only enable certain peripherals */
 	move.l	#0xFC04002D, %a1
@@ -175,7 +175,7 @@ asm_dram_init:
 #if defined(CONFIG_CF_SBF)
 	move.b	#23, (%a1)		/* dspi */
 #endif
-#endif	/* CONFIG_MCF5441x */
+#endif	/* CONFIG_MCF5441X */
 
 	/* mandatory board level ddr-sdram init,
 	 * for both 5441x and 5445x
@@ -193,7 +193,7 @@ asm_dram_init:
 	 */
 	/* Enable pins for DSPI mode - chip-selects are enabled later */
 asm_dspi_init:
-#ifdef CONFIG_MCF5441x
+#ifdef CONFIG_MCF5441X
 	move.l	#0xEC09404E, %a1
 	move.l	#0xEC09404F, %a2
 	move.b	#0xFF, (%a1)
@@ -205,7 +205,7 @@ asm_dspi_init:
 	move.l	#0x80FF0C00, (%a0)	/* Master, clear TX/RX FIFO */
 
 	move.l	#0xFC05C00C, %a0
-#ifdef CONFIG_MCF5441x
+#ifdef CONFIG_MCF5441X
 	move.l	#0x3E000016, (%a0)
 #endif
 
arch/m68k/include/asm/cache.h +2 -2
index 4acd677c676..52d12a68144 100644
@@ -19,7 +19,7 @@
 #define CFG_CF_V3
 #endif
 
-#if defined(CONFIG_MCF5441x)
+#if defined(CONFIG_MCF5441X)
 #define CFG_CF_V4E		/* Four Extra ACRn */
 #endif
 
@@ -94,7 +94,7 @@
 #define CF_CACR_IDSP		(1 << 7)
 #define CF_CACR_EUSP		(1 << 5)
 
-#if defined(CONFIG_MCF5445x) || defined(CONFIG_MCF5441x)
+#if defined(CONFIG_MCF5445x) || defined(CONFIG_MCF5441X)
 #define CF_CACR_IVO		(1 << 20)
 #define CF_CACR_SPA		(1 << 14)
 #else
arch/m68k/include/asm/global_data.h +1 -1
index 273e843c4ae..d63fb8130c4 100644
@@ -20,7 +20,7 @@ struct arch_global_data {
 	unsigned long vco_clk;
 	unsigned long flb_clk;
 #endif
-#ifdef CONFIG_MCF5441x
+#ifdef CONFIG_MCF5441X
 	unsigned long sdhc_clk;
 #endif
 };
arch/m68k/include/asm/immap_5441x.h +1 -1
index 708d0db755a..1beb14ad53b 100644
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0+ */
 /*
- * MCF5441x Internal Memory Map
+ * MCF5441X Internal Memory Map
  *
  * Copyright 2010-2012 Freescale Semiconductor, Inc.
  * TsiChung Liew ([email protected])
drivers/mmc/fsl_esdhc_imx.c +6 -6
index 66caf683f74..da888885474 100644
@@ -383,7 +383,7 @@ static int esdhc_setup_data(struct fsl_esdhc_priv *priv, struct mmc *mmc,
 	return 0;
 }
 
-#if IS_ENABLED(CONFIG_MCF5441x)
+#if IS_ENABLED(CONFIG_MCF5441X)
 /*
  * Swaps 32-bit words to little-endian byte order.
  */
@@ -553,7 +553,7 @@ static int esdhc_send_cmd_common(struct fsl_esdhc_priv *priv, struct mmc *mmc,
 			dma_unmap_single(priv->dma_addr,
 					 data->blocks * data->blocksize,
 					 mmc_get_dma_dir(data));
-			if (IS_ENABLED(CONFIG_MCF5441x) &&
+			if (IS_ENABLED(CONFIG_MCF5441X) &&
 			    (data->flags & MMC_DATA_READ))
 				sd_swap_dma_buff(data);
 		}
@@ -1026,7 +1026,7 @@ static int esdhc_init_common(struct fsl_esdhc_priv *priv, struct mmc *mmc)
 	esdhc_clrbits32(&regs->irqstaten, IRQSTATEN_BRR | IRQSTATEN_BWR);
 
 	/* Put the PROCTL reg back to the default */
-	if (IS_ENABLED(CONFIG_MCF5441x))
+	if (IS_ENABLED(CONFIG_MCF5441X))
 		esdhc_write32(&regs->proctl, PROCTL_INIT | PROCTL_D3CD);
 	else
 		esdhc_write32(&regs->proctl, PROCTL_INIT);
@@ -1168,7 +1168,7 @@ static int fsl_esdhc_init(struct fsl_esdhc_priv *priv,
 		return ret;
 
 	/* ColdFire, using SDHC_DATA[3] for card detection */
-	if (IS_ENABLED(CONFIG_MCF5441x))
+	if (IS_ENABLED(CONFIG_MCF5441X))
 		esdhc_write32(&regs->proctl, PROCTL_INIT | PROCTL_D3CD);
 
 	if (IS_ENABLED(CONFIG_FSL_USDHC)) {
@@ -1194,11 +1194,11 @@ static int fsl_esdhc_init(struct fsl_esdhc_priv *priv,
 	caps = esdhc_read32(&regs->hostcapblt);
 
 	/*
-	 * MCF5441x RM declares in more points that sdhc clock speed must
+	 * MCF5441X RM declares in more points that sdhc clock speed must
 	 * never exceed 25 Mhz. From this, the HS bit needs to be disabled
 	 * from host capabilities.
 	 */
-	if (IS_ENABLED(CONFIG_MCF5441x))
+	if (IS_ENABLED(CONFIG_MCF5441X))
 		caps &= ~HOSTCAPBLT_HSS;
 
 	if (IS_ENABLED(CONFIG_SYS_FSL_ERRATUM_ESDHC135))
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#45 lore raw

PATCH v2 36/87 m68k: Drop unused CONFIG_MACH_DAVINCI_DA830_EVM

In reply to Simon Glass

This option does not exist, so the Makefile rule does nothing. Drop it.

---

(no changes since v1)

 board/davinci/da8xxevm/Makefile | 1 -
 1 file changed, 1 deletion(-)
board/davinci/da8xxevm/Makefile +0 -1
index 8187c8db22e..fe043d517f2 100644
@@ -5,6 +5,5 @@
 #
 # Copyright (C) 2007 Sergey Kubushyn <[email protected]>
 
-obj-$(CONFIG_MACH_DAVINCI_DA830_EVM)	+= da830evm.o
 obj-$(CONFIG_MACH_DAVINCI_DA850_EVM)	+= da850evm.o
 obj-$(CONFIG_TARGET_OMAPL138_LCDK)	+= omapl138_lcdk.o
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#46 lore raw

PATCH v2 37/87 arm: Drop CONFIG_MMU

In reply to Simon Glass

This option does not exist, so the #ifdefs do nothing. Drop this code.

---

(no changes since v1)

 arch/arm/lib/debug.S | 21 ---------------------
 1 file changed, 21 deletions(-)
arch/arm/lib/debug.S +0 -21
index 5983f2c04ce..af4beb4d9d2 100644
@@ -21,22 +21,10 @@
 #include CONFIG_DEBUG_LL_INCLUDE
 #endif
 
-#ifdef CONFIG_MMU
-		.macro	addruart_current, rx, tmp1, tmp2
-		addruart	\tmp1, \tmp2, \rx
-		mrc		p15, 0, \rx, c1, c0
-		tst		\rx, #1
-		moveq		\rx, \tmp1
-		movne		\rx, \tmp2
-		.endm
-
-#else /* !CONFIG_MMU */
 		.macro	addruart_current, rx, tmp1, tmp2
 		addruart	\rx, \tmp1, \tmp2
 		.endm
 
-#endif /* CONFIG_MMU */
-
 /*
  * Useful debugging routines
  */
@@ -97,15 +85,6 @@ ENTRY(printch)
 		b	1b
 ENDPROC(printch)
 
-#ifdef CONFIG_MMU
-ENTRY(debug_ll_addr)
-		addruart r2, r3, ip
-		str	r2, [r0]
-		str	r3, [r1]
-		mov	pc, lr
-ENDPROC(debug_ll_addr)
-#endif
-
 #else
 
 ENTRY(printascii)
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#47 lore raw

PATCH v2 38/87 arc: Drop CONFIG_MMU

In reply to Simon Glass

This option is set in the Makefile but has no effect in the assembly code, i.e. the #ifdef branch is never used. Drop it.

---

(no changes since v1)

 arch/arc/config.mk      | 4 ----
 arch/arc/lib/ints_low.S | 5 -----
 2 files changed, 9 deletions(-)
arch/arc/config.mk +0 -4
index b713fa3054c..b110f7deaf6 100644
@@ -12,10 +12,6 @@ KBUILD_LDFLAGS += -EB
 PLATFORM_CPPFLAGS += -mbig-endian
 endif
 
-ifdef CONFIG_ARC_MMU_VER
-CONFIG_MMU = 1
-endif
-
 PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -gdwarf-2 -mno-sdata
 PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections -fno-common
 
arch/arc/lib/ints_low.S +0 -5
index 38c45c60a95..fb283f239ea 100644
@@ -76,13 +76,8 @@
 .endm
 
 .macro SAVE_EXCEPTION_SOURCE
-#ifdef CONFIG_MMU
-	/* If MMU exists exception faulting address is loaded in EFA reg */
-	lr	%r0, [%efa]
-#else
 	/* Otherwise in ERET (exception return) reg */
 	lr	%r0, [%eret]
-#endif
 .endm
 
 ENTRY(memory_error)
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#48 lore raw

PATCH v2 39/87 ppc: Rename MPC83xx

In reply to Simon Glass

CONFIG options must not use lower-case letter. Convert this to upper case.

---

(no changes since v1)

 api/api_platform-powerpc.c             |  2 +-
 arch/Kconfig                           |  2 +-
 arch/powerpc/Kconfig                   |  8 ++++----
 arch/powerpc/cpu/Makefile              |  2 +-
 arch/powerpc/cpu/mpc83xx/Kconfig       |  4 ++--
 arch/powerpc/cpu/mpc83xx/cpu.c         |  2 +-
 arch/powerpc/cpu/mpc83xx/start.S       |  2 +-
 arch/powerpc/cpu/mpc8xxx/fsl_lbc.c     |  2 +-
 arch/powerpc/include/asm/fsl_dma.h     |  4 ++--
 arch/powerpc/include/asm/fsl_lbc.h     |  2 +-
 arch/powerpc/include/asm/global_data.h |  6 +++---
 arch/powerpc/include/asm/immap_83xx.h  | 14 +++++++-------
 arch/powerpc/include/asm/ppc.h         |  6 +++---
 arch/powerpc/include/asm/processor.h   |  4 ++--
 arch/powerpc/lib/bdinfo.c              |  2 +-
 board/freescale/mpc837xerdb/README     |  2 +-
 board/keymile/Kconfig                  |  4 ++--
 board/keymile/km83xx/Kconfig           |  2 +-
 configs/MPC837XERDB_defconfig          |  2 +-
 configs/gazerbeam_defconfig            |  2 +-
 configs/kmcoge5ne_defconfig            |  2 +-
 configs/kmeter1_defconfig              |  2 +-
 configs/kmopti2_defconfig              |  2 +-
 configs/kmsupx5_defconfig              |  2 +-
 configs/kmtepr2_defconfig              |  2 +-
 configs/tuge1_defconfig                |  2 +-
 configs/tuxx1_defconfig                |  2 +-
 drivers/clk/Kconfig                    |  4 ++--
 drivers/clk/mpc83xx_clk.c              |  4 ++--
 drivers/clk/mpc83xx_clk.h              | 20 ++++++++++----------
 drivers/cpu/Kconfig                    |  6 +++---
 drivers/cpu/mpc83xx_cpu.c              | 14 +++++++-------
 drivers/cpu/mpc83xx_cpu.h              |  8 ++++----
 drivers/ddr/fsl/Kconfig                |  4 ++--
 drivers/ddr/fsl/main.c                 |  2 +-
 drivers/dma/fsl_dma.c                  | 16 ++++++++--------
 drivers/gpio/mpc83xx_gpio.c            |  2 +-
 drivers/misc/Kconfig                   |  4 ++--
 drivers/misc/mpc83xx_serdes.c          |  4 ++--
 drivers/mtd/nand/raw/fsl_elbc_spl.c    |  2 +-
 drivers/ram/Kconfig                    |  2 +-
 drivers/ram/mpc83xx_sdram.c            |  2 +-
 drivers/spi/mpc8xxx_spi.c              |  2 +-
 drivers/sysreset/Kconfig               |  4 ++--
 drivers/timer/Kconfig                  |  4 ++--
 drivers/timer/mpc83xx_timer.c          |  2 +-
 env/Kconfig                            |  2 +-
 include/asm-generic/u-boot.h           |  2 +-
 include/configs/MPC837XERDB.h          |  2 +-
 include/linux/immap_qe.h               |  2 +-
 include/serial.h                       |  2 +-
 post/Makefile                          |  2 +-
 52 files changed, 103 insertions(+), 103 deletions(-)
api/api_platform-powerpc.c +1 -1
index 847a4a3015b..8503ba274d6 100644
@@ -31,7 +31,7 @@ int platform_sys_info(struct sys_info *si)
 
 #if defined(CONFIG_MPC8xx) || defined(CONFIG_E500) || defined(CONFIG_MPC86xx)
 #define bi_bar	bi_immr_base
-#elif defined(CONFIG_MPC83xx)
+#elif defined(CONFIG_MPC83XX)
 #define bi_bar	bi_immrbar
 #endif
 
arch/Kconfig +1 -1
index d30676ae817..79044531fab 100644
@@ -370,7 +370,7 @@ config SYS_IMMR
 	depends on PPC || FSL_LSCH2 || FSL_LSCH3 || ARCH_LS1021A
 	default 0xFF000000 if MPC8xx
 	default 0xF0000000 if ARCH_MPC8313
-	default 0xE0000000 if MPC83xx && !ARCH_MPC8313
+	default 0xE0000000 if MPC83XX && !ARCH_MPC8313
 	default 0x01000000 if ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3
 	default 0xFFE00000 if ARCH_P1010 || ARCH_P1011 || ARCH_P1020 || \
 			      ARCH_P1021 || ARCH_P1024 || ARCH_P1025 || \
arch/powerpc/Kconfig +4 -4
index e0801c25941..eb39a03e997 100644
@@ -8,8 +8,8 @@ choice
 	prompt "CPU select"
 	optional
 
-config MPC83xx
-	bool "MPC83xx"
+config MPC83XX
+	bool "MPC83XX"
 	select CREATE_ARCH_SYMLINK
 	select SYS_FSL_HAS_SEC
 	select SYS_FSL_SEC_BE
@@ -36,7 +36,7 @@ endchoice
 
 config FSL_LBC
 	def_bool y
-	depends on (MPC85xx || MPC83xx) && !FSL_IFC
+	depends on (MPC85xx || MPC83XX) && !FSL_IFC
 
 config HIGH_BATS
 	bool "Enable high BAT registers"
@@ -46,7 +46,7 @@ config HIGH_BATS
 
 config SYS_INIT_RAM_LOCK
 	bool "Lock some portion of L1 for initial ram stack"
-	depends on MPC83xx || MPC85xx
+	depends on MPC83XX || MPC85xx
 
 config SYS_SRIO
 	bool "Serial RapidIO support"
arch/powerpc/cpu/Makefile +1 -1
index e7f64059277..c56f0d78b2d 100644
@@ -1,5 +1,5 @@
 # SPDX-License-Identifier: GPL-2.0+
 
-obj-$(CONFIG_MPC83xx) += mpc8xxx/
+obj-$(CONFIG_MPC83XX) += mpc8xxx/
 obj-$(CONFIG_MPC85xx) += mpc8xxx/
 obj-$(CONFIG_MPC86xx) += mpc8xxx/
arch/powerpc/cpu/mpc83xx/Kconfig +2 -2
index b695c7e4d81..1969117a25b 100644
@@ -1,5 +1,5 @@
 menu "mpc83xx CPU"
-	depends on MPC83xx
+	depends on MPC83XX
 
 config DEFAULT_IMMR
 	hex
@@ -90,7 +90,7 @@ endchoice
 config MPC83XX_QUICC_ENGINE
 	bool
 
-# TODO: Imply MPC83xx PCI driver
+# TODO: Imply MPC83XX PCI driver
 config MPC83XX_PCI_SUPPORT
 	bool
 
arch/powerpc/cpu/mpc83xx/cpu.c +1 -1
index a6c063556e8..5e58023bfa8 100644
@@ -4,7 +4,7 @@
  */
 
 /*
- * CPU specific code for the MPC83xx family.
+ * CPU specific code for the MPC83XX family.
  *
  * Derived from the MPC8260 and MPC85xx.
  */
arch/powerpc/cpu/mpc83xx/start.S +1 -1
index e3878e431fb..032871313d1 100644
@@ -7,7 +7,7 @@
  */
 
 /*
- *  U-Boot - Startup Code for MPC83xx PowerPC based Embedded Boards
+ *  U-Boot - Startup Code for MPC83XX PowerPC based Embedded Boards
  */
 
 #include <asm-offsets.h>
arch/powerpc/cpu/mpc8xxx/fsl_lbc.c +1 -1
index 29489b46e6c..7519b214969 100644
@@ -8,7 +8,7 @@
 #include <init.h>
 #include <asm/fsl_lbc.h>
 
-#ifdef CONFIG_MPC83xx
+#ifdef CONFIG_MPC83XX
 #include "../mpc83xx/elbc/elbc.h"
 #endif
 
arch/powerpc/include/asm/fsl_dma.h +2 -2
index 1459db74bee..fbf61ecae20 100644
@@ -10,7 +10,7 @@
 
 #include <asm/types.h>
 
-#ifdef CONFIG_MPC83xx
+#ifdef CONFIG_MPC83XX
 typedef struct fsl_dma {
 	uint	mr;		/* DMA mode register */
 #define FSL_DMA_MR_CS		0x00000001	/* Channel start */
@@ -111,7 +111,7 @@ typedef struct fsl_dma {
 	uint	dsr;		/* DMA destination stride register */
 	char	res4[56];
 } fsl_dma_t;
-#endif /* !CONFIG_MPC83xx */
+#endif /* !CONFIG_MPC83XX */
 
 #ifdef CONFIG_FSL_DMA
 void dma_init(void);
arch/powerpc/include/asm/fsl_lbc.h +1 -1
index a03f091c305..8d681a1cba6 100644
@@ -324,7 +324,7 @@ void lbc_sdram_init(void);
  */
 #define LCRR_CLKDIV			0x0000001F
 #define LCRR_CLKDIV_SHIFT		0
-#if defined(CONFIG_MPC83xx) || defined(CONFIG_ARCH_MPC8540) || \
+#if defined(CONFIG_MPC83XX) || defined(CONFIG_ARCH_MPC8540) || \
 	defined(CONFIG_ARCH_MPC8560)
 #define LCRR_CLKDIV_2			0x00000002
 #define LCRR_CLKDIV_4			0x00000004
arch/powerpc/include/asm/global_data.h +3 -3
index 6ed21c781fe..2636cbbda88 100644
@@ -21,7 +21,7 @@ struct arch_global_data {
 	unsigned long brg_clk;
 #endif
 	/* TODO: [email protected]: Should these be unslgned long? */
-#if defined(CONFIG_MPC83xx)
+#if defined(CONFIG_MPC83XX)
 #ifdef CONFIG_CLK_MPC83XX
 	u32 core_clk;
 #else
@@ -57,7 +57,7 @@ struct arch_global_data {
 	u32 lbc_clk;
 	void *cpu;
 #endif /* CONFIG_MPC85xx || CONFIG_MPC86xx */
-#if defined(CONFIG_MPC83xx) || defined(CONFIG_MPC85xx) || \
+#if defined(CONFIG_MPC83XX) || defined(CONFIG_MPC85xx) || \
 		defined(CONFIG_MPC86xx)
 	u32 i2c1_clk;
 	u32 i2c2_clk;
@@ -75,7 +75,7 @@ struct arch_global_data {
 	u32 used_tlb_cams[(CONFIG_SYS_NUM_TLBCAMS+31)/32];
 #endif
 	unsigned long reset_status;	/* reset status register at boot */
-#if defined(CONFIG_MPC83xx)
+#if defined(CONFIG_MPC83XX)
 	unsigned long arbiter_event_attributes;
 	unsigned long arbiter_event_address;
 #endif
arch/powerpc/include/asm/immap_83xx.h +7 -7
index 24bd438c143..3ba73113f0b 100644
@@ -2,7 +2,7 @@
 /*
  * Copyright 2004-2011 Freescale Semiconductor, Inc.
  *
- * MPC83xx Internal Memory Map
+ * MPC83XX Internal Memory Map
  *
  * Contributors:
  *	Dave Liu <[email protected]>
@@ -864,12 +864,12 @@ struct ccsr_gpio {
 #define CFG_SYS_MPC8xxx_DDR_OFFSET	(0x2000)
 #define CFG_SYS_FSL_DDR_ADDR \
 			(CONFIG_SYS_IMMR + CFG_SYS_MPC8xxx_DDR_OFFSET)
-#define CFG_SYS_MPC83xx_DMA_OFFSET	(0x8000)
-#define CFG_SYS_MPC83xx_DMA_ADDR \
-			(CONFIG_SYS_IMMR + CFG_SYS_MPC83xx_DMA_OFFSET)
-#define CFG_SYS_MPC83xx_ESDHC_OFFSET	(0x2e000)
-#define CFG_SYS_MPC83xx_ESDHC_ADDR \
-			(CONFIG_SYS_IMMR + CFG_SYS_MPC83xx_ESDHC_OFFSET)
+#define CFG_SYS_MPC83XX_DMA_OFFSET	(0x8000)
+#define CFG_SYS_MPC83XX_DMA_ADDR \
+			(CONFIG_SYS_IMMR + CFG_SYS_MPC83XX_DMA_OFFSET)
+#define CFG_SYS_MPC83XX_ESDHC_OFFSET	(0x2e000)
+#define CFG_SYS_MPC83XX_ESDHC_ADDR \
+			(CONFIG_SYS_IMMR + CFG_SYS_MPC83XX_ESDHC_OFFSET)
 
 #define CFG_SYS_LBC_ADDR (&((immap_t *)CONFIG_SYS_IMMR)->im_lbc)
 
arch/powerpc/include/asm/ppc.h +3 -3
index 2923350bd7b..3b13f7ff166 100644
@@ -19,7 +19,7 @@
 #include <mpc85xx.h>
 #include <asm/immap_85xx.h>
 #endif
-#ifdef CONFIG_MPC83xx
+#ifdef CONFIG_MPC83XX
 #include <mpc83xx.h>
 #include <asm/immap_83xx.h>
 #endif
@@ -52,7 +52,7 @@ static inline uint get_svr(void)
 
 #if defined(CONFIG_MPC85xx)	|| \
 	defined(CONFIG_MPC86xx)	|| \
-	defined(CONFIG_MPC83xx)
+	defined(CONFIG_MPC83XX)
 unsigned char	in8(unsigned int);
 void		out8(unsigned int, unsigned char);
 unsigned short	in16(unsigned int);
@@ -68,7 +68,7 @@ void		ppcDcbi(unsigned long value);
 void		ppcSync(void);
 void		ppcDcbz(unsigned long value);
 #endif
-#if defined(CONFIG_MPC83xx)
+#if defined(CONFIG_MPC83XX)
 void		ppcDWload(unsigned int *addr, unsigned int *ret);
 void		ppcDWstore(unsigned int *addr, unsigned int *value);
 void disable_addr_trans(void);
arch/powerpc/include/asm/processor.h +2 -2
index f7e1a807746..d80b7d75563 100644
@@ -1004,7 +1004,7 @@
 #if defined(CONFIG_MPC85xx)
 #define IS_E_PROCESSOR(svr)	(svr & 0x80000)
 #else
-#if defined(CONFIG_MPC83xx)
+#if defined(CONFIG_MPC83XX)
 #define IS_E_PROCESSOR(spridr)	(!(spridr & 0x00010000))
 #endif
 #endif
@@ -1163,7 +1163,7 @@ int fsl_qoriq_dsp_core_to_cluster(unsigned int core);
 #define CPU_TYPE_ENTRY_MASK(n, v, nc, m) \
 	{ .name = #n, .soc_ver = SVR_##v, .num_cores = (nc), .mask = (m) }
 #else
-#if defined(CONFIG_MPC83xx)
+#if defined(CONFIG_MPC83XX)
 #define CPU_TYPE_ENTRY(x) {#x, SPR_##x}
 #endif
 #endif
arch/powerpc/lib/bdinfo.c +1 -1
index 55dcad5df8e..81cbcf988ff 100644
@@ -20,7 +20,7 @@ int arch_setup_bdinfo(void)
 	bd->bi_immr_base = CONFIG_SYS_IMMR;	/* base  of IMMR register     */
 #endif
 
-#if defined(CONFIG_MPC83xx)
+#if defined(CONFIG_MPC83XX)
 	bd->bi_immrbar = CONFIG_SYS_IMMR;
 #endif
 
board/freescale/mpc837xerdb/README +1 -1
index 12df2f2e756..79accdbe7a9 100644
@@ -52,7 +52,7 @@ Freescale MPC837xE-RDB Board
 
 	include/configs/MPC837XERDB.h
 
-    CONFIG_MPC83xx	    MPC83xx family for both MPC8349 and MPC8360
+    CONFIG_MPC83XX	    MPC83XX family for both MPC8349 and MPC8360
     CONFIG_MPC837x	    MPC837x specific
     CONFIG_MPC837XERDB	    MPC837xE-RDB board specific
 
board/keymile/Kconfig +2 -2
index bf899d005c4..a24d17cf8bf 100644
@@ -34,7 +34,7 @@ config KM_PHRAM
 
 config KM_RESERVED_PRAM
 	hex "Reserved RAM"
-	default 0x0 if MPC83xx
+	default 0x0 if MPC83XX
 	default 0x1000 if MPC85xx || ARCH_LS1021A
 	depends on !ARCH_SOCFPGA
 	help
@@ -78,7 +78,7 @@ config SYS_CLIPS_BASE
 
 config KM_COMMON_ETH_INIT
 	bool "Common Ethernet Initialization"
-	default y if MPC83xx
+	default y if MPC83XX
 	default n if MPC85xx || ARCH_SOCFPGA || ARCH_LS1021A
 	help
 	  Use the Ethernet initialization implemented in common code that
board/keymile/km83xx/Kconfig +1 -1
index f87a2e64163..149a2395777 100644
@@ -1,5 +1,5 @@
 menu "KM 83xx Options"
-	depends on MPC83xx
+	depends on MPC83XX
 
 config KM_ENABLE_FULL_DM_DTS_SUPPORT
 	bool "enable full DM/DTS support for KM 83xx boards"
configs/MPC837XERDB_defconfig +1 -1
index 7287ca6b247..87c89205d12 100644
@@ -7,7 +7,7 @@ CONFIG_DEFAULT_DEVICE_TREE="mpc8379erdb"
 CONFIG_SYS_CLK_FREQ=66666667
 CONFIG_ENV_ADDR=0xFE080000
 # CONFIG_SYS_PCI_64BIT is not set
-CONFIG_MPC83xx=y
+CONFIG_MPC83XX=y
 CONFIG_HIGH_BATS=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_MPC837XERDB=y
configs/gazerbeam_defconfig +1 -1
index 9d09d9c37f2..2969a633bf8 100644
@@ -9,7 +9,7 @@ CONFIG_DEFAULT_DEVICE_TREE="gazerbeam"
 CONFIG_IDENT_STRING=" gazerbeam 0.01"
 CONFIG_SYS_CLK_FREQ=33333333
 CONFIG_ENV_ADDR=0xFE080000
-CONFIG_MPC83xx=y
+CONFIG_MPC83XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_GAZERBEAM=y
 CONFIG_SYSTEM_PLL_VCO_DIV_2=y
configs/kmcoge5ne_defconfig +1 -1
index c8897003c10..16b3a87849a 100644
@@ -7,7 +7,7 @@ CONFIG_BOOTCOUNT_BOOTLIMIT=3
 CONFIG_SYS_CLK_FREQ=66000000
 CONFIG_SYS_LOAD_ADDR=0x100000
 CONFIG_ENV_ADDR=0xF00C0000
-CONFIG_MPC83xx=y
+CONFIG_MPC83XX=y
 CONFIG_HIGH_BATS=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_KMCOGE5NE=y
configs/kmeter1_defconfig +1 -1
index 573dc4c5c4e..a622f61e41f 100644
@@ -8,7 +8,7 @@ CONFIG_BOOTCOUNT_BOOTLIMIT=3
 CONFIG_SYS_CLK_FREQ=66000000
 CONFIG_SYS_LOAD_ADDR=0x100000
 CONFIG_ENV_ADDR=0xF00C0000
-CONFIG_MPC83xx=y
+CONFIG_MPC83XX=y
 CONFIG_HIGH_BATS=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_KMETER1=y
configs/kmopti2_defconfig +1 -1
index 895ac4649a2..d25161386dd 100644
@@ -7,7 +7,7 @@ CONFIG_BOOTCOUNT_BOOTLIMIT=3
 CONFIG_SYS_CLK_FREQ=66000000
 CONFIG_SYS_LOAD_ADDR=0x100000
 CONFIG_ENV_ADDR=0xF00C0000
-CONFIG_MPC83xx=y
+CONFIG_MPC83XX=y
 CONFIG_HIGH_BATS=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_KMOPTI2=y
configs/kmsupx5_defconfig +1 -1
index e99c55e47a1..b9f334621ca 100644
@@ -7,7 +7,7 @@ CONFIG_BOOTCOUNT_BOOTLIMIT=3
 CONFIG_SYS_CLK_FREQ=66000000
 CONFIG_SYS_LOAD_ADDR=0x100000
 CONFIG_ENV_ADDR=0xF00C0000
-CONFIG_MPC83xx=y
+CONFIG_MPC83XX=y
 CONFIG_HIGH_BATS=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_KMSUPX5=y
configs/kmtepr2_defconfig +1 -1
index fd206f3d0e6..3068da218f8 100644
@@ -7,7 +7,7 @@ CONFIG_BOOTCOUNT_BOOTLIMIT=3
 CONFIG_SYS_CLK_FREQ=66000000
 CONFIG_SYS_LOAD_ADDR=0x100000
 CONFIG_ENV_ADDR=0xF00C0000
-CONFIG_MPC83xx=y
+CONFIG_MPC83XX=y
 CONFIG_HIGH_BATS=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_KMTEPR2=y
configs/tuge1_defconfig +1 -1
index 3301a7f936b..df317f1e91d 100644
@@ -7,7 +7,7 @@ CONFIG_BOOTCOUNT_BOOTLIMIT=3
 CONFIG_SYS_CLK_FREQ=66000000
 CONFIG_SYS_LOAD_ADDR=0x100000
 CONFIG_ENV_ADDR=0xF00C0000
-CONFIG_MPC83xx=y
+CONFIG_MPC83XX=y
 CONFIG_HIGH_BATS=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_TUGE1=y
configs/tuxx1_defconfig +1 -1
index 02b369beacf..22f34cee766 100644
@@ -7,7 +7,7 @@ CONFIG_BOOTCOUNT_BOOTLIMIT=3
 CONFIG_SYS_CLK_FREQ=66000000
 CONFIG_SYS_LOAD_ADDR=0x100000
 CONFIG_ENV_ADDR=0xF00C0000
-CONFIG_MPC83xx=y
+CONFIG_MPC83XX=y
 CONFIG_HIGH_BATS=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_TUXX1=y
drivers/clk/Kconfig +2 -2
index 09aa97ee8c0..07049f6dd46 100644
@@ -138,10 +138,10 @@ config CLK_K210_SET_RATE
 	  feature adds around 1K to U-Boot's final size.
 
 config CLK_MPC83XX
-	bool "Enable MPC83xx clock driver"
+	bool "Enable MPC83XX clock driver"
 	depends on CLK
 	help
-	  Support for the clock driver of the MPC83xx series of SoCs.
+	  Support for the clock driver of the MPC83XX series of SoCs.
 
 config CLK_OCTEON
 	bool "Clock controller driver for Marvell MIPS Octeon"
drivers/clk/mpc83xx_clk.c +2 -2
index 0255ccaf8a4..736fcf09291 100644
@@ -22,7 +22,7 @@
 DECLARE_GLOBAL_DATA_PTR;
 
 /**
- * struct mpc83xx_clk_priv - Private data structure for the MPC83xx clock
+ * struct mpc83xx_clk_priv - Private data structure for the MPC83XX clock
  *			     driver
  * @speed: Array containing the speed values of all system clocks (initialized
  *	   once, then only read back)
@@ -286,7 +286,7 @@ static ulong mpc83xx_clk_get_rate(struct clk *clk)
 
 static int mpc83xx_clk_enable(struct clk *clk)
 {
-	/* MPC83xx clocks are always enabled */
+	/* MPC83XX clocks are always enabled */
 	return 0;
 }
 
drivers/clk/mpc83xx_clk.h +10 -10
index c06a51ecd43..08b2695572f 100644
@@ -172,12 +172,12 @@ static void set_mode(struct clk_mode *mode, u8 low, u8 high, int type)
  * retrieve_mode() - Get the clock mode description for a specific clock
  * @clk:      The identifier of the clock for which the clock description should
  *	      be retrieved
- * @soc_type: The type of MPC83xx SoC for which the clock description should be
+ * @soc_type: The type of MPC83XX SoC for which the clock description should be
  *	      retrieved
  * @mode:     Pointer to a clk_mode structure to be filled with data for the
  *	      clock
  *
- * Since some clock rate are stored in different places on different MPC83xx
+ * Since some clock rate are stored in different places on different MPC83XX
  * SoCs, the SoC type has to be supplied along with the clock's identifier.
  *
  * Return: 0 if OK, -ve on error
@@ -269,7 +269,7 @@ static int retrieve_mode(int clk, int soc_type, struct clk_mode *mode)
 
 /**
  * get_spmr() - Read the SPMR (System PLL Mode Register)
- * @im: Pointer to the MPC83xx main register map in question
+ * @im: Pointer to the MPC83XX main register map in question
  *
  * Return: The SPMR value as a 32-bit number.
  */
@@ -282,7 +282,7 @@ static inline u32 get_spmr(immap_t *im)
 
 /**
  * get_sccr() - Read the SCCR (System Clock Control Register)
- * @im: Pointer to the MPC83xx main register map in question
+ * @im: Pointer to the MPC83XX main register map in question
  *
  * Return: The SCCR value as a 32-bit number.
  */
@@ -295,7 +295,7 @@ static inline u32 get_sccr(immap_t *im)
 
 /**
  * get_lcrr() - Read the LCRR (Clock Ratio Register)
- * @im: Pointer to the MPC83xx main register map in question
+ * @im: Pointer to the MPC83XX main register map in question
  *
  * Return: The LCRR value as a 32-bit number.
  */
@@ -308,7 +308,7 @@ static inline u32 get_lcrr(immap_t *im)
 
 /**
  * get_pci_sync_in() - Read the PCI synchronization clock speed
- * @im: Pointer to the MPC83xx main register map in question
+ * @im: Pointer to the MPC83XX main register map in question
  *
  * Return: The PCI synchronization clock speed value as a 32-bit number.
  */
@@ -322,7 +322,7 @@ static inline u32 get_pci_sync_in(immap_t *im)
 
 /**
  * get_csb_clk() - Read the CSB (Coheren System Bus) clock speed
- * @im: Pointer to the MPC83xx main register map in question
+ * @im: Pointer to the MPC83XX main register map in question
  *
  * Return: The CSB clock speed value as a 32-bit number.
  */
@@ -336,7 +336,7 @@ static inline u32 get_csb_clk(immap_t *im)
 
 /**
  * spmr_field() - Read a specific SPMR field
- * @im:   Pointer to the MPC83xx main register map in question
+ * @im:   Pointer to the MPC83XX main register map in question
  * @mask: A bitmask that describes the bitfield to be read
  *
  * Return: The value of the bit field as a 32-bit number.
@@ -351,7 +351,7 @@ static inline uint spmr_field(immap_t *im, u32 mask)
 
 /**
  * sccr_field() - Read a specific SCCR field
- * @im:   Pointer to the MPC83xx main register map in question
+ * @im:   Pointer to the MPC83XX main register map in question
  * @mask: A bitmask that describes the bitfield to be read
  *
  * Return: The value of the bit field as a 32-bit number.
@@ -366,7 +366,7 @@ static inline uint sccr_field(immap_t *im, u32 mask)
 
 /**
  * lcrr_field() - Read a specific LCRR field
- * @im:   Pointer to the MPC83xx main register map in question
+ * @im:   Pointer to the MPC83XX main register map in question
  * @mask: A bitmask that describes the bitfield to be read
  *
  * Return: The value of the bit field as a 32-bit number.
drivers/cpu/Kconfig +3 -3
index 3bf04105e5e..618776638cd 100644
@@ -8,11 +8,11 @@ config CPU
 	  finding out information about available CPUs and making changes.
 
 config CPU_MPC83XX
-	bool "Enable MPC83xx CPU driver"
-	depends on CPU && MPC83xx
+	bool "Enable MPC83XX CPU driver"
+	depends on CPU && MPC83XX
 	select CLK_MPC83XX
 	help
-	  Support CPU cores for SoCs of the MPC83xx series.
+	  Support CPU cores for SoCs of the MPC83XX series.
 
 config CPU_RISCV
 	bool "Enable RISC-V CPU driver"
drivers/cpu/mpc83xx_cpu.c +7 -7
index e451c11116a..371fb694570 100644
@@ -16,10 +16,10 @@
 #include "mpc83xx_cpu.h"
 
 /**
- * struct mpc83xx_cpu_priv - Private data for MPC83xx CPUs
- * @e300_type:      The e300 core type of the MPC83xx CPU
- * @family:         The MPC83xx family the CPU belongs to
- * @type:           The MPC83xx type of the CPU
+ * struct mpc83xx_cpu_priv - Private data for MPC83XX CPUs
+ * @e300_type:      The e300 core type of the MPC83XX CPU
+ * @family:         The MPC83XX family the CPU belongs to
+ * @type:           The MPC83XX type of the CPU
  * @is_e_processor: Flag indicating whether the CPU is a E processor or not
  * @is_a_variant:   Flag indicating whtther the CPU is a A variant or not
  * @revid:          The revision ID of the CPU
@@ -57,7 +57,7 @@ static inline u32 get_spridr(void)
 }
 
 /**
- * determine_type() - Determine CPU family of MPC83xx device
+ * determine_type() - Determine CPU family of MPC83XX device
  * @dev: CPU device from which to read CPU family from
  */
 static inline void determine_family(const struct udevice *dev)
@@ -92,7 +92,7 @@ static inline void determine_family(const struct udevice *dev)
 }
 
 /**
- * determine_type() - Determine CPU type of MPC83xx device
+ * determine_type() - Determine CPU type of MPC83XX device
  * @dev: CPU device from which to read CPU type from
  */
 static inline void determine_type(const struct udevice *dev)
@@ -166,7 +166,7 @@ static inline void determine_type(const struct udevice *dev)
 }
 
 /**
- * determine_e300_type() - Determine e300 core type of MPC83xx device
+ * determine_e300_type() - Determine e300 core type of MPC83XX device
  * @dev: CPU device from which to read e300 core type from
  */
 static inline void determine_e300_type(const struct udevice *dev)
drivers/cpu/mpc83xx_cpu.h +4 -4
index 2aaa4e18844..2704a0c3178 100644
@@ -33,14 +33,14 @@ static const char * const e300_names[] = {
 };
 
 /**
- * enum mpc83xx_cpu_family - Identifiers for MPC83xx CPU families
+ * enum mpc83xx_cpu_family - Identifiers for MPC83XX CPU families
  * @FAMILY_830X:    Identifier for the MPC830x CPU family
  * @FAMILY_831X:    Identifier for the MPC831x CPU family
  * @FAMILY_832X:    Identifier for the MPC832x CPU family
  * @FAMILY_834X:    Identifier for the MPC834x CPU family
  * @FAMILY_836X:    Identifier for the MPC836x CPU family
  * @FAMILY_837X:    Identifier for the MPC837x CPU family
- * @FAMILY_UNKNOWN: Identifier for an unknown MPC83xx CPU family
+ * @FAMILY_UNKNOWN: Identifier for an unknown MPC83XX CPU family
  */
 enum mpc83xx_cpu_family {
 	FAMILY_830X,
@@ -53,7 +53,7 @@ enum mpc83xx_cpu_family {
 };
 
 /**
- * enum mpc83xx_cpu_type - Identifiers for MPC83xx CPU types
+ * enum mpc83xx_cpu_type - Identifiers for MPC83XX CPU types
  * @TYPE_8308:      Identifier for the MPC8308 CPU type
  * @TYPE_8309:      Identifier for the MPC8309 CPU type
  * @TYPE_8311:      Identifier for the MPC8311 CPU type
@@ -76,7 +76,7 @@ enum mpc83xx_cpu_family {
  * @TYPE_8377:      Identifier for the MPC8377 CPU type
  * @TYPE_8378:      Identifier for the MPC8378 CPU type
  * @TYPE_8379:      Identifier for the MPC8379 CPU type
- * @TYPE_UNKNOWN:   Identifier for an unknown MPC83xx CPU type
+ * @TYPE_UNKNOWN:   Identifier for an unknown MPC83XX CPU type
  */
 enum mpc83xx_cpu_type {
 	TYPE_8308,
drivers/ddr/fsl/Kconfig +2 -2
index 7f8f3570dd8..5c928689a30 100644
@@ -173,7 +173,7 @@ config DDR_ECC
 
 config DDR_ECC_CMD
 	bool "Access the ECC features of the memory controller"
-	depends on DDR_ECC && MPC83xx
+	depends on DDR_ECC && MPC83XX
 	default y
 
 config ECC_INIT_VIA_DDRCONTROLLER
@@ -199,7 +199,7 @@ config SYS_FSL_DDR_INTLV_256B
 endif
 
 menu "PowerPC / M68K initial memory controller definitions (FLASH, SDRAM, etc)"
-	depends on MCF52x2 || MPC8xx || MPC83xx || MPC85xx
+	depends on MCF52x2 || MPC8xx || MPC83XX || MPC85xx
 
 config SYS_BR0_PRELIM_BOOL
 	bool "Define Bank 0"
drivers/ddr/fsl/main.c +1 -1
index cd332718b64..81d081fabb0 100644
@@ -29,7 +29,7 @@
  * 0x80_8000_0000 ~ 0xff_ffff_ffff
  */
 #ifndef CFG_SYS_FSL_DDR_SDRAM_BASE_PHY
-#ifdef CONFIG_MPC83xx
+#ifdef CONFIG_MPC83XX
 #define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY CFG_SYS_SDRAM_BASE
 #else
 #define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY CFG_SYS_DDR_SDRAM_BASE
drivers/dma/fsl_dma.c +8 -8
index 700df2236bd..4f264c83f0c 100644
@@ -16,15 +16,15 @@
 /* Controller can only transfer 2^26 - 1 bytes at a time */
 #define FSL_DMA_MAX_SIZE	(0x3ffffff)
 
-#if defined(CONFIG_MPC83xx)
+#if defined(CONFIG_MPC83XX)
 #define FSL_DMA_MR_DEFAULT (FSL_DMA_MR_CTM_DIRECT | FSL_DMA_MR_DMSEN)
 #else
 #define FSL_DMA_MR_DEFAULT (FSL_DMA_MR_BWC_DIS | FSL_DMA_MR_CTM_DIRECT)
 #endif
 
 
-#if defined(CONFIG_MPC83xx)
-dma83xx_t *dma_base = (void *)(CFG_SYS_MPC83xx_DMA_ADDR);
+#if defined(CONFIG_MPC83XX)
+dma83xx_t *dma_base = (void *)(CFG_SYS_MPC83XX_DMA_ADDR);
 #elif defined(CONFIG_MPC85xx)
 ccsr_dma_t *dma_base = (void *)(CFG_SYS_MPC85xx_DMA_ADDR);
 #elif defined(CONFIG_MPC86xx)
@@ -44,7 +44,7 @@ static void dma_sync(void)
 
 static void out_dma32(volatile unsigned *addr, int val)
 {
-#if defined(CONFIG_MPC83xx)
+#if defined(CONFIG_MPC83XX)
 	out_le32(addr, val);
 #else
 	out_be32(addr, val);
@@ -53,7 +53,7 @@ static void out_dma32(volatile unsigned *addr, int val)
 
 static uint in_dma32(volatile unsigned *addr)
 {
-#if defined(CONFIG_MPC83xx)
+#if defined(CONFIG_MPC83XX)
 	return in_le32(addr);
 #else
 	return in_be32(addr);
@@ -79,7 +79,7 @@ static uint dma_check(void) {
 	return status;
 }
 
-#if !defined(CONFIG_MPC83xx)
+#if !defined(CONFIG_MPC83XX)
 void dma_init(void) {
 	volatile fsl_dma_t *dma = &dma_base->dma[0];
 
@@ -99,7 +99,7 @@ int dmacpy(phys_addr_t dest, phys_addr_t src, phys_size_t count) {
 
 		out_dma32(&dma->dar, (u32) (dest & 0xFFFFFFFF));
 		out_dma32(&dma->sar, (u32) (src & 0xFFFFFFFF));
-#if !defined(CONFIG_MPC83xx)
+#if !defined(CONFIG_MPC83XX)
 		out_dma32(&dma->satr,
 			in_dma32(&dma->satr) | (u32)((u64)src >> 32));
 		out_dma32(&dma->datr,
@@ -131,7 +131,7 @@ int dmacpy(phys_addr_t dest, phys_addr_t src, phys_size_t count) {
 /*
  * 85xx/86xx use dma to initialize SDRAM when !CONFIG_ECC_INIT_VIA_DDRCONTROLLER
  */
-#if ((!defined CONFIG_MPC83xx && defined(CONFIG_DDR_ECC) &&	\
+#if ((!defined CONFIG_MPC83XX && defined(CONFIG_DDR_ECC) &&	\
 	!defined(CONFIG_ECC_INIT_VIA_DDRCONTROLLER)))
 void dma_meminit(uint size)
 {
drivers/gpio/mpc83xx_gpio.c +1 -1
index bf693c8d457..0e3286c915a 100644
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 /*
- * Freescale MPC83xx GPIO handling.
+ * Freescale MPC83XX GPIO handling.
  */
 
 #include <common.h>
drivers/misc/Kconfig +2 -2
index b07261d3db5..5657c39cfb6 100644
@@ -581,10 +581,10 @@ config GDSYS_IOEP
 	  Support gdsys FPGA's IO endpoint driver.
 
 config MPC83XX_SERDES
-	bool "Enable MPC83xx serdes driver"
+	bool "Enable MPC83XX serdes driver"
 	depends on MISC
 	help
-	  Support for serdes found on MPC83xx SoCs.
+	  Support for serdes found on MPC83XX SoCs.
 
 config FS_LOADER
 	bool "Enable loader driver for file system"
drivers/misc/mpc83xx_serdes.c +2 -2
index 93c87e998c4..c117e2aa363 100644
@@ -3,7 +3,7 @@
  * (C) Copyright 2018
  * Mario Six, Guntermann & Drunck GmbH, [email protected]
  *
- * base on the MPC83xx serdes initialization, which is
+ * base on the MPC83XX serdes initialization, which is
  *
  * Copyright 2007,2011 Freescale Semiconductor, Inc.
  * Copyright (C) 2008 MontaVista Software, Inc.
@@ -19,7 +19,7 @@
 #include "mpc83xx_serdes.h"
 
 /**
- * struct mpc83xx_serdes_priv - Private structure for MPC83xx serdes
+ * struct mpc83xx_serdes_priv - Private structure for MPC83XX serdes
  * @regs:  The device's register map
  * @rfcks: Variable to keep the serdes reference clock selection set during
  *	   initialization in (is or'd to every value written to SRDSCR4)
drivers/mtd/nand/raw/fsl_elbc_spl.c +1 -1
index 26aaab08e89..beda275fcf4 100644
@@ -16,7 +16,7 @@
 #include <asm/fsl_lbc.h>
 #include <nand.h>
 
-#ifdef CONFIG_MPC83xx
+#ifdef CONFIG_MPC83XX
 #include "../../../arch/powerpc/cpu/mpc83xx/elbc/elbc.h"
 #endif
 
drivers/ram/Kconfig +1 -1
index e085119963b..016603da52e 100644
@@ -38,7 +38,7 @@ config MPC83XX_SDRAM
 	bool "Enable MPC83XX SDRAM support"
 	depends on RAM
 	help
-	  Enable support for the internal DDR Memory Controller of the MPC83xx
+	  Enable support for the internal DDR Memory Controller of the MPC83XX
 	  family of SoCs. Both static configurations, as well as configuring
 	  the RAM through the use of SPD (Serial Presence Detect) is supported
 	  via device tree settings.
drivers/ram/mpc83xx_sdram.c +1 -1
index 11676d4fae7..9d13ffe3284 100644
@@ -122,7 +122,7 @@ phys_size_t get_effective_memsize(void)
 }
 
 /**
- * struct mpc83xx_sdram_priv - Private data for MPC83xx RAM controllers
+ * struct mpc83xx_sdram_priv - Private data for MPC83XX RAM controllers
  * @total_size: The total size of all RAM modules associated with this RAM
  *		controller in bytes
  */
drivers/spi/mpc8xxx_spi.c +1 -1
index 6869d60d97b..15144b1f1a3 100644
@@ -84,7 +84,7 @@ static int mpc8xxx_spi_probe(struct udevice *dev)
 	spi8xxx_t *spi = priv->spi;
 
 	/*
-	 * SPI pins on the MPC83xx are not muxed, so all we do is initialize
+	 * SPI pins on the MPC83XX are not muxed, so all we do is initialize
 	 * some registers
 	 */
 	out_be32(&priv->spi->mode, SPI_MODE_REV | SPI_MODE_MS);
drivers/sysreset/Kconfig +2 -2
index 03f7fdd5978..87f9e404cff 100644
@@ -189,9 +189,9 @@ config SYSRESET_TPL_X86
 	  Reboot support for generic x86 processor reset in TPL.
 
 config SYSRESET_MPC83XX
-	bool "Enable support MPC83xx SoC family reboot driver"
+	bool "Enable support MPC83XX SoC family reboot driver"
 	help
-	  Reboot support for NXP MPC83xx SoCs.
+	  Reboot support for NXP MPC83XX SoCs.
 
 endif
 
drivers/timer/Kconfig +2 -2
index 6d6665005cf..7e75902a335 100644
@@ -153,11 +153,11 @@ config GXP_TIMER
 	  present on HPE GXP SoCs.
 
 config MPC83XX_TIMER
-	bool "MPC83xx timer support"
+	bool "MPC83XX timer support"
 	depends on TIMER
 	help
 	  Select this to enable support for the timer found on
-	  devices based on the MPC83xx family of SoCs.
+	  devices based on the MPC83XX family of SoCs.
 
 config RENESAS_OSTM_TIMER
 	bool "Renesas RZ/A1 R7S72100 OSTM Timer"
drivers/timer/mpc83xx_timer.c +1 -1
index 7814cb6a5d6..979cac325e1 100644
@@ -25,7 +25,7 @@ DECLARE_GLOBAL_DATA_PTR;
 #endif
 
 /**
- * struct mpc83xx_timer_priv - Private data structure for MPC83xx timer driver
+ * struct mpc83xx_timer_priv - Private data structure for MPC83XX timer driver
  * @decrementer_count: Value to which the decrementer register should be re-set
  *		       to when a timer interrupt occurs, thus determines the
  *		       interrupt frequency (value for 1e6/HZ microseconds)
env/Kconfig +1 -1
index 688f34841fa..e377d88eb2a 100644
@@ -116,7 +116,7 @@ config ENV_IS_IN_FLASH
 	default y if ARCH_INTEGRATOR_CP
 	default y if M548x || M547x || M5282
 	default y if MCF532X || MCF52x2
-	default y if MPC86xx || MPC83xx
+	default y if MPC86xx || MPC83XX
 	default y if ARCH_MPC8548
 	default y if SH && !CPU_SH4
 	help
include/asm-generic/u-boot.h +1 -1
index 70303acd558..64dfb66c7cb 100644
@@ -43,7 +43,7 @@ struct bd_info {
 #if defined(CONFIG_M68K)
 	unsigned long	bi_mbar_base;	/* base of internal registers */
 #endif
-#if defined(CONFIG_MPC83xx)
+#if defined(CONFIG_MPC83XX)
 	unsigned long	bi_immrbar;
 #endif
 	unsigned long	bi_bootflags;	/* boot / reboot flag (Unused) */
include/configs/MPC837XERDB.h +1 -1
index 70b1c399241..c7b95687b61 100644
@@ -175,7 +175,7 @@
 #define CFG_SYS_PCIE2_IO_PHYS	0xD8000000
 
 #ifdef CONFIG_MMC
-#define CFG_SYS_FSL_ESDHC_ADDR	CFG_SYS_MPC83xx_ESDHC_ADDR
+#define CFG_SYS_FSL_ESDHC_ADDR	CFG_SYS_MPC83XX_ESDHC_ADDR
 #endif
 
 /*
include/linux/immap_qe.h +1 -1
index 45307f51c10..a46f001b44e 100644
@@ -11,7 +11,7 @@
 #ifndef __IMMAP_QE_H__
 #define __IMMAP_QE_H__
 
-#ifdef CONFIG_MPC83xx
+#ifdef CONFIG_MPC83XX
 #if defined(CONFIG_ARCH_MPC8360)
 #define QE_MURAM_SIZE		0xc000UL
 #define MAX_QE_RISC		2
include/serial.h +1 -1
index 42bdf3759c0..ceab714f541 100644
@@ -27,7 +27,7 @@ extern struct serial_device serial_smh_device;
 extern struct serial_device serial_scc_device;
 extern struct serial_device *default_serial_console(void);
 
-#if	defined(CONFIG_MPC83xx) || defined(CONFIG_MPC85xx) || \
+#if	defined(CONFIG_MPC83XX) || defined(CONFIG_MPC85xx) || \
 	defined(CONFIG_MPC86xx) || \
 	defined(CONFIG_ARCH_TEGRA) || defined(CONFIG_SYS_COREBOOT) || \
 	defined(CONFIG_MICROBLAZE)
post/Makefile +1 -1
index afd49403c28..e95eb954b43 100644
@@ -8,4 +8,4 @@ obj-y	+= tests.o
 
 obj-y += drivers/
 obj-$(CONFIG_PPC) += lib_powerpc/
-obj-$(CONFIG_MPC83xx) += cpu/mpc83xx/
+obj-$(CONFIG_MPC83XX) += cpu/mpc83xx/
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#49 lore raw

PATCH v2 40/87 gpio: Drop unused mpc83xx_gpio driver

In reply to Simon Glass

This is not used since this commit:

7458f18e5c2 ppc: Remove MPC8313ERDB boards

Drop the driver and Kconfig option.

---

(no changes since v1)

 drivers/gpio/Makefile       |   1 -
 drivers/gpio/mpc83xx_gpio.c | 183 ------------------------------------
 2 files changed, 184 deletions(-)
 delete mode 100644 drivers/gpio/mpc83xx_gpio.c
drivers/gpio/Makefile +0 -1
index ec65f70c318..889a88dc885 100644
@@ -38,7 +38,6 @@ obj-$(CONFIG_TEGRA_GPIO)	+= tegra_gpio.o
 obj-$(CONFIG_TEGRA186_GPIO)	+= tegra186_gpio.o
 obj-$(CONFIG_DA8XX_GPIO)	+= da8xx_gpio.o
 obj-$(CONFIG_ALTERA_PIO)	+= altera_pio.o
-obj-$(CONFIG_MPC83XX_GPIO)	+= mpc83xx_gpio.o
 obj-$(CONFIG_MPC8XXX_GPIO)	+= mpc8xxx_gpio.o
 obj-$(CONFIG_MPC83XX_SPISEL_BOOT)	+= mpc83xx_spisel_boot.o
 obj-$(CONFIG_SH_GPIO_PFC)	+= sh_pfc.o
drivers/gpio/mpc83xx_gpio.c deleted +0 -183

183 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#50 lore raw

PATCH v2 41/87 ppc: Rename MPC85xx

In reply to Simon Glass

CONFIG options must not use lower-case letter. Convert this to upper case.

---

(no changes since v1)

 Kconfig                                       |   2 +-
 arch/Kconfig.nxp                              |   6 +-
 arch/powerpc/Kconfig                          |   8 +-
 arch/powerpc/Makefile                         |   2 +-
 arch/powerpc/cpu/Makefile                     |   2 +-
 arch/powerpc/cpu/mpc83xx/cpu.c                |   2 +-
 arch/powerpc/cpu/mpc85xx/Kconfig              |  16 +-
 arch/powerpc/cpu/mpc85xx/bsc9132_serdes.c     |   6 +-
 arch/powerpc/cpu/mpc85xx/c29x_serdes.c        |   6 +-
 arch/powerpc/cpu/mpc85xx/cpu.c                |  10 +-
 arch/powerpc/cpu/mpc85xx/cpu_init.c           |  34 +-
 arch/powerpc/cpu/mpc85xx/cpu_init_early.c     |  14 +-
 arch/powerpc/cpu/mpc85xx/fdt.c                |   6 +-
 .../powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c |   4 +-
 arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c |  10 +-
 arch/powerpc/cpu/mpc85xx/interrupts.c         |   8 +-
 arch/powerpc/cpu/mpc85xx/mp.c                 |  32 +-
 arch/powerpc/cpu/mpc85xx/mpc8536_serdes.c     |   8 +-
 arch/powerpc/cpu/mpc85xx/mpc8544_serdes.c     |  10 +-
 arch/powerpc/cpu/mpc85xx/mpc8548_serdes.c     |   6 +-
 arch/powerpc/cpu/mpc85xx/p1010_serdes.c       |   6 +-
 arch/powerpc/cpu/mpc85xx/p1021_serdes.c       |   8 +-
 arch/powerpc/cpu/mpc85xx/p1023_serdes.c       |   6 +-
 arch/powerpc/cpu/mpc85xx/p2020_serdes.c       |   6 +-
 arch/powerpc/cpu/mpc85xx/qe_io.c              |   2 +-
 arch/powerpc/cpu/mpc85xx/speed.c              |  14 +-
 arch/powerpc/cpu/mpc85xx/spl_minimal.c        |   6 +-
 arch/powerpc/cpu/mpc85xx/start.S              |  28 +-
 arch/powerpc/cpu/mpc8xxx/Makefile             |   2 +-
 arch/powerpc/cpu/mpc8xxx/cpu.c                |  12 +-
 arch/powerpc/cpu/mpc8xxx/fdt.c                |   4 +-
 arch/powerpc/cpu/mpc8xxx/fsl_lbc.c            |   4 +-
 arch/powerpc/cpu/mpc8xxx/law.c                |   2 +-
 arch/powerpc/cpu/mpc8xxx/srio.c               |  12 +-
 arch/powerpc/include/asm/config.h             |   2 +-
 arch/powerpc/include/asm/config_mpc85xx.h     |   8 +-
 arch/powerpc/include/asm/fsl_lbc.h            |   4 +-
 arch/powerpc/include/asm/fsl_liodn.h          |  26 +-
 arch/powerpc/include/asm/fsl_pci.h            |   2 +-
 arch/powerpc/include/asm/global_data.h        |   6 +-
 arch/powerpc/include/asm/immap_85xx.h         | 728 +++++++++---------
 arch/powerpc/include/asm/mpc85xx_gpio.h       |   4 +-
 arch/powerpc/include/asm/ppc.h                |   8 +-
 arch/powerpc/include/asm/processor.h          |   8 +-
 arch/powerpc/lib/bootm.c                      |   2 +-
 arch/powerpc/lib/ppccache.S                   |   4 +-
 board/freescale/common/fsl_chain_of_trust.c   |  12 +-
 board/freescale/common/fsl_validate.c         |   8 +-
 board/freescale/common/mpc85xx_sleep.c        |   6 +-
 board/freescale/common/via.h                  |   4 +-
 board/freescale/common/vid.c                  |   2 +-
 board/freescale/mpc8548cds/mpc8548cds.c       |   6 +-
 board/freescale/p1010rdb/p1010rdb.c           |  28 +-
 board/freescale/p1010rdb/spl.c                |   6 +-
 board/freescale/p1010rdb/spl_minimal.c        |   4 +-
 board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c   |  20 +-
 board/freescale/p1_p2_rdb_pc/spl.c            |   8 +-
 board/freescale/p1_p2_rdb_pc/spl_minimal.c    |   4 +-
 board/freescale/p2041rdb/p2041rdb.c           |   4 +-
 board/freescale/t102xrdb/eth_t102xrdb.c       |   2 +-
 board/freescale/t102xrdb/spl.c                |   6 +-
 board/freescale/t102xrdb/t102xrdb.c           |  16 +-
 board/freescale/t104xrdb/spl.c                |   2 +-
 board/freescale/t104xrdb/t104xrdb.c           |   2 +-
 board/freescale/t208xqds/eth_t208xqds.c       |   6 +-
 board/freescale/t208xqds/spl.c                |   2 +-
 board/freescale/t208xqds/t208xqds.c           |   2 +-
 board/freescale/t208xrdb/spl.c                |   2 +-
 board/freescale/t4rdb/eth.c                   |   2 +-
 board/freescale/t4rdb/spl.c                   |   2 +-
 board/keymile/Kconfig                         |   4 +-
 board/keymile/kmcent2/kmcent2.c               |   6 +-
 board/socrates/socrates.c                     |   6 +-
 board/xes/common/Makefile                     |   2 +-
 board/xes/common/fsl_8xxx_clk.c               |   8 +-
 board/xes/common/fsl_8xxx_misc.c              |   4 +-
 boot/Kconfig                                  |   4 +-
 common/Kconfig                                |   2 +-
 common/board_r.c                              |   2 +-
 common/memsize.c                              |   2 +-
 configs/MPC8548CDS_36BIT_defconfig            |   2 +-
 configs/MPC8548CDS_defconfig                  |   2 +-
 configs/MPC8548CDS_legacy_defconfig           |   2 +-
 configs/P1010RDB-PA_36BIT_NAND_defconfig      |   2 +-
 configs/P1010RDB-PA_36BIT_NOR_defconfig       |   2 +-
 configs/P1010RDB-PA_36BIT_SDCARD_defconfig    |   2 +-
 configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig  |   2 +-
 configs/P1010RDB-PA_NAND_defconfig            |   2 +-
 configs/P1010RDB-PA_NOR_defconfig             |   2 +-
 configs/P1010RDB-PA_SDCARD_defconfig          |   2 +-
 configs/P1010RDB-PA_SPIFLASH_defconfig        |   2 +-
 configs/P1010RDB-PB_36BIT_NAND_defconfig      |   2 +-
 configs/P1010RDB-PB_36BIT_NOR_defconfig       |   2 +-
 configs/P1010RDB-PB_36BIT_SDCARD_defconfig    |   2 +-
 configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig  |   2 +-
 configs/P1010RDB-PB_NAND_defconfig            |   2 +-
 configs/P1010RDB-PB_NOR_defconfig             |   2 +-
 configs/P1010RDB-PB_SDCARD_defconfig          |   2 +-
 configs/P1010RDB-PB_SPIFLASH_defconfig        |   2 +-
 configs/P1020RDB-PC_36BIT_NAND_defconfig      |   2 +-
 configs/P1020RDB-PC_36BIT_SDCARD_defconfig    |   2 +-
 configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig  |   2 +-
 configs/P1020RDB-PC_36BIT_defconfig           |   2 +-
 configs/P1020RDB-PC_NAND_defconfig            |   2 +-
 configs/P1020RDB-PC_SDCARD_defconfig          |   2 +-
 configs/P1020RDB-PC_SPIFLASH_defconfig        |   2 +-
 configs/P1020RDB-PC_defconfig                 |   2 +-
 configs/P1020RDB-PD_NAND_defconfig            |   2 +-
 configs/P1020RDB-PD_SDCARD_defconfig          |   2 +-
 configs/P1020RDB-PD_SPIFLASH_defconfig        |   2 +-
 configs/P1020RDB-PD_defconfig                 |   2 +-
 configs/P2020RDB-PC_36BIT_NAND_defconfig      |   2 +-
 configs/P2020RDB-PC_36BIT_SDCARD_defconfig    |   2 +-
 configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig  |   2 +-
 configs/P2020RDB-PC_36BIT_defconfig           |   2 +-
 configs/P2020RDB-PC_NAND_defconfig            |   2 +-
 configs/P2020RDB-PC_SDCARD_defconfig          |   2 +-
 configs/P2020RDB-PC_SPIFLASH_defconfig        |   2 +-
 configs/P2020RDB-PC_defconfig                 |   2 +-
 configs/P2041RDB_NAND_defconfig               |   2 +-
 configs/P2041RDB_SDCARD_defconfig             |   2 +-
 configs/P2041RDB_SPIFLASH_defconfig           |   2 +-
 configs/P2041RDB_defconfig                    |   2 +-
 configs/T1024RDB_NAND_defconfig               |   2 +-
 configs/T1024RDB_SDCARD_defconfig             |   2 +-
 configs/T1024RDB_SPIFLASH_defconfig           |   2 +-
 configs/T1024RDB_defconfig                    |   2 +-
 configs/T1042D4RDB_NAND_defconfig             |   2 +-
 configs/T1042D4RDB_SDCARD_defconfig           |   2 +-
 configs/T1042D4RDB_SPIFLASH_defconfig         |   2 +-
 configs/T1042D4RDB_defconfig                  |   2 +-
 configs/T2080QDS_NAND_defconfig               |   2 +-
 configs/T2080QDS_SDCARD_defconfig             |   2 +-
 configs/T2080QDS_SECURE_BOOT_defconfig        |   2 +-
 configs/T2080QDS_SPIFLASH_defconfig           |   2 +-
 configs/T2080QDS_SRIO_PCIE_BOOT_defconfig     |   2 +-
 configs/T2080QDS_defconfig                    |   2 +-
 configs/T2080RDB_NAND_defconfig               |   2 +-
 configs/T2080RDB_SDCARD_defconfig             |   2 +-
 configs/T2080RDB_SPIFLASH_defconfig           |   2 +-
 configs/T2080RDB_defconfig                    |   2 +-
 configs/T2080RDB_revD_NAND_defconfig          |   2 +-
 configs/T2080RDB_revD_SDCARD_defconfig        |   2 +-
 configs/T2080RDB_revD_SPIFLASH_defconfig      |   2 +-
 configs/T2080RDB_revD_defconfig               |   2 +-
 configs/T4240RDB_SDCARD_defconfig             |   2 +-
 configs/T4240RDB_defconfig                    |   2 +-
 configs/kmcent2_defconfig                     |   2 +-
 configs/qemu-ppce500_defconfig                |   2 +-
 configs/socrates_defconfig                    |   2 +-
 drivers/ata/fsl_sata.c                        |   2 +-
 drivers/ddr/fsl/Kconfig                       |   4 +-
 drivers/ddr/fsl/ctrl_regs.c                   |   2 +-
 drivers/ddr/fsl/mpc85xx_ddr_gen2.c            |   4 +-
 drivers/ddr/fsl/mpc85xx_ddr_gen3.c            |   2 +-
 drivers/dma/fsl_dma.c                         |   6 +-
 drivers/i2c/Kconfig                           |   2 +-
 drivers/net/fm/b4860.c                        |   8 +-
 drivers/net/fm/p1023.c                        |  18 +-
 drivers/net/fm/p4080.c                        |   8 +-
 drivers/net/fm/p5020.c                        |   8 +-
 drivers/net/fm/p5040.c                        |   8 +-
 drivers/net/fm/t1024.c                        |   6 +-
 drivers/net/fm/t1040.c                        |   2 +-
 drivers/net/fm/t2080.c                        |   6 +-
 drivers/net/fm/t4240.c                        |   8 +-
 drivers/pci/Kconfig                           |   4 +-
 drivers/qe/qe.c                               |  14 +-
 drivers/spi/fsl_espi.c                        |   2 +-
 drivers/usb/host/Kconfig                      |   2 +-
 drivers/watchdog/Kconfig                      |   4 +-
 include/configs/P1010RDB.h                    |   2 +-
 include/configs/P2041RDB.h                    |   2 +-
 include/configs/T102xRDB.h                    |   2 +-
 include/configs/T104xRDB.h                    |   2 +-
 include/configs/T208xQDS.h                    |   2 +-
 include/configs/T208xRDB.h                    |   2 +-
 include/configs/T4240RDB.h                    |   2 +-
 include/configs/p1_p2_rdb_pc.h                |   2 +-
 include/configs/socrates.h                    |   2 +-
 include/e500.h                                |   2 +-
 include/fsl_ddr_sdram.h                       |   2 +-
 include/fsl_fman.h                            |   2 +-
 include/ioports.h                             |   2 +-
 include/mpc85xx.h                             |   6 +-
 include/pci.h                                 |   2 +-
 include/post.h                                |   4 +-
 include/serial.h                              |   2 +-
 include/watchdog.h                            |   2 +-
 189 files changed, 802 insertions(+), 802 deletions(-)
Kconfig +1 -1
index a75cce7e28f..530577fbe97 100644
@@ -461,7 +461,7 @@ config BUILD_TARGET
 	default "u-boot.itb" if !BINMAN && SPL_LOAD_FIT && (ARCH_ROCKCHIP || \
 				ARCH_SUNXI || RISCV || ARCH_ZYNQMP)
 	default "u-boot.kwb" if (ARCH_KIRKWOOD || ARMADA_32BIT) && !SPL
-	default "u-boot-with-spl.bin" if MPC85xx && !E500MC && !E5500 && !E6500 && SPL
+	default "u-boot-with-spl.bin" if MPC85XX && !E500MC && !E5500 && !E6500 && SPL
 	default "u-boot-with-spl.bin" if ARCH_AT91 && SPL_NAND_SUPPORT
 	default "u-boot-with-spl.imx" if ARCH_MX6 && SPL
 	help
arch/Kconfig.nxp +3 -3
index 6e1c44b7ea8..90347c964f1 100644
@@ -24,7 +24,7 @@ config CHAIN_OF_TRUST
 	select SHA_HW_ACCEL
 	select SHA_PROG_HW_ACCEL
 	select ENV_IS_NOWHERE
-	select SYS_CPC_REINIT_F if MPC85xx && !SYS_RAMBOOT
+	select SYS_CPC_REINIT_F if MPC85XX && !SYS_RAMBOOT
 	select CMD_EXT4 if ARM
 	select CMD_EXT4_WRITE if ARM
 	imply CMD_BLOB
@@ -246,9 +246,9 @@ endif
 
 config SYS_FSL_NUM_CC_PLLS
 	int "Number of clock control PLLs"
-	depends on MPC85xx || FSL_LSCH2 || FSL_LSCH3 || ARCH_LS1021A || ARCH_LS1028A
+	depends on MPC85XX || FSL_LSCH2 || FSL_LSCH3 || ARCH_LS1021A || ARCH_LS1028A
 	default 2 if ARCH_LS1021A || ARCH_LS1028A || FSL_LSCH2
-	default 6 if FSL_LSCH3 || MPC85xx
+	default 6 if FSL_LSCH3 || MPC85XX
 
 config SYS_FSL_ESDHC_BE
 	bool
arch/powerpc/Kconfig +4 -4
index eb39a03e997..71d5ea50f54 100644
@@ -15,8 +15,8 @@ config MPC83XX
 	select SYS_FSL_SEC_BE
 	select SYS_FSL_SEC_COMPAT_2
 
-config MPC85xx
-	bool "MPC85xx"
+config MPC85XX
+	bool "MPC85XX"
 	select CREATE_ARCH_SYMLINK
 	select SYS_FSL_DDR
 	select SYS_FSL_DDR_BE
@@ -36,7 +36,7 @@ endchoice
 
 config FSL_LBC
 	def_bool y
-	depends on (MPC85xx || MPC83XX) && !FSL_IFC
+	depends on (MPC85XX || MPC83XX) && !FSL_IFC
 
 config HIGH_BATS
 	bool "Enable high BAT registers"
@@ -46,7 +46,7 @@ config HIGH_BATS
 
 config SYS_INIT_RAM_LOCK
 	bool "Lock some portion of L1 for initial ram stack"
-	depends on MPC83XX || MPC85xx
+	depends on MPC83XX || MPC85XX
 
 config SYS_SRIO
 	bool "Serial RapidIO support"
arch/powerpc/Makefile +1 -1
index 5050f387a6e..e7baacf4b01 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0+
 
 head-y := arch/powerpc/cpu/$(CPU)/start.o
-head-$(CONFIG_MPC85xx) += arch/powerpc/cpu/mpc85xx/resetvec.o
+head-$(CONFIG_MPC85XX) += arch/powerpc/cpu/mpc85xx/resetvec.o
 
 libs-y += arch/powerpc/cpu/$(CPU)/
 libs-y += arch/powerpc/cpu/
arch/powerpc/cpu/Makefile +1 -1
index c56f0d78b2d..914f95ca674 100644
@@ -1,5 +1,5 @@
 # SPDX-License-Identifier: GPL-2.0+
 
 obj-$(CONFIG_MPC83XX) += mpc8xxx/
-obj-$(CONFIG_MPC85xx) += mpc8xxx/
+obj-$(CONFIG_MPC85XX) += mpc8xxx/
 obj-$(CONFIG_MPC86xx) += mpc8xxx/
arch/powerpc/cpu/mpc83xx/cpu.c +1 -1
index 5e58023bfa8..27e3437fd8e 100644
@@ -6,7 +6,7 @@
 /*
  * CPU specific code for the MPC83XX family.
  *
- * Derived from the MPC8260 and MPC85xx.
+ * Derived from the MPC8260 and MPC85XX.
  */
 
 #include <common.h>
arch/powerpc/cpu/mpc85xx/Kconfig +8 -8
index e813bf094d1..a31d5f94fd8 100644
@@ -1,5 +1,5 @@
 menu "mpc85xx CPU"
-	depends on MPC85xx
+	depends on MPC85XX
 
 config PPC_SPINTABLE_COMPATIBLE
 	depends on MP
@@ -19,7 +19,7 @@ config SYS_CPU
 
 config CMD_ERRATA
 	bool "Enable the 'errata' command"
-	depends on MPC85xx
+	depends on MPC85XX
 	default y
 	help
 	  This enables the 'errata' command which displays a list of errata
@@ -27,7 +27,7 @@ config CMD_ERRATA
 
 config FSL_PREPBL_ESDHC_BOOT_SECTOR
 	bool "Generate QorIQ pre-PBL eSDHC boot sector"
-	depends on MPC85xx
+	depends on MPC85XX
 	depends on SDCARD
 	help
 	  With this option final image would have prepended QorIQ pre-PBL eSDHC
@@ -943,7 +943,7 @@ config ARCH_T4240
 
 config MPC85XX_HAVE_RESET_VECTOR
 	bool "Indicate reset vector at CFG_RESET_VECTOR_ADDRESS - 0xffc"
-	depends on MPC85xx
+	depends on MPC85XX
 
 config BTB
 	bool "toggle branch predition"
@@ -986,7 +986,7 @@ config HETROGENOUS_CLUSTERS
 	bool
 
 config MAX_CPUS
-	int "Maximum number of CPUs permitted for MPC85xx"
+	int "Maximum number of CPUs permitted for MPC85XX"
 	default 12 if ARCH_T4240
 	default 8 if ARCH_P4080
 	default 4 if ARCH_B4860 || \
@@ -1506,14 +1506,14 @@ config SYS_FSL_USB_DUAL_PHY_ENABLE
 
 config SYS_MPC85XX_NO_RESETVEC
 	bool "Discard resetvec section and move bootpg section up"
-	depends on MPC85xx && !MPC85XX_HAVE_RESET_VECTOR
+	depends on MPC85XX && !MPC85XX_HAVE_RESET_VECTOR
 	help
 	  If this variable is specified, the section .resetvec is not kept and
 	  the section .bootpg is placed in the previous 4k of the .text section.
 
 config SPL_SYS_MPC85XX_NO_RESETVEC
 	bool "Discard resetvec section and move bootpg section up, in SPL"
-	depends on MPC85xx && SPL && !MPC85XX_HAVE_RESET_VECTOR
+	depends on MPC85XX && SPL && !MPC85XX_HAVE_RESET_VECTOR
 	help
 	  If this variable is specified, the section .resetvec is not kept and
 	  the section .bootpg is placed in the previous 4k of the .text section,
@@ -1521,7 +1521,7 @@ config SPL_SYS_MPC85XX_NO_RESETVEC
 
 config TPL_SYS_MPC85XX_NO_RESETVEC
 	bool "Discard resetvec section and move bootpg section up, in TPL"
-	depends on MPC85xx && TPL && !MPC85XX_HAVE_RESET_VECTOR
+	depends on MPC85XX && TPL && !MPC85XX_HAVE_RESET_VECTOR
 	help
 	  If this variable is specified, the section .resetvec is not kept and
 	  the section .bootpg is placed in the previous 4k of the .text section,
arch/powerpc/cpu/mpc85xx/bsc9132_serdes.c +3 -3
index 79213348274..de6afaa2a6a 100644
@@ -76,10 +76,10 @@ int is_serdes_configured(enum srds_prtcl prtcl)
 
 void fsl_serdes_init(void)
 {
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u32 pordevsr = in_be32(&gur->pordevsr);
-	u32 srds_cfg = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >>
-				MPC85xx_PORDEVSR_IO_SEL_SHIFT;
+	u32 srds_cfg = (pordevsr & MPC85XX_PORDEVSR_IO_SEL) >>
+				MPC85XX_PORDEVSR_IO_SEL_SHIFT;
 	int lane;
 
 	if (serdes1_prtcl_map & (1 << NONE))
arch/powerpc/cpu/mpc85xx/c29x_serdes.c +3 -3
index e53dd43f31f..f7b462f6e6f 100644
@@ -40,10 +40,10 @@ int is_serdes_configured(enum srds_prtcl device)
 
 void fsl_serdes_init(void)
 {
-	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85xx_GUTS_ADDR;
+	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85XX_GUTS_ADDR;
 	u32 pordevsr = in_be32(&gur->pordevsr);
-	u32 srds_cfg = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >>
-				MPC85xx_PORDEVSR_IO_SEL_SHIFT;
+	u32 srds_cfg = (pordevsr & MPC85XX_PORDEVSR_IO_SEL) >>
+				MPC85XX_PORDEVSR_IO_SEL_SHIFT;
 	const struct serdes_config *ptr;
 	int lane;
 
arch/powerpc/cpu/mpc85xx/cpu.c +5 -5
index e8a3e82765f..9f9742f3aad 100644
@@ -59,7 +59,7 @@ int checkcpu (void)
 #if defined(CONFIG_DYNAMIC_DDR_CLK_FREQ) || \
 	defined(CONFIG_STATIC_DDR_CLK_FREQ) || defined(CONFIG_FSL_CORENET)
 	ccsr_gur_t __iomem *gur =
-		(void __iomem *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+		(void __iomem *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 #endif
 
 	/*
@@ -76,8 +76,8 @@ int checkcpu (void)
 #endif /* CONFIG_SYS_FSL_QORIQ_CHASSIS2 */
 #else	/* CONFIG_FSL_CORENET */
 #if defined(CONFIG_DYNAMIC_DDR_CLK_FREQ) || defined(CONFIG_STATIC_DDR_CLK_FREQ)
-	u32 ddr_ratio = ((gur->porpllsr) & MPC85xx_PORPLLSR_DDR_RATIO)
-		>> MPC85xx_PORPLLSR_DDR_RATIO_SHIFT;
+	u32 ddr_ratio = ((gur->porpllsr) & MPC85XX_PORPLLSR_DDR_RATIO)
+		>> MPC85XX_PORPLLSR_DDR_RATIO_SHIFT;
 #else
 	u32 ddr_ratio = 0;
 #endif /* CONFIG_DYNAMIC_DDR_CLK_FREQ || CONFIG_STATIC_DDR_CLK_FREQ */
@@ -319,7 +319,7 @@ int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 	val |= 0x70000000;
 	mtspr(DBCR0,val);
 #else
-	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 
 	/* Call board-specific preparation for reset */
 	board_reset_prepare();
@@ -436,7 +436,7 @@ int dram_init(void)
 
 #if defined(CONFIG_SYS_FSL_ERRATUM_DDR_MSYNC_IN)
 	{
-		ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+		ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 		unsigned int x = 10;
 		unsigned int i;
 
arch/powerpc/cpu/mpc85xx/cpu_init.c +17 -17
index 96183ac2c84..5e3e5a7b526 100644
@@ -313,7 +313,7 @@ static void corenet_tb_init(void)
 #ifdef CONFIG_SYS_FSL_ERRATUM_A007212
 void fsl_erratum_a007212_workaround(void)
 {
-	ccsr_gur_t __iomem *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t __iomem *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u32 ddr_pll_ratio;
 	u32 __iomem *plldgdcr1 = (void *)(CFG_SYS_DCSRBAR + 0x21c20);
 	u32 __iomem *plldadcr1 = (void *)(CFG_SYS_DCSRBAR + 0x21c28);
@@ -379,13 +379,13 @@ ulong cpu_init_f(void)
 {
 	extern void m8560_cpm_reset (void);
 #ifdef CFG_SYS_DCSRBAR_PHYS
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 #endif
 #if defined(CONFIG_NXP_ESBC) && !defined(CONFIG_SYS_RAMBOOT)
 	struct law_entry law;
 #endif
 #ifdef CONFIG_ARCH_MPC8548
-	ccsr_local_ecm_t *ecm = (void *)(CFG_SYS_MPC85xx_ECM_ADDR);
+	ccsr_local_ecm_t *ecm = (void *)(CFG_SYS_MPC85XX_ECM_ADDR);
 	uint svr = get_svr();
 
 	/*
@@ -455,7 +455,7 @@ int enable_cluster_l2(void)
 {
 	int i = 0;
 	u32 cluster, svr = get_svr();
-	ccsr_gur_t *gur = (void __iomem *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void __iomem *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	struct ccsr_cluster_l2 __iomem *l2cache;
 
 	/* only the L2 of first cluster should be enabled as expected on T4080,
@@ -516,7 +516,7 @@ int l2cache_init(void)
 {
 	__maybe_unused u32 svr = get_svr();
 #ifdef CONFIG_L2_CACHE
-	ccsr_l2cache_t *l2cache = (void __iomem *)CFG_SYS_MPC85xx_L2_ADDR;
+	ccsr_l2cache_t *l2cache = (void __iomem *)CFG_SYS_MPC85XX_L2_ADDR;
 #elif defined(CONFIG_SYS_FSL_QORIQ_CHASSIS2) && defined(CONFIG_E6500)
 	struct ccsr_cluster_l2 * l2cache = (void __iomem *)CFG_SYS_FSL_CLUSTER_1_L2;
 #endif
@@ -534,20 +534,20 @@ int l2cache_init(void)
 	cache_ctl = l2cache->l2ctl;
 
 #if defined(CONFIG_SYS_RAMBOOT) && defined(CFG_SYS_INIT_L2_ADDR)
-	if (cache_ctl & MPC85xx_L2CTL_L2E) {
+	if (cache_ctl & MPC85XX_L2CTL_L2E) {
 		/* Clear L2 SRAM memory-mapped base address */
 		out_be32(&l2cache->l2srbar0, 0x0);
 		out_be32(&l2cache->l2srbar1, 0x0);
 
 		/* set MBECCDIS=0, SBECCDIS=0 */
 		clrbits_be32(&l2cache->l2errdis,
-				(MPC85xx_L2ERRDIS_MBECC |
-				 MPC85xx_L2ERRDIS_SBECC));
+				(MPC85XX_L2ERRDIS_MBECC |
+				 MPC85XX_L2ERRDIS_SBECC));
 
 		/* set L2E=0, L2SRAM=0 */
 		clrbits_be32(&l2cache->l2ctl,
-				(MPC85xx_L2CTL_L2E |
-				 MPC85xx_L2CTL_L2SRAM_ENTIRE));
+				(MPC85XX_L2CTL_L2E |
+				 MPC85XX_L2CTL_L2SRAM_ENTIRE));
 	}
 #endif
 
@@ -588,11 +588,11 @@ int l2cache_init(void)
 		break;
 	}
 
-	if (l2cache->l2ctl & MPC85xx_L2CTL_L2E) {
+	if (l2cache->l2ctl & MPC85XX_L2CTL_L2E) {
 		puts("already enabled");
 #if defined(CFG_SYS_INIT_L2_ADDR) && defined(CFG_SYS_FLASH_BASE)
 		u32 l2srbar = l2cache->l2srbar0;
-		if (l2cache->l2ctl & MPC85xx_L2CTL_L2SRAM_ENTIRE
+		if (l2cache->l2ctl & MPC85XX_L2CTL_L2SRAM_ENTIRE
 				&& l2srbar >= CFG_SYS_FLASH_BASE) {
 			l2srbar = CFG_SYS_INIT_L2_ADDR;
 			l2cache->l2srbar0 = l2srbar;
@@ -821,7 +821,7 @@ int cpu_init_r(void)
 #ifdef CONFIG_SYS_FSL_USB1_PHY_ENABLE
 	{
 		struct ccsr_usb_phy __iomem *usb_phy1 =
-			(void *)CFG_SYS_MPC85xx_USB1_PHY_ADDR;
+			(void *)CFG_SYS_MPC85XX_USB1_PHY_ADDR;
 #ifdef CONFIG_SYS_FSL_ERRATUM_A006261
 		if (has_erratum_a006261())
 			fsl_erratum_a006261_workaround(usb_phy1);
@@ -833,7 +833,7 @@ int cpu_init_r(void)
 #ifdef CONFIG_SYS_FSL_USB2_PHY_ENABLE
 	{
 		struct ccsr_usb_phy __iomem *usb_phy2 =
-			(void *)CFG_SYS_MPC85xx_USB2_PHY_ADDR;
+			(void *)CFG_SYS_MPC85XX_USB2_PHY_ADDR;
 #ifdef CONFIG_SYS_FSL_ERRATUM_A006261
 		if (has_erratum_a006261())
 			fsl_erratum_a006261_workaround(usb_phy2);
@@ -859,7 +859,7 @@ int cpu_init_r(void)
 
 #if defined(CONFIG_SYS_FSL_USB_DUAL_PHY_ENABLE)
 		struct ccsr_usb_phy __iomem *usb_phy =
-			(void *)CFG_SYS_MPC85xx_USB1_PHY_ADDR;
+			(void *)CFG_SYS_MPC85XX_USB1_PHY_ADDR;
 		setbits_be32(&usb_phy->pllprg[1],
 			     CFG_SYS_FSL_USB_PLLPRG2_PHY2_CLK_EN |
 			     CFG_SYS_FSL_USB_PLLPRG2_PHY1_CLK_EN |
@@ -928,11 +928,11 @@ int cpu_init_r(void)
 		fsl_sata_reg_t *reg;
 
 		/* first SATA controller */
-		reg = (void *)CFG_SYS_MPC85xx_SATA1_ADDR;
+		reg = (void *)CFG_SYS_MPC85XX_SATA1_ADDR;
 		clrbits_le32(&reg->hcontrol, HCONTROL_ENTERPRISE_EN);
 
 		/* second SATA controller */
-		reg = (void *)CFG_SYS_MPC85xx_SATA2_ADDR;
+		reg = (void *)CFG_SYS_MPC85XX_SATA2_ADDR;
 		clrbits_le32(&reg->hcontrol, HCONTROL_ENTERPRISE_EN);
 	}
 #endif
arch/powerpc/cpu/mpc85xx/cpu_init_early.c +7 -7
index a67f37e3af9..de9dc2e77ea 100644
@@ -85,10 +85,10 @@ void cpu_init_early_f(void *fdt)
 {
 	u32 mas0, mas1, mas2, mas3, mas7;
 #ifdef CONFIG_SYS_FSL_ERRATUM_P1010_A003549
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 #endif
 #ifdef CONFIG_A003399_NOR_WORKAROUND
-	ccsr_l2cache_t *l2cache = (void *)CFG_SYS_MPC85xx_L2_ADDR;
+	ccsr_l2cache_t *l2cache = (void *)CFG_SYS_MPC85XX_L2_ADDR;
 	u32  *dst, *src;
 	void (*setup_ifc_sram)(void);
 	int i;
@@ -121,7 +121,7 @@ void cpu_init_early_f(void *fdt)
  * Hence specifically selecting CS3.
  */
 #ifdef CONFIG_SYS_FSL_ERRATUM_P1010_A003549
-	setbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_LCLK_IFC_CS3);
+	setbits_be32(&gur->pmuxcr, MPC85XX_PMUXCR_LCLK_IFC_CS3);
 #endif
 
 #ifdef CONFIG_FSL_LAW
@@ -147,10 +147,10 @@ void cpu_init_early_f(void *fdt)
 	out_be32(&l2cache->l2srbar0, SRAM_BASE_ADDR);
 
 	out_be32(&l2cache->l2errdis,
-		(MPC85xx_L2ERRDIS_MBECC | MPC85xx_L2ERRDIS_SBECC));
+		(MPC85XX_L2ERRDIS_MBECC | MPC85XX_L2ERRDIS_SBECC));
 
 	out_be32(&l2cache->l2ctl,
-		(MPC85xx_L2CTL_L2E | MPC85xx_L2CTL_L2SRAM_ENTIRE));
+		(MPC85XX_L2CTL_L2E | MPC85XX_L2CTL_L2SRAM_ENTIRE));
 
 	/*
 	 * Copy the code in setup_ifc to L2SRAM. Do a word copy
@@ -170,8 +170,8 @@ void cpu_init_early_f(void *fdt)
 
 	/* CLEANUP */
 	clrbits_be32(&l2cache->l2ctl,
-			(MPC85xx_L2CTL_L2E |
-			 MPC85xx_L2CTL_L2SRAM_ENTIRE));
+			(MPC85XX_L2CTL_L2E |
+			 MPC85XX_L2CTL_L2SRAM_ENTIRE));
 	out_be32(&l2cache->l2srbar0, 0x0);
 #endif
 
arch/powerpc/cpu/mpc85xx/fdt.c +3 -3
index e26436bf570..6bc5afe1126 100644
@@ -220,7 +220,7 @@ static inline void ft_fixup_l2cache_compatible(void *blob, int off)
 /* return size in kilobytes */
 static inline u32 l2cache_size(void)
 {
-	volatile ccsr_l2cache_t *l2cache = (void *)CFG_SYS_MPC85xx_L2_ADDR;
+	volatile ccsr_l2cache_t *l2cache = (void *)CFG_SYS_MPC85XX_L2_ADDR;
 	volatile u32 l2siz_field = (l2cache->l2ctl >> 28) & 0x3;
 	u32 ver = SVR_SOC_VER(get_svr());
 
@@ -507,7 +507,7 @@ static void ft_fixup_qe_snum(void *blob)
 #if defined(CONFIG_ARCH_P4080)
 static void fdt_fixup_usb(void *fdt)
 {
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u32 rcwsr11 = in_be32(&gur->rcwsr[11]);
 	int off;
 
@@ -530,7 +530,7 @@ void fdt_fixup_dma3(void *blob)
 {
 	/* the 3rd DMA is not functional if SRIO2 is chosen */
 	int nodeoff;
-	ccsr_gur_t __iomem *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t __iomem *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 
 #define CFG_SYS_ELO3_DMA3 (0xffe000000 + 0x102300)
 #if defined(CONFIG_ARCH_T2080)
arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c +2 -2
index 9b6577e547e..0862a1c51fe 100644
@@ -122,7 +122,7 @@ int is_serdes_configured(enum srds_prtcl device)
 
 int serdes_get_first_lane(u32 sd, enum srds_prtcl device)
 {
-	const ccsr_gur_t *gur = (void __iomem *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	const ccsr_gur_t *gur = (void __iomem *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u32 cfg = in_be32(&gur->rcwsr[4]);
 	int i;
 
@@ -193,7 +193,7 @@ int serdes_get_first_lane(u32 sd, enum srds_prtcl device)
 void serdes_init(u32 sd, u32 sd_addr, u32 sd_prctl_mask, u32 sd_prctl_shift,
 		u8 serdes_prtcl_map[SERDES_PRCTL_COUNT])
 {
-	ccsr_gur_t *gur = (void __iomem *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void __iomem *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u32 cfg;
 	int lane;
 
arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c +5 -5
index 7c2de02c4c5..95f2515390f 100644
@@ -108,7 +108,7 @@ int serdes_get_bank_by_lane(int lane)
 
 int serdes_lane_enabled(int lane)
 {
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	serdes_corenet_t *regs = (void *)CFG_SYS_FSL_CORENET_SERDES_ADDR;
 
 	int bank = lanes[lane].bank;
@@ -133,7 +133,7 @@ int serdes_lane_enabled(int lane)
 
 int is_serdes_configured(enum srds_prtcl device)
 {
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 
 	/* Is serdes enabled at all? */
 	if (!(in_be32(&gur->rcwsr[5]) & FSL_CORENET_RCWSR5_SRDS_EN))
@@ -169,7 +169,7 @@ int serdes_get_first_lane(enum srds_prtcl device)
 	u32 prtcl;
 	const ccsr_gur_t *gur;
 
-	gur = (typeof(gur))CFG_SYS_MPC85xx_GUTS_ADDR;
+	gur = (typeof(gur))CFG_SYS_MPC85XX_GUTS_ADDR;
 
 	/* Is serdes enabled at all? */
 	if (unlikely((in_be32(&gur->rcwsr[5]) & 0x2000) == 0))
@@ -251,7 +251,7 @@ void serdes_reset_rx(enum srds_prtcl device)
 	if (unlikely(device == NONE))
 		return;
 
-	gur = (typeof(gur))CFG_SYS_MPC85xx_GUTS_ADDR;
+	gur = (typeof(gur))CFG_SYS_MPC85XX_GUTS_ADDR;
 
 	/* Is serdes enabled at all? */
 	if (unlikely((in_be32(&gur->rcwsr[5]) & 0x2000) == 0))
@@ -491,7 +491,7 @@ void soc_serdes_init(void) __attribute__((weak, alias("__soc_serdes_init")));
 
 void fsl_serdes_init(void)
 {
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	int cfg;
 	serdes_corenet_t *srds_regs;
 #ifdef CONFIG_ARCH_P5040
arch/powerpc/cpu/mpc85xx/interrupts.c +4 -4
index bcbdfac0279..0fe83e80024 100644
@@ -6,7 +6,7 @@
  * (C) Copyright 2002 (440 port)
  * Scott McNutt, Artesyn Communication Producs, [email protected]
  *
- * (C) Copyright 2003 Motorola Inc. (MPC85xx port)
+ * (C) Copyright 2003 Motorola Inc. (MPC85XX port)
  * Xianghua Xiao ([email protected])
  */
 
@@ -36,10 +36,10 @@ void interrupt_init_cpu(unsigned *decrementer_count)
 	ulong post_word = post_word_load();
 #endif
 
-	out_be32(&pic->gcr, MPC85xx_PICGCR_RST);
-	while (in_be32(&pic->gcr) & MPC85xx_PICGCR_RST)
+	out_be32(&pic->gcr, MPC85XX_PICGCR_RST);
+	while (in_be32(&pic->gcr) & MPC85XX_PICGCR_RST)
 		;
-	out_be32(&pic->gcr, MPC85xx_PICGCR_M);
+	out_be32(&pic->gcr, MPC85XX_PICGCR_M);
 	in_be32(&pic->gcr);
 
 	*decrementer_count = get_tbclk() / CONFIG_SYS_HZ;
arch/powerpc/cpu/mpc85xx/mp.c +16 -16
index 7c47e415f05..3f159cc9d69 100644
@@ -87,7 +87,7 @@ int cpu_status(u32 nr)
 #ifdef CONFIG_FSL_CORENET
 int cpu_disable(u32 nr)
 {
-	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 
 	setbits_be32(&gur->coredisrl, 1 << nr);
 
@@ -95,7 +95,7 @@ int cpu_disable(u32 nr)
 }
 
 int is_core_disabled(int nr) {
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u32 coredisrl = in_be32(&gur->coredisrl);
 
 	return (coredisrl & (1 << nr));
@@ -103,14 +103,14 @@ int is_core_disabled(int nr) {
 #else
 int cpu_disable(u32 nr)
 {
-	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 
 	switch (nr) {
 	case 0:
-		setbits_be32(&gur->devdisr, MPC85xx_DEVDISR_CPU0);
+		setbits_be32(&gur->devdisr, MPC85XX_DEVDISR_CPU0);
 		break;
 	case 1:
-		setbits_be32(&gur->devdisr, MPC85xx_DEVDISR_CPU1);
+		setbits_be32(&gur->devdisr, MPC85XX_DEVDISR_CPU1);
 		break;
 	default:
 		printf("Invalid cpu number for disable %d\n", nr);
@@ -121,14 +121,14 @@ int cpu_disable(u32 nr)
 }
 
 int is_core_disabled(int nr) {
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u32 devdisr = in_be32(&gur->devdisr);
 
 	switch (nr) {
 	case 0:
-		return (devdisr & MPC85xx_DEVDISR_CPU0);
+		return (devdisr & MPC85XX_DEVDISR_CPU0);
 	case 1:
-		return (devdisr & MPC85xx_DEVDISR_CPU1);
+		return (devdisr & MPC85XX_DEVDISR_CPU1);
 	default:
 		printf("Invalid cpu number for disable %d\n", nr);
 	}
@@ -264,7 +264,7 @@ static void plat_mp_up(unsigned long bootpg, unsigned int pagesize)
 	u32 mask = cpu_mask();
 	struct law_entry e;
 
-	gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	ccm = (void *)(CFG_SYS_FSL_CORENET_CCM_ADDR);
 	rcpm = (void *)(CFG_SYS_FSL_CORENET_RCPM_ADDR);
 	pic = (void *)(CFG_SYS_MPC8xxx_PIC_ADDR);
@@ -336,8 +336,8 @@ static void plat_mp_up(unsigned long bootpg, unsigned int pagesize)
 	u32 up, cpu_up_mask, whoami;
 	u32 *table = (u32 *)&__spin_table;
 	volatile u32 bpcr;
-	volatile ccsr_local_ecm_t *ecm = (void *)(CFG_SYS_MPC85xx_ECM_ADDR);
-	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	volatile ccsr_local_ecm_t *ecm = (void *)(CFG_SYS_MPC85XX_ECM_ADDR);
+	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	volatile ccsr_pic_t *pic = (void *)(CFG_SYS_MPC8xxx_PIC_ADDR);
 	u32 devdisr;
 	int timeout = 10;
@@ -348,9 +348,9 @@ static void plat_mp_up(unsigned long bootpg, unsigned int pagesize)
 	/* disable time base at the platform */
 	devdisr = in_be32(&gur->devdisr);
 	if (whoami)
-		devdisr |= MPC85xx_DEVDISR_TB0;
+		devdisr |= MPC85XX_DEVDISR_TB0;
 	else
-		devdisr |= MPC85xx_DEVDISR_TB1;
+		devdisr |= MPC85XX_DEVDISR_TB1;
 	out_be32(&gur->devdisr, devdisr);
 
 	/* release the hounds */
@@ -382,9 +382,9 @@ static void plat_mp_up(unsigned long bootpg, unsigned int pagesize)
 
 	/* enable time base at the platform */
 	if (whoami)
-		devdisr |= MPC85xx_DEVDISR_TB1;
+		devdisr |= MPC85XX_DEVDISR_TB1;
 	else
-		devdisr |= MPC85xx_DEVDISR_TB0;
+		devdisr |= MPC85XX_DEVDISR_TB0;
 	out_be32(&gur->devdisr, devdisr);
 
 	/* readback to sync write */
@@ -393,7 +393,7 @@ static void plat_mp_up(unsigned long bootpg, unsigned int pagesize)
 	mtspr(SPRN_TBWU, 0);
 	mtspr(SPRN_TBWL, 0);
 
-	devdisr &= ~(MPC85xx_DEVDISR_TB0 | MPC85xx_DEVDISR_TB1);
+	devdisr &= ~(MPC85XX_DEVDISR_TB0 | MPC85XX_DEVDISR_TB1);
 	out_be32(&gur->devdisr, devdisr);
 
 #ifdef CONFIG_MPC8xxx_DISABLE_BPTR
arch/powerpc/cpu/mpc85xx/mpc8536_serdes.c +4 -4
index cbcb57fe3a5..2c45872f075 100644
@@ -89,8 +89,8 @@ int is_serdes_configured(enum srds_prtcl device)
 
 void fsl_serdes_init(void)
 {
-	void *guts = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
-	void *sd = (void *)CFG_SYS_MPC85xx_SERDES2_ADDR;
+	void *guts = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
+	void *sd = (void *)CFG_SYS_MPC85XX_SERDES2_ADDR;
 	u32 pordevsr = in_be32(guts + GUTS_PORDEVSR_OFFS);
 	u32 srds1_io_sel, srds2_io_sel;
 	u32 tmp;
@@ -100,8 +100,8 @@ void fsl_serdes_init(void)
 	    serdes2_prtcl_map & (1 << NONE))
 		return;
 
-	srds1_io_sel = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >>
-				MPC85xx_PORDEVSR_IO_SEL_SHIFT;
+	srds1_io_sel = (pordevsr & MPC85XX_PORDEVSR_IO_SEL) >>
+				MPC85XX_PORDEVSR_IO_SEL_SHIFT;
 
 	/* parse the SRDS2_IO_SEL of PORDEVSR */
 	srds2_io_sel = (pordevsr & GUTS_PORDEVSR_SERDES2_IO_SEL)
arch/powerpc/cpu/mpc85xx/mpc8544_serdes.c +5 -5
index a48f3c15128..21128ccdbeb 100644
@@ -52,10 +52,10 @@ int is_serdes_configured(enum srds_prtcl device)
 
 void fsl_serdes_init(void)
 {
-	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85xx_GUTS_ADDR;
+	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85XX_GUTS_ADDR;
 	u32 pordevsr = in_be32(&gur->pordevsr);
-	u32 srds_cfg = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >>
-				MPC85xx_PORDEVSR_IO_SEL_SHIFT;
+	u32 srds_cfg = (pordevsr & MPC85XX_PORDEVSR_IO_SEL) >>
+				MPC85XX_PORDEVSR_IO_SEL_SHIFT;
 	int lane;
 
 	if (serdes1_prtcl_map & (1 << NONE) &&
@@ -86,10 +86,10 @@ void fsl_serdes_init(void)
 		serdes2_prtcl_map |= (1 << lane_prtcl);
 	}
 
-	if (pordevsr & MPC85xx_PORDEVSR_SGMII1_DIS)
+	if (pordevsr & MPC85XX_PORDEVSR_SGMII1_DIS)
 		serdes2_prtcl_map &= ~(1 << SGMII_TSEC1);
 
-	if (pordevsr & MPC85xx_PORDEVSR_SGMII3_DIS)
+	if (pordevsr & MPC85XX_PORDEVSR_SGMII3_DIS)
 		serdes2_prtcl_map &= ~(1 << SGMII_TSEC3);
 
 	/* Set the first bit to indicate serdes has been initialized */
arch/powerpc/cpu/mpc85xx/mpc8548_serdes.c +3 -3
index 479ee085d3a..950ca9f957e 100644
@@ -32,10 +32,10 @@ int is_serdes_configured(enum srds_prtcl prtcl)
 
 void fsl_serdes_init(void)
 {
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u32 pordevsr = in_be32(&gur->pordevsr);
-	u32 srds1_cfg = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >>
-				MPC85xx_PORDEVSR_IO_SEL_SHIFT;
+	u32 srds1_cfg = (pordevsr & MPC85XX_PORDEVSR_IO_SEL) >>
+				MPC85XX_PORDEVSR_IO_SEL_SHIFT;
 	int lane;
 
 	if (serdes1_prtcl_map & (1 << NONE))
arch/powerpc/cpu/mpc85xx/p1010_serdes.c +3 -3
index 56e5ef6468c..51a57a52523 100644
@@ -51,10 +51,10 @@ int is_serdes_configured(enum srds_prtcl device)
 
 void fsl_serdes_init(void)
 {
-	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85xx_GUTS_ADDR;
+	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85XX_GUTS_ADDR;
 	u32 pordevsr = in_be32(&gur->pordevsr);
-	u32 srds_cfg = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >>
-				MPC85xx_PORDEVSR_IO_SEL_SHIFT;
+	u32 srds_cfg = (pordevsr & MPC85XX_PORDEVSR_IO_SEL) >>
+				MPC85XX_PORDEVSR_IO_SEL_SHIFT;
 	int lane;
 
 	if (serdes1_prtcl_map & (1 << NONE) &&
arch/powerpc/cpu/mpc85xx/p1021_serdes.c +4 -4
index 47f13e3c1cd..6dce81afa05 100644
@@ -50,12 +50,12 @@ int is_serdes_configured(enum srds_prtcl prtcl)
 
 void fsl_serdes_init(void)
 {
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
-	serdes_85xx_t *serdes = (void *)CFG_SYS_MPC85xx_SERDES1_ADDR;
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
+	serdes_85xx_t *serdes = (void *)CFG_SYS_MPC85XX_SERDES1_ADDR;
 
 	u32 pordevsr = in_be32(&gur->pordevsr);
-	u32 srds_cfg = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >>
-				MPC85xx_PORDEVSR_IO_SEL_SHIFT;
+	u32 srds_cfg = (pordevsr & MPC85XX_PORDEVSR_IO_SEL) >>
+				MPC85XX_PORDEVSR_IO_SEL_SHIFT;
 	int lane;
 	u32 mask, val;
 
arch/powerpc/cpu/mpc85xx/p1023_serdes.c +3 -3
index 7a8f653727e..191573f79d6 100644
@@ -35,10 +35,10 @@ int is_serdes_configured(enum srds_prtcl device)
 
 void fsl_serdes_init(void)
 {
-	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85xx_GUTS_ADDR;
+	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85XX_GUTS_ADDR;
 	u32 pordevsr = in_be32(&gur->pordevsr);
-	u32 srds_cfg = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >>
-				MPC85xx_PORDEVSR_IO_SEL_SHIFT;
+	u32 srds_cfg = (pordevsr & MPC85XX_PORDEVSR_IO_SEL) >>
+				MPC85XX_PORDEVSR_IO_SEL_SHIFT;
 	int lane;
 
 	if (serdes1_prtcl_map & (1 << NONE))
arch/powerpc/cpu/mpc85xx/p2020_serdes.c +3 -3
index 8c5d82ae8ad..dfaa4850e6d 100644
@@ -40,10 +40,10 @@ int is_serdes_configured(enum srds_prtcl prtcl)
 
 void fsl_serdes_init(void)
 {
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u32 pordevsr = in_be32(&gur->pordevsr);
-	u32 srds_cfg = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >>
-				MPC85xx_PORDEVSR_IO_SEL_SHIFT;
+	u32 srds_cfg = (pordevsr & MPC85XX_PORDEVSR_IO_SEL) >>
+				MPC85XX_PORDEVSR_IO_SEL_SHIFT;
 	int lane;
 
 	if (serdes1_prtcl_map & (1 << NONE))
arch/powerpc/cpu/mpc85xx/qe_io.c +1 -1
index 3cf41ca76d5..3fb80441d99 100644
@@ -20,7 +20,7 @@ void qe_config_iopin(u8 port, u8 pin, int dir, int open_drain, int assign)
 	u32			pin_2bit_assign;
 	u32			pin_1bit_mask;
 	u32			tmp_val;
-	volatile ccsr_gur_t	*gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	volatile ccsr_gur_t	*gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	volatile par_io_t	*par_io = (volatile par_io_t *)
 						&(gur->qe_par_io);
 
arch/powerpc/cpu/mpc85xx/speed.c +7 -7
index 9af40310b46..eb1ff3dbc10 100644
@@ -24,7 +24,7 @@ DECLARE_GLOBAL_DATA_PTR;
 
 void get_sys_info(sys_info_t *sys_info)
 {
-	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 #ifdef CONFIG_FSL_CORENET
 	volatile ccsr_clk_t *clk = (void *)(CFG_SYS_FSL_CORENET_CLK_ADDR);
 	unsigned int cpu;
@@ -537,8 +537,8 @@ void get_sys_info(sys_info_t *sys_info)
 
 #if defined(CONFIG_DYNAMIC_DDR_CLK_FREQ) || defined(CONFIG_STATIC_DDR_CLK_FREQ)
 	{
-		u32 ddr_ratio = ((gur->porpllsr) & MPC85xx_PORPLLSR_DDR_RATIO)
-			>> MPC85xx_PORPLLSR_DDR_RATIO_SHIFT;
+		u32 ddr_ratio = ((gur->porpllsr) & MPC85XX_PORPLLSR_DDR_RATIO)
+			>> MPC85XX_PORPLLSR_DDR_RATIO_SHIFT;
 		if (ddr_ratio != 0x7)
 			sys_info->freq_ddrbus = ddr_ratio * get_board_ddr_clk();
 	}
@@ -548,8 +548,8 @@ void get_sys_info(sys_info_t *sys_info)
 #if defined(CONFIG_ARCH_P1021) || defined(CONFIG_ARCH_P1025)
 	sys_info->freq_qe =  sys_info->freq_systembus;
 #else
-	qe_ratio = ((gur->porpllsr) & MPC85xx_PORPLLSR_QE_RATIO)
-			>> MPC85xx_PORPLLSR_QE_RATIO_SHIFT;
+	qe_ratio = ((gur->porpllsr) & MPC85XX_PORPLLSR_QE_RATIO)
+			>> MPC85XX_PORPLLSR_QE_RATIO_SHIFT;
 	sys_info->freq_qe = qe_ratio * get_board_sys_clk();
 #endif
 #endif
@@ -575,7 +575,7 @@ int get_clocks(void)
 {
 	sys_info_t sys_info;
 #ifdef CONFIG_ARCH_MPC8544
-	volatile ccsr_gur_t *gur = (void *) CFG_SYS_MPC85xx_GUTS_ADDR;
+	volatile ccsr_gur_t *gur = (void *) CFG_SYS_MPC85XX_GUTS_ADDR;
 #endif
 	get_sys_info (&sys_info);
 	gd->cpu_clk = sys_info.freq_processor[0];
@@ -604,7 +604,7 @@ int get_clocks(void)
 	 * 85xx, but only the 8544 has cfg_sec_freq, so it's unknown if the
 	 * PORDEVSR2_SEC_CFG bit is 0 on all 85xx boards that are not an 8544.
 	 */
-	if (gur->pordevsr2 & MPC85xx_PORDEVSR2_SEC_CFG)
+	if (gur->pordevsr2 & MPC85XX_PORDEVSR2_SEC_CFG)
 		gd->arch.i2c1_clk = sys_info.freq_systembus / 3;
 	else
 		gd->arch.i2c1_clk = sys_info.freq_systembus / 2;
arch/powerpc/cpu/mpc85xx/spl_minimal.c +3 -3
index ce2b9c21667..8bf0350bdb6 100644
@@ -15,17 +15,17 @@ DECLARE_GLOBAL_DATA_PTR;
 ulong cpu_init_f(void)
 {
 #ifdef CFG_SYS_INIT_L2_ADDR
-	ccsr_l2cache_t *l2cache = (void *)CFG_SYS_MPC85xx_L2_ADDR;
+	ccsr_l2cache_t *l2cache = (void *)CFG_SYS_MPC85XX_L2_ADDR;
 
 	out_be32(&l2cache->l2srbar0, CFG_SYS_INIT_L2_ADDR);
 
 	/* set MBECCDIS=1, SBECCDIS=1 */
 	out_be32(&l2cache->l2errdis,
-		(MPC85xx_L2ERRDIS_MBECC | MPC85xx_L2ERRDIS_SBECC));
+		(MPC85XX_L2ERRDIS_MBECC | MPC85XX_L2ERRDIS_SBECC));
 
 	/* set L2E=1 & L2SRAM=001 */
 	out_be32(&l2cache->l2ctl,
-		(MPC85xx_L2CTL_L2E | MPC85xx_L2CTL_L2SRAM_ENTIRE));
+		(MPC85XX_L2CTL_L2E | MPC85XX_L2CTL_L2SRAM_ENTIRE));
 #endif
 
 	return 0;
arch/powerpc/cpu/mpc85xx/start.S +14 -14
index 562b6993b9d..21ad14aef35 100644
@@ -80,17 +80,17 @@
 
 /* Definitions from C header file asm/immap_85xx.h */
 
-#define CFG_SYS_MPC85xx_L2_OFFSET		0x20000
+#define CFG_SYS_MPC85XX_L2_OFFSET		0x20000
 
-#define MPC85xx_L2CTL				0x000
-#define MPC85xx_L2CTL_L2E			0x80000000
-#define MPC85xx_L2CTL_L2SRAM_ENTIRE		0x00010000
+#define MPC85XX_L2CTL				0x000
+#define MPC85XX_L2CTL_L2E			0x80000000
+#define MPC85XX_L2CTL_L2SRAM_ENTIRE		0x00010000
 
-#define MPC85xx_L2SRBAR0			0x100
+#define MPC85XX_L2SRBAR0			0x100
 
-#define MPC85xx_L2ERRDIS			0xe44
-#define MPC85xx_L2ERRDIS_MBECC			0x00000008
-#define MPC85xx_L2ERRDIS_SBECC			0x00000004
+#define MPC85XX_L2ERRDIS			0xe44
+#define MPC85XX_L2ERRDIS_MBECC			0x00000008
+#define MPC85XX_L2ERRDIS_SBECC			0x00000004
 
 /* Definitions from C header file fsl_esdhc.h */
 
@@ -127,14 +127,14 @@ bootsect:
 	.org 0x80 /* Start of configuration */
 	.Lconf_pair_start:
 
-	.long CONFIG_SYS_CCSRBAR_DEFAULT + CFG_SYS_MPC85xx_L2_OFFSET + MPC85xx_L2SRBAR0 /* Address: L2 memory-mapped SRAM base addr 0 */
+	.long CONFIG_SYS_CCSRBAR_DEFAULT + CFG_SYS_MPC85XX_L2_OFFSET + MPC85XX_L2SRBAR0 /* Address: L2 memory-mapped SRAM base addr 0 */
 	.long CFG_SYS_INIT_L2_ADDR
 
-	.long CONFIG_SYS_CCSRBAR_DEFAULT + CFG_SYS_MPC85xx_L2_OFFSET + MPC85xx_L2ERRDIS /* Address: L2 cache error disable */
-	.long MPC85xx_L2ERRDIS_MBECC | MPC85xx_L2ERRDIS_SBECC
+	.long CONFIG_SYS_CCSRBAR_DEFAULT + CFG_SYS_MPC85XX_L2_OFFSET + MPC85XX_L2ERRDIS /* Address: L2 cache error disable */
+	.long MPC85XX_L2ERRDIS_MBECC | MPC85XX_L2ERRDIS_SBECC
 
-	.long CONFIG_SYS_CCSRBAR_DEFAULT + CFG_SYS_MPC85xx_L2_OFFSET + MPC85xx_L2CTL /* Address: L2 configuration 0 */
-	.long MPC85xx_L2CTL_L2E | MPC85xx_L2CTL_L2SRAM_ENTIRE
+	.long CONFIG_SYS_CCSRBAR_DEFAULT + CFG_SYS_MPC85XX_L2_OFFSET + MPC85XX_L2CTL /* Address: L2 configuration 0 */
+	.long MPC85XX_L2CTL_L2E | MPC85XX_L2CTL_L2SRAM_ENTIRE
 
 	.long CONFIG_SYS_CCSRBAR_DEFAULT + ESDHCCTL /* Address: eSDHC DMA control */
 	.long ESDHCCTL_SNOOP
@@ -1325,7 +1325,7 @@ ProgramCheck:
 	EXC_XFER_TEMPLATE(0x700, ProgramCheck, ProgramCheckException,
 		MSR_KERNEL, COPY_EE)
 
-	/* No FPU on MPC85xx.  This exception is not supposed to happen.
+	/* No FPU on MPC85XX.  This exception is not supposed to happen.
 	*/
 	STD_EXCEPTION(0x0800, FPUnavailable, UnknownException)
 	STD_EXCEPTION(0x0900, SystemCall, UnknownException)
arch/powerpc/cpu/mpc8xxx/Makefile +1 -1
index e3a536d4f8c..abcde571ac2 100644
@@ -17,7 +17,7 @@ ifdef MINIMAL
 obj-$(CONFIG_FSL_LAW) += law.o
 
 else
-obj-$(CONFIG_MPC85xx) += cpu.o
+obj-$(CONFIG_MPC85XX) += cpu.o
 obj-$(CONFIG_MPC86xx) += cpu.o
 
 obj-$(CONFIG_OF_LIBFDT) += fdt.o
arch/powerpc/cpu/mpc8xxx/cpu.c +6 -6
index 73d28f2a4e2..d4a91622d34 100644
@@ -24,7 +24,7 @@
 DECLARE_GLOBAL_DATA_PTR;
 
 static struct cpu_type cpu_type_list[] = {
-#if defined(CONFIG_MPC85xx)
+#if defined(CONFIG_MPC85XX)
 	CPU_TYPE_ENTRY(8533, 8533, 1),
 	CPU_TYPE_ENTRY(8535, 8535, 1),
 	CPU_TYPE_ENTRY(8536, 8536, 1),
@@ -104,7 +104,7 @@ static struct cpu_type cpu_type_list[] = {
 #ifdef CONFIG_SYS_FSL_QORIQ_CHASSIS2
 static inline u32 init_type(u32 cluster, int init_id)
 {
-	ccsr_gur_t *gur = (void __iomem *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void __iomem *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u32 idx = (cluster >> (init_id * 8)) & TP_CLUSTER_INIT_MASK;
 	u32 type = in_be32(&gur->tp_ityp[idx]);
 
@@ -116,7 +116,7 @@ static inline u32 init_type(u32 cluster, int init_id)
 
 u32 compute_ppc_cpumask(void)
 {
-	ccsr_gur_t *gur = (void __iomem *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void __iomem *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	int i = 0, count = 0;
 	u32 cluster, type, mask = 0;
 
@@ -140,7 +140,7 @@ u32 compute_ppc_cpumask(void)
 #ifdef CONFIG_HETROGENOUS_CLUSTERS
 u32 compute_dsp_cpumask(void)
 {
-	ccsr_gur_t *gur = (void __iomem *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void __iomem *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	int i = CONFIG_DSP_CLUSTER_START, count = 0;
 	u32 cluster, type, dsp_mask = 0;
 
@@ -163,7 +163,7 @@ u32 compute_dsp_cpumask(void)
 
 int fsl_qoriq_dsp_core_to_cluster(unsigned int core)
 {
-	ccsr_gur_t *gur = (void __iomem *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void __iomem *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	int count = 0, i = CONFIG_DSP_CLUSTER_START;
 	u32 cluster;
 
@@ -186,7 +186,7 @@ int fsl_qoriq_dsp_core_to_cluster(unsigned int core)
 
 int fsl_qoriq_core_to_cluster(unsigned int core)
 {
-	ccsr_gur_t *gur = (void __iomem *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void __iomem *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	int i = 0, count = 0;
 	u32 cluster;
 
arch/powerpc/cpu/mpc8xxx/fdt.c +2 -2
index 30042902487..6055f986b8b 100644
@@ -17,7 +17,7 @@
 #include <phy.h>
 #include <hwconfig.h>
 
-#if defined(CONFIG_MP) && (defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx))
+#if defined(CONFIG_MP) && (defined(CONFIG_MPC85XX) || defined(CONFIG_MPC86xx))
 static int ft_del_cpuhandle(void *blob, int cpuhandle)
 {
 	int off, ret = -FDT_ERR_NOTFOUND;
@@ -69,7 +69,7 @@ void ft_fixup_num_cores(void *blob) {
 	debug ("deleted %d extra core entry entries from device tree\n",
 								del_cores);
 }
-#endif /* defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx) */
+#endif /* defined(CONFIG_MPC85XX) || defined(CONFIG_MPC86xx) */
 
 int fdt_fixup_phy_connection(void *blob, int offset, phy_interface_t phyc)
 {
arch/powerpc/cpu/mpc8xxx/fsl_lbc.c +2 -2
index 7519b214969..7fae2befc35 100644
@@ -12,7 +12,7 @@
 #include "../mpc83xx/elbc/elbc.h"
 #endif
 
-#ifdef CONFIG_MPC85xx
+#ifdef CONFIG_MPC85XX
 /* Boards should provide their own version of this if they use lbc sdram */
 static void __lbc_sdram_init(void)
 {
@@ -44,7 +44,7 @@ void init_early_memctl_regs(void)
 	clrsetbits_be32(&(LBC_BASE_ADDR)->lbcr, LBCR_BMT|LBCR_BMTPS, 0xf);
 #endif
 
-#ifdef CONFIG_MPC85xx
+#ifdef CONFIG_MPC85XX
 	/* if cs1 is already set via debugger, leave cs0/cs1 alone */
 	if (get_lbc_br(1) & BR_V)
 		init_br1 = 0;
arch/powerpc/cpu/mpc8xxx/law.c +1 -1
index 35409dc8824..b0183edb064 100644
@@ -301,7 +301,7 @@ void init_laws(void)
 
 #ifdef CONFIG_SRIO_PCIE_BOOT_SLAVE
 	/* check RCW to get which port is used for boot */
-	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85xx_GUTS_ADDR;
+	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85XX_GUTS_ADDR;
 	u32 bootloc = in_be32(&gur->rcwsr[6]);
 	/*
 	 * in SRIO or PCIE boot we need to set specail LAWs for
arch/powerpc/cpu/mpc8xxx/srio.c +6 -6
index c0b4a1217d3..89ee4ea1ac2 100644
@@ -33,12 +33,12 @@
 	#define _DEVDISR_SRIO2 FSL_CORENET_DEVDISR_SRIO2
 #endif
 	#define _DEVDISR_RMU   FSL_CORENET_DEVDISR_RMU
-	#define CFG_SYS_MPC8xxx_GUTS_ADDR CFG_SYS_MPC85xx_GUTS_ADDR
-#elif defined(CONFIG_MPC85xx)
-	#define _DEVDISR_SRIO1 MPC85xx_DEVDISR_SRIO
-	#define _DEVDISR_SRIO2 MPC85xx_DEVDISR_SRIO
-	#define _DEVDISR_RMU   MPC85xx_DEVDISR_RMSG
-	#define CFG_SYS_MPC8xxx_GUTS_ADDR CFG_SYS_MPC85xx_GUTS_ADDR
+	#define CFG_SYS_MPC8xxx_GUTS_ADDR CFG_SYS_MPC85XX_GUTS_ADDR
+#elif defined(CONFIG_MPC85XX)
+	#define _DEVDISR_SRIO1 MPC85XX_DEVDISR_SRIO
+	#define _DEVDISR_SRIO2 MPC85XX_DEVDISR_SRIO
+	#define _DEVDISR_RMU   MPC85XX_DEVDISR_RMSG
+	#define CFG_SYS_MPC8xxx_GUTS_ADDR CFG_SYS_MPC85XX_GUTS_ADDR
 #elif defined(CONFIG_MPC86xx)
 	#define _DEVDISR_SRIO1 MPC86xx_DEVDISR_SRIO
 	#define _DEVDISR_SRIO2 MPC86xx_DEVDISR_SRIO
arch/powerpc/include/asm/config.h +1 -1
index f0702cab143..3d411eb8661 100644
@@ -6,7 +6,7 @@
 #ifndef _ASM_CONFIG_H_
 #define _ASM_CONFIG_H_
 
-#ifdef CONFIG_MPC85xx
+#ifdef CONFIG_MPC85XX
 #include <asm/config_mpc85xx.h>
 #endif
 
arch/powerpc/include/asm/config_mpc85xx.h +4 -4
index d990ecff96f..ae95d089cdd 100644
@@ -3,10 +3,10 @@
  * Copyright 2011-2012 Freescale Semiconductor, Inc.
  */
 
-#ifndef _ASM_MPC85xx_CONFIG_H_
-#define _ASM_MPC85xx_CONFIG_H_
+#ifndef _ASM_MPC85XX_CONFIG_H_
+#define _ASM_MPC85XX_CONFIG_H_
 
-/* SoC specific defines for Freescale MPC85xx (PQ3) and QorIQ processors */
+/* SoC specific defines for Freescale MPC85XX (PQ3) and QorIQ processors */
 
 #include <fsl_ddrc_version.h>
 
@@ -174,4 +174,4 @@
 
 #endif
 
-#endif /* _ASM_MPC85xx_CONFIG_H_ */
+#endif /* _ASM_MPC85XX_CONFIG_H_ */
arch/powerpc/include/asm/fsl_lbc.h +2 -2
index 8d681a1cba6..3808b2b4bf4 100644
@@ -9,7 +9,7 @@
 #include <config.h>
 #include <common.h>
 
-#ifdef CONFIG_MPC85xx
+#ifdef CONFIG_MPC85XX
 void lbc_sdram_init(void);
 #endif
 
@@ -48,7 +48,7 @@ void lbc_sdram_init(void);
 #endif
 #if defined(CONFIG_ARCH_MPC834X) || defined(CONFIG_ARCH_MPC8360)
 #define BR_MS_SDRAM			0x00000060	/* SDRAM */
-#elif defined(CONFIG_MPC85xx)
+#elif defined(CONFIG_MPC85XX)
 #define BR_MS_SDRAM			0x00000000	/* SDRAM */
 #endif
 #define BR_MS_UPMA			0x00000080	/* UPMA */
arch/powerpc/include/asm/fsl_liodn.h +13 -13
index 0af3d8902ac..93c1dc4ccfe 100644
@@ -18,15 +18,15 @@ struct srio_liodn_id_table {
 #define SET_SRIO_LIODN_1(port, idA) \
 	{ .id = { idA }, .num_ids = 1, .portid = port, \
 	  .reg_offset[0] = offsetof(ccsr_gur_t, rio##port##liodnr) \
-		+ CFG_SYS_MPC85xx_GUTS_OFFSET + CFG_SYS_CCSRBAR, \
+		+ CFG_SYS_MPC85XX_GUTS_OFFSET + CFG_SYS_CCSRBAR, \
 	}
 
 #define SET_SRIO_LIODN_2(port, idA, idB) \
 	{ .id = { idA, idB }, .num_ids = 2, .portid = port, \
 	  .reg_offset[0] = offsetof(ccsr_gur_t, rio##port##liodnr) \
-		+ CFG_SYS_MPC85xx_GUTS_OFFSET + CFG_SYS_CCSRBAR, \
+		+ CFG_SYS_MPC85XX_GUTS_OFFSET + CFG_SYS_CCSRBAR, \
 	  .reg_offset[1] = offsetof(ccsr_gur_t, rio##port##maintliodnr) \
-		+ CFG_SYS_MPC85xx_GUTS_OFFSET + CFG_SYS_CCSRBAR, \
+		+ CFG_SYS_MPC85XX_GUTS_OFFSET + CFG_SYS_CCSRBAR, \
 	}
 
 #define SET_SRIO_LIODN_BASE(port, id_a) \
@@ -90,42 +90,42 @@ extern void fdt_fixup_liodn(void *blob);
 
 #define SET_GUTS_LIODN(compat, liodn, name, compatoff) \
 	SET_LIODN_ENTRY_1(compat, liodn, \
-		offsetof(ccsr_gur_t, name) + CFG_SYS_MPC85xx_GUTS_OFFSET, \
+		offsetof(ccsr_gur_t, name) + CFG_SYS_MPC85XX_GUTS_OFFSET, \
 		compatoff)
 
 #define SET_USB_LIODN(usbNum, compat, liodn) \
 	SET_GUTS_LIODN(compat, liodn, usb##usbNum##liodnr,\
-		CFG_SYS_MPC85xx_USB##usbNum##_OFFSET)
+		CFG_SYS_MPC85XX_USB##usbNum##_OFFSET)
 
 #define SET_SATA_LIODN(sataNum, liodn) \
 	SET_GUTS_LIODN("fsl,pq-sata-v2", liodn, sata##sataNum##liodnr,\
-		CFG_SYS_MPC85xx_SATA##sataNum##_OFFSET)
+		CFG_SYS_MPC85XX_SATA##sataNum##_OFFSET)
 
 #define SET_PCI_LIODN(compat, pciNum, liodn) \
 	SET_GUTS_LIODN(compat, liodn, pex##pciNum##liodnr,\
-		CFG_SYS_MPC85xx_PCIE##pciNum##_OFFSET)
+		CFG_SYS_MPC85XX_PCIE##pciNum##_OFFSET)
 
 #define SET_PCI_LIODN_BASE(compat, pciNum, liodn) \
 	SET_LIODN_ENTRY_1(compat, liodn,\
-		offsetof(ccsr_pcix_t, liodn_base) + CFG_SYS_MPC85xx_PCIE##pciNum##_OFFSET,\
-		CFG_SYS_MPC85xx_PCIE##pciNum##_OFFSET)
+		offsetof(ccsr_pcix_t, liodn_base) + CFG_SYS_MPC85XX_PCIE##pciNum##_OFFSET,\
+		CFG_SYS_MPC85XX_PCIE##pciNum##_OFFSET)
 
 /* reg nodes for DMA start @ 0x300 */
 #define SET_DMA_LIODN(dmaNum, compat, liodn) \
 	SET_GUTS_LIODN(compat, liodn, dma##dmaNum##liodnr,\
-		CFG_SYS_MPC85xx_DMA##dmaNum##_OFFSET + 0x300)
+		CFG_SYS_MPC85XX_DMA##dmaNum##_OFFSET + 0x300)
 
 #define SET_SDHC_LIODN(sdhcNum, liodn) \
 	SET_GUTS_LIODN("fsl,esdhc", liodn, sdmmc##sdhcNum##liodnr,\
-		CFG_SYS_MPC85xx_ESDHC_OFFSET)
+		CFG_SYS_MPC85XX_ESDHC_OFFSET)
 
 #define SET_QE_LIODN(liodn) \
 	SET_GUTS_LIODN("fsl,qe", liodn, qeliodnr,\
-		CFG_SYS_MPC85xx_QE_OFFSET)
+		CFG_SYS_MPC85XX_QE_OFFSET)
 
 #define SET_TDM_LIODN(liodn) \
 	SET_GUTS_LIODN("fsl,tdm1.0", liodn, tdmliodnr,\
-		CFG_SYS_MPC85xx_TDM_OFFSET)
+		CFG_SYS_MPC85XX_TDM_OFFSET)
 
 #define SET_QMAN_LIODN(liodn) \
 	SET_LIODN_ENTRY_1("fsl,qman", liodn, \
arch/powerpc/include/asm/fsl_pci.h +1 -1
index 809ab1d4187..c2f12d76521 100644
@@ -241,7 +241,7 @@ int fsl_pcie_init_board(int busno);
 	FT_FSL_PCIE3_SETUP; \
 	FT_FSL_PCIE4_SETUP;
 #define FT_FSL_PCIE_SETUP FT_FSL_PCI_SETUP
-#elif defined(CONFIG_MPC85xx)
+#elif defined(CONFIG_MPC85XX)
 #define FSL_PCI_COMPAT	"fsl,mpc8540-pci"
 #ifdef CONFIG_SYS_FSL_PCIE_COMPAT
 #define FSL_PCIE_COMPAT	CONFIG_SYS_FSL_PCIE_COMPAT
arch/powerpc/include/asm/global_data.h +3 -3
index 2636cbbda88..404980c1f47 100644
@@ -53,11 +53,11 @@ struct arch_global_data {
 # endif /* CONFIG_ARCH_MPC8360 */
 #endif
 #endif
-#if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx)
+#if defined(CONFIG_MPC85XX) || defined(CONFIG_MPC86xx)
 	u32 lbc_clk;
 	void *cpu;
-#endif /* CONFIG_MPC85xx || CONFIG_MPC86xx */
-#if defined(CONFIG_MPC83XX) || defined(CONFIG_MPC85xx) || \
+#endif /* CONFIG_MPC85XX || CONFIG_MPC86xx */
+#if defined(CONFIG_MPC83XX) || defined(CONFIG_MPC85XX) || \
 		defined(CONFIG_MPC86xx)
 	u32 i2c1_clk;
 	u32 i2c2_clk;
arch/powerpc/include/asm/immap_85xx.h +364 -364

890 lines not on this page · raw message

arch/powerpc/include/asm/mpc85xx_gpio.h +2 -2
index 0ed6beca387..2643eec7820 100644
@@ -20,7 +20,7 @@
 static inline void mpc85xx_gpio_set(unsigned int mask,
 		unsigned int dir, unsigned int val)
 {
-	ccsr_gpio_t *gpio = (void *)(CFG_SYS_MPC85xx_GPIO_ADDR);
+	ccsr_gpio_t *gpio = (void *)(CFG_SYS_MPC85XX_GPIO_ADDR);
 
 	/* First mask off the unwanted parts of "dir" and "val" */
 	dir &= mask;
@@ -56,7 +56,7 @@ static inline void mpc85xx_gpio_set_high(unsigned int gpios)
 
 static inline unsigned int mpc85xx_gpio_get(unsigned int mask)
 {
-	ccsr_gpio_t *gpio = (void *)(CFG_SYS_MPC85xx_GPIO_ADDR);
+	ccsr_gpio_t *gpio = (void *)(CFG_SYS_MPC85XX_GPIO_ADDR);
 
 	/* Read the requested values */
 	return in_be32(&gpio->gpdat) & mask;
arch/powerpc/include/asm/ppc.h +4 -4
index 3b13f7ff166..708cd3920cc 100644
@@ -15,7 +15,7 @@
 #if defined(CONFIG_MPC8xx)
 #include <asm/immap_8xx.h>
 #endif
-#ifdef CONFIG_MPC85xx
+#ifdef CONFIG_MPC85XX
 #include <mpc85xx.h>
 #include <asm/immap_85xx.h>
 #endif
@@ -50,7 +50,7 @@ static inline uint get_svr(void)
 	return mfspr(SVR);
 }
 
-#if defined(CONFIG_MPC85xx)	|| \
+#if defined(CONFIG_MPC85XX)	|| \
 	defined(CONFIG_MPC86xx)	|| \
 	defined(CONFIG_MPC83XX)
 unsigned char	in8(unsigned int);
@@ -78,8 +78,8 @@ void ddr_enable_ecc(unsigned int dram_size);
 #endif
 #endif
 
-#if defined(CONFIG_MPC85xx)
-typedef MPC85xx_SYS_INFO sys_info_t;
+#if defined(CONFIG_MPC85XX)
+typedef MPC85XX_SYS_INFO sys_info_t;
 void get_sys_info(sys_info_t *);
 void ft_fixup_cpu(void *, u64);
 void ft_fixup_num_cores(void *);
arch/powerpc/include/asm/processor.h +4 -4
index d80b7d75563..2bb2af2cb64 100644
@@ -750,7 +750,7 @@
 #define MAS7	SPRN_MAS7
 #define MAS8	SPRN_MAS8
 
-#if defined(CONFIG_MPC85xx)
+#if defined(CONFIG_MPC85XX)
 #define DAR_DEAR DEAR
 #else
 #define DAR_DEAR DAR
@@ -1001,7 +1001,7 @@
 #define SVR_SOC_VER(svr) (((svr) >> 8) & 0xFFF7FF) /* SOC w/o E bit*/
 
 /* whether MPC8xxxE (i.e. has SEC) */
-#if defined(CONFIG_MPC85xx)
+#if defined(CONFIG_MPC85XX)
 #define IS_E_PROCESSOR(svr)	(svr & 0x80000)
 #else
 #if defined(CONFIG_MPC83XX)
@@ -1156,7 +1156,7 @@ int fixup_cpu(void);
 int fsl_qoriq_core_to_cluster(unsigned int core);
 int fsl_qoriq_dsp_core_to_cluster(unsigned int core);
 
-#if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx)
+#if defined(CONFIG_MPC85XX) || defined(CONFIG_MPC86xx)
 #define CPU_TYPE_ENTRY(n, v, nc) \
 	{ .name = #n, .soc_ver = SVR_##v, .num_cores = (nc), \
 	  .mask = (1 << (nc)) - 1 }
@@ -1176,7 +1176,7 @@ int prt_83xx_rsr(void);
 
 #endif /* ndef ASSEMBLY*/
 
-#if defined(CONFIG_MPC85xx)
+#if defined(CONFIG_MPC85XX)
  #define EPAPR_MAGIC	(0x45504150)
 #else
  #define EPAPR_MAGIC	(0x65504150)
arch/powerpc/lib/bootm.c +1 -1
index 7b392b06bcb..e5324bf8fc1 100644
@@ -290,7 +290,7 @@ void boot_prep_vxworks(struct bootm_headers *images)
 		fdt_fixup_memory(images->ft_addr, base, size);
 
 #if defined(CONFIG_MP)
-#if defined(CONFIG_MPC85xx)
+#if defined(CONFIG_MPC85XX)
 	ft_fixup_cpu(images->ft_addr, base + size);
 	ft_fixup_num_cores(images->ft_addr);
 #elif defined(CONFIG_MPC86xx)
arch/powerpc/lib/ppccache.S +2 -2
index e55025181f7..472548d494d 100644
@@ -64,7 +64,7 @@ ppcSync:
  * flush_dcache_range(unsigned long start, unsigned long stop)
  */
 _GLOBAL(flush_dcache_range)
-#if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx)
+#if defined(CONFIG_MPC85XX) || defined(CONFIG_MPC86xx)
 	li	r5,L1_CACHE_BYTES-1
 	andc	r3,r3,r5
 	subf	r4,r3,r4
@@ -88,7 +88,7 @@ _GLOBAL(flush_dcache_range)
  * invalidate_dcache_range(unsigned long start, unsigned long stop)
  */
 _GLOBAL(invalidate_dcache_range)
-#if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx)
+#if defined(CONFIG_MPC85XX) || defined(CONFIG_MPC86xx)
 	li	r5,L1_CACHE_BYTES-1
 	andc	r3,r3,r5
 	subf	r4,r3,r4
board/freescale/common/fsl_chain_of_trust.c +6 -6
index b47ce052516..fa71abad231 100644
@@ -27,8 +27,8 @@
 #include <asm/arch/immap_ls102xa.h>
 #endif
 
-#if defined(CONFIG_MPC85xx)
-#define CFG_DCFG_ADDR	CFG_SYS_MPC85xx_GUTS_ADDR
+#if defined(CONFIG_MPC85XX)
+#define CFG_DCFG_ADDR	CFG_SYS_MPC85XX_GUTS_ADDR
 #else
 #define CFG_DCFG_ADDR	CFG_SYS_FSL_GUTS_ADDR
 #endif
@@ -50,17 +50,17 @@ int fsl_check_boot_mode_secure(void)
 	if (val == ITS_MASK)
 		return 1;
 
-#if defined(CONFIG_FSL_CORENET) || !defined(CONFIG_MPC85xx)
+#if defined(CONFIG_FSL_CORENET) || !defined(CONFIG_MPC85XX)
 	/* For PBL based platforms check the SB_EN bit in RCWSR */
 	val = gur_in32(&gur->rcwsr[RCW_SB_EN_REG_INDEX - 1]) & RCW_SB_EN_MASK;
 	if (val == RCW_SB_EN_MASK)
 		return 1;
 #endif
 
-#if defined(CONFIG_MPC85xx) && !defined(CONFIG_FSL_CORENET)
+#if defined(CONFIG_MPC85XX) && !defined(CONFIG_FSL_CORENET)
 	/* For Non-PBL Platforms, check the Device Status register 2*/
-	val = gur_in32(&gur->pordevsr2) & MPC85xx_PORDEVSR2_SBC_MASK;
-	if (val != MPC85xx_PORDEVSR2_SBC_MASK)
+	val = gur_in32(&gur->pordevsr2) & MPC85XX_PORDEVSR2_SBC_MASK;
+	if (val != MPC85XX_PORDEVSR2_SBC_MASK)
 		return 1;
 
 #endif
board/freescale/common/fsl_validate.c +4 -4
index bfe6357b0d6..451341ddc04 100644
@@ -73,17 +73,17 @@ static u32 check_ie(struct fsl_secboot_img_priv *img)
 }
 
 /* This function returns the CSF Header Address of uboot
- * For MPC85xx based platforms, the LAW mapping for NOR
+ * For MPC85XX based platforms, the LAW mapping for NOR
  * flash changes in uboot code. Hence the offset needs
  * to be calculated and added to the new NOR flash base
  * address
  */
-#if defined(CONFIG_MPC85xx)
+#if defined(CONFIG_MPC85XX)
 #include <flash.h>
 
 int get_csf_base_addr(u32 *csf_addr, u32 *flash_base_addr)
 {
-	struct ccsr_gur __iomem *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	struct ccsr_gur __iomem *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u32 csf_hdr_addr = in_be32(&gur->scratchrw[0]);
 	u32 csf_flash_offset = csf_hdr_addr & ~(CFG_SYS_PBI_FLASH_BASE);
 	u32 flash_addr, addr;
@@ -168,7 +168,7 @@ static int get_ie_info_addr(uintptr_t *ie_addr)
 #endif
 
 	/* IE Key Table is the first entry in the SG Table */
-#if defined(CONFIG_MPC85xx)
+#if defined(CONFIG_MPC85XX)
 	*ie_addr = (uintptr_t)((sg_tbl->src_addr &
 			~(CFG_SYS_PBI_FLASH_BASE)) +
 			flash_base_addr);
board/freescale/common/mpc85xx_sleep.c +3 -3
index d3323b9ec1e..6d05935bf97 100644
@@ -24,7 +24,7 @@ void __weak board_sleep_prepare(void)
 
 bool is_warm_boot(void)
 {
-	struct ccsr_gur __iomem *gur = (void *)CFG_SYS_MPC85xx_GUTS_ADDR;
+	struct ccsr_gur __iomem *gur = (void *)CFG_SYS_MPC85XX_GUTS_ADDR;
 
 	if (in_be32(&gur->scrtsr[0]) & DCFG_CCSR_CRSTSR_WDRFR)
 		return 1;
@@ -46,7 +46,7 @@ static void dp_ddr_restore(void)
 {
 	u64 *src, *dst;
 	int i;
-	struct ccsr_scfg __iomem *scfg = (void *)CFG_SYS_MPC85xx_SCFG;
+	struct ccsr_scfg __iomem *scfg = (void *)CFG_SYS_MPC85XX_SCFG;
 
 	/* get the address of ddr date from SPARECR3 */
 	src = (u64 *)(in_be32(&scfg->sparecr[2]) + DDR_BUFF_LEN - 8);
@@ -80,7 +80,7 @@ int fsl_dp_resume(void)
 {
 	u32 start_addr;
 	void (*kernel_resume)(void);
-	struct ccsr_scfg __iomem *scfg = (void *)CFG_SYS_MPC85xx_SCFG;
+	struct ccsr_scfg __iomem *scfg = (void *)CFG_SYS_MPC85XX_SCFG;
 
 	if (!is_warm_boot())
 		return 0;
board/freescale/common/via.h +2 -2
index 77cfacc5261..7f2f64668d2 100644
@@ -1,4 +1,4 @@
-#ifndef _MPC85xx_VIA_H
+#ifndef _MPC85XX_VIA_H
 void mpc85xx_config_via(struct pci_controller* hose, pci_dev_t dev, struct pci_config_table *tab);
 
 /* Function 1, IDE */
@@ -15,4 +15,4 @@ void mpc85xx_config_via_power(struct pci_controller* hose, pci_dev_t dev, struct
 
 /* Function 6, AC97 Interface */
 void mpc85xx_config_via_ac97(struct pci_controller* hose, pci_dev_t dev, struct pci_config_table *tab);
-#endif /* _MPC85xx_VIA_H */
+#endif /* _MPC85XX_VIA_H */
board/freescale/common/vid.c +1 -1
index 5ec3f2a76b1..f35ec9902b6 100644
@@ -542,7 +542,7 @@ int adjust_vdd(ulong vdd_override)
 	struct ccsr_gur *gur = (void *)(CFG_SYS_FSL_GUTS_ADDR);
 #else
 	ccsr_gur_t __iomem *gur =
-		(void __iomem *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+		(void __iomem *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 #endif
 	u8 vid;
 	u32 fusesr;
board/freescale/mpc8548cds/mpc8548cds.c +3 -3
index ec6e3a2d0ab..48f9f6bbc62 100644
@@ -33,8 +33,8 @@ void local_bus_init(void);
 
 int checkboard (void)
 {
-	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
-	volatile ccsr_local_ecm_t *ecm = (void *)(CFG_SYS_MPC85xx_ECM_ADDR);
+	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
+	volatile ccsr_local_ecm_t *ecm = (void *)(CFG_SYS_MPC85XX_ECM_ADDR);
 
 	/* PCI slot in USER bits CSR[6:7] by convention. */
 	uint pci_slot = get_pci_slot ();
@@ -68,7 +68,7 @@ int checkboard (void)
 void
 local_bus_init(void)
 {
-	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	volatile fsl_lbc_t *lbc = LBC_BASE_ADDR;
 
 	uint clkdiv;
board/freescale/p1010rdb/p1010rdb.c +14 -14
index d32274b2481..c6ad33018fb 100644
@@ -82,7 +82,7 @@ struct cpld_data {
 
 int board_early_init_f(void)
 {
-	ccsr_gpio_t *pgpio = (void *)(CFG_SYS_MPC85xx_GPIO_ADDR);
+	ccsr_gpio_t *pgpio = (void *)(CFG_SYS_MPC85XX_GPIO_ADDR);
 	struct fsl_ifc ifc = {(void *)CFG_SYS_IFC_ADDR, (void *)NULL};
 	/* Clock configuration to access CPLD using IFC(GPCM) */
 	setbits_be32(&ifc.gregs->ifc_gcr, 1 << IFC_GCR_TBCTL_TRN_TIME_SHIFT);
@@ -131,7 +131,7 @@ int board_early_init_r(void)
 
 int config_board_mux(int ctrl_type)
 {
-	ccsr_gur_t __iomem *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t __iomem *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u8 tmp;
 
 #if CONFIG_IS_ENABLED(DM_I2C)
@@ -625,21 +625,21 @@ void board_reset(void)
 
 int misc_init_r(void)
 {
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 
 	if (hwconfig_subarg_cmp("fsl_p1010mux", "tdm_can", "can")) {
-		clrbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_CAN1_TDM |
-				MPC85xx_PMUXCR_CAN1_UART |
-				MPC85xx_PMUXCR_CAN2_TDM |
-				MPC85xx_PMUXCR_CAN2_UART);
+		clrbits_be32(&gur->pmuxcr, MPC85XX_PMUXCR_CAN1_TDM |
+				MPC85XX_PMUXCR_CAN1_UART |
+				MPC85XX_PMUXCR_CAN2_TDM |
+				MPC85XX_PMUXCR_CAN2_UART);
 		config_board_mux(MUX_TYPE_CAN);
 	} else if (hwconfig_subarg_cmp("fsl_p1010mux", "tdm_can", "tdm")) {
-		clrbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_CAN2_UART |
-				MPC85xx_PMUXCR_CAN1_UART);
-		setbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_CAN2_TDM |
-				MPC85xx_PMUXCR_CAN1_TDM);
-		clrbits_be32(&gur->pmuxcr2, MPC85xx_PMUXCR2_UART_GPIO);
-		setbits_be32(&gur->pmuxcr2, MPC85xx_PMUXCR2_UART_TDM);
+		clrbits_be32(&gur->pmuxcr, MPC85XX_PMUXCR_CAN2_UART |
+				MPC85XX_PMUXCR_CAN1_UART);
+		setbits_be32(&gur->pmuxcr, MPC85XX_PMUXCR_CAN2_TDM |
+				MPC85XX_PMUXCR_CAN1_TDM);
+		clrbits_be32(&gur->pmuxcr2, MPC85XX_PMUXCR2_UART_GPIO);
+		setbits_be32(&gur->pmuxcr2, MPC85XX_PMUXCR2_UART_TDM);
 		config_board_mux(MUX_TYPE_TDM);
 	} else {
 		/* defaultly spi_cs_sel to flash */
@@ -652,7 +652,7 @@ int misc_init_r(void)
 		config_board_mux(MUX_TYPE_IFC);
 
 #ifdef CONFIG_TARGET_P1010RDB_PB
-	setbits_be32(&gur->pmuxcr2, MPC85xx_PMUXCR2_GPIO01_DRVVBUS);
+	setbits_be32(&gur->pmuxcr2, MPC85XX_PMUXCR2_GPIO01_DRVVBUS);
 #endif
 	return 0;
 }
board/freescale/p1010rdb/spl.c +3 -3
index e450f626e0a..461ba372417 100644
@@ -28,7 +28,7 @@ phys_size_t get_effective_memsize(void)
 void board_init_f(ulong bootflag)
 {
 	u32 plat_ratio;
-	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85xx_GUTS_ADDR;
+	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85XX_GUTS_ADDR;
 	struct fsl_ifc ifc = {(void *)CFG_SYS_IFC_ADDR, (void *)NULL};
 
 	console_init_f();
@@ -37,11 +37,11 @@ void board_init_f(ulong bootflag)
 	setbits_be32(&ifc.gregs->ifc_gcr, 1 << IFC_GCR_TBCTL_TRN_TIME_SHIFT);
 
 #ifdef CONFIG_TARGET_P1010RDB_PB
-	setbits_be32(&gur->pmuxcr2, MPC85xx_PMUXCR2_GPIO01_DRVVBUS);
+	setbits_be32(&gur->pmuxcr2, MPC85XX_PMUXCR2_GPIO01_DRVVBUS);
 #endif
 
 	/* initialize selected port with appropriate baud rate */
-	plat_ratio = in_be32(&gur->porpllsr) & MPC85xx_PORPLLSR_PLAT_RATIO;
+	plat_ratio = in_be32(&gur->porpllsr) & MPC85XX_PORPLLSR_PLAT_RATIO;
 	plat_ratio >>= 1;
 	gd->bus_clk = get_board_sys_clk() * plat_ratio;
 
board/freescale/p1010rdb/spl_minimal.c +2 -2
index 8f0dec4c0ab..54cd7b9aacd 100644
@@ -20,7 +20,7 @@ DECLARE_GLOBAL_DATA_PTR;
 void board_init_f(ulong bootflag)
 {
 	u32 plat_ratio;
-	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85xx_GUTS_ADDR;
+	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85XX_GUTS_ADDR;
 
 #if defined(CFG_SYS_NAND_BR_PRELIM) && defined(CFG_SYS_NAND_OR_PRELIM)
 	set_lbc_br(0, CFG_SYS_NAND_BR_PRELIM);
@@ -28,7 +28,7 @@ void board_init_f(ulong bootflag)
 #endif
 
 	/* initialize selected port with appropriate baud rate */
-	plat_ratio = in_be32(&gur->porpllsr) & MPC85xx_PORPLLSR_PLAT_RATIO;
+	plat_ratio = in_be32(&gur->porpllsr) & MPC85XX_PORPLLSR_PLAT_RATIO;
 	plat_ratio >>= 1;
 	gd->bus_clk = get_board_sys_clk() * plat_ratio;
 
board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c +10 -10
index 602b7f0156b..c3bd2837aa2 100644
@@ -149,7 +149,7 @@ void board_cpld_init(void)
 void board_gpio_init(void)
 {
 #ifdef CONFIG_QE
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	par_io_t *par_io = (par_io_t *) &(gur->qe_par_io);
 
 	/* Enable VSC7385 switch */
@@ -159,7 +159,7 @@ void board_gpio_init(void)
 	setbits_be32(&par_io[GPIO_SLIC_PORT].cpdat, GPIO_SLIC_DATA);
 #else
 
-	ccsr_gpio_t *pgpio = (void *)(CFG_SYS_MPC85xx_GPIO_ADDR);
+	ccsr_gpio_t *pgpio = (void *)(CFG_SYS_MPC85XX_GPIO_ADDR);
 
 	/*
 	 * GPIO10 DDR Reset, open drain
@@ -197,17 +197,17 @@ void board_gpio_init(void)
 
 int board_early_init_f(void)
 {
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 
-	setbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_SDHC_CD);
+	setbits_be32(&gur->pmuxcr, MPC85XX_PMUXCR_SDHC_CD);
 #ifndef SDHC_WP_IS_GPIO
-	setbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_SDHC_WP);
+	setbits_be32(&gur->pmuxcr, MPC85XX_PMUXCR_SDHC_WP);
 #endif
 	clrbits_be32(&gur->sdhcdcr, SDHCDCR_CD_INV);
 
-	clrbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_SD_DATA);
+	clrbits_be32(&gur->pmuxcr, MPC85XX_PMUXCR_SD_DATA);
 #if defined(CONFIG_TARGET_P1020RDB_PD) || defined(CONFIG_TARGET_P1020RDB_PC)
-	setbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_TDM_ENA);
+	setbits_be32(&gur->pmuxcr, MPC85XX_PMUXCR_TDM_ENA);
 #endif
 
 	board_gpio_init();
@@ -227,7 +227,7 @@ int board_early_init_f(void)
 int checkboard(void)
 {
 	struct cpld_data *cpld_data = (void *)(CFG_SYS_CPLD_BASE);
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u8 in, out, invert, io_config, val;
 	int bus_num = CONFIG_SYS_SPD_BUS_NUM;
 
@@ -306,7 +306,7 @@ int checkboard(void)
 	puts("\n");
 
 	if (val & 0x1) {
-		setbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_SD_DATA);
+		setbits_be32(&gur->pmuxcr, MPC85XX_PMUXCR_SD_DATA);
 		puts("SD/MMC : 8-bit Mode\n");
 		puts("eSPI : Disabled\n");
 	} else {
@@ -368,7 +368,7 @@ int board_early_init_r(void)
 static void fix_max6370_watchdog(void *blob)
 {
 	int off = fdt_node_offset_by_compatible(blob, -1, "maxim,max6370");
-	ccsr_gpio_t *pgpio = (void *)(CFG_SYS_MPC85xx_GPIO_ADDR);
+	ccsr_gpio_t *pgpio = (void *)(CFG_SYS_MPC85XX_GPIO_ADDR);
 	u32 gpioval = in_be32(&pgpio->gpdat);
 
 	/*
board/freescale/p1_p2_rdb_pc/spl.c +4 -4
index 6c3f82849e3..e107ddefb0f 100644
@@ -29,7 +29,7 @@ phys_size_t get_effective_memsize(void)
 void board_init_f(ulong bootflag)
 {
 	u32 plat_ratio, bus_clk;
-	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85xx_GUTS_ADDR;
+	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85XX_GUTS_ADDR;
 
 	/*
 	 * Call board_early_init_f() as early as possible as it workarounds
@@ -42,17 +42,17 @@ void board_init_f(ulong bootflag)
 	/* Set pmuxcr to allow both i2c1 and i2c2 */
 	setbits_be32(&gur->pmuxcr, in_be32(&gur->pmuxcr) | 0x1000);
 	setbits_be32(&gur->pmuxcr,
-		     in_be32(&gur->pmuxcr) | MPC85xx_PMUXCR_SD_DATA);
+		     in_be32(&gur->pmuxcr) | MPC85XX_PMUXCR_SD_DATA);
 
 	/* Read back the register to synchronize the write. */
 	in_be32(&gur->pmuxcr);
 
 #ifdef CONFIG_SPL_SPI_BOOT
-	clrbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_SD_DATA);
+	clrbits_be32(&gur->pmuxcr, MPC85XX_PMUXCR_SD_DATA);
 #endif
 
 	/* initialize selected port with appropriate baud rate */
-	plat_ratio = in_be32(&gur->porpllsr) & MPC85xx_PORPLLSR_PLAT_RATIO;
+	plat_ratio = in_be32(&gur->porpllsr) & MPC85XX_PORPLLSR_PLAT_RATIO;
 	plat_ratio >>= 1;
 	bus_clk = get_board_sys_clk() * plat_ratio;
 	gd->bus_clk = bus_clk;
board/freescale/p1_p2_rdb_pc/spl_minimal.c +2 -2
index f9e0b5b25ab..7bc7393894c 100644
@@ -19,7 +19,7 @@ DECLARE_GLOBAL_DATA_PTR;
 void board_init_f(ulong bootflag)
 {
 	u32 plat_ratio;
-	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85xx_GUTS_ADDR;
+	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85XX_GUTS_ADDR;
 
 #if defined(CFG_SYS_NAND_BR_PRELIM) && defined(CFG_SYS_NAND_OR_PRELIM)
 	set_lbc_br(0, CFG_SYS_NAND_BR_PRELIM);
@@ -27,7 +27,7 @@ void board_init_f(ulong bootflag)
 #endif
 
 	/* initialize selected port with appropriate baud rate */
-	plat_ratio = in_be32(&gur->porpllsr) & MPC85xx_PORPLLSR_PLAT_RATIO;
+	plat_ratio = in_be32(&gur->porpllsr) & MPC85XX_PORPLLSR_PLAT_RATIO;
 	plat_ratio >>= 1;
 	gd->bus_clk = get_board_sys_clk() * plat_ratio;
 
board/freescale/p2041rdb/p2041rdb.c +2 -2
index 575259b19c0..b94aaa29f82 100644
@@ -66,7 +66,7 @@ int checkboard(void)
 
 int board_early_init_f(void)
 {
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 
 	/* board only uses the DDR_MCK0/1, so disable the DDR_MCK2/3 */
 	setbits_be32(&gur->ddrclkdr, 0x000f000f);
@@ -81,7 +81,7 @@ int board_early_init_f(void)
 
 void board_config_lanes_mux(void)
 {
-	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85xx_GUTS_ADDR;
+	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85XX_GUTS_ADDR;
 	int srds_prtcl = (in_be32(&gur->rcwsr[4]) &
 				FSL_CORENET_RCWSR4_SRDS_PRTCL) >> 26;
 
board/freescale/t102xrdb/eth_t102xrdb.c +1 -1
index ad78f72f98c..8ccae53c77d 100644
@@ -33,7 +33,7 @@ int board_eth_init(struct bd_info *bis)
 	struct memac_mdio_info dtsec_mdio_info;
 	struct memac_mdio_info tgec_mdio_info;
 	struct mii_dev *dev;
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u32 srds_s1;
 
 	srds_s1 = in_be32(&gur->rcwsr[4]) &
board/freescale/t102xrdb/spl.c +3 -3
index 9faf259af74..8a7c2309a15 100644
@@ -29,7 +29,7 @@ phys_size_t get_effective_memsize(void)
 #define GPIO1_SD_SEL 0x00020000
 int board_mmc_getcd(struct mmc *mmc)
 {
-	ccsr_gpio_t __iomem *pgpio = (void *)(CFG_SYS_MPC85xx_GPIO_ADDR);
+	ccsr_gpio_t __iomem *pgpio = (void *)(CFG_SYS_MPC85XX_GPIO_ADDR);
 	u32 val = in_be32(&pgpio->gpdat);
 
 	/* GPIO1_14, 0: eMMC, 1: SD */
@@ -40,7 +40,7 @@ int board_mmc_getcd(struct mmc *mmc)
 
 int board_mmc_getwp(struct mmc *mmc)
 {
-	ccsr_gpio_t __iomem *pgpio = (void *)(CFG_SYS_MPC85xx_GPIO_ADDR);
+	ccsr_gpio_t __iomem *pgpio = (void *)(CFG_SYS_MPC85XX_GPIO_ADDR);
 	u32 val = in_be32(&pgpio->gpdat);
 
 	val &= GPIO1_SD_SEL;
@@ -52,7 +52,7 @@ int board_mmc_getwp(struct mmc *mmc)
 void board_init_f(ulong bootflag)
 {
 	u32 plat_ratio, sys_clk, ccb_clk;
-	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85xx_GUTS_ADDR;
+	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85XX_GUTS_ADDR;
 
 	/* Memcpy existing GD at CONFIG_SPL_GD_ADDR */
 	memcpy((void *)CONFIG_SPL_GD_ADDR, (void *)gd, sizeof(gd_t));
board/freescale/t102xrdb/t102xrdb.c +8 -8
index baa59615b3e..2303aa8fb93 100644
@@ -49,7 +49,7 @@ int checkboard(void)
 {
 	struct cpu_type *cpu = gd->arch.cpu;
 	static const char *freq[3] = {"100.00MHZ", "125.00MHz", "156.25MHZ"};
-	ccsr_gur_t __iomem *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t __iomem *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u32 srds_s1;
 
 	srds_s1 = in_be32(&gur->rcwsr[4]) & FSL_CORENET2_RCWSR4_SRDS1_PRTCL;
@@ -99,7 +99,7 @@ int checkboard(void)
 #ifdef CONFIG_TARGET_T1024RDB
 static void board_mux_lane(void)
 {
-	ccsr_gur_t __iomem *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t __iomem *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u32 srds_prtcl_s1;
 	u8 reg = CPLD_READ(misc_ctl_status);
 
@@ -222,7 +222,7 @@ static void fdt_enable_nor(void *blob)
 
 int board_mmc_getcd(struct mmc *mmc)
 {
-	ccsr_gpio_t __iomem *pgpio = (void *)(CFG_SYS_MPC85xx_GPIO_ADDR);
+	ccsr_gpio_t __iomem *pgpio = (void *)(CFG_SYS_MPC85XX_GPIO_ADDR);
 	u32 val = in_be32(&pgpio->gpdat);
 
 	/* GPIO1_14, 0: eMMC, 1: SD/MMC */
@@ -233,7 +233,7 @@ int board_mmc_getcd(struct mmc *mmc)
 
 int board_mmc_getwp(struct mmc *mmc)
 {
-	ccsr_gpio_t __iomem *pgpio = (void *)(CFG_SYS_MPC85xx_GPIO_ADDR);
+	ccsr_gpio_t __iomem *pgpio = (void *)(CFG_SYS_MPC85XX_GPIO_ADDR);
 	u32 val = in_be32(&pgpio->gpdat);
 
 	val &= GPIO1_SD_SEL;
@@ -243,8 +243,8 @@ int board_mmc_getwp(struct mmc *mmc)
 
 static u32 t1023rdb_ctrl(u32 ctrl_type)
 {
-	ccsr_gpio_t __iomem *pgpio = (void *)(CFG_SYS_MPC85xx_GPIO_ADDR);
-	ccsr_gur_t __iomem  *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gpio_t __iomem *pgpio = (void *)(CFG_SYS_MPC85XX_GPIO_ADDR);
+	ccsr_gur_t __iomem  *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u32 val;
 	u8 tmp;
 	int bus_num = I2C_PCA6408_BUS_NUM;
@@ -274,7 +274,7 @@ static u32 t1023rdb_ctrl(u32 ctrl_type)
 		setbits_be32(&pgpio->gpdir, GPIO1_SD_SEL);
 		break;
 	case GPIO3_GET_VERSION:
-		pgpio = (ccsr_gpio_t *)(CFG_SYS_MPC85xx_GPIO_ADDR
+		pgpio = (ccsr_gpio_t *)(CFG_SYS_MPC85XX_GPIO_ADDR
 			 + GPIO3_OFFSET);
 		val = in_be32(&pgpio->gpdat);
 		val = ((val & GPIO3_BRD_VER_MASK) >> 26) & 0x3;
@@ -323,7 +323,7 @@ static u32 t1023rdb_ctrl(u32 ctrl_type)
 		setbits_be32(&pgpio->gpdir, GPIO1_SD_SEL);
 		break;
 	case GPIO3_GET_VERSION:
-		pgpio = (ccsr_gpio_t *)(CFG_SYS_MPC85xx_GPIO_ADDR
+		pgpio = (ccsr_gpio_t *)(CFG_SYS_MPC85XX_GPIO_ADDR
 			 + GPIO3_OFFSET);
 		val = in_be32(&pgpio->gpdat);
 		val = ((val & GPIO3_BRD_VER_MASK) >> 26) & 0x3;
board/freescale/t104xrdb/spl.c +1 -1
index dd8283f3c60..621cd781114 100644
@@ -33,7 +33,7 @@ void board_init_f(ulong bootflag)
 	u32 porsr1, pinctl;
 	u32 svr = get_svr();
 #endif
-	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85xx_GUTS_ADDR;
+	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85XX_GUTS_ADDR;
 
 #if defined(CONFIG_SPL_NAND_BOOT) && defined(CONFIG_A008044_WORKAROUND)
 	if (IS_SVR_REV(svr, 1, 0)) {
board/freescale/t104xrdb/t104xrdb.c +1 -1
index 8cec71217a7..abc8224e4ef 100644
@@ -93,7 +93,7 @@ int board_early_init_r(void)
 
 int misc_init_r(void)
 {
-	ccsr_gur_t __iomem *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t __iomem *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u32 srds_s1;
 
 	srds_s1 = in_be32(&gur->rcwsr[4]) >> 24;
board/freescale/t208xqds/eth_t208xqds.c +3 -3
index 569b193eab7..e1e21b950fe 100644
@@ -189,7 +189,7 @@ void board_ft_fman_fixup_port(void *fdt, char *compat, phys_addr_t addr,
 	const char *phyconn;
 	int off;
 
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 #ifdef CONFIG_TARGET_T2080QDS
 	serdes_corenet_t *srds_regs =
 		(void *)CFG_SYS_FSL_CORENET_SERDES_ADDR;
@@ -413,7 +413,7 @@ void fdt_fixup_board_enet(void *fdt)
  */
 static void initialize_lane_to_slot(void)
 {
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u32 srds_s1 = in_be32(&gur->rcwsr[4]) &
 				FSL_CORENET2_RCWSR4_SRDS1_PRTCL;
 
@@ -459,7 +459,7 @@ int board_eth_init(struct bd_info *bis)
 	int i, idx, lane, slot, interface;
 	struct memac_mdio_info dtsec_mdio_info;
 	struct memac_mdio_info tgec_mdio_info;
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u32 rcwsr13 = in_be32(&gur->rcwsr[13]);
 	u32 srds_s1;
 
board/freescale/t208xqds/spl.c +1 -1
index 8866be54a66..0dcb1411e58 100644
@@ -67,7 +67,7 @@ unsigned long get_board_ddr_clk(void)
 void board_init_f(ulong bootflag)
 {
 	u32 plat_ratio, sys_clk, ccb_clk;
-	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85xx_GUTS_ADDR;
+	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85XX_GUTS_ADDR;
 
 	/* Memcpy existing GD at CONFIG_SPL_GD_ADDR */
 	memcpy((void *)CONFIG_SPL_GD_ADDR, (void *)gd, sizeof(gd_t));
board/freescale/t208xqds/t208xqds.c +1 -1
index 8be55e52e5f..cf70dda0e0a 100644
@@ -88,7 +88,7 @@ int i2c_multiplexer_select_vid_channel(u8 channel)
 
 int brd_mux_lane_to_slot(void)
 {
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u32 srds_prtcl_s1;
 
 	srds_prtcl_s1 = in_be32(&gur->rcwsr[4]) &
board/freescale/t208xrdb/spl.c +1 -1
index 130cb8847c0..e6794aa06de 100644
@@ -27,7 +27,7 @@ phys_size_t get_effective_memsize(void)
 void board_init_f(ulong bootflag)
 {
 	u32 plat_ratio, sys_clk, ccb_clk;
-	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85xx_GUTS_ADDR;
+	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85XX_GUTS_ADDR;
 
 	/* Memcpy existing GD at CONFIG_SPL_GD_ADDR */
 	memcpy((void *)CONFIG_SPL_GD_ADDR, (void *)gd, sizeof(gd_t));
board/freescale/t4rdb/eth.c +1 -1
index 2e52543847b..43011f1edc2 100644
@@ -43,7 +43,7 @@ int board_eth_init(struct bd_info *bis)
 	struct memac_mdio_info dtsec_mdio_info;
 	struct memac_mdio_info tgec_mdio_info;
 	struct mii_dev *dev;
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u32 srds_prtcl_s1, srds_prtcl_s2;
 
 	srds_prtcl_s1 = in_be32(&gur->rcwsr[4]) &
board/freescale/t4rdb/spl.c +1 -1
index 779457d2964..b705b20809b 100644
@@ -33,7 +33,7 @@ phys_size_t get_effective_memsize(void)
 void board_init_f(ulong bootflag)
 {
 	u32 plat_ratio, sys_clk, ccb_clk;
-	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85xx_GUTS_ADDR;
+	ccsr_gur_t *gur = (void *)CFG_SYS_MPC85XX_GUTS_ADDR;
 
 	/* Memcpy existing GD at CONFIG_SPL_GD_ADDR */
 	memcpy((void *)CONFIG_SPL_GD_ADDR, (void *)gd, sizeof(gd_t));
board/keymile/Kconfig +2 -2
index a24d17cf8bf..7c80f1a0933 100644
@@ -35,7 +35,7 @@ config KM_PHRAM
 config KM_RESERVED_PRAM
 	hex "Reserved RAM"
 	default 0x0 if MPC83XX
-	default 0x1000 if MPC85xx || ARCH_LS1021A
+	default 0x1000 if MPC85XX || ARCH_LS1021A
 	depends on !ARCH_SOCFPGA
 	help
 	  Reserved physical RAM area at the end of memory for special purposes.
@@ -79,7 +79,7 @@ config SYS_CLIPS_BASE
 config KM_COMMON_ETH_INIT
 	bool "Common Ethernet Initialization"
 	default y if MPC83XX
-	default n if MPC85xx || ARCH_SOCFPGA || ARCH_LS1021A
+	default n if MPC85XX || ARCH_SOCFPGA || ARCH_LS1021A
 	help
 	  Use the Ethernet initialization implemented in common code that
 	  detects if a Piggy board is present.
board/keymile/kmcent2/kmcent2.c +3 -3
index ed552c57b5f..b75da715317 100644
@@ -45,7 +45,7 @@ int checkboard(void)
 int board_early_init_f(void)
 {
 	struct fsl_ifc ifc = {(void *)CFG_SYS_IFC_ADDR, (void *)NULL};
-	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	bool cpuwd_flag = false;
 
 	/* board specific IFC configuration: increased bus turnaround time */
@@ -221,8 +221,8 @@ EVENT_SPY(EVT_MISC_INIT_F, kmcent2_misc_init_f);
 int misc_init_r(void)
 {
 	serdes_corenet_t *regs = (void *)CFG_SYS_FSL_CORENET_SERDES_ADDR;
-	struct ccsr_scfg *scfg = (struct ccsr_scfg *)CFG_SYS_MPC85xx_SCFG;
-	ccsr_gur_t __iomem *gur = (ccsr_gur_t __iomem *)CFG_SYS_MPC85xx_GUTS_ADDR;
+	struct ccsr_scfg *scfg = (struct ccsr_scfg *)CFG_SYS_MPC85XX_SCFG;
+	ccsr_gur_t __iomem *gur = (ccsr_gur_t __iomem *)CFG_SYS_MPC85XX_GUTS_ADDR;
 
 	/* check SERDES bank 0 reference clock */
 	u32 actual = in_be32(&regs->bank[USED_SRDS_BANK].pllcr0);
board/socrates/socrates.c +3 -3
index 9c4dd186fca..107d3c53eba 100644
@@ -35,7 +35,7 @@ ulong flash_get_size (ulong base, int banknum);
 
 int checkboard (void)
 {
-	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	char buf[64];
 	int f;
 	int i = env_get_f("serial#", buf, sizeof(buf));
@@ -139,7 +139,7 @@ int misc_init_r (void)
 void local_bus_init (void)
 {
 	volatile fsl_lbc_t *lbc = LBC_BASE_ADDR;
-	volatile ccsr_local_ecm_t *ecm = (void *)(CFG_SYS_MPC85xx_ECM_ADDR);
+	volatile ccsr_local_ecm_t *ecm = (void *)(CFG_SYS_MPC85XX_ECM_ADDR);
 	sys_info_t sysinfo;
 	uint clkdiv;
 	uint lbc_mhz;
@@ -175,7 +175,7 @@ void local_bus_init (void)
 #ifdef CONFIG_BOARD_EARLY_INIT_R
 int board_early_init_r (void)
 {
-	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 
 	/* set and reset the GPIO pin 2 which will reset the W83782G chip */
 	out_8((unsigned char*)&gur->gpoutdr, 0x3F );
board/xes/common/Makefile +1 -1
index 002821916c4..6be05152aa4 100644
@@ -5,6 +5,6 @@
 
 obj-$(CONFIG_MPC86xx)		+= fsl_8xxx_clk.o
 obj-$(CONFIG_ARCH_P2020)		+= fsl_8xxx_clk.o
-obj-$(CONFIG_MPC85xx)		+= fsl_8xxx_misc.o board.o
+obj-$(CONFIG_MPC85XX)		+= fsl_8xxx_misc.o board.o
 obj-$(CONFIG_MPC86xx)		+= fsl_8xxx_misc.o board.o
 obj-$(CONFIG_NAND_ACTL)	+= actl_nand.o
board/xes/common/fsl_8xxx_clk.c +4 -4
index c36b2afd50e..ef720c17240 100644
@@ -12,8 +12,8 @@
  */
 unsigned long get_board_sys_clk(void)
 {
-#if defined(CONFIG_MPC85xx)
-	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+#if defined(CONFIG_MPC85XX)
+	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 #elif defined(CONFIG_MPC86xx)
 	immap_t *immap = (immap_t *)CONFIG_SYS_IMMR;
 	volatile ccsr_gur_t *gur = &immap->im_gur;
@@ -29,14 +29,14 @@ unsigned long get_board_sys_clk(void)
 #endif
 }
 
-#ifdef CONFIG_MPC85xx
+#ifdef CONFIG_MPC85XX
 /*
  * Return DDR input clock - synchronous with SYSCLK or 66 MHz
  * Note: 86xx doesn't support asynchronous DDR clk
  */
 unsigned long get_board_ddr_clk(void)
 {
-	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
+	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
 	u32 ddr_ratio = (in_be32(&gur->porpllsr) & 0x00003e00) >> 9;
 
 	if (ddr_ratio == 0x7)
board/xes/common/fsl_8xxx_misc.c +2 -2
index bc7e5c5764f..3082acaaa04 100644
@@ -27,8 +27,8 @@ int board_flash_wp_on(void)
  */
 uint get_board_derivative(void)
 {
-#if defined(CONFIG_MPC85xx)
-       volatile ccsr_gur_t *gur = (void *)CFG_SYS_MPC85xx_GUTS_ADDR;
+#if defined(CONFIG_MPC85XX)
+       volatile ccsr_gur_t *gur = (void *)CFG_SYS_MPC85XX_GUTS_ADDR;
 #elif defined(CONFIG_MPC86xx)
        volatile immap_t *immap = (immap_t *)CFG_SYS_CCSRBAR;
        volatile ccsr_gur_t *gur = &immap->im_gur;
boot/Kconfig +2 -2
index fdcfbae7b2c..4bb1af23ac5 100644
@@ -673,12 +673,12 @@ config SYS_MONITOR_BASE
 	  when booting from flash.
 
 config SPL_SYS_MONITOR_BASE
-	depends on MPC85xx && SPL && HAVE_SYS_MONITOR_BASE
+	depends on MPC85XX && SPL && HAVE_SYS_MONITOR_BASE
 	hex "Physical start address of SPL monitor code"
 	default SPL_TEXT_BASE
 
 config TPL_SYS_MONITOR_BASE
-	depends on MPC85xx && TPL && HAVE_SYS_MONITOR_BASE
+	depends on MPC85XX && TPL && HAVE_SYS_MONITOR_BASE
 	hex "Physical start address of TPL monitor code"
 
 config DYNAMIC_SYS_CLK_FREQ
common/Kconfig +1 -1
index e3a5e1be1e9..99ff67cac6a 100644
@@ -709,7 +709,7 @@ config LAST_STAGE_INIT
 
 config MISC_INIT_R
 	bool "Execute Misc Init"
-	default y if ARCH_KEYSTONE || ARCH_SUNXI || MPC85xx
+	default y if ARCH_KEYSTONE || ARCH_SUNXI || MPC85XX
 	default y if ARCH_OMAP2PLUS && !AM33XX
 	help
 	  Enabling this option calls 'misc_init_r' function
common/board_r.c +1 -1
index 3618acad437..e4a5c88cdd4 100644
@@ -130,7 +130,7 @@ static int initr_reloc_global_data(void)
 #elif !defined(CONFIG_SANDBOX) && !defined(CONFIG_NIOS2)
 	monitor_flash_len = (ulong)&__init_end - gd->relocaddr;
 #endif
-#if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx)
+#if defined(CONFIG_MPC85XX) || defined(CONFIG_MPC86xx)
 	/*
 	 * The gd->cpu pointer is set to an address in flash before relocation.
 	 * We need to update it to point to the same CPU entry in RAM.
common/memsize.c +1 -1
index 66d5be6a1ff..e8acc2be7a6 100644
@@ -96,7 +96,7 @@ phys_size_t __weak get_effective_memsize(void)
 {
 	phys_size_t ram_size = gd->ram_size;
 
-#ifdef CONFIG_MPC85xx
+#ifdef CONFIG_MPC85XX
 	/*
 	 * Check for overflow and limit ram size to some representable value.
 	 * It is required that ram_base + ram_size must be representable by
configs/MPC8548CDS_36BIT_defconfig +1 -1
index 05034ce2e46..d93039d461a 100644
@@ -6,7 +6,7 @@ CONFIG_ENV_SIZE=0x2000
 CONFIG_ENV_SECT_SIZE=0x20000
 CONFIG_DEFAULT_DEVICE_TREE="mpc8548cds_36b"
 CONFIG_ENV_ADDR=0xFFF60000
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_SYS_SRIO=y
 CONFIG_SRIO1=y
configs/MPC8548CDS_defconfig +1 -1
index 965c37e45ec..c34e3a26aba 100644
@@ -6,7 +6,7 @@ CONFIG_ENV_SIZE=0x2000
 CONFIG_ENV_SECT_SIZE=0x20000
 CONFIG_DEFAULT_DEVICE_TREE="mpc8548cds"
 CONFIG_ENV_ADDR=0xFFF60000
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_SYS_SRIO=y
 CONFIG_SRIO1=y
configs/MPC8548CDS_legacy_defconfig +1 -1
index 004175c8048..447624a464d 100644
@@ -6,7 +6,7 @@ CONFIG_ENV_SIZE=0x2000
 CONFIG_ENV_SECT_SIZE=0x20000
 CONFIG_DEFAULT_DEVICE_TREE="mpc8548cds"
 CONFIG_ENV_ADDR=0xFFF60000
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_SYS_SRIO=y
 CONFIG_SRIO1=y
configs/P1010RDB-PA_36BIT_NAND_defconfig +1 -1
index e0ffb164b5a..23a3650331e 100644
@@ -13,7 +13,7 @@ CONFIG_TPL_SERIAL=y
 CONFIG_SPL_DRIVERS_MISC=y
 CONFIG_SPL=y
 CONFIG_TPL_MAX_SIZE=0x20000
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_P1010RDB_PA=y
 CONFIG_L2_CACHE=y
configs/P1010RDB-PA_36BIT_NOR_defconfig +1 -1
index 71e17d90ec1..b52dd99c1e8 100644
@@ -5,7 +5,7 @@ CONFIG_ENV_SIZE=0x2000
 CONFIG_ENV_SECT_SIZE=0x20000
 CONFIG_DEFAULT_DEVICE_TREE="p1010rdb-pa_36b"
 CONFIG_ENV_ADDR=0xEFF20000
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_P1010RDB_PA=y
 CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
configs/P1010RDB-PA_36BIT_SDCARD_defconfig +1 -1
index 0df2a559594..5152d3d8008 100644
@@ -11,7 +11,7 @@ CONFIG_SPL_MMC=y
 CONFIG_SPL_SERIAL=y
 CONFIG_SPL_DRIVERS_MISC=y
 CONFIG_SPL=y
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_P1010RDB_PA=y
 CONFIG_L2_CACHE=y
configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig +1 -1
index 086bfcb10e5..d2e3dc974b9 100644
@@ -13,7 +13,7 @@ CONFIG_SPL_DRIVERS_MISC=y
 CONFIG_SPL=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI=y
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_P1010RDB_PA=y
 CONFIG_L2_CACHE=y
configs/P1010RDB-PA_NAND_defconfig +1 -1
index aa8aeda7580..1258d53aaa6 100644
@@ -13,7 +13,7 @@ CONFIG_TPL_SERIAL=y
 CONFIG_SPL_DRIVERS_MISC=y
 CONFIG_SPL=y
 CONFIG_TPL_MAX_SIZE=0x20000
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_P1010RDB_PA=y
 CONFIG_L2_CACHE=y
configs/P1010RDB-PA_NOR_defconfig +1 -1
index 5807e8bdaa4..55f3b3e0232 100644
@@ -5,7 +5,7 @@ CONFIG_ENV_SIZE=0x2000
 CONFIG_ENV_SECT_SIZE=0x20000
 CONFIG_DEFAULT_DEVICE_TREE="p1010rdb-pa"
 CONFIG_ENV_ADDR=0xEFF20000
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_P1010RDB_PA=y
 CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
configs/P1010RDB-PA_SDCARD_defconfig +1 -1
index 30ff3ad322b..41da013efd6 100644
@@ -11,7 +11,7 @@ CONFIG_SPL_MMC=y
 CONFIG_SPL_SERIAL=y
 CONFIG_SPL_DRIVERS_MISC=y
 CONFIG_SPL=y
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_P1010RDB_PA=y
 CONFIG_L2_CACHE=y
configs/P1010RDB-PA_SPIFLASH_defconfig +1 -1
index d7d8219e947..e33e7d5e711 100644
@@ -13,7 +13,7 @@ CONFIG_SPL_DRIVERS_MISC=y
 CONFIG_SPL=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI=y
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_P1010RDB_PA=y
 CONFIG_L2_CACHE=y
configs/P1010RDB-PB_36BIT_NAND_defconfig +1 -1
index 6e053870834..1a81df7b3b2 100644
@@ -13,7 +13,7 @@ CONFIG_TPL_SERIAL=y
 CONFIG_SPL_DRIVERS_MISC=y
 CONFIG_SPL=y
 CONFIG_TPL_MAX_SIZE=0x20000
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_P1010RDB_PB=y
 CONFIG_L2_CACHE=y
configs/P1010RDB-PB_36BIT_NOR_defconfig +1 -1
index 7328c142f99..611052102f2 100644
@@ -5,7 +5,7 @@ CONFIG_ENV_SIZE=0x2000
 CONFIG_ENV_SECT_SIZE=0x20000
 CONFIG_DEFAULT_DEVICE_TREE="p1010rdb-pb_36b"
 CONFIG_ENV_ADDR=0xEFF20000
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_P1010RDB_PB=y
 CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
configs/P1010RDB-PB_36BIT_SDCARD_defconfig +1 -1
index 216e14cdacc..7f6b79da634 100644
@@ -11,7 +11,7 @@ CONFIG_SPL_MMC=y
 CONFIG_SPL_SERIAL=y
 CONFIG_SPL_DRIVERS_MISC=y
 CONFIG_SPL=y
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_P1010RDB_PB=y
 CONFIG_L2_CACHE=y
configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig +1 -1
index 35943d10d77..40615cf9f88 100644
@@ -13,7 +13,7 @@ CONFIG_SPL_DRIVERS_MISC=y
 CONFIG_SPL=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI=y
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_P1010RDB_PB=y
 CONFIG_L2_CACHE=y
configs/P1010RDB-PB_NAND_defconfig +1 -1
index c2c851ca57a..885db3d46a1 100644
@@ -13,7 +13,7 @@ CONFIG_TPL_SERIAL=y
 CONFIG_SPL_DRIVERS_MISC=y
 CONFIG_SPL=y
 CONFIG_TPL_MAX_SIZE=0x20000
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_P1010RDB_PB=y
 CONFIG_L2_CACHE=y
configs/P1010RDB-PB_NOR_defconfig +1 -1
index 0f109c514c1..12d92ef8807 100644
@@ -5,7 +5,7 @@ CONFIG_ENV_SIZE=0x2000
 CONFIG_ENV_SECT_SIZE=0x20000
 CONFIG_DEFAULT_DEVICE_TREE="p1010rdb-pb"
 CONFIG_ENV_ADDR=0xEFF20000
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_P1010RDB_PB=y
 CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
configs/P1010RDB-PB_SDCARD_defconfig +1 -1
index b8e0a92a935..e5d2caa0de0 100644
@@ -11,7 +11,7 @@ CONFIG_SPL_MMC=y
 CONFIG_SPL_SERIAL=y
 CONFIG_SPL_DRIVERS_MISC=y
 CONFIG_SPL=y
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_P1010RDB_PB=y
 CONFIG_L2_CACHE=y
configs/P1010RDB-PB_SPIFLASH_defconfig +1 -1
index f403e67b8fe..fc8ae9a3d6e 100644
@@ -13,7 +13,7 @@ CONFIG_SPL_DRIVERS_MISC=y
 CONFIG_SPL=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI=y
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_TARGET_P1010RDB_PB=y
 CONFIG_L2_CACHE=y
configs/P1020RDB-PC_36BIT_NAND_defconfig +1 -1
index 02f0f3cde99..c7a4ac8e519 100644
@@ -12,7 +12,7 @@ CONFIG_TPL_LIBGENERIC_SUPPORT=y
 CONFIG_TPL_SERIAL=y
 CONFIG_SPL=y
 CONFIG_TPL_MAX_SIZE=0x20000
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 # CONFIG_CMD_ERRATA is not set
 CONFIG_TARGET_P1020RDB_PC=y
configs/P1020RDB-PC_36BIT_SDCARD_defconfig +1 -1
index 84cc6bd38e5..7ded32bcae1 100644
@@ -10,7 +10,7 @@ CONFIG_SPL_TEXT_BASE=0xf8f80000
 CONFIG_SPL_MMC=y
 CONFIG_SPL_SERIAL=y
 CONFIG_SPL=y
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 # CONFIG_CMD_ERRATA is not set
 CONFIG_TARGET_P1020RDB_PC=y
configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig +1 -1
index 427b67c6722..76e2e54853a 100644
@@ -12,7 +12,7 @@ CONFIG_SPL_SERIAL=y
 CONFIG_SPL=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI=y
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 # CONFIG_CMD_ERRATA is not set
 CONFIG_TARGET_P1020RDB_PC=y
configs/P1020RDB-PC_36BIT_defconfig +1 -1
index e2373d04d74..fa13c807f88 100644
@@ -5,7 +5,7 @@ CONFIG_ENV_SIZE=0x2000
 CONFIG_ENV_SECT_SIZE=0x20000
 CONFIG_DEFAULT_DEVICE_TREE="p1020rdb-pc_36b"
 CONFIG_ENV_ADDR=0xEFF20000
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 # CONFIG_CMD_ERRATA is not set
 CONFIG_TARGET_P1020RDB_PC=y
configs/P1020RDB-PC_NAND_defconfig +1 -1
index e1e6af7fae0..57862fcea99 100644
@@ -12,7 +12,7 @@ CONFIG_TPL_LIBGENERIC_SUPPORT=y
 CONFIG_TPL_SERIAL=y
 CONFIG_SPL=y
 CONFIG_TPL_MAX_SIZE=0x20000
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 # CONFIG_CMD_ERRATA is not set
 CONFIG_TARGET_P1020RDB_PC=y
configs/P1020RDB-PC_SDCARD_defconfig +1 -1
index d9477f1c339..bba95ed33df 100644
@@ -10,7 +10,7 @@ CONFIG_SPL_TEXT_BASE=0xf8f80000
 CONFIG_SPL_MMC=y
 CONFIG_SPL_SERIAL=y
 CONFIG_SPL=y
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 # CONFIG_CMD_ERRATA is not set
 CONFIG_TARGET_P1020RDB_PC=y
configs/P1020RDB-PC_SPIFLASH_defconfig +1 -1
index f27c9c3835d..419dd6f1b40 100644
@@ -12,7 +12,7 @@ CONFIG_SPL_SERIAL=y
 CONFIG_SPL=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI=y
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 # CONFIG_CMD_ERRATA is not set
 CONFIG_TARGET_P1020RDB_PC=y
configs/P1020RDB-PC_defconfig +1 -1
index ca828eac03d..9ca1294c6ff 100644
@@ -5,7 +5,7 @@ CONFIG_ENV_SIZE=0x2000
 CONFIG_ENV_SECT_SIZE=0x20000
 CONFIG_DEFAULT_DEVICE_TREE="p1020rdb-pc"
 CONFIG_ENV_ADDR=0xEFF20000
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 # CONFIG_CMD_ERRATA is not set
 CONFIG_TARGET_P1020RDB_PC=y
configs/P1020RDB-PD_NAND_defconfig +1 -1
index 1d364fef2aa..a6c5f96f13c 100644
@@ -12,7 +12,7 @@ CONFIG_TPL_LIBGENERIC_SUPPORT=y
 CONFIG_TPL_SERIAL=y
 CONFIG_SPL=y
 CONFIG_TPL_MAX_SIZE=0x20000
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 # CONFIG_CMD_ERRATA is not set
 CONFIG_TARGET_P1020RDB_PD=y
configs/P1020RDB-PD_SDCARD_defconfig +1 -1
index 4dc2457c1c7..641793143d1 100644
@@ -10,7 +10,7 @@ CONFIG_SPL_TEXT_BASE=0xf8f80000
 CONFIG_SPL_MMC=y
 CONFIG_SPL_SERIAL=y
 CONFIG_SPL=y
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 # CONFIG_CMD_ERRATA is not set
 CONFIG_TARGET_P1020RDB_PD=y
configs/P1020RDB-PD_SPIFLASH_defconfig +1 -1
index bf6d2235b36..f023880f91c 100644
@@ -12,7 +12,7 @@ CONFIG_SPL_SERIAL=y
 CONFIG_SPL=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI=y
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 # CONFIG_CMD_ERRATA is not set
 CONFIG_TARGET_P1020RDB_PD=y
configs/P1020RDB-PD_defconfig +1 -1
index 5377aba4ef3..ec025fc332d 100644
@@ -5,7 +5,7 @@ CONFIG_ENV_SIZE=0x2000
 CONFIG_ENV_SECT_SIZE=0x20000
 CONFIG_DEFAULT_DEVICE_TREE="p1020rdb-pd"
 CONFIG_ENV_ADDR=0xEFF20000
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 # CONFIG_CMD_ERRATA is not set
 CONFIG_TARGET_P1020RDB_PD=y
configs/P2020RDB-PC_36BIT_NAND_defconfig +1 -1
index 7646e9054b8..491f63e7bff 100644
@@ -12,7 +12,7 @@ CONFIG_TPL_LIBGENERIC_SUPPORT=y
 CONFIG_TPL_SERIAL=y
 CONFIG_SPL=y
 CONFIG_TPL_MAX_SIZE=0x20000
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 # CONFIG_CMD_ERRATA is not set
 CONFIG_TARGET_P2020RDB=y
configs/P2020RDB-PC_36BIT_SDCARD_defconfig +1 -1
index 81512593da5..464c35a7d5e 100644
@@ -10,7 +10,7 @@ CONFIG_SPL_TEXT_BASE=0xf8f80000
 CONFIG_SPL_MMC=y
 CONFIG_SPL_SERIAL=y
 CONFIG_SPL=y
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 # CONFIG_CMD_ERRATA is not set
 CONFIG_TARGET_P2020RDB=y
configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig +1 -1
index 3f106c60139..3b9e67e12ef 100644
@@ -12,7 +12,7 @@ CONFIG_SPL_SERIAL=y
 CONFIG_SPL=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI=y
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 # CONFIG_CMD_ERRATA is not set
 CONFIG_TARGET_P2020RDB=y
configs/P2020RDB-PC_36BIT_defconfig +1 -1
index d266ce82a59..ddb20ca5181 100644
@@ -5,7 +5,7 @@ CONFIG_ENV_SIZE=0x2000
 CONFIG_ENV_SECT_SIZE=0x20000
 CONFIG_DEFAULT_DEVICE_TREE="p2020rdb-pc_36b"
 CONFIG_ENV_ADDR=0xEFF20000
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 # CONFIG_CMD_ERRATA is not set
 CONFIG_TARGET_P2020RDB=y
configs/P2020RDB-PC_NAND_defconfig +1 -1
index 11d59d14fe4..44056761a65 100644
@@ -12,7 +12,7 @@ CONFIG_TPL_LIBGENERIC_SUPPORT=y
 CONFIG_TPL_SERIAL=y
 CONFIG_SPL=y
 CONFIG_TPL_MAX_SIZE=0x20000
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 # CONFIG_CMD_ERRATA is not set
 CONFIG_TARGET_P2020RDB=y
configs/P2020RDB-PC_SDCARD_defconfig +1 -1
index 9416d93c533..d85b38e3d67 100644
@@ -10,7 +10,7 @@ CONFIG_SPL_TEXT_BASE=0xf8f80000
 CONFIG_SPL_MMC=y
 CONFIG_SPL_SERIAL=y
 CONFIG_SPL=y
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 # CONFIG_CMD_ERRATA is not set
 CONFIG_TARGET_P2020RDB=y
configs/P2020RDB-PC_SPIFLASH_defconfig +1 -1
index 74d26f1f1a9..c5a226d06e5 100644
@@ -12,7 +12,7 @@ CONFIG_SPL_SERIAL=y
 CONFIG_SPL=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI=y
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 # CONFIG_CMD_ERRATA is not set
 CONFIG_TARGET_P2020RDB=y
configs/P2020RDB-PC_defconfig +1 -1
index 4d5569c5549..d7f4449c556 100644
@@ -5,7 +5,7 @@ CONFIG_ENV_SIZE=0x2000
 CONFIG_ENV_SECT_SIZE=0x20000
 CONFIG_DEFAULT_DEVICE_TREE="p2020rdb-pc"
 CONFIG_ENV_ADDR=0xEFF20000
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 # CONFIG_CMD_ERRATA is not set
 CONFIG_TARGET_P2020RDB=y
configs/P2041RDB_NAND_defconfig +1 -1
index bf3365a4800..39e909bf96f 100644
@@ -4,7 +4,7 @@ CONFIG_SYS_MALLOC_LEN=0x100000
 CONFIG_ENV_SIZE=0x20000
 CONFIG_ENV_OFFSET=0xE0000
 CONFIG_DEFAULT_DEVICE_TREE="p2041rdb"
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_SYS_SRIO=y
 CONFIG_SRIO1=y
configs/P2041RDB_SDCARD_defconfig +1 -1
index 69f30d427f7..db53a06b965 100644
@@ -4,7 +4,7 @@ CONFIG_SYS_MALLOC_LEN=0x100000
 CONFIG_ENV_SIZE=0x2000
 CONFIG_ENV_OFFSET=0xCF400
 CONFIG_DEFAULT_DEVICE_TREE="p2041rdb"
-CONFIG_MPC85xx=y
+CONFIG_MPC85XX=y
 CONFIG_SYS_INIT_RAM_LOCK=y
 CONFIG_SYS_SRIO=y
 CONFIG_SRIO1=y
configs/P2041RDB_SPIFLASH_defconfig +1 -1
index c2dc0f21eeb..ec0268dd745 100644
@@ -5,7 +5,7 @@ CONFIG_ENV_SIZE=0x2000
 CONFIG_ENV_OFFSET=0x100000
 CONFIG_ENV_SECT_SIZE=0x10000
 CONFIG_DEFAULT_DEVICE_TREE="p2041rdb"
-CONFIG_MPC85xx=y
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

configs/P2041RDB_defconfig +1 -1
index 306432e41b1..02cfe59feed 100644

Lines of this file are not shown. View the raw message.

configs/T1024RDB_NAND_defconfig +1 -1
index bedea018ddc..f8843df20c2 100644

Lines of this file are not shown. View the raw message.

configs/T1024RDB_SDCARD_defconfig +1 -1
index f06bb02a27c..4674d2bd669 100644

Lines of this file are not shown. View the raw message.

configs/T1024RDB_SPIFLASH_defconfig +1 -1
index 4f91dce1094..24e6a6cb9e8 100644

Lines of this file are not shown. View the raw message.

configs/T1024RDB_defconfig +1 -1
index c9d771e44bf..acee4e2aef8 100644

Lines of this file are not shown. View the raw message.

configs/T1042D4RDB_NAND_defconfig +1 -1
index a55797eb9e4..700614e3a20 100644

Lines of this file are not shown. View the raw message.

configs/T1042D4RDB_SDCARD_defconfig +1 -1
index 2f5a1a329d0..288f41b0020 100644

Lines of this file are not shown. View the raw message.

configs/T1042D4RDB_SPIFLASH_defconfig +1 -1
index afce81b1076..3c042483e59 100644

Lines of this file are not shown. View the raw message.

configs/T1042D4RDB_defconfig +1 -1
index 29b240fc147..ee87a349fe1 100644

Lines of this file are not shown. View the raw message.

configs/T2080QDS_NAND_defconfig +1 -1
index ca960d368bd..a579998ef2a 100644

Lines of this file are not shown. View the raw message.

configs/T2080QDS_SDCARD_defconfig +1 -1
index eba73ee989f..e214fe55215 100644

Lines of this file are not shown. View the raw message.

configs/T2080QDS_SECURE_BOOT_defconfig +1 -1
index ae98a3586b7..dc4686c0818 100644

Lines of this file are not shown. View the raw message.

configs/T2080QDS_SPIFLASH_defconfig +1 -1
index 76a1e583007..1933f2a8ed4 100644

Lines of this file are not shown. View the raw message.

configs/T2080QDS_SRIO_PCIE_BOOT_defconfig +1 -1
index fe440a469f9..475cd65ca66 100644

Lines of this file are not shown. View the raw message.

configs/T2080QDS_defconfig +1 -1
index f4f90d5ab22..7c7f910eb2b 100644

Lines of this file are not shown. View the raw message.

configs/T2080RDB_NAND_defconfig +1 -1
index 18baf568121..d8475fd4051 100644

Lines of this file are not shown. View the raw message.

configs/T2080RDB_SDCARD_defconfig +1 -1
index df98e33f971..e46e86a2389 100644

Lines of this file are not shown. View the raw message.

configs/T2080RDB_SPIFLASH_defconfig +1 -1
index efa48af3bf8..e8a978656a6 100644

Lines of this file are not shown. View the raw message.

configs/T2080RDB_defconfig +1 -1
index 8e07b2a09c1..3051bbc3144 100644

Lines of this file are not shown. View the raw message.

configs/T2080RDB_revD_NAND_defconfig +1 -1
index 69bebfacb07..e228fcbda50 100644

Lines of this file are not shown. View the raw message.

configs/T2080RDB_revD_SDCARD_defconfig +1 -1
index 179fc63705a..4e56142e2ef 100644

Lines of this file are not shown. View the raw message.

configs/T2080RDB_revD_SPIFLASH_defconfig +1 -1
index 1d8a6b5f41c..99451afb592 100644

Lines of this file are not shown. View the raw message.

configs/T2080RDB_revD_defconfig +1 -1
index a1332a99b43..a0ee406f769 100644

Lines of this file are not shown. View the raw message.

configs/T4240RDB_SDCARD_defconfig +1 -1
index d906035a2bf..f8122b04276 100644

Lines of this file are not shown. View the raw message.

configs/T4240RDB_defconfig +1 -1
index d2b270dd44f..62150389ba1 100644

Lines of this file are not shown. View the raw message.

configs/kmcent2_defconfig +1 -1
index d9aae79bc2b..aa18a419c8d 100644

Lines of this file are not shown. View the raw message.

configs/qemu-ppce500_defconfig +1 -1
index a19d555f7d5..b853a6dbd2b 100644

Lines of this file are not shown. View the raw message.

configs/socrates_defconfig +1 -1
index 46be662037e..ba80ee1b16e 100644

Lines of this file are not shown. View the raw message.

drivers/ata/fsl_sata.c +1 -1
index 972101b29ce..9aad2c6e2ad 100644

Lines of this file are not shown. View the raw message.

drivers/ddr/fsl/Kconfig +2 -2
index 5c928689a30..170f758ade6 100644

Lines of this file are not shown. View the raw message.

drivers/ddr/fsl/ctrl_regs.c +1 -1
index 8f8c2c864c3..e311d936383 100644

Lines of this file are not shown. View the raw message.

drivers/ddr/fsl/mpc85xx_ddr_gen2.c +2 -2
index b830e7cbd14..cadaaad01eb 100644

Lines of this file are not shown. View the raw message.

drivers/ddr/fsl/mpc85xx_ddr_gen3.c +1 -1
index 1c4a1cae4df..ff57423f57a 100644

Lines of this file are not shown. View the raw message.

drivers/dma/fsl_dma.c +3 -3
index 4f264c83f0c..938ed4429f7 100644

Lines of this file are not shown. View the raw message.

drivers/i2c/Kconfig +1 -1
index 76e19918aad..70ed69b22e1 100644

Lines of this file are not shown. View the raw message.

drivers/net/fm/b4860.c +4 -4
index 1c5543e3c87..0b7d208d704 100644

Lines of this file are not shown. View the raw message.

drivers/net/fm/p1023.c +9 -9
index 9013b276bc9..a18e4e9b1f7 100644

Lines of this file are not shown. View the raw message.

drivers/net/fm/p4080.c +4 -4
index 7ad993221f7..3e4c2234357 100644

Lines of this file are not shown. View the raw message.

drivers/net/fm/p5020.c +4 -4
index f931491b112..86f8a55179b 100644

Lines of this file are not shown. View the raw message.

drivers/net/fm/p5040.c +4 -4
index ef9f4bcce4d..ca3e260082d 100644

Lines of this file are not shown. View the raw message.

drivers/net/fm/t1024.c +3 -3
index 70ab4610cdf..6e20c5d923d 100644

Lines of this file are not shown. View the raw message.

drivers/net/fm/t1040.c +1 -1
index 5c260bed7fd..1541d8a6a33 100644

Lines of this file are not shown. View the raw message.

drivers/net/fm/t2080.c +3 -3
index 6174934d2b8..d1fec51baed 100644

Lines of this file are not shown. View the raw message.

drivers/net/fm/t4240.c +4 -4
index f0a02bfe457..3d129d88362 100644

Lines of this file are not shown. View the raw message.

drivers/pci/Kconfig +2 -2
index ef328d26525..5ad5fe916d2 100644

Lines of this file are not shown. View the raw message.

drivers/qe/qe.c +7 -7
index 2825dc6f9aa..2ea6b56516e 100644

Lines of this file are not shown. View the raw message.

drivers/spi/fsl_espi.c +1 -1
index b1d964d79d0..5ce9d73570b 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/Kconfig +1 -1
index 6213b3c95fa..930e6885cbb 100644

Lines of this file are not shown. View the raw message.

drivers/watchdog/Kconfig +2 -2
index b5ac8f7f50d..9218de06e22 100644

Lines of this file are not shown. View the raw message.

include/configs/P1010RDB.h +1 -1
index 9efae58ce90..eec51744696 100644

Lines of this file are not shown. View the raw message.

include/configs/P2041RDB.h +1 -1
index 28f53ae78a1..4f74a1695e0 100644

Lines of this file are not shown. View the raw message.

include/configs/T102xRDB.h +1 -1
index 7ee46abffdb..22b1e750825 100644

Lines of this file are not shown. View the raw message.

include/configs/T104xRDB.h +1 -1
index f196bd76e6e..e0d0436c197 100644

Lines of this file are not shown. View the raw message.

include/configs/T208xQDS.h +1 -1
index 2023d7497f6..43fcf6ff13e 100644

Lines of this file are not shown. View the raw message.

include/configs/T208xRDB.h +1 -1
index f213d2de770..21f06e97a44 100644

Lines of this file are not shown. View the raw message.

include/configs/T4240RDB.h +1 -1
index 506f1b7e268..e6daf0ef00c 100644

Lines of this file are not shown. View the raw message.

include/configs/p1_p2_rdb_pc.h +1 -1
index f5bd0913449..7fd68c70fc6 100644

Lines of this file are not shown. View the raw message.

include/configs/socrates.h +1 -1
index 2b35be83ec6..5e7317d30a3 100644

Lines of this file are not shown. View the raw message.

include/e500.h +1 -1
index 9f68a834c2f..6343393e5f5 100644

Lines of this file are not shown. View the raw message.

include/fsl_ddr_sdram.h +1 -1
index c43f780e4cd..042faa8b2c3 100644

Lines of this file are not shown. View the raw message.

include/fsl_fman.h +1 -1
index 74acdb25691..f1857a7ef96 100644

Lines of this file are not shown. View the raw message.

include/ioports.h +1 -1
index 1cd3ceb37a5..f253e002b0e 100644

Lines of this file are not shown. View the raw message.

include/mpc85xx.h +3 -3
index 636734dd3c6..e26e131114c 100644

Lines of this file are not shown. View the raw message.

include/pci.h +1 -1
index c55d6107a49..6e58cd9a10b 100644

Lines of this file are not shown. View the raw message.

include/post.h +2 -2
index 41120695064..6c036e4fffc 100644

Lines of this file are not shown. View the raw message.

include/serial.h +1 -1
index ceab714f541..22ac1043d36 100644

Lines of this file are not shown. View the raw message.

include/watchdog.h +1 -1
index ac5f11e376f..ddc81cd6c76 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog

Part of the diff is not shown here. View the raw message.

#51 lore raw

PATCH v2 42/87 powerpc: Rename MPC86xx

In reply to Simon Glass

CONFIG options must not use lower-case letter. Convert this to upper case.

---

(no changes since v1)

 api/api_platform-powerpc.c             | 2 +-
 arch/powerpc/cpu/Makefile              | 2 +-
 arch/powerpc/cpu/mpc8xxx/Makefile      | 2 +-
 arch/powerpc/cpu/mpc8xxx/cpu.c         | 2 +-
 arch/powerpc/cpu/mpc8xxx/fdt.c         | 4 ++--
 arch/powerpc/cpu/mpc8xxx/srio.c        | 8 ++++----
 arch/powerpc/include/asm/config.h      | 2 +-
 arch/powerpc/include/asm/fsl_pci.h     | 2 +-
 arch/powerpc/include/asm/global_data.h | 6 +++---
 arch/powerpc/include/asm/ppc.h         | 6 +++---
 arch/powerpc/include/asm/processor.h   | 8 ++++----
 arch/powerpc/lib/bdinfo.c              | 2 +-
 arch/powerpc/lib/bootm.c               | 2 +-
 arch/powerpc/lib/ppccache.S            | 4 ++--
 arch/powerpc/lib/stack.c               | 2 +-
 board/xes/common/Makefile              | 4 ++--
 board/xes/common/fsl_8xxx_clk.c        | 2 +-
 board/xes/common/fsl_8xxx_misc.c       | 2 +-
 common/board_r.c                       | 2 +-
 drivers/ddr/fsl/Kconfig                | 4 ++--
 drivers/dma/fsl_dma.c                  | 6 +++---
 drivers/pci/Kconfig                    | 2 +-
 env/Kconfig                            | 2 +-
 include/asm-generic/u-boot.h           | 2 +-
 include/mpc86xx.h                      | 8 ++++----
 include/serial.h                       | 2 +-
 26 files changed, 45 insertions(+), 45 deletions(-)
api/api_platform-powerpc.c +1 -1
index 8503ba274d6..905c7d76bfd 100644
@@ -29,7 +29,7 @@ int platform_sys_info(struct sys_info *si)
 	si->clk_bus = gd->bus_clk;
 	si->clk_cpu = gd->cpu_clk;
 
-#if defined(CONFIG_MPC8xx) || defined(CONFIG_E500) || defined(CONFIG_MPC86xx)
+#if defined(CONFIG_MPC8xx) || defined(CONFIG_E500) || defined(CONFIG_MPC86XX)
 #define bi_bar	bi_immr_base
 #elif defined(CONFIG_MPC83XX)
 #define bi_bar	bi_immrbar
arch/powerpc/cpu/Makefile +1 -1
index 914f95ca674..69ca4a1a77a 100644
@@ -2,4 +2,4 @@
 
 obj-$(CONFIG_MPC83XX) += mpc8xxx/
 obj-$(CONFIG_MPC85XX) += mpc8xxx/
-obj-$(CONFIG_MPC86xx) += mpc8xxx/
+obj-$(CONFIG_MPC86XX) += mpc8xxx/
arch/powerpc/cpu/mpc8xxx/Makefile +1 -1
index abcde571ac2..84cb7dd4d92 100644
@@ -18,7 +18,7 @@ obj-$(CONFIG_FSL_LAW) += law.o
 
 else
 obj-$(CONFIG_MPC85XX) += cpu.o
-obj-$(CONFIG_MPC86xx) += cpu.o
+obj-$(CONFIG_MPC86XX) += cpu.o
 
 obj-$(CONFIG_OF_LIBFDT) += fdt.o
 obj-$(CONFIG_FSL_LBC) += fsl_lbc.o
arch/powerpc/cpu/mpc8xxx/cpu.c +1 -1
index d4a91622d34..4e4f5aa0c5e 100644
@@ -94,7 +94,7 @@ static struct cpu_type cpu_type_list[] = {
 	CPU_TYPE_ENTRY(C291, C291, 1),
 	CPU_TYPE_ENTRY(C292, C292, 1),
 	CPU_TYPE_ENTRY(C293, C293, 1),
-#elif defined(CONFIG_MPC86xx)
+#elif defined(CONFIG_MPC86XX)
 	CPU_TYPE_ENTRY(8610, 8610, 1),
 	CPU_TYPE_ENTRY(8641, 8641, 2),
 	CPU_TYPE_ENTRY(8641D, 8641D, 2),
arch/powerpc/cpu/mpc8xxx/fdt.c +2 -2
index 6055f986b8b..3130bdd9acc 100644
@@ -17,7 +17,7 @@
 #include <phy.h>
 #include <hwconfig.h>
 
-#if defined(CONFIG_MP) && (defined(CONFIG_MPC85XX) || defined(CONFIG_MPC86xx))
+#if defined(CONFIG_MP) && (defined(CONFIG_MPC85XX) || defined(CONFIG_MPC86XX))
 static int ft_del_cpuhandle(void *blob, int cpuhandle)
 {
 	int off, ret = -FDT_ERR_NOTFOUND;
@@ -69,7 +69,7 @@ void ft_fixup_num_cores(void *blob) {
 	debug ("deleted %d extra core entry entries from device tree\n",
 								del_cores);
 }
-#endif /* defined(CONFIG_MPC85XX) || defined(CONFIG_MPC86xx) */
+#endif /* defined(CONFIG_MPC85XX) || defined(CONFIG_MPC86XX) */
 
 int fdt_fixup_phy_connection(void *blob, int offset, phy_interface_t phyc)
 {
arch/powerpc/cpu/mpc8xxx/srio.c +4 -4
index 89ee4ea1ac2..be6e46dcbcf 100644
@@ -39,10 +39,10 @@
 	#define _DEVDISR_SRIO2 MPC85XX_DEVDISR_SRIO
 	#define _DEVDISR_RMU   MPC85XX_DEVDISR_RMSG
 	#define CFG_SYS_MPC8xxx_GUTS_ADDR CFG_SYS_MPC85XX_GUTS_ADDR
-#elif defined(CONFIG_MPC86xx)
-	#define _DEVDISR_SRIO1 MPC86xx_DEVDISR_SRIO
-	#define _DEVDISR_SRIO2 MPC86xx_DEVDISR_SRIO
-	#define _DEVDISR_RMU   MPC86xx_DEVDISR_RMSG
+#elif defined(CONFIG_MPC86XX)
+	#define _DEVDISR_SRIO1 MPC86XX_DEVDISR_SRIO
+	#define _DEVDISR_SRIO2 MPC86XX_DEVDISR_SRIO
+	#define _DEVDISR_RMU   MPC86XX_DEVDISR_RMSG
 	#define CFG_SYS_MPC8xxx_GUTS_ADDR \
 		(&((immap_t *)CONFIG_SYS_IMMR)->im_gur)
 #else
arch/powerpc/include/asm/config.h +1 -1
index 3d411eb8661..78563716df2 100644
@@ -16,7 +16,7 @@
 
 #ifndef CFG_MAX_MEM_MAPPED
 #if	defined(CONFIG_E500)		|| \
-	defined(CONFIG_MPC86xx)		|| \
+	defined(CONFIG_MPC86XX)		|| \
 	defined(CONFIG_E300)
 #define CFG_MAX_MEM_MAPPED	((phys_size_t)2 << 30)
 #else
arch/powerpc/include/asm/fsl_pci.h +1 -1
index c2f12d76521..c45ac92e509 100644
@@ -258,7 +258,7 @@ int fsl_pcie_init_board(int busno);
 	FT_FSL_PCIE1_SETUP; \
 	FT_FSL_PCIE2_SETUP; \
 	FT_FSL_PCIE3_SETUP;
-#elif defined(CONFIG_MPC86xx)
+#elif defined(CONFIG_MPC86XX)
 #define FSL_PCI_COMPAT	"fsl,mpc8610-pci"
 #define FSL_PCIE_COMPAT	"fsl,mpc8641-pcie"
 #define FT_FSL_PCI_SETUP \
arch/powerpc/include/asm/global_data.h +3 -3
index 404980c1f47..ec1aa489f8d 100644
@@ -53,12 +53,12 @@ struct arch_global_data {
 # endif /* CONFIG_ARCH_MPC8360 */
 #endif
 #endif
-#if defined(CONFIG_MPC85XX) || defined(CONFIG_MPC86xx)
+#if defined(CONFIG_MPC85XX) || defined(CONFIG_MPC86XX)
 	u32 lbc_clk;
 	void *cpu;
-#endif /* CONFIG_MPC85XX || CONFIG_MPC86xx */
+#endif /* CONFIG_MPC85XX || CONFIG_MPC86XX */
 #if defined(CONFIG_MPC83XX) || defined(CONFIG_MPC85XX) || \
-		defined(CONFIG_MPC86xx)
+		defined(CONFIG_MPC86XX)
 	u32 i2c1_clk;
 	u32 i2c2_clk;
 #endif
arch/powerpc/include/asm/ppc.h +3 -3
index 708cd3920cc..b41ab6441c8 100644
@@ -51,7 +51,7 @@ static inline uint get_svr(void)
 }
 
 #if defined(CONFIG_MPC85XX)	|| \
-	defined(CONFIG_MPC86xx)	|| \
+	defined(CONFIG_MPC86XX)	|| \
 	defined(CONFIG_MPC83XX)
 unsigned char	in8(unsigned int);
 void		out8(unsigned int, unsigned char);
@@ -84,9 +84,9 @@ void get_sys_info(sys_info_t *);
 void ft_fixup_cpu(void *, u64);
 void ft_fixup_num_cores(void *);
 #endif
-#if defined(CONFIG_MPC86xx)
+#if defined(CONFIG_MPC86XX)
 ulong get_bus_freq(ulong);
-typedef MPC86xx_SYS_INFO sys_info_t;
+typedef MPC86XX_SYS_INFO sys_info_t;
 void   get_sys_info(sys_info_t *);
 static inline ulong get_ddr_freq(ulong dummy)
 {
arch/powerpc/include/asm/processor.h +4 -4
index 2bb2af2cb64..668ba618252 100644
@@ -569,7 +569,7 @@
 #define MCSR_IMPE	0x00800000	/* Imprecise Machine Check Exception */
 #define ESR_ST		0x00800000	/* Store Operation */
 
-#if defined(CONFIG_MPC86xx)
+#if defined(CONFIG_MPC86XX)
 #define SPRN_MSSCR0	0x3f6
 #define SPRN_MSSSR0	0x3f7
 #endif
@@ -646,10 +646,10 @@
 #define L2CR	SPRN_L2CR	/* PPC 750 L2 control register */
 #define LR	SPRN_LR
 #define MBAR	SPRN_MBAR	/* System memory base address */
-#if defined(CONFIG_MPC86xx)
+#if defined(CONFIG_MPC86XX)
 #define MSSCR0	SPRN_MSSCR0
 #endif
-#if defined(CONFIG_E500) || defined(CONFIG_MPC86xx)
+#if defined(CONFIG_E500) || defined(CONFIG_MPC86XX)
 #define PIR	SPRN_PIR
 #endif
 #define SVR	SPRN_SVR	/* System-On-Chip Version Register */
@@ -1156,7 +1156,7 @@ int fixup_cpu(void);
 int fsl_qoriq_core_to_cluster(unsigned int core);
 int fsl_qoriq_dsp_core_to_cluster(unsigned int core);
 
-#if defined(CONFIG_MPC85XX) || defined(CONFIG_MPC86xx)
+#if defined(CONFIG_MPC85XX) || defined(CONFIG_MPC86XX)
 #define CPU_TYPE_ENTRY(n, v, nc) \
 	{ .name = #n, .soc_ver = SVR_##v, .num_cores = (nc), \
 	  .mask = (1 << (nc)) - 1 }
arch/powerpc/lib/bdinfo.c +1 -1
index 81cbcf988ff..b838d5a1db8 100644
@@ -16,7 +16,7 @@ int arch_setup_bdinfo(void)
 {
 	struct bd_info *bd = gd->bd;
 
-#if defined(CONFIG_E500) || defined(CONFIG_MPC86xx)
+#if defined(CONFIG_E500) || defined(CONFIG_MPC86XX)
 	bd->bi_immr_base = CONFIG_SYS_IMMR;	/* base  of IMMR register     */
 #endif
 
arch/powerpc/lib/bootm.c +1 -1
index e5324bf8fc1..ef1d5af8908 100644
@@ -293,7 +293,7 @@ void boot_prep_vxworks(struct bootm_headers *images)
 #if defined(CONFIG_MPC85XX)
 	ft_fixup_cpu(images->ft_addr, base + size);
 	ft_fixup_num_cores(images->ft_addr);
-#elif defined(CONFIG_MPC86xx)
+#elif defined(CONFIG_MPC86XX)
 	off = fdt_add_mem_rsv(images->ft_addr,
 			determine_mp_bootpg(NULL), (u64)4096);
 	if (off < 0)
arch/powerpc/lib/ppccache.S +2 -2
index 472548d494d..52f53e93a30 100644
@@ -64,7 +64,7 @@ ppcSync:
  * flush_dcache_range(unsigned long start, unsigned long stop)
  */
 _GLOBAL(flush_dcache_range)
-#if defined(CONFIG_MPC85XX) || defined(CONFIG_MPC86xx)
+#if defined(CONFIG_MPC85XX) || defined(CONFIG_MPC86XX)
 	li	r5,L1_CACHE_BYTES-1
 	andc	r3,r3,r5
 	subf	r4,r3,r4
@@ -88,7 +88,7 @@ _GLOBAL(flush_dcache_range)
  * invalidate_dcache_range(unsigned long start, unsigned long stop)
  */
 _GLOBAL(invalidate_dcache_range)
-#if defined(CONFIG_MPC85XX) || defined(CONFIG_MPC86xx)
+#if defined(CONFIG_MPC85XX) || defined(CONFIG_MPC86XX)
 	li	r5,L1_CACHE_BYTES-1
 	andc	r3,r3,r5
 	subf	r4,r3,r4
arch/powerpc/lib/stack.c +1 -1
index 2e731aa8701..4d0f3b31daa 100644
@@ -34,7 +34,7 @@ int arch_reserve_stacks(void)
 
 int arch_setup_dest_addr(void)
 {
-#if defined(CONFIG_MP) && (defined(CONFIG_MPC86xx) || defined(CONFIG_E500))
+#if defined(CONFIG_MP) && (defined(CONFIG_MPC86XX) || defined(CONFIG_E500))
 	/*
 	 * We need to make sure the location we intend to put secondary core
 	 * boot code is reserved and not used by any part of u-boot
board/xes/common/Makefile +2 -2
index 6be05152aa4..d6f09f71b75 100644
@@ -3,8 +3,8 @@
 # (C) Copyright 2006
 # Wolfgang Denk, DENX Software Engineering, [email protected].
 
-obj-$(CONFIG_MPC86xx)		+= fsl_8xxx_clk.o
+obj-$(CONFIG_MPC86XX)		+= fsl_8xxx_clk.o
 obj-$(CONFIG_ARCH_P2020)		+= fsl_8xxx_clk.o
 obj-$(CONFIG_MPC85XX)		+= fsl_8xxx_misc.o board.o
-obj-$(CONFIG_MPC86xx)		+= fsl_8xxx_misc.o board.o
+obj-$(CONFIG_MPC86XX)		+= fsl_8xxx_misc.o board.o
 obj-$(CONFIG_NAND_ACTL)	+= actl_nand.o
board/xes/common/fsl_8xxx_clk.c +1 -1
index ef720c17240..0e6dc6e2108 100644
@@ -14,7 +14,7 @@ unsigned long get_board_sys_clk(void)
 {
 #if defined(CONFIG_MPC85XX)
 	volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85XX_GUTS_ADDR);
-#elif defined(CONFIG_MPC86xx)
+#elif defined(CONFIG_MPC86XX)
 	immap_t *immap = (immap_t *)CONFIG_SYS_IMMR;
 	volatile ccsr_gur_t *gur = &immap->im_gur;
 #endif
board/xes/common/fsl_8xxx_misc.c +1 -1
index 3082acaaa04..03dedef9e12 100644
@@ -29,7 +29,7 @@ uint get_board_derivative(void)
 {
 #if defined(CONFIG_MPC85XX)
        volatile ccsr_gur_t *gur = (void *)CFG_SYS_MPC85XX_GUTS_ADDR;
-#elif defined(CONFIG_MPC86xx)
+#elif defined(CONFIG_MPC86XX)
        volatile immap_t *immap = (immap_t *)CFG_SYS_CCSRBAR;
        volatile ccsr_gur_t *gur = &immap->im_gur;
 #endif
common/board_r.c +1 -1
index e4a5c88cdd4..552b9899323 100644
@@ -130,7 +130,7 @@ static int initr_reloc_global_data(void)
 #elif !defined(CONFIG_SANDBOX) && !defined(CONFIG_NIOS2)
 	monitor_flash_len = (ulong)&__init_end - gd->relocaddr;
 #endif
-#if defined(CONFIG_MPC85XX) || defined(CONFIG_MPC86xx)
+#if defined(CONFIG_MPC85XX) || defined(CONFIG_MPC86XX)
 	/*
 	 * The gd->cpu pointer is set to an address in flash before relocation.
 	 * We need to update it to point to the same CPU entry in RAM.
drivers/ddr/fsl/Kconfig +2 -2
index 170f758ade6..4d2791e4796 100644
@@ -96,7 +96,7 @@ config SYS_FSL_DDRC_GEN1
 
 config SYS_FSL_DDRC_GEN2
 	bool
-	depends on !MPC86xx
+	depends on !MPC86XX
 	help
 	  Enable Freescale DDR2 controller.
 
@@ -153,7 +153,7 @@ config SYS_FSL_DDR2
 	bool "Freescale DDR2 controller"
 	depends on SYS_FSL_HAS_DDR2
 	imply DDR_SPD
-	select SYS_FSL_DDRC_GEN2 if (!MPC86xx && !SYS_FSL_DDRC_GEN3)
+	select SYS_FSL_DDRC_GEN2 if (!MPC86XX && !SYS_FSL_DDRC_GEN3)
 
 config SYS_FSL_DDR1
 	bool "Freescale DDR1 controller"
drivers/dma/fsl_dma.c +3 -3
index 938ed4429f7..b3378e855bb 100644
@@ -27,8 +27,8 @@
 dma83xx_t *dma_base = (void *)(CFG_SYS_MPC83XX_DMA_ADDR);
 #elif defined(CONFIG_MPC85XX)
 ccsr_dma_t *dma_base = (void *)(CFG_SYS_MPC85XX_DMA_ADDR);
-#elif defined(CONFIG_MPC86xx)
-ccsr_dma_t *dma_base = (void *)(CONFIG_SYS_MPC86xx_DMA_ADDR);
+#elif defined(CONFIG_MPC86XX)
+ccsr_dma_t *dma_base = (void *)(CONFIG_SYS_MPC86XX_DMA_ADDR);
 #else
 #error "Freescale DMA engine not supported on your processor"
 #endif
@@ -37,7 +37,7 @@ static void dma_sync(void)
 {
 #if defined(CONFIG_MPC85XX)
 	asm("sync; isync; msync");
-#elif defined(CONFIG_MPC86xx)
+#elif defined(CONFIG_MPC86XX)
 	asm("sync; isync");
 #endif
 }
drivers/pci/Kconfig +1 -1
index 5ad5fe916d2..ee0dc023165 100644
@@ -150,7 +150,7 @@ config PCIE_FSL
 	select SYS_FSL_PCI_VER_3_X if ARCH_T2080 || ARCH_T4240
 	help
 	  Say Y here if you want to enable PCIe controller support on FSL
-	  PowerPC MPC85XX, MPC86xx, B series, P series and T series SoCs.
+	  PowerPC MPC85XX, MPC86XX, B series, P series and T series SoCs.
 	  This driver does not support SRIO_PCIE_BOOT feature.
 
 config PCI_MPC85XX
env/Kconfig +1 -1
index e377d88eb2a..9222330a676 100644
@@ -116,7 +116,7 @@ config ENV_IS_IN_FLASH
 	default y if ARCH_INTEGRATOR_CP
 	default y if M548x || M547x || M5282
 	default y if MCF532X || MCF52x2
-	default y if MPC86xx || MPC83XX
+	default y if MPC86XX || MPC83XX
 	default y if ARCH_MPC8548
 	default y if SH && !CPU_SH4
 	help
include/asm-generic/u-boot.h +1 -1
index 64dfb66c7cb..59c1802272d 100644
@@ -37,7 +37,7 @@ struct bd_info {
 	unsigned long	bi_dsp_freq; /* dsp core frequency */
 	unsigned long	bi_ddr_freq; /* ddr frequency */
 #endif
-#if defined(CONFIG_MPC8xx) || defined(CONFIG_E500) || defined(CONFIG_MPC86xx)
+#if defined(CONFIG_MPC8xx) || defined(CONFIG_E500) || defined(CONFIG_MPC86XX)
 	unsigned long	bi_immr_base;	/* base of IMMR register */
 #endif
 #if defined(CONFIG_M68K)
include/mpc86xx.h +4 -4
index ea8d17d557e..3c1e2a5180f 100644
@@ -4,8 +4,8 @@
  * Srikanth Srinivasan ([email protected])
  */
 
-#ifndef	__MPC86xx_H__
-#define __MPC86xx_H__
+#ifndef	__MPC86XX_H__
+#define __MPC86XX_H__
 
 #include <asm/fsl_lbc.h>
 
@@ -44,7 +44,7 @@ typedef struct {
 	unsigned long freq_processor;
 	unsigned long freq_systembus;
 	unsigned long freq_localbus;
-} MPC86xx_SYS_INFO;
+} MPC86XX_SYS_INFO;
 
 #define l1icache_enable	icache_enable
 
@@ -87,4 +87,4 @@ void setup_ddr_bat(phys_addr_t dram_size);
 extern void setup_bats(void);
 
 #endif  /* _ASMLANGUAGE */
-#endif	/* __MPC86xx_H__ */
+#endif	/* __MPC86XX_H__ */
include/serial.h +1 -1
index 22ac1043d36..5c8be294bf6 100644
@@ -28,7 +28,7 @@ extern struct serial_device serial_scc_device;
 extern struct serial_device *default_serial_console(void);
 
 #if	defined(CONFIG_MPC83XX) || defined(CONFIG_MPC85XX) || \
-	defined(CONFIG_MPC86xx) || \
+	defined(CONFIG_MPC86XX) || \
 	defined(CONFIG_ARCH_TEGRA) || defined(CONFIG_SYS_COREBOOT) || \
 	defined(CONFIG_MICROBLAZE)
 extern struct serial_device serial0_device;
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#52 lore raw

PATCH v2 43/87 imx: Rename CONFIG_MXS to CFG_MXS

In reply to Simon Glass

This is not a Kconfig option so we should not be setting it in the Makefile. Rename it to use a CFS_ prefix, since this is still used in mxsimage.c

In general tools should support all the features without reference to CONFIG options, but this is left to the maintainer to look at.

---

(no changes since v1)

 tools/Makefile   | 4 ++--
 tools/mxsimage.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
tools/Makefile +2 -2
index edfa40903d9..2ee43dff542 100644
@@ -158,9 +158,9 @@ fit_check_sign-objs   := $(dumpimage-mkimage-objs) fit_check_sign.o
 file2include-objs := file2include.o
 
 ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_TOOLS_LIBCRYPTO),)
-# Add CONFIG_MXS into host CFLAGS, so we can check whether or not register
+# Add CFG_MXS into host CFLAGS, so we can check whether or not register
 # the mxsimage support within tools/mxsimage.c .
-HOSTCFLAGS_mxsimage.o += -DCONFIG_MXS
+HOSTCFLAGS_mxsimage.o += -DCFG_MXS
 endif
 
 ifdef CONFIG_TOOLS_LIBCRYPTO
tools/mxsimage.c +1 -1
index fee022aab46..fbe46c47fae 100644
@@ -5,7 +5,7 @@
  * Copyright (C) 2012-2013 Marek Vasut <[email protected]>
  */
 
-#ifdef CONFIG_MXS
+#ifdef CFG_MXS
 
 #include <errno.h>
 #include <fcntl.h>
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#53 lore raw

PATCH v2 44/87 nand: Drop unused actl_nand driver

In reply to Simon Glass

This is not used since this commit:

ed7fe2bee12 ppc: Remove xpedite boards

Drop the driver and Kconfig option.

---

(no changes since v1)

 board/xes/common/Makefile    |  1 -
 board/xes/common/actl_nand.c | 49 ------------------------------------
 2 files changed, 50 deletions(-)
 delete mode 100644 board/xes/common/actl_nand.c
board/xes/common/Makefile +0 -1
index d6f09f71b75..b139ee9f759 100644
@@ -7,4 +7,3 @@ obj-$(CONFIG_MPC86XX)		+= fsl_8xxx_clk.o
 obj-$(CONFIG_ARCH_P2020)		+= fsl_8xxx_clk.o
 obj-$(CONFIG_MPC85XX)		+= fsl_8xxx_misc.o board.o
 obj-$(CONFIG_MPC86XX)		+= fsl_8xxx_misc.o board.o
-obj-$(CONFIG_NAND_ACTL)	+= actl_nand.o
board/xes/common/actl_nand.c deleted +0 -49

49 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#54 lore raw

PATCH v2 45/87 mtd: Drop unused fsl_upm driver

In reply to Simon Glass

This is not used since this commit:

8d1e3cb1400 powerpc: mpc83xx: remove MPC8360ERDK, EMPC8360EMDS support

Drop the driver and Kconfig option.

---

(no changes since v1)

 drivers/mtd/nand/raw/Makefile  |   1 -
 drivers/mtd/nand/raw/fsl_upm.c | 187 ---------------------------------
 include/linux/mtd/fsl_upm.h    |  44 --------
 3 files changed, 232 deletions(-)
 delete mode 100644 drivers/mtd/nand/raw/fsl_upm.c
 delete mode 100644 include/linux/mtd/fsl_upm.h
drivers/mtd/nand/raw/Makefile +0 -1
index 4c59903aa8c..e8764cf358b 100644
@@ -56,7 +56,6 @@ obj-$(CONFIG_NAND_DENALI) += denali.o
 obj-$(CONFIG_NAND_DENALI_DT) += denali_dt.o
 obj-$(CONFIG_NAND_FSL_ELBC) += fsl_elbc_nand.o
 obj-$(CONFIG_NAND_FSL_IFC) += fsl_ifc_nand.o
-obj-$(CONFIG_NAND_FSL_UPM) += fsl_upm.o
 obj-$(CONFIG_NAND_FSMC) += fsmc_nand.o
 obj-$(CONFIG_NAND_KB9202) += kb9202_nand.o
 obj-$(CONFIG_NAND_KIRKWOOD) += kirkwood_nand.o
drivers/mtd/nand/raw/fsl_upm.c deleted +0 -187

187 lines not on this page · raw message

include/linux/mtd/fsl_upm.h deleted +0 -44

44 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#55 lore raw

PATCH v2 46/87 mtd: Drop unused fsmc_nand driver

In reply to Simon Glass

This is not used since this commit:

570c3dcfc15 arm: Remove spear600 boards and the rest of SPEAr support

Drop the driver and Kconfig option.

---

(no changes since v1)

 drivers/mtd/nand/raw/Makefile    |   1 -
 drivers/mtd/nand/raw/fsmc_nand.c | 470 -------------------------------
 include/linux/mtd/fsmc_nand.h    |  84 ------
 3 files changed, 555 deletions(-)
 delete mode 100644 drivers/mtd/nand/raw/fsmc_nand.c
 delete mode 100644 include/linux/mtd/fsmc_nand.h
drivers/mtd/nand/raw/Makefile +0 -1
index e8764cf358b..f004eb39f3b 100644
@@ -56,7 +56,6 @@ obj-$(CONFIG_NAND_DENALI) += denali.o
 obj-$(CONFIG_NAND_DENALI_DT) += denali_dt.o
 obj-$(CONFIG_NAND_FSL_ELBC) += fsl_elbc_nand.o
 obj-$(CONFIG_NAND_FSL_IFC) += fsl_ifc_nand.o
-obj-$(CONFIG_NAND_FSMC) += fsmc_nand.o
 obj-$(CONFIG_NAND_KB9202) += kb9202_nand.o
 obj-$(CONFIG_NAND_KIRKWOOD) += kirkwood_nand.o
 obj-$(CONFIG_NAND_KMETER1) += kmeter1_nand.o
drivers/mtd/nand/raw/fsmc_nand.c deleted +0 -470

470 lines not on this page · raw message

include/linux/mtd/fsmc_nand.h deleted +0 -84

84 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#56 lore raw

PATCH v2 47/87 mtd: Drop unused kb9202_nand driver

In reply to Simon Glass

This is not used since time out of mind.

Drop the driver and Kconfig option.

---

(no changes since v1)

 drivers/mtd/nand/raw/Makefile      |   1 -
 drivers/mtd/nand/raw/kb9202_nand.c | 134 -----------------------------
 2 files changed, 135 deletions(-)
 delete mode 100644 drivers/mtd/nand/raw/kb9202_nand.c
drivers/mtd/nand/raw/Makefile +0 -1
index f004eb39f3b..c25acb11804 100644
@@ -56,7 +56,6 @@ obj-$(CONFIG_NAND_DENALI) += denali.o
 obj-$(CONFIG_NAND_DENALI_DT) += denali_dt.o
 obj-$(CONFIG_NAND_FSL_ELBC) += fsl_elbc_nand.o
 obj-$(CONFIG_NAND_FSL_IFC) += fsl_ifc_nand.o
-obj-$(CONFIG_NAND_KB9202) += kb9202_nand.o
 obj-$(CONFIG_NAND_KIRKWOOD) += kirkwood_nand.o
 obj-$(CONFIG_NAND_KMETER1) += kmeter1_nand.o
 obj-$(CONFIG_NAND_LPC32XX_MLC) += lpc32xx_nand_mlc.o
drivers/mtd/nand/raw/kb9202_nand.c deleted +0 -134

134 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#57 lore raw

PATCH v2 48/87 mtd: Drop unused nand_plat driver

In reply to Simon Glass

This is not used since this commit:

936478e797a SPARC: Remove

Drop the driver and Kconfig option.

---

(no changes since v1)

 drivers/mtd/nand/raw/Makefile    |  1 -
 drivers/mtd/nand/raw/nand_plat.c | 65 --------------------------------
 2 files changed, 66 deletions(-)
 delete mode 100644 drivers/mtd/nand/raw/nand_plat.c
drivers/mtd/nand/raw/Makefile +0 -1
index c25acb11804..add2b4cf655 100644
@@ -70,7 +70,6 @@ obj-$(CONFIG_NAND_PXA3XX) += pxa3xx_nand.o
 obj-$(CONFIG_TEGRA_NAND) += tegra_nand.o
 obj-$(CONFIG_NAND_OMAP_GPMC) += omap_gpmc.o
 obj-$(CONFIG_NAND_OMAP_ELM) += omap_elm.o
-obj-$(CONFIG_NAND_PLAT) += nand_plat.o
 obj-$(CONFIG_NAND_SUNXI) += sunxi_nand.o
 obj-$(CONFIG_NAND_MXIC) += mxic_nand.o
 obj-$(CONFIG_NAND_ZYNQ) += zynq_nand.o
drivers/mtd/nand/raw/nand_plat.c deleted +0 -65

65 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#58 lore raw

PATCH v2 49/87 Makefile: Drop CONFIG_OF_EARLY_FLATTREE

In reply to Simon Glass

This option does not exist, so drop the dead code.

---

(no changes since v1)

 Makefile | 4 ----
 1 file changed, 4 deletions(-)
Makefile +0 -4
index 400261606e3..d7a0121828c 100644
@@ -2004,10 +2004,6 @@ dtbs: prepare3 scripts_dtc
 dtbs_install:
 	$(Q)$(MAKE) $(dtbinst)=$(dtstree)
 
-ifdef CONFIG_OF_EARLY_FLATTREE
-all: dtbs
-endif
-
 endif
 
 # Check dtc and pylibfdt, if DTC is provided, else build them
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#59 lore raw

PATCH v2 50/87 omap: Drop unused CONFIG_OMAP_USB_PHY

In reply to Simon Glass

This option does not exist, so the Makefile rule does nothing. Drop it.

---

(no changes since v1)

 drivers/Makefile | 1 -
 1 file changed, 1 deletion(-)
drivers/Makefile +0 -1
index 83b14ef1fd3..15d19d0c8a3 100644
@@ -59,7 +59,6 @@ obj-$(CONFIG_SPL_USB_GADGET) += usb/common/
 obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/udc/
 obj-$(CONFIG_SPL_WATCHDOG) += watchdog/
 obj-$(CONFIG_SPL_USB_HOST) += usb/host/
-obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/
 obj-$(CONFIG_SPL_SATA) += ata/ scsi/
 obj-$(CONFIG_SPL_LEGACY_BLOCK) += block/
 obj-$(CONFIG_SPL_THERMAL) += thermal/
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#60 lore raw

PATCH v2 51/87 mtd: Drop unused CONFIG_ONENAND_U_BOOT

In reply to Simon Glass

This option does not exist, so the Makefile rule does nothing. Drop it.

---

(no changes since v1)

 Makefile | 1 -
 1 file changed, 1 deletion(-)
Makefile +0 -1
index d7a0121828c..21d62f66367 100644
@@ -956,7 +956,6 @@ endif
 # Always append INPUTS so that arch config.mk's can add custom ones
 INPUTS-y += u-boot.srec u-boot.bin u-boot.sym System.map binary_size_check
 
-INPUTS-$(CONFIG_ONENAND_U_BOOT) += u-boot-onenand.bin
 ifeq ($(CONFIG_SPL_FSL_PBL),y)
 INPUTS-$(CONFIG_RAMBOOT_PBL) += u-boot-with-spl-pbl.bin
 else
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#61 lore raw

PATCH v2 52/87 ppc: Drop unused CONFIG_P2020DS

In reply to Simon Glass

This option does not exist, so the Makefile rule does nothing. Drop it.

---

(no changes since v1)

 board/freescale/common/Makefile | 1 -
 1 file changed, 1 deletion(-)
board/freescale/common/Makefile +0 -1
index fc51d6d3e18..9d5f38bb225 100644
@@ -54,7 +54,6 @@ obj-$(CONFIG_TARGET_MPC8548CDS)	+= cds_pci_ft.o
 
 obj-$(CONFIG_TARGET_MPC8536DS)	+= ics307_clk.o
 obj-$(CONFIG_TARGET_P1022DS)		+= ics307_clk.o
-obj-$(CONFIG_P2020DS)		+= ics307_clk.o
 obj-$(CONFIG_TARGET_P3041DS)		+= ics307_clk.o
 obj-$(CONFIG_TARGET_P4080DS)		+= ics307_clk.o
 obj-$(CONFIG_TARGET_P5040DS)		+= ics307_clk.o
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#62 lore raw

PATCH v2 53/87 gpio: Drop unused pca9698 driver

In reply to Simon Glass

This is not used. Drop the driver and Kconfig option.

---

(no changes since v1)

 arch/mips/mach-octeon/octeon_fdt.c |  43 +---------
 board/gdsys/a38x/hre.c             |   1 -
 drivers/gpio/Makefile              |   1 -
 drivers/gpio/pca9698.c             | 127 -----------------------------
 include/pca9698.h                  |  17 ----
 5 files changed, 1 insertion(+), 188 deletions(-)
 delete mode 100644 drivers/gpio/pca9698.c
 delete mode 100644 include/pca9698.h
arch/mips/mach-octeon/octeon_fdt.c +1 -42
index 0ccfe149dcc..c74fe9d9fb8 100644
@@ -30,9 +30,6 @@
 #ifdef CONFIG_PCF857X
 #include <pcf857x.h>
 #endif
-#ifdef CONFIG_PCA9698
-#include <pca9698.h>
-#endif
 #ifdef CONFIG_PCA9554
 #include <pca9554.h>
 #endif
@@ -59,13 +56,6 @@ static const char * const pca9555_gpio_list[] = {
 };
 #endif
 
-#ifdef CONFIG_PCA9698
-/** List of compatible strings supported by pca9698 driver */
-static const char * const pca9698_gpio_list[] = {
-	"nxp,pca9505", "pca9505", "nxp,pca9698", "pca9698", NULL,
-};
-#endif
-
 #ifdef CONFIG_PCA953X
 /** List of compatible strings supported by pca953x driver */
 static const char * const pca953x_gpio_list[] = {
@@ -807,19 +797,6 @@ int octeon_fdt_read_gpio(const void *fdt, int phandle, int pin)
 		}
 		value = (value >> pin) & 1;
 		break;
-#endif
-#ifdef CONFIG_PCA9698
-	case CVMX_GPIO_PIN_PCA9698:
-		node = fdt_node_offset_by_phandle(fdt, phandle);
-		if (octeon_fdt_get_i2c_bus_addr(fdt, node, &bus, &addr)) {
-			printf("%s: Could not get gpio bus and/or address\n", __func__);
-			return -1;
-		}
-		old_bus = i2c_get_bus_num();
-		i2c_set_bus_num(bus);
-		value = pca9698_get_value(addr, pin);
-		i2c_set_bus_num(old_bus);
-		break;
 #endif
 	case CVMX_GPIO_PIN_OCTEON:
 		value = gpio_get_value(pin);
@@ -880,18 +857,6 @@ int octeon_fdt_set_gpio(const void *fdt, int phandle, int pin, int val)
 			return -1;
 		}
 		return pcf957x_set_val(bus, addr, 1 << pin, val << pin);
-#endif
-#ifdef CONFIG_PCA9698
-	case CVMX_GPIO_PIN_PCA9698:
-		if (octeon_fdt_get_i2c_bus_addr(fdt, node, &bus, &addr)) {
-			printf("%s: Could not get gpio bus and/or address\n", __func__);
-			return -1;
-		}
-		old_bus = i2c_get_bus_num();
-		i2c_set_bus_num(bus);
-		rc = pca9698_set_value(addr, pin, val);
-		i2c_set_bus_num(old_bus);
-		return rc;
 #endif
 	case CVMX_GPIO_PIN_OCTEON:
 		return gpio_set_value(pin, val);
@@ -951,13 +916,7 @@ int octeon_fdt_get_gpio_info(int fdt_node, enum octeon_gpio_type *type,
 		*type = GPIO_TYPE_PCA953X;
 	}
 #endif
-#ifdef CONFIG_PCA9698
-	if (!octeon_fdt_node_check_compatible(fdt, fdt_node, pca9698_gpio_list)) {
-		debug("%s: Found PCA9698 compatible GPIO", __func__);
-		*type = GPIO_TYPE_PCA9698;
-	}
-#endif
-#if defined(CONFIG_PCA953X) || defined(CONFIG_PCA9698) || \
+#if defined(CONFIG_PCA953X) || \
 	defined(CONFIG_PCA9555) || defined(CONFIG_PCA9554)
 	if (!i2c_addr || !i2c_bus) {
 		printf("%s: Error: i2c_addr or i2c_bus is NULL\n", __func__);
board/gdsys/a38x/hre.c +0 -1
index 2f16a4d3e11..d16233ed78e 100644
@@ -15,7 +15,6 @@
 #include <u-boot/sha1.h>
 #include <asm/byteorder.h>
 #include <asm/unaligned.h>
-#include <pca9698.h>
 
 #include "hre.h"
 
drivers/gpio/Makefile +0 -1
index 889a88dc885..fcd136367ac 100644
@@ -28,7 +28,6 @@ obj-$(CONFIG_MXC_GPIO)	+= mxc_gpio.o
 obj-$(CONFIG_MXS_GPIO)	+= mxs_gpio.o
 obj-$(CONFIG_NPCM_GPIO)      	+= npcm_gpio.o
 obj-$(CONFIG_PCA953X)		+= pca953x.o
-obj-$(CONFIG_PCA9698)		+= pca9698.o
 obj-$(CONFIG_ROCKCHIP_GPIO)	+= rk_gpio.o
 obj-$(CONFIG_RCAR_GPIO)		+= gpio-rcar.o
 obj-$(CONFIG_RZA1_GPIO)		+= gpio-rza1.o
drivers/gpio/pca9698.c deleted +0 -127

127 lines not on this page · raw message

include/pca9698.h deleted +0 -17
deleted file mode 100644
index 48a5f756e28..00000000000
@@ -1,17 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright 2011
- * Dirk Eibach,  Guntermann & Drunck GmbH, [email protected]
- */
-
-#ifndef __PCA9698_H_
-#define __PCA9698_H_
-
-int pca9698_request(unsigned gpio, const char *label);
-void pca9698_free(unsigned gpio);
-int pca9698_direction_input(u8 addr, unsigned gpio);
-int pca9698_direction_output(u8 addr, unsigned gpio, int value);
-int pca9698_get_value(u8 addr, unsigned gpio);
-int pca9698_set_value(u8 addr, unsigned gpio, int value);
-
-#endif /* __PCA9698_H_ */
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#63 lore raw

PATCH v2 54/87 samsung: Rename PINCTRL_EXYNOS78x0

In reply to Simon Glass

CONFIG options must not use lower-case letter. Convert this to upper case.

---

(no changes since v1)

 arch/arm/mach-exynos/Kconfig    | 6 +++---
 drivers/pinctrl/exynos/Kconfig  | 2 +-
 drivers/pinctrl/exynos/Makefile | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
arch/arm/mach-exynos/Kconfig +3 -3
index 8f3aee052c8..1a1fd7261b1 100644
@@ -204,7 +204,7 @@ config  TARGET_A5Y17LTE
 	select CLK_EXYNOS
 	select OF_CONTROL
 	select PINCTRL
-	select PINCTRL_EXYNOS78x0
+	select PINCTRL_EXYNOS78X0
 	select SUPPORT_SPL
 
 config  TARGET_A7Y17LTE
@@ -213,7 +213,7 @@ config  TARGET_A7Y17LTE
 	select CLK_EXYNOS
 	select OF_CONTROL
 	select PINCTRL
-	select PINCTRL_EXYNOS78x0
+	select PINCTRL_EXYNOS78X0
 	select SUPPORT_SPL
 
 config  TARGET_A3Y17LTE
@@ -222,7 +222,7 @@ config  TARGET_A3Y17LTE
 	select CLK_EXYNOS
 	select OF_CONTROL
 	select PINCTRL
-	select PINCTRL_EXYNOS78x0
+	select PINCTRL_EXYNOS78X0
 	select SUPPORT_SPL
 
 endchoice
drivers/pinctrl/exynos/Kconfig +1 -1
index a60f49869b4..821bdd14072 100644
@@ -9,7 +9,7 @@ config PINCTRL_EXYNOS7420
 	  Support pin multiplexing and pin configuration control on
 	  Samsung's Exynos7420 SoC.
 
-config PINCTRL_EXYNOS78x0
+config PINCTRL_EXYNOS78X0
 	bool "Samsung Exynos78x0 pinctrl driver"
 	depends on ARCH_EXYNOS && PINCTRL_FULL
 	select PINCTRL_EXYNOS
drivers/pinctrl/exynos/Makefile +1 -1
index 07db970ca94..445c8e17aea 100644
@@ -5,4 +5,4 @@
 
 obj-$(CONFIG_PINCTRL_EXYNOS)		+= pinctrl-exynos.o
 obj-$(CONFIG_PINCTRL_EXYNOS7420)	+= pinctrl-exynos7420.o
-obj-$(CONFIG_PINCTRL_EXYNOS78x0)	+= pinctrl-exynos78x0.o
+obj-$(CONFIG_PINCTRL_EXYNOS78X0)	+= pinctrl-exynos78x0.o
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#64 lore raw

PATCH v2 55/87 power: Drop unused bat_trats driver and battery code

In reply to Simon Glass

This driver and bat_trats2 are not used. Drop them and the entire battery directory, since there is nothing left.

---

(no changes since v1)

 drivers/power/Makefile             |  1 -
 drivers/power/battery/Makefile     |  7 ---
 drivers/power/battery/bat_trats.c  | 91 ------------------------------
 drivers/power/battery/bat_trats2.c | 65 ---------------------
 4 files changed, 164 deletions(-)
 delete mode 100644 drivers/power/battery/Makefile
 delete mode 100644 drivers/power/battery/bat_trats.c
 delete mode 100644 drivers/power/battery/bat_trats2.c
drivers/power/Makefile +0 -1
index 34a84808a9c..efdae3655ac 100644
@@ -4,7 +4,6 @@
 # Tom Rix <Tom.Rix at windriver.com>
 
 obj-$(CONFIG_$(SPL_TPL_)ACPI_PMC) += acpi_pmc/
-obj-y += battery/
 obj-$(CONFIG_$(SPL_TPL_)POWER_DOMAIN) += domain/
 obj-y += fuel_gauge/
 obj-y += mfd/
drivers/power/battery/Makefile deleted +0 -7
deleted file mode 100644
index 370923a6ed9..00000000000
@@ -1,7 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# Copyright (C) 2012 Samsung Electronics
-# Lukasz Majewski <[email protected]>
-
-obj-$(CONFIG_POWER_BATTERY_TRATS) += bat_trats.o
-obj-$(CONFIG_POWER_BATTERY_TRATS2) += bat_trats2.o
drivers/power/battery/bat_trats.c deleted +0 -91

91 lines not on this page · raw message

drivers/power/battery/bat_trats2.c deleted +0 -65

65 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#65 lore raw

PATCH v2 56/87 power: Drop unused fg_max17042 driver and fuel gauge code

In reply to Simon Glass

This driver is not used. Drop it and the entire fuel_gauge directory, since there is nothing left.

---

(no changes since v1)

 drivers/power/Makefile                 |   1 -
 drivers/power/fuel_gauge/Makefile      |   6 -
 drivers/power/fuel_gauge/fg_max17042.c | 287 -------------------------
 include/power/fg_battery_cell_params.h |  73 -------
 4 files changed, 367 deletions(-)
 delete mode 100644 drivers/power/fuel_gauge/Makefile
 delete mode 100644 drivers/power/fuel_gauge/fg_max17042.c
 delete mode 100644 include/power/fg_battery_cell_params.h
drivers/power/Makefile +0 -1
index efdae3655ac..93003e97e01 100644
@@ -5,7 +5,6 @@
 
 obj-$(CONFIG_$(SPL_TPL_)ACPI_PMC) += acpi_pmc/
 obj-$(CONFIG_$(SPL_TPL_)POWER_DOMAIN) += domain/
-obj-y += fuel_gauge/
 obj-y += mfd/
 obj-y += pmic/
 obj-y += regulator/
drivers/power/fuel_gauge/Makefile deleted +0 -6
deleted file mode 100644
index ca2df947585..00000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# Copyright (C) 2012 Samsung Electronics
-# Lukasz Majewski <[email protected]>
-
-obj-$(CONFIG_POWER_FG_MAX17042) += fg_max17042.o
drivers/power/fuel_gauge/fg_max17042.c deleted +0 -287

287 lines not on this page · raw message

include/power/fg_battery_cell_params.h deleted +0 -73

73 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#66 lore raw

PATCH v2 57/87 power: Drop unused muic_max77693 driver and mfd code

In reply to Simon Glass

This driver is not used and has lain unconverted since:

fc47cf9d054 arm: exynos: i2c: Convert exynos boards to use DM_I2C

Drop it and the entire mfd directory, since there is nothing left.

---

(no changes since v1)

 drivers/power/Makefile            |  1 -
 drivers/power/mfd/Makefile        |  6 ---
 drivers/power/mfd/muic_max77693.c | 77 -------------------------------
 3 files changed, 84 deletions(-)
 delete mode 100644 drivers/power/mfd/Makefile
 delete mode 100644 drivers/power/mfd/muic_max77693.c
drivers/power/Makefile +0 -1
index 93003e97e01..ba64b2c5938 100644
@@ -5,7 +5,6 @@
 
 obj-$(CONFIG_$(SPL_TPL_)ACPI_PMC) += acpi_pmc/
 obj-$(CONFIG_$(SPL_TPL_)POWER_DOMAIN) += domain/
-obj-y += mfd/
 obj-y += pmic/
 obj-y += regulator/
 
drivers/power/mfd/Makefile deleted +0 -6
deleted file mode 100644
index b5ec8f00bb0..00000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# Copyright (C) 2013 Samsung Electronics
-# Piotr Wilczek <[email protected]>
-
-obj-$(CONFIG_POWER_MUIC_MAX77693) += muic_max77693.o
drivers/power/mfd/muic_max77693.c deleted +0 -77

77 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#67 lore raw

PATCH v2 58/87 power: Drop unused muic_max8997 driver

In reply to Simon Glass

This is not used. Drop the driver and Kconfig option.

---

(no changes since v1)

 drivers/power/pmic/Makefile       |  1 -
 drivers/power/pmic/muic_max8997.c | 74 -------------------------------
 2 files changed, 75 deletions(-)
 delete mode 100644 drivers/power/pmic/muic_max8997.c
drivers/power/pmic/Makefile +0 -1
index c3180c58208..0b3b3d62d0e 100644
@@ -37,7 +37,6 @@ obj-$(CONFIG_POWER_TPS65218) += pmic_tps65218.o
 
 ifeq ($(CONFIG_$(SPL_)POWER_LEGACY),y)
 obj-$(CONFIG_POWER_LTC3676) += pmic_ltc3676.o
-obj-$(CONFIG_POWER_MUIC_MAX8997) += muic_max8997.o
 obj-$(CONFIG_POWER_PCA9450) += pmic_pca9450.o
 obj-$(CONFIG_POWER_PFUZE100) += pmic_pfuze100.o
 obj-$(CONFIG_POWER_PFUZE3000) += pmic_pfuze3000.o
drivers/power/pmic/muic_max8997.c deleted +0 -74

74 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#68 lore raw

PATCH v2 59/87 freescale: Drop unused pq-mds-pib driver

In reply to Simon Glass

This is not used. Drop the driver and Kconfig option.

---

(no changes since v1)

 board/freescale/common/Makefile     |  1 -
 board/freescale/common/pq-mds-pib.c | 60 -----------------------------
 board/freescale/common/pq-mds-pib.h |  9 -----
 3 files changed, 70 deletions(-)
 delete mode 100644 board/freescale/common/pq-mds-pib.c
 delete mode 100644 board/freescale/common/pq-mds-pib.h
board/freescale/common/Makefile +0 -1
index 9d5f38bb225..bd035d60a58 100644
@@ -36,7 +36,6 @@ obj-$(I2C_COMMON)		+= i2c_common.o
 obj-$(CONFIG_FSL_USE_PCA9547_MUX)		+= i2c_mux.o
 obj-$(CONFIG_$(SPL_)VID)	+= vid.o
 obj-$(CONFIG_FSL_QIXIS)	+= qixis.o
-obj-$(CONFIG_PQ_MDS_PIB)	+= pq-mds-pib.o
 ifndef CONFIG_SPL_BUILD
 obj-$(CONFIG_ID_EEPROM)	+= sys_eeprom.o
 endif
board/freescale/common/pq-mds-pib.c deleted +0 -60

60 lines not on this page · raw message

board/freescale/common/pq-mds-pib.h deleted +0 -9
deleted file mode 100644
index 67066fd118d..00000000000
@@ -1,9 +0,0 @@
-/*
- * Copyright (C) 2007 Freescale Semiconductor, Inc.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation;
- */
-
-extern int pib_init(void);
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#69 lore raw

PATCH v2 60/87 rmobile: Drop CONFIG_RMOBILE

In reply to Simon Glass

This has been renamed to CONFIG_ARCH_RMOBILE but this one was left behind. It doesn't point to a directory that exists, so just drop it.

---

(no changes since v1)

 arch/arm/cpu/armv7/Makefile | 1 -
 1 file changed, 1 deletion(-)
arch/arm/cpu/armv7/Makefile +0 -1
index 7d7907601ec..653eef8ad79 100644
@@ -37,7 +37,6 @@ obj-$(if $(filter bcm281xx,$(SOC)),y) += bcm281xx/
 obj-$(if $(filter bcmcygnus,$(SOC)),y) += bcmcygnus/
 obj-$(if $(filter bcmnsp,$(SOC)),y) += bcmnsp/
 obj-$(if $(filter ls102xa,$(SOC)),y) += ls102xa/
-obj-$(CONFIG_RMOBILE) += rmobile/
 obj-$(if $(filter stv0991,$(SOC)),y) += stv0991/
 obj-$(CONFIG_ARCH_SUNXI) += sunxi/
 obj-$(CONFIG_VF610) += vf610/
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#70 lore raw

PATCH v2 61/87 rtc: Drop old and unused drivers

In reply to Simon Glass

These drivers are not used and have not been converted to driver model. Drop them and references to the non-existent CONFIG options they use.

---

(no changes since v1)

 drivers/rtc/Makefile       |  14 --
 drivers/rtc/at91sam9_rtt.c |  78 -------
 drivers/rtc/ds1302.c       | 329 ----------------------------
 drivers/rtc/ds1306.c       | 438 -------------------------------------
 drivers/rtc/ftrtc010.c     | 122 -----------
 drivers/rtc/imxdi.c        | 223 -------------------
 drivers/rtc/max6900.c      | 105 ---------
 drivers/rtc/mk48t59.c      | 175 ---------------
 drivers/rtc/mx27rtc.c      |  64 ------
 drivers/rtc/rs5c372.c      | 256 ----------------------
 drivers/rtc/s3c24x0_rtc.c  | 149 -------------
 drivers/rtc/x1205.c        | 161 --------------
 12 files changed, 2114 deletions(-)
 delete mode 100644 drivers/rtc/at91sam9_rtt.c
 delete mode 100644 drivers/rtc/ds1302.c
 delete mode 100644 drivers/rtc/ds1306.c
 delete mode 100644 drivers/rtc/ftrtc010.c
 delete mode 100644 drivers/rtc/imxdi.c
 delete mode 100644 drivers/rtc/max6900.c
 delete mode 100644 drivers/rtc/mk48t59.c
 delete mode 100644 drivers/rtc/mx27rtc.c
 delete mode 100644 drivers/rtc/rs5c372.c
 delete mode 100644 drivers/rtc/s3c24x0_rtc.c
 delete mode 100644 drivers/rtc/x1205.c
drivers/rtc/Makefile +0 -14
index acfd130bbc9..447551e15aa 100644
@@ -6,49 +6,35 @@
 
 obj-$(CONFIG_$(SPL_TPL_)DM_RTC) += rtc-uclass.o
 
-obj-$(CONFIG_RTC_AT91SAM9_RTT) += at91sam9_rtt.o
 obj-$(CONFIG_RTC_ARMADA38X) += armada38x.o
 obj-$(CONFIG_RTC_DAVINCI) += davinci.o
-obj-$(CONFIG_RTC_DS1302) += ds1302.o
-obj-$(CONFIG_RTC_DS1306) += ds1306.o
 obj-$(CONFIG_RTC_DS1307) += ds1307.o
 obj-$(CONFIG_RTC_DS1338) += ds1307.o
-obj-$(CONFIG_RTC_DS1339) += ds1307.o
 obj-$(CONFIG_RTC_DS1337) += ds1337.o
 obj-$(CONFIG_RTC_DS1374) += ds1374.o
-obj-$(CONFIG_RTC_DS1388) += ds1337.o
 obj-$(CONFIG_RTC_DS3231) += ds3231.o
 obj-$(CONFIG_RTC_DS3232) += ds3232.o
 obj-$(CONFIG_RTC_EMULATION) += emul_rtc.o
-obj-$(CONFIG_RTC_FTRTC010) += ftrtc010.o
 obj-$(CONFIG_RTC_HT1380) += ht1380.o
 obj-$(CONFIG_SANDBOX) += i2c_rtc_emul.o
-obj-$(CONFIG_RTC_IMXDI) += imxdi.o
 obj-$(CONFIG_RTC_ISL1208) += isl1208.o
 obj-$(CONFIG_RTC_M41T62) += m41t62.o
-obj-$(CONFIG_RTC_MAX6900) += max6900.o
 obj-$(CONFIG_RTC_MC13XXX) += mc13xxx-rtc.o
 obj-$(CONFIG_RTC_MC146818) += mc146818.o
-obj-$(CONFIG_RTC_MCP79411) += ds1307.o
 obj-$(CONFIG_MCFRTC) += mcfrtc.o
-obj-$(CONFIG_RTC_MK48T59) += mk48t59.o
 obj-$(CONFIG_RTC_MV) += mvrtc.o
-obj-$(CONFIG_RTC_MX27) += mx27rtc.o
 obj-$(CONFIG_RTC_MXS) += mxsrtc.o
 obj-$(CONFIG_RTC_PCF8563) += pcf8563.o
 obj-$(CONFIG_RTC_PCF2127) += pcf2127.o
 obj-$(CONFIG_RTC_PL031) += pl031.o
 obj-$(CONFIG_RTC_PT7C4338) += pt7c4338.o
-obj-$(CONFIG_RTC_RS5C372A) += rs5c372.o
 obj-$(CONFIG_RTC_RV3028) += rv3028.o
 obj-$(CONFIG_RTC_RV3029) += rv3029.o
 obj-$(CONFIG_RTC_RV8803) += rv8803.o
 obj-$(CONFIG_RTC_RX8025) += rx8025.o
 obj-$(CONFIG_RTC_RX8010SJ) += rx8010sj.o
-obj-$(CONFIG_RTC_S3C24X0) += s3c24x0_rtc.o
 obj-$(CONFIG_RTC_S35392A) += s35392a.o
 obj-$(CONFIG_RTC_STM32) += stm32_rtc.o
 obj-$(CONFIG_SANDBOX) += sandbox_rtc.o
-obj-$(CONFIG_RTC_X1205) += x1205.o
 obj-$(CONFIG_RTC_ABX80X) += abx80x.o
 obj-$(CONFIG_RTC_ZYNQMP) += zynqmp_rtc.o
drivers/rtc/at91sam9_rtt.c deleted +0 -78

78 lines not on this page · raw message

drivers/rtc/ds1302.c deleted +0 -329

329 lines not on this page · raw message

drivers/rtc/ds1306.c deleted +0 -438

438 lines not on this page · raw message

drivers/rtc/ftrtc010.c deleted +0 -122

122 lines not on this page · raw message

drivers/rtc/imxdi.c deleted +0 -223

223 lines not on this page · raw message

drivers/rtc/max6900.c deleted +0 -105

105 lines not on this page · raw message

drivers/rtc/mk48t59.c deleted +0 -175

175 lines not on this page · raw message

drivers/rtc/mx27rtc.c deleted +0 -64

64 lines not on this page · raw message

drivers/rtc/rs5c372.c deleted +0 -256

256 lines not on this page · raw message

drivers/rtc/s3c24x0_rtc.c deleted +0 -149

149 lines not on this page · raw message

drivers/rtc/x1205.c deleted +0 -161

161 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#71 lore raw

PATCH v2 62/87 mtd: Drop unused CONFIG_S32V234

In reply to Simon Glass

This option does not exist, so the Makefile rule does nothing. Drop it.

---

(no changes since v1)

 arch/arm/cpu/armv8/Makefile | 1 -
 1 file changed, 1 deletion(-)
arch/arm/cpu/armv8/Makefile +0 -1
index 2e4bf9e038c..bba4f570dbb 100644
@@ -39,7 +39,6 @@ obj-$(CONFIG_SPL_RECOVER_DATA_SECTION) += spl_data.o
 endif
 
 obj-$(CONFIG_FSL_LAYERSCAPE) += fsl-layerscape/
-obj-$(CONFIG_S32V234) += s32v234/
 obj-$(CONFIG_TARGET_HIKEY) += hisilicon/
 obj-$(CONFIG_ARMV8_PSCI) += psci.o
 obj-$(CONFIG_TARGET_BCMNS3) += bcmns3/
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#72 lore raw

PATCH v2 63/87 mtd: Drop unused scf0403_lcd driver

In reply to Simon Glass

This is not used since this commit:

76386d6195a arm: Remove cm_t35 board

Drop the driver and Kconfig option.

---

(no changes since v1)

 drivers/video/Makefile      |   1 -
 drivers/video/scf0403_lcd.c | 297 ------------------------------------
 include/scf0403_lcd.h       |  10 --
 3 files changed, 308 deletions(-)
 delete mode 100644 drivers/video/scf0403_lcd.c
 delete mode 100644 include/scf0403_lcd.h
drivers/video/Makefile +0 -1
index 12b68cdd068..ce2d61d56bc 100644
@@ -34,7 +34,6 @@ obj-$(CONFIG_LOGICORE_DP_TX) += logicore_dp_tx.o
 obj-$(CONFIG_NXP_TDA19988) += tda19988.o
 obj-$(CONFIG_OSD) += video_osd-uclass.o
 obj-$(CONFIG_SANDBOX_OSD) += sandbox_osd.o
-obj-$(CONFIG_SCF0403_LCD) += scf0403_lcd.o
 obj-$(CONFIG_VIDEO_ARM_MALIDP) += mali_dp.o
 obj-$(CONFIG_VIDEO_BCM2835) += bcm2835.o
 obj-$(CONFIG_VIDEO_BROADWELL_IGD) += broadwell_igd.o
drivers/video/scf0403_lcd.c deleted +0 -297

297 lines not on this page · raw message

include/scf0403_lcd.h deleted +0 -10
deleted file mode 100644
index 07f8c643ba5..00000000000
@@ -1,10 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Copyright (c) 2013, Compulab Inc.
- */
-#ifndef SCF0403_LCD_H_
-#define SCF0403_LCD_H_
-
-int scf0403_init(int reset_gpio);
-
-#endif
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#73 lore raw

PATCH v2 64/87 rmobile: Drop CONFIG_SH73A0 and associated code

In reply to Simon Glass

This option does not exist, so the code attached to it is not used. Drop it.

---

(no changes since v1)

 arch/arm/mach-rmobile/Makefile                |    1 -
 arch/arm/mach-rmobile/cpu_info-sh73a0.c       |   43 -
 arch/arm/mach-rmobile/cpu_info.c              |    1 -
 arch/arm/mach-rmobile/include/mach/gpio.h     |    5 +-
 arch/arm/mach-rmobile/include/mach/rmobile.h  |    5 +-
 .../mach-rmobile/include/mach/sh73a0-gpio.h   |  553 ----
 arch/arm/mach-rmobile/include/mach/sh73a0.h   |  289 --
 arch/arm/mach-rmobile/pfc-sh73a0.c            | 2807 -----------------
 drivers/i2c/sh_i2c.c                          |    5 -
 drivers/serial/serial_sh.h                    |   10 +-
 10 files changed, 4 insertions(+), 3715 deletions(-)
 delete mode 100644 arch/arm/mach-rmobile/cpu_info-sh73a0.c
 delete mode 100644 arch/arm/mach-rmobile/include/mach/sh73a0-gpio.h
 delete mode 100644 arch/arm/mach-rmobile/include/mach/sh73a0.h
 delete mode 100644 arch/arm/mach-rmobile/pfc-sh73a0.c
arch/arm/mach-rmobile/Makefile +0 -1
index 3f77760e50d..5b86221bc25 100644
@@ -8,7 +8,6 @@ obj-y += emac.o
 
 obj-$(CONFIG_DISPLAY_BOARDINFO) += board.o
 obj-$(CONFIG_TMU_TIMER) += ../../sh/lib/time.o
-obj-$(CONFIG_SH73A0) += lowlevel_init.o cpu_info-sh73a0.o pfc-sh73a0.o
 obj-$(CONFIG_R8A7740) += lowlevel_init.o cpu_info-r8a7740.o pfc-r8a7740.o
 obj-$(CONFIG_RCAR_GEN2) += lowlevel_init_ca15.o cpu_info-rcar.o
 obj-$(CONFIG_RCAR_GEN3) += lowlevel_init_gen3.o cpu_info-rcar.o memmap-gen3.o
arch/arm/mach-rmobile/cpu_info-sh73a0.c deleted +0 -43

43 lines not on this page · raw message

arch/arm/mach-rmobile/cpu_info.c +0 -1
index bd9e71707f5..246029ac294 100644
@@ -62,7 +62,6 @@ static const struct {
 	u16 cpu_type;
 	u8 cpu_name[10];
 } rmobile_cpuinfo[] = {
-	{ RMOBILE_CPU_TYPE_SH73A0, "SH73A0" },
 	{ RMOBILE_CPU_TYPE_R8A7740, "R8A7740" },
 	{ RMOBILE_CPU_TYPE_R8A7790, "R8A7790" },
 	{ RMOBILE_CPU_TYPE_R8A7791, "R8A7791" },
arch/arm/mach-rmobile/include/mach/gpio.h +1 -4
index 6b5e4ed4eb5..150aa46034d 100644
@@ -1,10 +1,7 @@
 #ifndef __ASM_ARCH_GPIO_H
 #define __ASM_ARCH_GPIO_H
 
-#if defined(CONFIG_SH73A0)
-#include "sh73a0-gpio.h"
-void sh73a0_pinmux_init(void);
-#elif defined(CONFIG_R8A7740)
+#if defined(CONFIG_R8A7740)
 #include "r8a7740-gpio.h"
 void r8a7740_pinmux_init(void);
 #endif
arch/arm/mach-rmobile/include/mach/rmobile.h +1 -4
index dc6f87631bc..53f9a80ecfe 100644
@@ -2,9 +2,7 @@
 #define __ASM_ARCH_RMOBILE_H
 
 #if defined(CONFIG_ARCH_RMOBILE)
-#if defined(CONFIG_SH73A0)
-#include <asm/arch/sh73a0.h>
-#elif defined(CONFIG_R8A7740)
+#if defined(CONFIG_R8A7740)
 #include <asm/arch/r8a7740.h>
 #elif defined(CONFIG_R8A7790)
 #include <asm/arch/r8a7790.h>
@@ -25,7 +23,6 @@
 #endif /* CONFIG_ARCH_RMOBILE */
 
 /* PRR CPU IDs */
-#define RMOBILE_CPU_TYPE_SH73A0		0x37
 #define RMOBILE_CPU_TYPE_R8A7740	0x40
 #define RMOBILE_CPU_TYPE_R8A7790	0x45
 #define RMOBILE_CPU_TYPE_R8A7791	0x47
arch/arm/mach-rmobile/include/mach/sh73a0-gpio.h deleted +0 -553

553 lines not on this page · raw message

arch/arm/mach-rmobile/include/mach/sh73a0.h deleted +0 -289

289 lines not on this page · raw message

arch/arm/mach-rmobile/pfc-sh73a0.c deleted +0 -2807

2,073 lines not on this page · raw message

drivers/i2c/sh_i2c.c +0 -5
index 6cecec41450..3335d9482a2 100644

Lines of this file are not shown. View the raw message.

drivers/serial/serial_sh.h +2 -8
index e6ab6f1b9b7..660aaab6638 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog

Part of the diff is not shown here. View the raw message.

#74 lore raw

PATCH v2 65/87 sh4: Drop unused pci_sh7780 driver

In reply to Simon Glass

This is not used. Drop the driver and Kconfig option.

---

(no changes since v1)

 arch/sh/include/asm/pci.h |  2 -
 drivers/pci/Makefile      |  1 -
 drivers/pci/pci_sh7780.c  | 92 ---------------------------------------
 3 files changed, 95 deletions(-)
 delete mode 100644 drivers/pci/pci_sh7780.c
arch/sh/include/asm/pci.h +0 -2
index 5d79d0ec58e..18b95ff5cfb 100644
@@ -13,8 +13,6 @@
 #include <pci.h>
 #if defined(CONFIG_SH7751_PCI)
 int pci_sh7751_init(struct pci_controller *hose);
-#elif defined(CONFIG_SH7780_PCI)
-int pci_sh7780_init(struct pci_controller *hose);
 #else
 #error "Not support PCI."
 #endif
drivers/pci/Makefile +0 -1
index d393f1ba031..49506e7ba59 100644
@@ -22,7 +22,6 @@ obj-$(CONFIG_PCI_MVEBU) += pci_mvebu.o
 obj-$(CONFIG_PCI_RCAR_GEN2) += pci-rcar-gen2.o
 obj-$(CONFIG_PCI_RCAR_GEN3) += pci-rcar-gen3.o
 obj-$(CONFIG_SH7751_PCI) +=pci_sh7751.o
-obj-$(CONFIG_SH7780_PCI) +=pci_sh7780.o
 obj-$(CONFIG_PCI_TEGRA) += pci_tegra.o
 obj-$(CONFIG_PCIE_IPROC) += pcie_iproc.o
 obj-$(CONFIG_PCI_AARDVARK) += pci-aardvark.o
drivers/pci/pci_sh7780.c deleted +0 -92

92 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#75 lore raw

PATCH v2 66/87 Drop ubsha1 tool

In reply to Simon Glass

This seems to have been used by ppc4xx which was removed a while back. The Kconfig does not exist so it is never built. Drop it.

---

(no changes since v1)

 Makefile         |  3 --
 tools/.gitignore |  1 -
 tools/Makefile   |  6 ----
 tools/ubsha1.c   | 83 ------------------------------------------------
 4 files changed, 93 deletions(-)
 delete mode 100644 tools/ubsha1.c
Makefile +0 -3
index 21d62f66367..20a20e00d60 100644
@@ -1450,9 +1450,6 @@ u-boot-with-spl.kwb: u-boot.bin spl/u-boot-spl.bin FORCE
 	$(call if_changed,mkimage)
 	$(BOARD_SIZE_CHECK)
 
-u-boot.sha1:	u-boot.bin
-		tools/ubsha1 u-boot.bin
-
 u-boot.dis:	u-boot
 		$(OBJDUMP) -d $< > $@
 
tools/.gitignore +0 -1
index 28e8ce2a07a..788ea260a07 100644
@@ -33,7 +33,6 @@
 /relocate-rela
 /spl_size_limit
 /sunxi-spl-image-builder
-/ubsha1
 /update_octeon_header
 /version.h
 /xway-swap-bytes
tools/Makefile +0 -6
index 2ee43dff542..0eadd8154a7 100644
@@ -29,7 +29,6 @@ CONFIG_CMD_LOADS = y
 CONFIG_CMD_NET = y
 CONFIG_XWAY_SWAP_BYTES = y
 CONFIG_NETCONSOLE = y
-CONFIG_SHA1_CHECK_UB_IMG = y
 CONFIG_ARCH_SUNXI = y
 endif
 
@@ -217,11 +216,6 @@ hostprogs-$(CONFIG_ARCH_SUNXI) += sunxi-spl-image-builder
 sunxi-spl-image-builder-objs := sunxi-spl-image-builder.o lib/bch.o
 
 hostprogs-$(CONFIG_NETCONSOLE) += ncb
-hostprogs-$(CONFIG_SHA1_CHECK_UB_IMG) += ubsha1
-
-ubsha1-objs := os_support.o ubsha1.o lib/sha1.o
-
-HOSTCFLAGS_ubsha1.o := -pedantic
 
 hostprogs-$(CONFIG_ARCH_KIRKWOOD) += kwboot
 hostprogs-$(CONFIG_ARCH_MVEBU) += kwboot
tools/ubsha1.c deleted +0 -83

83 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#76 lore raw

PATCH v2 67/87 arm: Rename STM32MP13x

In reply to Simon Glass

CONFIG options must not use lower-case letter. Convert this and related ones to upper case.

---

(no changes since v1)

 arch/arm/dts/Makefile                      |  2 +-
 arch/arm/mach-stm32mp/Kconfig              |  4 ++--
 arch/arm/mach-stm32mp/Kconfig.13x          |  4 ++--
 arch/arm/mach-stm32mp/Makefile             |  2 +-
 arch/arm/mach-stm32mp/cmd_stm32key.c       | 10 +++++-----
 arch/arm/mach-stm32mp/fdt.c                |  4 ++--
 arch/arm/mach-stm32mp/include/mach/stm32.h |  6 +++---
 board/st/common/Kconfig                    |  2 +-
 board/st/stm32mp1/Kconfig                  |  2 +-
 configs/stm32mp13_defconfig                |  4 ++--
 drivers/clk/stm32/Kconfig                  |  2 +-
 11 files changed, 21 insertions(+), 21 deletions(-)
arch/arm/dts/Makefile +1 -1
index cd5b56034d5..85adbf0cb2a 100644
@@ -1216,7 +1216,7 @@ dtb-$(CONFIG_ASPEED_AST2600) += ast2600-evb.dtb
 
 dtb-$(CONFIG_ARCH_STI) += stih410-b2260.dtb
 
-dtb-$(CONFIG_STM32MP13x) += \
+dtb-$(CONFIG_STM32MP13X) += \
 	stm32mp135f-dk.dtb
 
 dtb-$(CONFIG_STM32MP15x) += \
arch/arm/mach-stm32mp/Kconfig +2 -2
index db47baba6d1..cf3196b3b3a 100644
@@ -37,7 +37,7 @@ choice
 	prompt "Select STMicroelectronics STM32MPxxx Soc"
 	default STM32MP15x
 
-config STM32MP13x
+config STM32MP13X
 	bool "Support STMicroelectronics STM32MP13x Soc"
 	select ARM_SMCCC
 	select CPU_V7A
@@ -103,7 +103,7 @@ config SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_MMC2
 
 config STM32_ETZPC
 	bool "STM32 Extended TrustZone Protection"
-	depends on STM32MP15x || STM32MP13x
+	depends on STM32MP15x || STM32MP13X
 	default y
 	imply BOOTP_SERVERIP
 	help
arch/arm/mach-stm32mp/Kconfig.13x +2 -2
index acc02a5a187..4d74b35055b 100644
@@ -1,10 +1,10 @@
-if STM32MP13x
+if STM32MP13X
 
 choice
 	prompt "STM32MP13x board select"
 	optional
 
-config TARGET_ST_STM32MP13x
+config TARGET_ST_STM32MP13X
 	bool "STMicroelectronics STM32MP13x boards"
 	imply BOOTSTAGE
 	imply CMD_BOOTSTAGE
arch/arm/mach-stm32mp/Makefile +1 -1
index a19b2797c8b..90c7c121ec4 100644
@@ -8,7 +8,7 @@ obj-y += dram_init.o
 obj-y += syscon.o
 obj-y += bsec.o
 
-obj-$(CONFIG_STM32MP13x) += stm32mp13x.o
+obj-$(CONFIG_STM32MP13X) += stm32mp13x.o
 obj-$(CONFIG_STM32MP15x) += stm32mp15x.o
 
 obj-$(CONFIG_STM32_ECDSA_VERIFY) += ecdsa_romapi.o
arch/arm/mach-stm32mp/cmd_stm32key.c +5 -5
index 85be8e23bdb..96407cd9b18 100644
@@ -18,7 +18,7 @@
  * STM32MP13x: 0b111111 = 0x3F for OTP_SECURED closed device
  */
 #define STM32_OTP_CLOSE_ID		0
-#define STM32_OTP_STM32MP13x_CLOSE_MASK	0x3F
+#define STM32_OTP_STM32MP13X_CLOSE_MASK	0x3F
 #define STM32_OTP_STM32MP15x_CLOSE_MASK	BIT(6)
 
 /* PKH is the first element of the key list */
@@ -60,7 +60,7 @@ static u8 stm32key_index;
 
 static u8 get_key_nb(void)
 {
-	if (IS_ENABLED(CONFIG_STM32MP13x))
+	if (IS_ENABLED(CONFIG_STM32MP13X))
 		return ARRAY_SIZE(stm32mp13_list);
 
 	if (IS_ENABLED(CONFIG_STM32MP15x))
@@ -69,7 +69,7 @@ static u8 get_key_nb(void)
 
 static const struct stm32key *get_key(u8 index)
 {
-	if (IS_ENABLED(CONFIG_STM32MP13x))
+	if (IS_ENABLED(CONFIG_STM32MP13X))
 		return &stm32mp13_list[index];
 
 	if (IS_ENABLED(CONFIG_STM32MP15x))
@@ -78,8 +78,8 @@ static const struct stm32key *get_key(u8 index)
 
 static u32 get_otp_close_mask(void)
 {
-	if (IS_ENABLED(CONFIG_STM32MP13x))
-		return STM32_OTP_STM32MP13x_CLOSE_MASK;
+	if (IS_ENABLED(CONFIG_STM32MP13X))
+		return STM32_OTP_STM32MP13X_CLOSE_MASK;
 
 	if (IS_ENABLED(CONFIG_STM32MP15x))
 		return STM32_OTP_STM32MP15x_CLOSE_MASK;
arch/arm/mach-stm32mp/fdt.c +2 -2
index 3b4c05d7451..6b69542ecfc 100644
@@ -270,7 +270,7 @@ static int stm32_fdt_fixup_etzpc(void *fdt, int soc_node)
 	int offset, shift;
 	u32 addr, status, decprot[ETZPC_DECPROT_NB];
 
-	if (IS_ENABLED(CONFIG_STM32MP13x)) {
+	if (IS_ENABLED(CONFIG_STM32MP13X)) {
 		array = stm32mp13_ip_addr;
 		array_size = ARRAY_SIZE(stm32mp13_ip_addr);
 	}
@@ -491,7 +491,7 @@ int ft_system_setup(void *blob, struct bd_info *bd)
 	cpu = get_cpu_type();
 	get_soc_name(name);
 
-	if (IS_ENABLED(CONFIG_STM32MP13x))
+	if (IS_ENABLED(CONFIG_STM32MP13X))
 		stm32mp13_fdt_fixup(blob, soc, cpu, name);
 
 	if (IS_ENABLED(CONFIG_STM32MP15x)) {
arch/arm/mach-stm32mp/include/mach/stm32.h +3 -3
index c85ae6a34ee..1e1f694cb62 100644
@@ -32,7 +32,7 @@
 #define STM32_USART1_BASE		0x5C000000
 #define STM32_USART2_BASE		0x4000E000
 #endif
-#ifdef CONFIG_STM32MP13x
+#ifdef CONFIG_STM32MP13X
 #define STM32_USART1_BASE		0x4c000000
 #define STM32_USART2_BASE		0x4c001000
 #endif
@@ -130,7 +130,7 @@ enum boot_device {
 #define TAMP_COPRO_STATE_CRASH		5
 #endif
 
-#ifdef CONFIG_STM32MP13x
+#ifdef CONFIG_STM32MP13X
 #define TAMP_BOOTCOUNT			TAMP_BACKUP_REGISTER(31)
 #define TAMP_BOOT_CONTEXT		TAMP_BACKUP_REGISTER(30)
 #endif
@@ -167,7 +167,7 @@ enum forced_boot_mode {
 #define BSEC_OTP_MAC	57
 #define BSEC_OTP_BOARD	59
 #endif
-#ifdef CONFIG_STM32MP13x
+#ifdef CONFIG_STM32MP13X
 #define BSEC_OTP_RPN	1
 #define BSEC_OTP_SERIAL	13
 #define BSEC_OTP_MAC	57
board/st/common/Kconfig +1 -1
index aba3590866e..ba17d3158d1 100644
@@ -1,7 +1,7 @@
 config CMD_STBOARD
 	bool "stboard - command for OTP board information"
 	depends on ARCH_STM32MP
-	default y if TARGET_ST_STM32MP15x || TARGET_ST_STM32MP13x
+	default y if TARGET_ST_STM32MP15x || TARGET_ST_STM32MP13X
 	help
 	  This compile the stboard command to
 	  read and write the board in the OTP.
board/st/stm32mp1/Kconfig +1 -1
index 6ab8f80fa45..7d0d41bfea0 100644
@@ -12,7 +12,7 @@ config SYS_CONFIG_NAME
 source "board/st/common/Kconfig"
 endif
 
-if TARGET_ST_STM32MP13x
+if TARGET_ST_STM32MP13X
 
 config SYS_BOARD
 	default "stm32mp1"
configs/stm32mp13_defconfig +2 -2
index ab824808f9d..7b9718400e8 100644
@@ -5,10 +5,10 @@ CONFIG_SYS_MALLOC_F_LEN=0x180000
 CONFIG_ENV_OFFSET=0x900000
 CONFIG_DEFAULT_DEVICE_TREE="stm32mp135f-dk"
 CONFIG_SYS_PROMPT="STM32MP> "
-CONFIG_STM32MP13x=y
+CONFIG_STM32MP13X=y
 CONFIG_DDR_CACHEABLE_SIZE=0x10000000
 CONFIG_CMD_STM32KEY=y
-CONFIG_TARGET_ST_STM32MP13x=y
+CONFIG_TARGET_ST_STM32MP13X=y
 CONFIG_ENV_OFFSET_REDUND=0x940000
 # CONFIG_ARMV7_NONSEC is not set
 CONFIG_SYS_LOAD_ADDR=0xc2000000
drivers/clk/stm32/Kconfig +1 -1
index 7a34ea23c38..7dbddd032b8 100644
@@ -31,7 +31,7 @@ config CLK_STM32MP1
 config CLK_STM32MP13
 	bool "Enable RCC clock driver for STM32MP13"
 	depends on ARCH_STM32MP && CLK
-	default y if STM32MP13x
+	default y if STM32MP13X
 	select CLK_STM32_CORE
 	help
 	  Enable the STM32 clock (RCC) driver. Enable support for
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#77 lore raw

PATCH v2 68/87 arm: Rename STM32MP15x

In reply to Simon Glass

CONFIG options must not use lower-case letter. Convert this and related ones to upper case.

---

(no changes since v1)

 arch/arm/dts/Makefile                          |  2 +-
 arch/arm/dts/stm32mp15-u-boot.dtsi             |  2 +-
 arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi       |  4 ++--
 arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi       |  4 ++--
 arch/arm/mach-stm32mp/Kconfig                  |  6 +++---
 arch/arm/mach-stm32mp/Kconfig.15x              |  6 +++---
 arch/arm/mach-stm32mp/Makefile                 |  2 +-
 arch/arm/mach-stm32mp/cmd_stm32key.c           | 10 +++++-----
 .../mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c |  2 +-
 .../arm/mach-stm32mp/cmd_stm32prog/stm32prog.c |  4 ++--
 .../arm/mach-stm32mp/cmd_stm32prog/stm32prog.h |  6 +++---
 arch/arm/mach-stm32mp/fdt.c                    |  8 ++++----
 arch/arm/mach-stm32mp/include/mach/stm32.h     | 10 +++++-----
 arch/arm/mach-stm32mp/include/mach/stm32prog.h |  2 +-
 board/st/common/Kconfig                        | 14 +++++++-------
 board/st/common/stm32mp_mtdparts.c             | 18 +++++++++---------
 board/st/stm32mp1/Kconfig                      |  2 +-
 board/st/stm32mp1/stm32mp1.c                   |  6 +++---
 configs/stm32mp15_basic_defconfig              |  2 +-
 configs/stm32mp15_defconfig                    |  2 +-
 configs/stm32mp15_trusted_defconfig            |  4 ++--
 drivers/clk/stm32/Kconfig                      |  2 +-
 22 files changed, 59 insertions(+), 59 deletions(-)
arch/arm/dts/Makefile +1 -1
index 85adbf0cb2a..21fff28218e 100644
@@ -1219,7 +1219,7 @@ dtb-$(CONFIG_ARCH_STI) += stih410-b2260.dtb
 dtb-$(CONFIG_STM32MP13X) += \
 	stm32mp135f-dk.dtb
 
-dtb-$(CONFIG_STM32MP15x) += \
+dtb-$(CONFIG_STM32MP15X) += \
 	stm32mp157a-dk1.dtb \
 	stm32mp157a-dk1-scmi.dtb \
 	stm32mp157a-icore-stm32mp1-ctouch2.dtb \
arch/arm/dts/stm32mp15-u-boot.dtsi +1 -1
index d5c87d29d88..955598b1c0b 100644
@@ -206,7 +206,7 @@
 	resets = <&rcc UART8_R>;
 };
 
-#if defined(CONFIG_STM32MP15x_STM32IMAGE)
+#if defined(CONFIG_STM32MP15X_STM32IMAGE)
 &binman {
 	u-boot-stm32 {
 		filename = "u-boot.stm32";
arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi +2 -2
index 15a04ae927e..11062951923 100644
@@ -21,13 +21,13 @@
 		st,stm32prog-gpios = <&gpioa 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
 	};
 
-#if defined(CONFIG_STM32MP15x_STM32IMAGE) || defined(CONFIG_SPL)
+#if defined(CONFIG_STM32MP15X_STM32IMAGE) || defined(CONFIG_SPL)
 	config {
 		u-boot,mmc-env-partition = "ssbl";
 	};
 #endif
 
-#ifdef CONFIG_STM32MP15x_STM32IMAGE
+#ifdef CONFIG_STM32MP15X_STM32IMAGE
 	/* only needed for boot with TF-A, witout FIP support */
 	firmware {
 		optee {
arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi +2 -2
index 408abaf52fa..cea661bce68 100644
@@ -20,13 +20,13 @@
 		st,stm32prog-gpios = <&gpioa 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
 	};
 
-#if defined(CONFIG_STM32MP15x_STM32IMAGE) || defined(CONFIG_SPL)
+#if defined(CONFIG_STM32MP15X_STM32IMAGE) || defined(CONFIG_SPL)
 	config {
 		u-boot,mmc-env-partition = "ssbl";
 	};
 #endif
 
-#ifdef CONFIG_STM32MP15x_STM32IMAGE
+#ifdef CONFIG_STM32MP15X_STM32IMAGE
 	/* only needed for boot with TF-A, witout FIP support */
 	firmware {
 		optee {
arch/arm/mach-stm32mp/Kconfig +3 -3
index cf3196b3b3a..f88b7dbffbd 100644
@@ -35,7 +35,7 @@ config ENV_SIZE
 
 choice
 	prompt "Select STMicroelectronics STM32MPxxx Soc"
-	default STM32MP15x
+	default STM32MP15X
 
 config STM32MP13X
 	bool "Support STMicroelectronics STM32MP13x Soc"
@@ -55,7 +55,7 @@ config STM32MP13X
 		support of STMicroelectronics SOC STM32MP13x family
 		STMicroelectronics MPU with core ARMv7
 
-config STM32MP15x
+config STM32MP15X
 	bool "Support STMicroelectronics STM32MP15x Soc"
 	select ARCH_SUPPORT_PSCI
 	select BINMAN
@@ -103,7 +103,7 @@ config SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_MMC2
 
 config STM32_ETZPC
 	bool "STM32 Extended TrustZone Protection"
-	depends on STM32MP15x || STM32MP13X
+	depends on STM32MP15X || STM32MP13X
 	default y
 	imply BOOTP_SERVERIP
 	help
arch/arm/mach-stm32mp/Kconfig.15x +3 -3
index 1d32f8bf339..71c14eb4955 100644
@@ -1,6 +1,6 @@
-if STM32MP15x
+if STM32MP15X
 
-config STM32MP15x_STM32IMAGE
+config STM32MP15X_STM32IMAGE
 	bool "Support STM32 image for generated U-Boot image"
 	depends on TFABOOT
 	help
@@ -11,7 +11,7 @@ choice
 	prompt "STM32MP15x board select"
 	optional
 
-config TARGET_ST_STM32MP15x
+config TARGET_ST_STM32MP15X
 	bool "STMicroelectronics STM32MP15x boards"
 	imply BOOTSTAGE
 	imply CMD_BOOTSTAGE
arch/arm/mach-stm32mp/Makefile +1 -1
index 90c7c121ec4..a40f8dc25a8 100644
@@ -9,7 +9,7 @@ obj-y += syscon.o
 obj-y += bsec.o
 
 obj-$(CONFIG_STM32MP13X) += stm32mp13x.o
-obj-$(CONFIG_STM32MP15x) += stm32mp15x.o
+obj-$(CONFIG_STM32MP15X) += stm32mp15x.o
 
 obj-$(CONFIG_STM32_ECDSA_VERIFY) += ecdsa_romapi.o
 ifdef CONFIG_SPL_BUILD
arch/arm/mach-stm32mp/cmd_stm32key.c +5 -5
index 96407cd9b18..b2e6421e9a2 100644
@@ -19,7 +19,7 @@
  */
 #define STM32_OTP_CLOSE_ID		0
 #define STM32_OTP_STM32MP13X_CLOSE_MASK	0x3F
-#define STM32_OTP_STM32MP15x_CLOSE_MASK	BIT(6)
+#define STM32_OTP_STM32MP15X_CLOSE_MASK	BIT(6)
 
 /* PKH is the first element of the key list */
 #define STM32KEY_PKH 0
@@ -63,7 +63,7 @@ static u8 get_key_nb(void)
 	if (IS_ENABLED(CONFIG_STM32MP13X))
 		return ARRAY_SIZE(stm32mp13_list);
 
-	if (IS_ENABLED(CONFIG_STM32MP15x))
+	if (IS_ENABLED(CONFIG_STM32MP15X))
 		return ARRAY_SIZE(stm32mp15_list);
 }
 
@@ -72,7 +72,7 @@ static const struct stm32key *get_key(u8 index)
 	if (IS_ENABLED(CONFIG_STM32MP13X))
 		return &stm32mp13_list[index];
 
-	if (IS_ENABLED(CONFIG_STM32MP15x))
+	if (IS_ENABLED(CONFIG_STM32MP15X))
 		return &stm32mp15_list[index];
 }
 
@@ -81,8 +81,8 @@ static u32 get_otp_close_mask(void)
 	if (IS_ENABLED(CONFIG_STM32MP13X))
 		return STM32_OTP_STM32MP13X_CLOSE_MASK;
 
-	if (IS_ENABLED(CONFIG_STM32MP15x))
-		return STM32_OTP_STM32MP15x_CLOSE_MASK;
+	if (IS_ENABLED(CONFIG_STM32MP15X))
+		return STM32_OTP_STM32MP15X_CLOSE_MASK;
 }
 
 static int get_misc_dev(struct udevice **dev)
arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c +1 -1
index a8372356b0e..c9f99259054 100644
@@ -180,7 +180,7 @@ U_BOOT_CMD(stm32prog, 5, 0, do_stm32prog,
 	   "  <size> = size of flashlayout (optional for image with STM32 header)\n"
 );
 
-#ifdef CONFIG_STM32MP15x_STM32IMAGE
+#ifdef CONFIG_STM32MP15X_STM32IMAGE
 bool stm32prog_get_tee_partitions(void)
 {
 	if (stm32prog_data)
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c +2 -2
index 89552d2ad10..4b75397b1cc 100644
@@ -999,7 +999,7 @@ static int treat_partition_list(struct stm32prog_data *data)
 		INIT_LIST_HEAD(&data->dev[j].part_list);
 	}
 
-#ifdef CONFIG_STM32MP15x_STM32IMAGE
+#ifdef CONFIG_STM32MP15X_STM32IMAGE
 	data->tee_detected = false;
 #endif
 	data->fsbl_nor_detected = false;
@@ -1055,7 +1055,7 @@ static int treat_partition_list(struct stm32prog_data *data)
 			/* fallthrough */
 		case STM32PROG_NAND:
 		case STM32PROG_SPI_NAND:
-#ifdef CONFIG_STM32MP15x_STM32IMAGE
+#ifdef CONFIG_STM32MP15X_STM32IMAGE
 			if (!data->tee_detected &&
 			    !strncmp(part->name, "tee", 3))
 				data->tee_detected = true;
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h +3 -3
index 58f4b96fa75..bcbbc2d5a35 100644
@@ -20,8 +20,8 @@
 #define DEFAULT_ADDRESS		0xFFFFFFFF
 
 #define CMD_SIZE		512
-/* SMC is only supported in SPMIN for STM32MP15x */
-#ifdef CONFIG_STM32MP15x
+/* SMC is only supported in SPMIN for STM32MP15X */
+#ifdef CONFIG_STM32MP15X
 #define OTP_SIZE_SMC		1024
 #else
 #define OTP_SIZE_SMC		0
@@ -149,7 +149,7 @@ struct stm32prog_data {
 	struct stm32prog_dev_t	dev[STM32PROG_MAX_DEV];	/* array of device */
 	int			part_nb;	/* nb of partition */
 	struct stm32prog_part_t	*part_array;	/* array of partition */
-#ifdef CONFIG_STM32MP15x_STM32IMAGE
+#ifdef CONFIG_STM32MP15X_STM32IMAGE
 	bool			tee_detected;
 #endif
 	bool			fsbl_nor_detected;
arch/arm/mach-stm32mp/fdt.c +4 -4
index 6b69542ecfc..218d9ef282a 100644
@@ -275,7 +275,7 @@ static int stm32_fdt_fixup_etzpc(void *fdt, int soc_node)
 		array_size = ARRAY_SIZE(stm32mp13_ip_addr);
 	}
 
-	if (IS_ENABLED(CONFIG_STM32MP15x)) {
+	if (IS_ENABLED(CONFIG_STM32MP15X)) {
 		array = stm32mp15_ip_addr;
 		array_size = ARRAY_SIZE(stm32mp15_ip_addr);
 	}
@@ -494,7 +494,7 @@ int ft_system_setup(void *blob, struct bd_info *bd)
 	if (IS_ENABLED(CONFIG_STM32MP13X))
 		stm32mp13_fdt_fixup(blob, soc, cpu, name);
 
-	if (IS_ENABLED(CONFIG_STM32MP15x)) {
+	if (IS_ENABLED(CONFIG_STM32MP15X)) {
 		stm32mp15_fdt_fixup(blob, soc, cpu, name);
 
 		/*
@@ -502,10 +502,10 @@ int ft_system_setup(void *blob, struct bd_info *bd)
 		 *       copied from U-Boot device tree by optee_copy_fdt_nodes
 		 *       when OP-TEE is not detected (probe failed)
 		 * these OP-TEE nodes are present in <board>-u-boot.dtsi
-		 * under CONFIG_STM32MP15x_STM32IMAGE only for compatibility
+		 * under CONFIG_STM32MP15X_STM32IMAGE only for compatibility
 		 * when FIP is not used by TF-A
 		 */
-		if (CONFIG_IS_ENABLED(STM32MP15x_STM32IMAGE) &&
+		if (CONFIG_IS_ENABLED(STM32MP15X_STM32IMAGE) &&
 		    !tee_find_device(NULL, NULL, NULL, NULL))
 			stm32_fdt_disable_optee(blob);
 	}
arch/arm/mach-stm32mp/include/mach/stm32.h +5 -5
index 1e1f694cb62..8f54b8ca94f 100644
@@ -17,7 +17,7 @@
 #define STM32_RCC_BASE			0x50000000
 #define STM32_PWR_BASE			0x50001000
 #define STM32_SYSCFG_BASE		0x50020000
-#ifdef CONFIG_STM32MP15x
+#ifdef CONFIG_STM32MP15X
 #define STM32_DBGMCU_BASE		0x50081000
 #endif
 #define STM32_FMC2_BASE			0x58002000
@@ -28,7 +28,7 @@
 #define STM32_STGEN_BASE		0x5C008000
 #define STM32_TAMP_BASE			0x5C00A000
 
-#ifdef CONFIG_STM32MP15x
+#ifdef CONFIG_STM32MP15X
 #define STM32_USART1_BASE		0x5C000000
 #define STM32_USART2_BASE		0x4000E000
 #endif
@@ -47,7 +47,7 @@
 #define STM32_SDMMC2_BASE		0x58007000
 #define STM32_SDMMC3_BASE		0x48004000
 
-#ifdef CONFIG_STM32MP15x
+#ifdef CONFIG_STM32MP15X
 #define STM32_SYSRAM_BASE		0x2FFC0000
 #define STM32_SYSRAM_SIZE		SZ_256K
 #endif
@@ -109,7 +109,7 @@ enum boot_device {
 /* TAMP registers */
 #define TAMP_BACKUP_REGISTER(x)		(STM32_TAMP_BASE + 0x100 + 4 * x)
 
-#ifdef CONFIG_STM32MP15x
+#ifdef CONFIG_STM32MP15X
 #define TAMP_BACKUP_MAGIC_NUMBER	TAMP_BACKUP_REGISTER(4)
 #define TAMP_BACKUP_BRANCH_ADDRESS	TAMP_BACKUP_REGISTER(5)
 #define TAMP_FWU_BOOT_INFO_REG		TAMP_BACKUP_REGISTER(10)
@@ -160,7 +160,7 @@ enum forced_boot_mode {
 #define STM32_BSEC_LOCK(id)		(STM32_BSEC_LOCK_OFFSET + (id) * 4)
 
 /* BSEC OTP index */
-#ifdef CONFIG_STM32MP15x
+#ifdef CONFIG_STM32MP15X
 #define BSEC_OTP_RPN	1
 #define BSEC_OTP_SERIAL	13
 #define BSEC_OTP_PKG	16
arch/arm/mach-stm32mp/include/mach/stm32prog.h +1 -1
index 99be4e1d656..573dffe6dd6 100644
@@ -11,7 +11,7 @@ int stm32prog_read_medium_virt(struct dfu_entity *dfu, u64 offset,
 			       void *buf, long *len);
 int stm32prog_get_medium_size_virt(struct dfu_entity *dfu, u64 *size);
 
-#ifdef CONFIG_STM32MP15x_STM32IMAGE
+#ifdef CONFIG_STM32MP15X_STM32IMAGE
 bool stm32prog_get_tee_partitions(void);
 #endif
 
board/st/common/Kconfig +7 -7
index ba17d3158d1..20e28f9af82 100644
@@ -1,14 +1,14 @@
 config CMD_STBOARD
 	bool "stboard - command for OTP board information"
 	depends on ARCH_STM32MP
-	default y if TARGET_ST_STM32MP15x || TARGET_ST_STM32MP13X
+	default y if TARGET_ST_STM32MP15X || TARGET_ST_STM32MP13X
 	help
 	  This compile the stboard command to
 	  read and write the board in the OTP.
 
 config MTDPARTS_NAND0_BOOT
 	string "mtd boot partitions for nand0"
-	default "2m(fsbl),2m(ssbl1),2m(ssbl2)" if STM32MP15x_STM32IMAGE || \
+	default "2m(fsbl),2m(ssbl1),2m(ssbl2)" if STM32MP15X_STM32IMAGE || \
 						  !TFABOOT
 	default "2m(fsbl),4m(fip1),4m(fip2)"
 	depends on SYS_MTDPARTS_RUNTIME && ARCH_STM32MP
@@ -23,7 +23,7 @@ config MTDPARTS_NAND0_BOOT
 config MTDPARTS_NAND0_TEE
 	string "mtd tee partitions for nand0"
 	default "512k(teeh),512k(teed),512k(teex)"
-	depends on SYS_MTDPARTS_RUNTIME && ARCH_STM32MP && STM32MP15x_STM32IMAGE
+	depends on SYS_MTDPARTS_RUNTIME && ARCH_STM32MP && STM32MP15X_STM32IMAGE
 	help
 	  This define the tee partitions added in mtparts dynamically
 	  when tee is supported with boot from nand0.
@@ -32,7 +32,7 @@ config MTDPARTS_NAND0_TEE
 
 config MTDPARTS_NOR0_BOOT
 	string "mtd boot partitions for nor0"
-	default "256k(fsbl1),256k(fsbl2),2m(ssbl),512k(u-boot-env)" if STM32MP15x_STM32IMAGE || \
+	default "256k(fsbl1),256k(fsbl2),2m(ssbl),512k(u-boot-env)" if STM32MP15X_STM32IMAGE || \
 								       !TFABOOT
 	default "256k(fsbl1),256k(fsbl2),4m(fip),512k(u-boot-env)"
 	depends on SYS_MTDPARTS_RUNTIME && ARCH_STM32MP
@@ -46,14 +46,14 @@ config MTDPARTS_NOR0_BOOT
 config MTDPARTS_NOR0_TEE
 	string "mtd tee partitions for nor0"
 	default "256k(teeh),512k(teed),256k(teex)"
-	depends on SYS_MTDPARTS_RUNTIME && ARCH_STM32MP && STM32MP15x_STM32IMAGE
+	depends on SYS_MTDPARTS_RUNTIME && ARCH_STM32MP && STM32MP15X_STM32IMAGE
 	help
 	  This define the tee partitions added in mtparts dynamically
 	  when tee is supported with boot from nor0.
 
 config MTDPARTS_SPINAND0_BOOT
 	string "mtd boot partitions for spi-nand0"
-	default "2m(fsbl),2m(ssbl1),2m(ssbl2)" if STM32MP15x_STM32IMAGE || !TFABOOT
+	default "2m(fsbl),2m(ssbl1),2m(ssbl2)" if STM32MP15X_STM32IMAGE || !TFABOOT
 	default "2m(fsbl),4m(fip1),4m(fip2)"
 	depends on SYS_MTDPARTS_RUNTIME && ARCH_STM32MP
 	help
@@ -66,7 +66,7 @@ config MTDPARTS_SPINAND0_BOOT
 config MTDPARTS_SPINAND0_TEE
 	string "mtd tee partitions for spi-nand0"
 	default "512k(teeh),512k(teed),512k(teex)"
-	depends on SYS_MTDPARTS_RUNTIME && ARCH_STM32MP && STM32MP15x_STM32IMAGE
+	depends on SYS_MTDPARTS_RUNTIME && ARCH_STM32MP && STM32MP15X_STM32IMAGE
 	help
 	  This define the tee partitions added in mtparts dynamically
 	  when tee is supported with boot from spi-nand0,
board/st/common/stm32mp_mtdparts.c +9 -9
index 18878424c7a..bc2ce600287 100644
@@ -11,7 +11,7 @@
 #include <log.h>
 #include <mtd.h>
 #include <mtd_node.h>
-#ifdef CONFIG_STM32MP15x_STM32IMAGE
+#ifdef CONFIG_STM32MP15X_STM32IMAGE
 #include <tee.h>
 #endif
 #include <asm/arch/stm32prog.h>
@@ -33,7 +33,7 @@ static void board_set_mtdparts(const char *dev,
 			       char *mtdids,
 			       char *mtdparts,
 			       const char *boot,
-#ifdef CONFIG_STM32MP15x_STM32IMAGE
+#ifdef CONFIG_STM32MP15X_STM32IMAGE
 			       const char *tee,
 #endif
 			       const char *user)
@@ -59,7 +59,7 @@ static void board_set_mtdparts(const char *dev,
 		strncat(mtdparts, ",", MTDPARTS_LEN);
 	}
 
-#ifdef CONFIG_STM32MP15x_STM32IMAGE
+#ifdef CONFIG_STM32MP15X_STM32IMAGE
 	if (tee) {
 		strncat(mtdparts, tee, MTDPARTS_LEN);
 		strncat(mtdparts, ",", MTDPARTS_LEN);
@@ -77,7 +77,7 @@ void board_mtdparts_default(const char **mtdids, const char **mtdparts)
 	static char ids[MTDIDS_LEN + 1];
 	static bool mtd_initialized;
 	bool nor, nand, spinand, serial;
-#ifdef CONFIG_STM32MP15x_STM32IMAGE
+#ifdef CONFIG_STM32MP15X_STM32IMAGE
 	bool tee = false;
 #endif
 
@@ -97,7 +97,7 @@ void board_mtdparts_default(const char **mtdids, const char **mtdparts)
 	case BOOT_SERIAL_USB:
 		serial = true;
 		if (CONFIG_IS_ENABLED(CMD_STM32PROG)) {
-#ifdef CONFIG_STM32MP15x_STM32IMAGE
+#ifdef CONFIG_STM32MP15X_STM32IMAGE
 			tee = stm32prog_get_tee_partitions();
 #endif
 			nor = stm32prog_get_fsbl_nor();
@@ -118,7 +118,7 @@ void board_mtdparts_default(const char **mtdids, const char **mtdparts)
 		break;
 	}
 
-#ifdef CONFIG_STM32MP15x_STM32IMAGE
+#ifdef CONFIG_STM32MP15X_STM32IMAGE
 	if (!serial && tee_find_device(NULL, NULL, NULL, NULL))
 		tee = true;
 #endif
@@ -138,7 +138,7 @@ void board_mtdparts_default(const char **mtdids, const char **mtdparts)
 		if (!IS_ERR_OR_NULL(mtd)) {
 			board_set_mtdparts("nand0", ids, parts,
 					   CONFIG_MTDPARTS_NAND0_BOOT,
-#ifdef CONFIG_STM32MP15x_STM32IMAGE
+#ifdef CONFIG_STM32MP15X_STM32IMAGE
 					   !nor && tee ? CONFIG_MTDPARTS_NAND0_TEE : NULL,
 #endif
 					   "-(UBI)");
@@ -151,7 +151,7 @@ void board_mtdparts_default(const char **mtdids, const char **mtdparts)
 		if (!IS_ERR_OR_NULL(mtd)) {
 			board_set_mtdparts("spi-nand0", ids, parts,
 					   CONFIG_MTDPARTS_SPINAND0_BOOT,
-#ifdef CONFIG_STM32MP15x_STM32IMAGE
+#ifdef CONFIG_STM32MP15X_STM32IMAGE
 					   !nor && tee ? CONFIG_MTDPARTS_SPINAND0_TEE : NULL,
 #endif
 					   "-(UBI)");
@@ -163,7 +163,7 @@ void board_mtdparts_default(const char **mtdids, const char **mtdparts)
 		if (!uclass_get_device(UCLASS_SPI_FLASH, 0, &dev)) {
 			board_set_mtdparts("nor0", ids, parts,
 					   CONFIG_MTDPARTS_NOR0_BOOT,
-#ifdef CONFIG_STM32MP15x_STM32IMAGE
+#ifdef CONFIG_STM32MP15X_STM32IMAGE
 					   tee ? CONFIG_MTDPARTS_NOR0_TEE : NULL,
 #endif
 					   "-(nor_user)");
board/st/stm32mp1/Kconfig +1 -1
index 7d0d41bfea0..96de41546f1 100644
@@ -1,4 +1,4 @@
-if TARGET_ST_STM32MP15x
+if TARGET_ST_STM32MP15X
 
 config SYS_BOARD
 	default "stm32mp1"
board/st/stm32mp1/stm32mp1.c +3 -3
index 47b3d1bf4c5..4536c1c673c 100644
@@ -114,7 +114,7 @@ int checkboard(void)
 	int fdt_compat_len;
 
 	if (IS_ENABLED(CONFIG_TFABOOT)) {
-		if (IS_ENABLED(CONFIG_STM32MP15x_STM32IMAGE))
+		if (IS_ENABLED(CONFIG_STM32MP15X_STM32IMAGE))
 			mode = "trusted - stm32image";
 		else
 			mode = "trusted";
@@ -616,7 +616,7 @@ error:
 
 static bool board_is_stm32mp15x_dk2(void)
 {
-	if (CONFIG_IS_ENABLED(TARGET_ST_STM32MP15x) &&
+	if (CONFIG_IS_ENABLED(TARGET_ST_STM32MP15X) &&
 	    of_machine_is_compatible("st,stm32mp157c-dk2"))
 		return true;
 
@@ -625,7 +625,7 @@ static bool board_is_stm32mp15x_dk2(void)
 
 static bool board_is_stm32mp15x_ev1(void)
 {
-	if (CONFIG_IS_ENABLED(TARGET_ST_STM32MP15x) &&
+	if (CONFIG_IS_ENABLED(TARGET_ST_STM32MP15X) &&
 	    (of_machine_is_compatible("st,stm32mp157a-ev1") ||
 	     of_machine_is_compatible("st,stm32mp157c-ev1") ||
 	     of_machine_is_compatible("st,stm32mp157d-ev1") ||
configs/stm32mp15_basic_defconfig +1 -1
index 87e3b496048..ea03751c781 100644
@@ -11,7 +11,7 @@ CONFIG_SPL_MMC=y
 CONFIG_SPL=y
 CONFIG_CMD_STM32KEY=y
 CONFIG_TYPEC_STUSB160X=y
-CONFIG_TARGET_ST_STM32MP15x=y
+CONFIG_TARGET_ST_STM32MP15X=y
 CONFIG_ENV_OFFSET_REDUND=0x2C0000
 CONFIG_CMD_STM32PROG=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
configs/stm32mp15_defconfig +1 -1
index 5dc00213a8f..54b80688c66 100644
@@ -9,7 +9,7 @@ CONFIG_SYS_PROMPT="STM32MP> "
 CONFIG_DDR_CACHEABLE_SIZE=0x10000000
 CONFIG_CMD_STM32KEY=y
 CONFIG_TYPEC_STUSB160X=y
-CONFIG_TARGET_ST_STM32MP15x=y
+CONFIG_TARGET_ST_STM32MP15X=y
 CONFIG_ENV_OFFSET_REDUND=0x4C0000
 CONFIG_CMD_STM32PROG=y
 # CONFIG_ARMV7_NONSEC is not set
configs/stm32mp15_trusted_defconfig +2 -2
index c1ad4dd5213..3d80f410507 100644
@@ -9,8 +9,8 @@ CONFIG_SYS_PROMPT="STM32MP> "
 CONFIG_DDR_CACHEABLE_SIZE=0x10000000
 CONFIG_CMD_STM32KEY=y
 CONFIG_TYPEC_STUSB160X=y
-CONFIG_STM32MP15x_STM32IMAGE=y
-CONFIG_TARGET_ST_STM32MP15x=y
+CONFIG_STM32MP15X_STM32IMAGE=y
+CONFIG_TARGET_ST_STM32MP15X=y
 CONFIG_ENV_OFFSET_REDUND=0x2C0000
 CONFIG_CMD_STM32PROG=y
 # CONFIG_ARMV7_NONSEC is not set
drivers/clk/stm32/Kconfig +1 -1
index 7dbddd032b8..c05015efe8b 100644
@@ -23,7 +23,7 @@ config CLK_STM32_CORE
 config CLK_STM32MP1
 	bool "Enable RCC clock driver for STM32MP15"
 	depends on ARCH_STM32MP && CLK
-	default y if STM32MP15x
+	default y if STM32MP15X
 	help
 	  Enable the STM32 clock (RCC) driver. Enable support for
 	  manipulating STM32MP15's on-SoC clocks.
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#78 lore raw

PATCH v2 69/87 sysreset: at91: Correct Makefile rule for SYSRESET_AT91

In reply to Simon Glass

The SPL_TPL part is in the wrong place. Fix it.

Fixes 71d4393f846 ("sysreset: Add Atmel/Microchip sysreset driver")

---

(no changes since v1)

 drivers/sysreset/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/sysreset/Makefile +1 -1
index 0ed3bbf356a..40c876764af 100644
@@ -20,6 +20,6 @@ obj-$(CONFIG_SYSRESET_TI_SCI) += sysreset-ti-sci.o
 obj-$(CONFIG_SYSRESET_SYSCON) += sysreset_syscon.o
 obj-$(CONFIG_SYSRESET_WATCHDOG) += sysreset_watchdog.o
 obj-$(CONFIG_SYSRESET_RESETCTL) += sysreset_resetctl.o
-obj-$(CONFIG_SYSRESET_$(SPL_TPL_)AT91) += sysreset_at91.o
+obj-$(CONFIG_$(SPL_TPL_)SYSRESET_AT91) += sysreset_at91.o
 obj-$(CONFIG_$(SPL_TPL_)SYSRESET_X86) += sysreset_x86.o
 obj-$(CONFIG_TARGET_XTFPGA) += sysreset_xtfpga.o
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#79 lore raw

PATCH v2 70/87 gdsys: Drop unused fpga file

In reply to Simon Glass

This is not used since CONFIG_SYS_FPGA_COMMON is not defined anywhere. Drop the code and the Makefile rule.

---

(no changes since v1)

 board/gdsys/common/Makefile |  1 -
 board/gdsys/common/fpga.c   | 28 ----------------------------
 2 files changed, 29 deletions(-)
 delete mode 100644 board/gdsys/common/fpga.c
board/gdsys/common/Makefile +0 -1
index 553e2ca50ed..94cbf3c5cc1 100644
@@ -3,7 +3,6 @@
 # (C) Copyright 2007
 # Stefan Roese, DENX Software Engineering, [email protected].
 
-obj-$(CONFIG_SYS_FPGA_COMMON) += fpga.o
 obj-$(CONFIG_CMD_IOLOOP) += cmd_ioloop.o
 obj-$(CONFIG_TARGET_CONTROLCENTERDC) += dp501.o
 obj-$(CONFIG_TARGET_GAZERBEAM) += osd.o ihs_mdio.o ioep-fpga.o
board/gdsys/common/fpga.c deleted +0 -28
deleted file mode 100644
index 5ba6613ed56..00000000000
@@ -1,28 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * (C) Copyright 2013
- * Dirk Eibach,  Guntermann & Drunck GmbH, [email protected]
- */
-
-#ifdef CONFIG_GDSYS_LEGACY_DRIVERS
-
-#include <common.h>
-#include <gdsys_fpga.h>
-
-#include <asm/io.h>
-
-int fpga_set_reg(u32 fpga, u16 *reg, off_t regoff, u16 data)
-{
-	out_le16(reg, data);
-
-	return 0;
-}
-
-int fpga_get_reg(u32 fpga, u16 *reg, off_t regoff, u16 *data)
-{
-	*data = in_le16(reg);
-
-	return 0;
-}
-
-#endif /* CONFIG_GDSYS_LEGACY_DRIVERS */
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#80 lore raw

PATCH v2 71/87 sh4: Drop unused kona_i2c driver

In reply to Simon Glass

This is not used. Drop the driver and Kconfig option.

---

(no changes since v1)

 drivers/i2c/Makefile   |   1 -
 drivers/i2c/kona_i2c.c | 728 -----------------------------------------
 2 files changed, 729 deletions(-)
 delete mode 100644 drivers/i2c/kona_i2c.c
drivers/i2c/Makefile +0 -1
index 920aafb91c5..cde0597290c 100644
@@ -25,7 +25,6 @@ obj-$(CONFIG_SYS_I2C_IHS) += ihs_i2c.o
 obj-$(CONFIG_SYS_I2C_INTEL) += intel_i2c.o
 obj-$(CONFIG_SYS_I2C_IMX_LPI2C) += imx_lpi2c.o
 obj-$(CONFIG_SYS_I2C_IPROC) += iproc_i2c.o
-obj-$(CONFIG_SYS_I2C_KONA) += kona_i2c.o
 obj-$(CONFIG_SYS_I2C_LPC32XX) += lpc32xx_i2c.o
 obj-$(CONFIG_SYS_I2C_MESON) += meson_i2c.o
 obj-$(CONFIG_SYS_I2C_MICROCHIP) += i2c-microchip.o
drivers/i2c/kona_i2c.c deleted +0 -728

728 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#81 lore raw

PATCH v2 72/87 compulab: Drop CONFIG_TARGET_MCM_IMX8M_MINI

In reply to Simon Glass

This option is not defined anywhere. Drop it.

---

(no changes since v1)

 board/compulab/imx8mm-cl-iot-gate/ddr/Makefile | 4 ----
 1 file changed, 4 deletions(-)
board/compulab/imx8mm-cl-iot-gate/ddr/Makefile +0 -4
index 5914796628d..f73f35cd664 100644
@@ -1,8 +1,4 @@
 obj-y += ddr.o
 obj-y += lpddr4_timing_ff020008.o
 obj-y += lpddr4_timing_ff000110.o
-ifdef CONFIG_TARGET_MCM_IMX8M_MINI
-obj-y += lpddr4_timing_01061010.o
-else
 obj-y += lpddr4_timing_01061010.1_2.o
-endif
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#82 lore raw

PATCH v2 73/87 freescale: Drop CONFIG_TARGET_MPC8536DS et al

In reply to Simon Glass

This option as well as CONFIG_TARGET_P1022DS and CONFIG_TARGET_P5020DS are not defined anywhere. Drop them.

---

(no changes since v1)

 board/freescale/common/Makefile | 3 ---
 1 file changed, 3 deletions(-)
board/freescale/common/Makefile +0 -3
index bd035d60a58..5f0503faf8d 100644
@@ -51,8 +51,6 @@ endif
 
 obj-$(CONFIG_TARGET_MPC8548CDS)	+= cds_pci_ft.o
 
-obj-$(CONFIG_TARGET_MPC8536DS)	+= ics307_clk.o
-obj-$(CONFIG_TARGET_P1022DS)		+= ics307_clk.o
 obj-$(CONFIG_TARGET_P3041DS)		+= ics307_clk.o
 obj-$(CONFIG_TARGET_P4080DS)		+= ics307_clk.o
 obj-$(CONFIG_TARGET_P5040DS)		+= ics307_clk.o
@@ -75,7 +73,6 @@ obj-$(CONFIG_EMC2305)              += emc2305.o
 obj-$(CONFIG_TARGET_P2041RDB)	+= p_corenet/
 obj-$(CONFIG_TARGET_P3041DS)	+= p_corenet/
 obj-$(CONFIG_TARGET_P4080DS)	+= p_corenet/
-obj-$(CONFIG_TARGET_P5020DS)	+= p_corenet/
 obj-$(CONFIG_TARGET_P5040DS)	+= p_corenet/
 
 obj-$(CONFIG_LAYERSCAPE_NS_ACCESS)	+= ns_access.o
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#83 lore raw

PATCH v2 74/87 sh4: Drop unused twl6030 driver

In reply to Simon Glass

This is not used. Drop the driver and Kconfig option.

---

(no changes since v1)

 drivers/input/Makefile  |  1 -
 drivers/input/twl6030.c | 47 -----------------------------------------
 2 files changed, 48 deletions(-)
 delete mode 100644 drivers/input/twl6030.c
drivers/input/Makefile +0 -1
index ded76bddb22..11868e7584c 100644
@@ -13,5 +13,4 @@ obj-$(CONFIG_APPLE_SPI_KEYB) += apple_spi_kbd.o
 obj-$(CONFIG_I8042_KEYB) += i8042.o
 obj-$(CONFIG_TEGRA_KEYBOARD) += input.o tegra-kbc.o
 obj-$(CONFIG_TWL4030_INPUT) += twl4030.o
-obj-$(CONFIG_TWL6030_INPUT) += twl6030.o
 endif
drivers/input/twl6030.c deleted +0 -47

47 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#84 lore raw

PATCH v2 75/87 ppc: Makefile: Drop unused ppc4xx code

In reply to Simon Glass

CONFIG_UBOOT_PAD_TO is not defined anywhere. Drop this dead code.

---

(no changes since v1)

 Makefile | 11 -----------
 1 file changed, 11 deletions(-)
Makefile +0 -11
index 20a20e00d60..8150ca69e82 100644
@@ -1648,17 +1648,6 @@ OBJCOPYFLAGS_u-boot-with-spl-pbl.bin = -I binary -O binary --pad-to=$(CONFIG_SPL
 u-boot-with-spl-pbl.bin: spl/u-boot-spl.pbl $(UBOOT_BINLOAD) FORCE
 	$(call if_changed,pad_cat)
 
-# PPC4xx needs the SPL at the end of the image, since the reset vector
-# is located at 0xfffffffc. So we can't use the "u-boot-img.bin" target
-# and need to introduce a new build target with the full blown U-Boot
-# at the start padded up to the start of the SPL image. And then concat
-# the SPL image to the end.
-
-OBJCOPYFLAGS_u-boot-img-spl-at-end.bin := -I binary -O binary \
-	--pad-to=$(CONFIG_UBOOT_PAD_TO) --gap-fill=0xff
-u-boot-img-spl-at-end.bin: u-boot.img spl/u-boot-spl.bin FORCE
-	$(call if_changed,pad_cat)
-
 quiet_cmd_u-boot-elf ?= LD      $@
 	cmd_u-boot-elf ?= $(LD) u-boot-elf.o -o $@ \
 	$(if $(CONFIG_SYS_BIG_ENDIAN),-EB,-EL) \
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#85 lore raw

PATCH v2 76/87 armada: usb: net: Drop unused USB drivers

In reply to Simon Glass

These are not used. Drop the drivers and Kconfig option. Also drop an old declaration in the netdev.h header.

---

(no changes since v1)

 drivers/usb/host/Makefile         |  1 -
 drivers/usb/host/ehci-armada100.c | 48 -------------------
 drivers/usb/host/utmi-armada100.c | 80 -------------------------------
 include/netdev.h                  |  1 -
 4 files changed, 130 deletions(-)
 delete mode 100644 drivers/usb/host/ehci-armada100.c
 delete mode 100644 drivers/usb/host/utmi-armada100.c
drivers/usb/host/Makefile +0 -1
index ddc36632069..1f59e910d3b 100644
@@ -25,7 +25,6 @@ obj-$(CONFIG_USB_OHCI_NPCM) += ohci-npcm.o
 
 # echi
 obj-$(CONFIG_USB_EHCI_HCD) += ehci-hcd.o
-obj-$(CONFIG_USB_EHCI_ARMADA100) += ehci-armada100.o utmi-armada100.o
 obj-$(CONFIG_USB_EHCI_ATMEL) += ehci-atmel.o
 obj-$(CONFIG_USB_EHCI_FSL) += ehci-fsl.o
 obj-$(CONFIG_USB_EHCI_FARADAY) += ehci-faraday.o
drivers/usb/host/ehci-armada100.c deleted +0 -48

48 lines not on this page · raw message

drivers/usb/host/utmi-armada100.c deleted +0 -80

80 lines not on this page · raw message

include/netdev.h +0 -1
index 2b4e474ed08..2a7f40e5040 100644
@@ -71,7 +71,6 @@ int skge_initialize(struct bd_info *bis);
 int smc91111_initialize(u8 dev_num, phys_addr_t base_addr);
 int smc911x_initialize(u8 dev_num, phys_addr_t base_addr);
 int uli526x_initialize(struct bd_info *bis);
-int armada100_fec_register(unsigned long base_addr);
 
 /* Boards with PCI network controllers can call this from their board_eth_init()
  * function to initialize whatever's on board.
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#86 lore raw

PATCH v2 77/87 usb: Drop unused ehci-faraday driver

In reply to Simon Glass

This is not used. Drop the driver and Kconfig option.

---

(no changes since v1)

 common/usb_hub.c                |  18 ----
 drivers/usb/host/Makefile       |   1 -
 drivers/usb/host/ehci-faraday.c | 144 --------------------------------
 drivers/usb/host/ehci-hcd.c     |   5 --
 include/usb/fusbh200.h          |  59 -------------
 5 files changed, 227 deletions(-)
 delete mode 100644 drivers/usb/host/ehci-faraday.c
 delete mode 100644 include/usb/fusbh200.h
common/usb_hub.c +0 -18
index f7fd12c0450..a36350f846c 100644
@@ -506,24 +506,6 @@ static int usb_scan_port(struct usb_device_scan *usb_scan)
 	if (portchange & USB_PORT_STAT_C_ENABLE) {
 		debug("port %d enable change, status %x\n", i + 1, portstatus);
 		usb_clear_port_feature(dev, i + 1, USB_PORT_FEAT_C_ENABLE);
-		/*
-		 * The following hack causes a ghost device problem
-		 * to Faraday EHCI
-		 */
-#ifndef CONFIG_USB_EHCI_FARADAY
-		/*
-		 * EM interference sometimes causes bad shielded USB
-		 * devices to be shutdown by the hub, this hack enables
-		 * them again. Works at least with mouse driver
-		 */
-		if (!(portstatus & USB_PORT_STAT_ENABLE) &&
-		    (portstatus & USB_PORT_STAT_CONNECTION) &&
-		    usb_device_has_child_on_port(dev, i)) {
-			debug("already running port %i disabled by hub (EMI?), re-enabling...\n",
-			      i + 1);
-			usb_hub_port_connect_change(dev, i);
-		}
-#endif
 	}
 
 	if (portstatus & USB_PORT_STAT_SUSPEND) {
drivers/usb/host/Makefile +0 -1
index 1f59e910d3b..cce78846d98 100644
@@ -27,7 +27,6 @@ obj-$(CONFIG_USB_OHCI_NPCM) += ohci-npcm.o
 obj-$(CONFIG_USB_EHCI_HCD) += ehci-hcd.o
 obj-$(CONFIG_USB_EHCI_ATMEL) += ehci-atmel.o
 obj-$(CONFIG_USB_EHCI_FSL) += ehci-fsl.o
-obj-$(CONFIG_USB_EHCI_FARADAY) += ehci-faraday.o
 obj-$(CONFIG_USB_EHCI_GENERIC) += ehci-generic.o
 obj-$(CONFIG_USB_EHCI_EXYNOS) += ehci-exynos.o
 obj-$(CONFIG_USB_EHCI_MXS) += ehci-mxs.o
drivers/usb/host/ehci-faraday.c deleted +0 -144

144 lines not on this page · raw message

drivers/usb/host/ehci-hcd.c +0 -5
index 9139d61dd0c..9839aa17492 100644
@@ -705,12 +705,10 @@ ehci_submit_async(struct usb_device *dev, unsigned long pipe, void *buffer,
 		dev->act_len = length - QT_TOKEN_GET_TOTALBYTES(qhtoken);
 	} else {
 		dev->act_len = 0;
-#ifndef CONFIG_USB_EHCI_FARADAY
 		debug("dev=%u, usbsts=%#x, p[1]=%#x, p[2]=%#x\n",
 		      dev->devnum, ehci_readl(&ctrl->hcor->or_usbsts),
 		      ehci_readl(&ctrl->hcor->or_portsc[0]),
 		      ehci_readl(&ctrl->hcor->or_portsc[1]));
-#endif
 	}
 
 	free(qtd);
@@ -1189,9 +1187,6 @@ int usb_lowlevel_init(int index, enum usb_init_type init, void **controller)
 	rc = ehci_hcd_init(index, init, &ctrl->hccr, &ctrl->hcor);
 	if (rc)
 		return rc;
-#endif
-#ifdef CONFIG_USB_EHCI_FARADAY
-	tweaks |= EHCI_TWEAK_NO_INIT_CF;
 #endif
 	rc = ehci_common_init(ctrl, tweaks);
 	if (rc)
include/usb/fusbh200.h deleted +0 -59

59 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#87 lore raw

PATCH v2 78/87 usb: Drop unused fotg210 gadget

In reply to Simon Glass

This is not used and appears to be associated with the faraday board which has been removed. Drop the driver and Kconfig options.

---

(no changes since v1)

 drivers/usb/gadget/Makefile       |   3 +-
 drivers/usb/gadget/fotg210.c      | 964 ------------------------------
 drivers/usb/gadget/gadget_chips.h |   8 -
 include/usb/fotg210.h             | 362 -----------
 4 files changed, 1 insertion(+), 1336 deletions(-)
 delete mode 100644 drivers/usb/gadget/fotg210.c
 delete mode 100644 include/usb/fotg210.h
drivers/usb/gadget/Makefile +1 -2
index 9c04403da30..b04b6bcd779 100644
@@ -19,8 +19,7 @@ obj-$(CONFIG_USB_GADGET_ATMEL_USBA) += atmel_usba_udc.o
 obj-$(CONFIG_USB_GADGET_BCM_UDC_OTG_PHY) += bcm_udc_otg_phy.o
 obj-$(CONFIG_USB_GADGET_DWC2_OTG) += dwc2_udc_otg.o
 obj-$(CONFIG_USB_GADGET_DWC2_OTG_PHY) += dwc2_udc_otg_phy.o
-obj-$(CONFIG_USB_GADGET_FOTG210) += fotg210.o
-obj-$(CONFIG_USB_GADGET_MAX3420) += max3420_udc.o
+0obj-$(CONFIG_USB_GADGET_MAX3420) += max3420_udc.o
 ifndef CONFIG_SPL_BUILD
 obj-$(CONFIG_USB_GADGET_DOWNLOAD) += g_dnl.o
 obj-$(CONFIG_USB_FUNCTION_THOR) += f_thor.o
drivers/usb/gadget/fotg210.c deleted +0 -964

964 lines not on this page · raw message

drivers/usb/gadget/gadget_chips.h +0 -8
index abc6dc7f89f..98156c312d2 100644
@@ -117,12 +117,6 @@
 #define gadget_is_ci(g)        0
 #endif
 
-#ifdef CONFIG_USB_GADGET_FOTG210
-#define gadget_is_fotg210(g)        (!strcmp("fotg210_udc", (g)->name))
-#else
-#define gadget_is_fotg210(g)        0
-#endif
-
 #ifdef CONFIG_USB_DWC3_GADGET
 #define gadget_is_dwc3(g)        (!strcmp("dwc3-gadget", (g)->name))
 #else
@@ -202,8 +196,6 @@ static inline int usb_gadget_controller_number(struct usb_gadget *gadget)
 		return 0x20;
 	else if (gadget_is_ci(gadget))
 		return 0x21;
-	else if (gadget_is_fotg210(gadget))
-		return 0x22;
 	else if (gadget_is_dwc3(gadget))
 		return 0x23;
 	else if (gadget_is_cdns3(gadget))
include/usb/fotg210.h deleted +0 -362

362 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#88 lore raw

PATCH v2 79/87 rmobile: Drop unused ehci-rmobile driver

In reply to Simon Glass

This is not used. Drop the driver and Kconfig option.

---

(no changes since v1)

 .../mach-rmobile/include/mach/ehci-rmobile.h  | 146 ------------------
 drivers/usb/host/Makefile                     |   1 -
 drivers/usb/host/ehci-rmobile.c               | 129 ----------------
 3 files changed, 276 deletions(-)
 delete mode 100644 arch/arm/mach-rmobile/include/mach/ehci-rmobile.h
 delete mode 100644 drivers/usb/host/ehci-rmobile.c
arch/arm/mach-rmobile/include/mach/ehci-rmobile.h deleted +0 -146
deleted file mode 100644
index ca8c5f37063..00000000000
@@ -1,146 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- *  Copyright (C) 2013,2014 Renesas Electronics Corporation
- *  Copyright (C) 2014 Nobuhiro Iwamatsu <[email protected]>
- */
-
-#ifndef __EHCI_RMOBILE_H__
-#define __EHCI_RMOBILE_H__
-
-/* Register offset */
-#define OHCI_OFFSET	0x00
-#define OHCI_SIZE	0x1000
-#define EHCI_OFFSET	0x1000
-#define EHCI_SIZE	0x1000
-
-#define EHCI_USBCMD	(EHCI_OFFSET + 0x0020)
-
-/* USBCTR */
-#define DIRPD		(1 << 8)
-#define PLL_RST		(1 << 2)
-#define PCICLK_MASK	(1 << 1)
-#define USBH_RST	(1 << 0)
-
-/* CMND_STS */
-#define SERREN		(1 << 8)
-#define PERREN		(1 << 6)
-#define MASTEREN	(1 << 2)
-#define MEMEN		(1 << 1)
-
-/* PCIAHB_WIN1_CTR and PCIAHB_WIN2_CTR */
-#define PCIAHB_WIN_PREFETCH	((1 << 1)|(1 << 0))
-
-/* AHBPCI_WIN1_CTR */
-#define PCIWIN1_PCICMD		((1 << 3)|(1 << 1))
-#define AHB_CFG_AHBPCI		0x40000000
-#define AHB_CFG_HOST		0x80000000
-
-/* AHBPCI_WIN2_CTR */
-#define PCIWIN2_PCICMD		((1 << 2)|(1 << 1))
-
-/* PCI_INT_ENABLE */
-#define USBH_PMEEN		(1 << 19)
-#define USBH_INTBEN		(1 << 17)
-#define USBH_INTAEN		(1 << 16)
-
-/* AHB_BUS_CTR */
-#define SMODE_READY_CTR		(1 << 17)
-#define SMODE_READ_BURST	(1 << 16)
-#define MMODE_HBUSREQ		(1 << 7)
-#define MMODE_BOUNDARY		((1 << 6)|(1 << 5))
-#define MMODE_BURST_WIDTH	((1 << 4)|(1 << 3))
-#define MMODE_SINGLE_MODE	((1 << 4)|(1 << 3))
-#define MMODE_WR_INCR		(1 << 2)
-#define MMODE_BYTE_BURST	(1 << 1)
-#define MMODE_HTRANS		(1 << 0)
-
-/* PCI_ARBITER_CTR */
-#define PCIBUS_PARK_TIMER       0x00FF0000
-#define PCIBUS_PARK_TIMER_SET   0x00070000
-#define PCIBP_MODE		(1 << 12)
-#define PCIREQ7                 (1 << 7)
-#define PCIREQ6                 (1 << 6)
-#define PCIREQ5                 (1 << 5)
-#define PCIREQ4                 (1 << 4)
-#define PCIREQ3                 (1 << 3)
-#define PCIREQ2                 (1 << 2)
-#define PCIREQ1                 (1 << 1)
-#define PCIREQ0                 (1 << 0)
-
-#define SMSTPCR7        0xE615014C
-#define SMSTPCR703      (1 << 3)
-
-/* Init AHB master and slave functions of the host logic */
-#define AHB_BUS_CTR_INIT \
-	(SMODE_READY_CTR | MMODE_HBUSREQ | MMODE_WR_INCR | \
-	 MMODE_BYTE_BURST | MMODE_HTRANS)
-
-#define USBCTR_WIN_SIZE_1GB	0x800
-
-/* PCI Configuration Registers */
-#define PCI_CONF_OHCI_OFFSET	0x10000
-#define PCI_CONF_EHCI_OFFSET	0x10100
-struct ahb_pciconf {
-	u32 vid_did;
-	u32 cmnd_sts;
-	u32 rev;
-	u32 cache_line;
-	u32 basead;
-};
-
-/* PCI Configuration Registers for AHB-PCI Bridge Registers */
-#define PCI_CONF_AHBPCI_OFFSET	0x10000
-struct ahbconf_pci_bridge {
-	u32 vid_did;		/* 0x00 */
-	u32 cmnd_sts;
-	u32 revid_cc;
-	u32 cls_lt_ht_bist;
-	u32 basead;		/* 0x10 */
-	u32 win1_basead;
-	u32 win2_basead;
-	u32 dummy0[5];
-	u32 ssvdi_ssid;		/* 0x2C */
-	u32 dummy1[4];
-	u32 intr_line_pin;
-};
-
-/* AHB-PCI Bridge PCI Communication Registers */
-#define AHBPCI_OFFSET	0x10800
-struct ahbcom_pci_bridge {
-	u32 pciahb_win1_ctr;	/* 0x00 */
-	u32 pciahb_win2_ctr;
-	u32 pciahb_dct_ctr;
-	u32 dummy0;
-	u32 ahbpci_win1_ctr;	/* 0x10 */
-	u32 ahbpci_win2_ctr;
-	u32 dummy1;
-	u32 ahbpci_dct_ctr;
-	u32 pci_int_enable;	/* 0x20 */
-	u32 pci_int_status;
-	u32 dummy2[2];
-	u32 ahb_bus_ctr;	/* 0x30 */
-	u32 usbctr;
-	u32 dummy3[2];
-	u32 pci_arbiter_ctr;	/* 0x40 */
-	u32 dummy4;
-	u32 pci_unit_rev;	/* 0x48 */
-};
-
-struct rmobile_ehci_reg {
-	u32 hciversion;		/* hciversion/caplength */
-	u32 hcsparams;		/* hcsparams */
-	u32 hccparams;		/* hccparams */
-	u32 hcsp_portroute;	/* hcsp_portroute */
-	u32 usbcmd;		/* usbcmd */
-	u32 usbsts;		/* usbsts */
-	u32 usbintr;		/* usbintr */
-	u32 frindex;		/* frindex */
-	u32 ctrldssegment;	/* ctrldssegment */
-	u32 periodiclistbase;	/* periodiclistbase */
-	u32 asynclistaddr;	/* asynclistaddr */
-	u32 dummy[9];
-	u32 configflag;		/* configflag */
-	u32 portsc;		/* portsc */
-};
-
-#endif /* __EHCI_RMOBILE_H__ */
drivers/usb/host/Makefile +0 -1
index cce78846d98..3d3dd5f279f 100644
@@ -41,7 +41,6 @@ obj-$(CONFIG_USB_EHCI_PCI) += ehci-pci.o
 obj-$(CONFIG_USB_EHCI_TEGRA) += ehci-tegra.o
 obj-$(CONFIG_USB_EHCI_VCT) += ehci-vct.o
 obj-$(CONFIG_USB_EHCI_VF) += ehci-vf.o
-obj-$(CONFIG_USB_EHCI_RMOBILE) += ehci-rmobile.o
 obj-$(CONFIG_USB_EHCI_ZYNQ) += ehci-zynq.o
 
 # xhci
drivers/usb/host/ehci-rmobile.c deleted +0 -129

129 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#89 lore raw

PATCH v2 80/87 usb: Drop unused ehci-vct driver

In reply to Simon Glass

This is not used. Drop the driver and Kconfig option.

---

(no changes since v1)

 drivers/usb/host/Makefile   |  1 -
 drivers/usb/host/ehci-vct.c | 44 -------------------------------------
 2 files changed, 45 deletions(-)
 delete mode 100644 drivers/usb/host/ehci-vct.c
drivers/usb/host/Makefile +0 -1
index 3d3dd5f279f..3e5ba2bd0ba 100644
@@ -39,7 +39,6 @@ obj-$(CONFIG_USB_EHCI_MARVELL) += ehci-marvell.o
 obj-$(CONFIG_USB_EHCI_MSM) += ehci-msm.o
 obj-$(CONFIG_USB_EHCI_PCI) += ehci-pci.o
 obj-$(CONFIG_USB_EHCI_TEGRA) += ehci-tegra.o
-obj-$(CONFIG_USB_EHCI_VCT) += ehci-vct.o
 obj-$(CONFIG_USB_EHCI_VF) += ehci-vf.o
 obj-$(CONFIG_USB_EHCI_ZYNQ) += ehci-zynq.o
 
drivers/usb/host/ehci-vct.c deleted +0 -44

44 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#90 lore raw

PATCH v2 81/87 usb: Drop unused sl811-hcd driver

In reply to Simon Glass

This is not used. Drop the driver and Kconfig option.

---

(no changes since v1)

 drivers/usb/host/Makefile    |   1 -
 drivers/usb/host/sl811-hcd.c | 714 -----------------------------------
 drivers/usb/host/sl811.h     | 104 -----
 3 files changed, 819 deletions(-)
 delete mode 100644 drivers/usb/host/sl811-hcd.c
 delete mode 100644 drivers/usb/host/sl811.h
drivers/usb/host/Makefile +0 -1
index 3e5ba2bd0ba..8dad36f9369 100644
@@ -17,7 +17,6 @@ obj-$(CONFIG_USB_OHCI_NEW) += ohci-hcd.o
 obj-$(CONFIG_USB_ATMEL) += ohci-at91.o
 obj-$(CONFIG_USB_OHCI_DA8XX) += ohci-da8xx.o
 obj-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o
-obj-$(CONFIG_USB_SL811HS) += sl811-hcd.o
 obj-$(CONFIG_USB_OHCI_LPC32XX) += ohci-lpc32xx.o
 obj-$(CONFIG_USB_OHCI_PCI) += ohci-pci.o
 obj-$(CONFIG_USB_OHCI_GENERIC) += ohci-generic.o
drivers/usb/host/sl811-hcd.c deleted +0 -714

714 lines not on this page · raw message

drivers/usb/host/sl811.h deleted +0 -104

104 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#91 lore raw

PATCH v2 82/87 imx: Drop CONFIG_USE_PLUGIN

In reply to Simon Glass

This option is not defined anywhere. Drop it.

---

(no changes since v1)

 board/freescale/mx7ulp_evk/Makefile | 4 ----
 1 file changed, 4 deletions(-)
board/freescale/mx7ulp_evk/Makefile +0 -4
index 686763d6744..9f33c61f03b 100644
@@ -2,7 +2,3 @@
 # (C) Copyright 2016 Freescale Semiconductor, Inc.
 
 obj-y  := mx7ulp_evk.o
-
-extra-$(CONFIG_USE_PLUGIN) :=  plugin.bin
-$(obj)/plugin.bin: $(obj)/plugin.o
-	$(OBJCOPY) -O binary --gap-fill 0xff $< $@
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#92 lore raw

PATCH v2 83/87 freescale: Drop unused vsc3316_3308 driver

In reply to Simon Glass

This is not used. Drop the driver and Kconfig option.

---

(no changes since v1)

 board/freescale/common/Makefile       |   1 -
 board/freescale/common/vsc3316_3308.c | 530 --------------------------
 2 files changed, 531 deletions(-)
 delete mode 100644 board/freescale/common/vsc3316_3308.c
board/freescale/common/Makefile +0 -1
index 5f0503faf8d..c200cf4d403 100644
@@ -54,7 +54,6 @@ obj-$(CONFIG_TARGET_MPC8548CDS)	+= cds_pci_ft.o
 obj-$(CONFIG_TARGET_P3041DS)		+= ics307_clk.o
 obj-$(CONFIG_TARGET_P4080DS)		+= ics307_clk.o
 obj-$(CONFIG_TARGET_P5040DS)		+= ics307_clk.o
-obj-$(CONFIG_VSC_CROSSBAR)    += vsc3316_3308.o
 obj-$(CONFIG_ZM7300)		+= zm7300.o
 ifeq ($(CONFIG_$(SPL_)POWER_LEGACY),y)
 obj-$(CONFIG_POWER_PFUZE100)	+= pfuze.o
board/freescale/common/vsc3316_3308.c deleted +0 -530

530 lines not on this page · raw message

Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#93 lore raw

PATCH v2 84/87 watchdog: Rename WDT_MPC8xx

In reply to Simon Glass

CONFIG options must not use lower-case letter. Convert this to upper case.

---

(no changes since v1)

 arch/powerpc/Kconfig      | 2 +-
 drivers/watchdog/Kconfig  | 2 +-
 drivers/watchdog/Makefile | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
arch/powerpc/Kconfig +1 -1
index 71d5ea50f54..980f6e10e28 100644
@@ -30,7 +30,7 @@ config MPC8xx
 	bool "MPC8xx"
 	select BOARD_EARLY_INIT_F
 	imply CMD_REGINFO
-	imply WDT_MPC8xx
+	imply WDT_MPC8XX
 
 endchoice
 
drivers/watchdog/Kconfig +1 -1
index 9218de06e22..33845065cf2 100644
@@ -184,7 +184,7 @@ config WDT_MESON_GXBB
 	  Select this to enable Meson watchdog timer,
 	  which can be found on some Amlogic platforms.
 
-config WDT_MPC8xx
+config WDT_MPC8XX
 	bool "MPC8xx watchdog timer support"
 	depends on WDT && MPC8xx
 	select HW_WATCHDOG
drivers/watchdog/Makefile +1 -1
index 446d961d7d2..699aff3fb36 100644
@@ -29,7 +29,7 @@ obj-$(CONFIG_WDT_CDNS) += cdns_wdt.o
 obj-$(CONFIG_WDT_GPIO) += gpio_wdt.o
 obj-$(CONFIG_WDT_MAX6370) += max6370_wdt.o
 obj-$(CONFIG_WDT_MESON_GXBB) += meson_gxbb_wdt.o
-obj-$(CONFIG_WDT_MPC8xx) += mpc8xx_wdt.o
+obj-$(CONFIG_WDT_MPC8XX) += mpc8xx_wdt.o
 obj-$(CONFIG_WDT_MT7620) += mt7620_wdt.o
 obj-$(CONFIG_WDT_MT7621) += mt7621_wdt.o
 obj-$(CONFIG_WDT_MTK) += mtk_wdt.o
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#94 lore raw

PATCH v2 85/87 tools: Drop xway-swap-bytes tool

In reply to Simon Glass

This is very old and does not appear to be used. The CONFIG option enabling it is no-longer present. Drop it.

---

(no changes since v1)

 README                  |  7 -------
 tools/Makefile          |  4 ----
 tools/xway-swap-bytes.c | 38 --------------------------------------
 3 files changed, 49 deletions(-)
 delete mode 100644 tools/xway-swap-bytes.c
README +0 -7
index edce7890c0f..dee0332b0a8 100644
@@ -286,13 +286,6 @@ The following options need to be configured:
 		same as CFG_SYS_DDR_SDRAM_BASE for  all Power SoCs. But
 		it could be different for ARM SoCs.
 
-- MIPS CPU options:
-		CONFIG_XWAY_SWAP_BYTES
-
-		Enable compilation of tools/xway-swap-bytes needed for Lantiq
-		XWAY SoCs for booting from NOR flash. The U-Boot image needs to
-		be swapped if a flash programmer is used.
-
 - ARM options:
 		CFG_SYS_EXCEPTION_VECTORS_HIGH
 
tools/Makefile +0 -4
index 0eadd8154a7..041c437e65b 100644
@@ -27,7 +27,6 @@ ifneq ($(HOST_TOOLS_ALL),)
 CONFIG_ARCH_KIRKWOOD = y
 CONFIG_CMD_LOADS = y
 CONFIG_CMD_NET = y
-CONFIG_XWAY_SWAP_BYTES = y
 CONFIG_NETCONSOLE = y
 CONFIG_ARCH_SUNXI = y
 endif
@@ -61,9 +60,6 @@ HOSTCFLAGS_gen_ethaddr_crc.o := -pedantic
 hostprogs-$(CONFIG_CMD_LOADS) += img2srec
 HOSTCFLAGS_img2srec.o := -pedantic
 
-hostprogs-$(CONFIG_XWAY_SWAP_BYTES) += xway-swap-bytes
-HOSTCFLAGS_xway-swap-bytes.o := -pedantic
-
 hostprogs-y += mkenvimage
 mkenvimage-objs := mkenvimage.o os_support.o lib/crc32.o
 
tools/xway-swap-bytes.c deleted +0 -38
deleted file mode 100644
index 3a6d82d54a0..00000000000
@@ -1,38 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-
-#ifndef BUFSIZ
-# define BUFSIZ 4096
-#endif
-
-#undef BUFSIZ
-# define BUFSIZ 64
-int main (void)
-{
-	short ibuff[BUFSIZ], obuff[BUFSIZ];
-	int rc, i, len;
-
-	while ((rc = read (0, ibuff, sizeof (ibuff))) > 0) {
-		memset (obuff, 0, sizeof (obuff));
-		for (i = 0; i < (rc + 1) / 2; i++) {
-			obuff[i] = ibuff[i ^ 1];
-		}
-
-		len = (rc + 1) & ~1;
-
-		if (write (1, obuff, len) != len) {
-			perror ("read error");
-			return (EXIT_FAILURE);
-		}
-
-		memset (ibuff, 0, sizeof (ibuff));
-	}
-
-	if (rc < 0) {
-		perror ("read error");
-		return (EXIT_FAILURE);
-	}
-	return (EXIT_SUCCESS);
-}
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#95 lore raw

PATCH v2 86/87 freescale: Drop unused zm7300 driver

In reply to Simon Glass

This is not used anymore. Drop the driver and Kconfig option.

---

(no changes since v1)

 board/freescale/common/Makefile |   1 -
 board/freescale/common/zm7300.c | 232 --------------------------------
 board/freescale/common/zm7300.h |  21 ---
 3 files changed, 254 deletions(-)
 delete mode 100644 board/freescale/common/zm7300.c
 delete mode 100644 board/freescale/common/zm7300.h
board/freescale/common/Makefile +0 -1
index c200cf4d403..b4faf6f9e0a 100644
@@ -54,7 +54,6 @@ obj-$(CONFIG_TARGET_MPC8548CDS)	+= cds_pci_ft.o
 obj-$(CONFIG_TARGET_P3041DS)		+= ics307_clk.o
 obj-$(CONFIG_TARGET_P4080DS)		+= ics307_clk.o
 obj-$(CONFIG_TARGET_P5040DS)		+= ics307_clk.o
-obj-$(CONFIG_ZM7300)		+= zm7300.o
 ifeq ($(CONFIG_$(SPL_)POWER_LEGACY),y)
 obj-$(CONFIG_POWER_PFUZE100)	+= pfuze.o
 endif
board/freescale/common/zm7300.c deleted +0 -232

232 lines not on this page · raw message

board/freescale/common/zm7300.h deleted +0 -21
deleted file mode 100644
index 9ce24afc178..00000000000
@@ -1,21 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Copyright 2013 Freescale Semiconductor, Inc.
- */
-
-#ifndef __ZM7300_H_
-#define __ZM7300_H	1_
-
-#include <common.h>
-#include <i2c.h>
-#include <errno.h>
-#include <asm/io.h>
-
-#define ZM_STEP 125
-int zm7300_set_voltage(int voltage_1_10mv);
-int zm_write_voltage(int voltage);
-int zm_read_voltage(void);
-int zm_disable_wp(void);
-int zm_enable_wp(void);
-
-#endif	/* __ZM7300_H_ */
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#96 lore raw

PATCH v2 87/87 fdt: Drop use of non-existent OF_PLATDATA option

In reply to Simon Glass

These are only present in SPL. Drop the references to non-SPL versions.

---

Changes in v2:
- Drop patch "treewide: Correct invalid Kconfig syntax and warnings"

 dts/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
dts/Kconfig +2 -2
index bc5f22029ff..44cc6bf1f6f 100644
@@ -21,8 +21,8 @@ menu "Device Tree Control"
 
 config OF_CONTROL
 	bool "Run-time configuration via Device Tree"
-	select OF_LIBFDT if !OF_PLATDATA
-	select OF_REAL if !OF_PLATDATA
+	select OF_LIBFDT
+	select OF_REAL
 	help
 	  This feature provides for run-time configuration of U-Boot
 	  via a flattened device tree.
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
#97 lore raw
In reply to Simon Glass
Quoted 8 lines · Simon Glass

This series adds source scanning to moveconfig.py so that it can look for Kconfig options mentioned in the source which do not appear in Kconfig, and vice versa.

This tool is then used to clean up the unused or obsolete options mentioned in Makefiles, along with any attached source code.

No functional change is intended.

Before I attempt to, have you done a global before / after with buildman to check for unintentional breakage? buildman --step 0 is quite handy for things like this :)

Signature · 1 line
Tom
#98 lore raw

Hi Tom,

Quoted 7 lines · Tom Rini
Quoted 4 lines · Simon Glass

This series adds source scanning to moveconfig.py so that it can look for Kconfig options mentioned in the source which do not appear in Kconfig, and vice versa.

Quoted 8 lines
Quoted 4 lines

This tool is then used to clean up the unused or obsolete options mentioned in Makefiles, along with any attached source code.

No functional change is intended.

Before I attempt to, have you done a global before / after with buildman to check for unintentional breakage? buildman --step 0 is quite handy for things like this :)

I did this and found a size change that I had not noticed, which I fixed.

Regards,
SImon