Re: [PATCH 40/88] ppc: Rename MPC83xx

2023-01-24 Thread Heiko Schocher
Hello Simon,

On 23.01.23 22:59, Simon Glass wrote:
> CONFIG options must not use lower-case letter. Convert this to upper case.
> 
> Signed-off-by: Simon Glass 
> ---
> 
>  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(-)


Thanks!

Reviewed-by: Heiko Schocher 

bye,
Heiko
-- 
DENX Software Engineering GmbH,  Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: h...@denx.de


[PATCH 40/88] ppc: Rename MPC83xx

2023-01-23 Thread Simon Glass
CONFIG options must not use lower-case letter. Convert this to upper case.

Signed-off-by: Simon Glass 
---

 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(-)

diff --git a/api/api_platform-powerpc.c b/api/api_platform-powerpc.c
index 847a4a3015b..8503ba274d6 100644
--- a/api/api_platform-powerpc.c
+++ b/api/api_platform-powerpc.c
@@ -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
 
diff --git a/arch/Kconfig b/arch/Kconfig
index 3b95fbe9b36..1d16b6d4e9a 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -370,7 +370,7 @@ config SYS_IMMR
depends on PPC || FSL_LSCH2 || FSL_LSCH3 || ARCH_LS1021A
default 0xFF00 if MPC8xx
default 0xF000 if ARCH_MPC8313
-   default 0xE000 if MPC83xx && !ARCH_MPC8313
+   default 0xE000 if MPC83XX && !ARCH_MPC8313
default 0x0100 if ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3
default 0xFFE0 if ARCH_P1010 || ARCH_P1011 || ARCH_P1020 || \
  ARCH_P1021 || ARCH_P1024 || ARCH_P1025 || \
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index e0801c25941..eb39a03e997 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -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"
diff --git a/arch/powerpc/cpu/Makefile b/arch/powerpc/cpu/Makefile
index e7f64059277..c56f0d78b2d 100644
--- a/arch/powerpc/cpu/Makefile
+++ b/arch/powerpc/cpu/Makefile
@@ -1,5 +1,5 @@
 # SPDX-License-Identifier: GPL-2.0+
 
-obj-$(CONFIG_MPC83xx) += mpc8xxx/
+obj-$(CONFIG_MPC83XX) +=