[U-Boot] [PATCH 00/48] mpc83xx: Kconfig migrations

Mario Six mario.six at gdsys.cc
Fri Sep 28 09:52:36 UTC 2018


This series converts the first bunch of legacy configuration options to
the Kconfig framework.

Functionality is preserved where possible, and setting configuration
options is made a comfortable as possible.

Mario Six (48):
  mpc83xx: Introduce ARCH_MPC830*
  mpc83xx: Introduce ARCH_MPC831*
  mpc83xx: Introduce ARCH_MPC832*
  mpc83xx: Introduce ARCH_MPC834*
  mpc83xx: Introduce ARCH_MPC836*
  mpc83xx: Introduce ARCH_MPC837X
  keymile: Make distinct kmtegr1, kmvect1, suvd3 configs
  keymile: Simplify kmtegr1, kmvect1, suvd3 configs
  keymile: Move config files
  keymile: Unroll includes
  keymile: Simplify config files
  keymile: Make distinct kmsupx5, tuge1, kmopti2, and kmtepr2 configs
  keymile: Simplify kmsupx5, tuge1, kmopti2, and kmtepr2 configs
  keymile: Unroll km/km83xx-common.h
  keymile: Simplify configs after include unroll
  keymile: Make distinct kmeter1, and kmcoge5ne configs
  keymile: Simplify kmcoge5ne, kmeter1 configs
  mpc83xx: Make distinct MPC8313ERDB targets
  mpc83xx: Simplify MPC8313ERDB configs
  VME8349: Migrate to CONFIG_TARGET_VME8349
  mpc83xx: Make distinct caddy2 config
  vme8349/caddy2: Simplify configs
  powerpc: Add LSDMR config values
  mpc83xx: Make distinct MPC8349EMDS_SDRAM board
  MPC8349EMDS: Simplify configs
  mpc8315erdb: Merge BR/OR settings
  ve8313: Merge BR/OR settings
  MPC832XEMDS: Migrate to CONFIG_TARGET_MPC832XEMDS
  MPC8349ITX: Migrate to CONFIG_TARGET_MPC8349ITX
  hrcom: Migrate to CONFIG_TARGET_HRCON
  strider: Migrate to CONFIG_TARGET_STRIDER
  MPC8313ERDB: Remove CONFIG_MPC8313ERDB
  MPC8315ERDB: Remove CONFIG_MPC8315ERDB
  MPC837XEMDS: Remove CONFIG_MPC837XEMDS
  MPC837XERDB: Remove CONFIG_MPC837XERDB
  mpc83xx: Migrate legacy PCI options to Kconfig
  mpc83xx: Replace CONFIG_83XX_CLKIN in calculations
  mpc83xx: Get rid of CONFIG_83XX_CLKIN
  mpc83xx: Kconfig: Migrate HRCW to Kconfig
  mpc83xx: pcie: Read the clock from registers
  powerpc: Migrate HIGH_BATS to Kconfig
  mpc83xx: Migrate BATS config to Kconfig
  mpc83xx: Migrate LBLAW_* to Kconfig
  mpc83xx: Normalize BR/OR option lines
  tqm834x: Expand CONFIG_SYS_OR_TIMING_FLASH macro
  mpc83xx: Simplify BR,OR lines
  sbc8349: Remove SDRAM functionality
  mpc83xx: Migrate CONFIG_SYS_{BR,OR}*_PRELIM to Kconfig

 Kconfig                                            |    2 +-
 arch/powerpc/Kconfig                               |    6 +
 arch/powerpc/cpu/mpc83xx/Kconfig                   |  225 +++-
 arch/powerpc/cpu/mpc83xx/bats/Kconfig              | 1311 ++++++++++++++++++++
 arch/powerpc/cpu/mpc83xx/bats/bats.h               |  223 ++++
 arch/powerpc/cpu/mpc83xx/cpu.c                     |    2 +-
 arch/powerpc/cpu/mpc83xx/cpu_init.c                |    7 +-
 arch/powerpc/cpu/mpc83xx/elbc/Kconfig              |   32 +
 arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc0        |  733 +++++++++++
 arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc1        |  733 +++++++++++
 arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc2        |  733 +++++++++++
 arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc3        |  733 +++++++++++
 arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc4        |  733 +++++++++++
 arch/powerpc/cpu/mpc83xx/elbc/elbc.h               |  186 +++
 arch/powerpc/cpu/mpc83xx/fdt.c                     |    6 +-
 arch/powerpc/cpu/mpc83xx/hrcw/Kconfig              |  816 ++++++++++++
 arch/powerpc/cpu/mpc83xx/hrcw/hrcw.h               |   37 +
 arch/powerpc/cpu/mpc83xx/lblaw/Kconfig             |  519 ++++++++
 arch/powerpc/cpu/mpc83xx/lblaw/lblaw.h             |   55 +
 arch/powerpc/cpu/mpc83xx/pcie.c                    |   39 +-
 arch/powerpc/cpu/mpc83xx/spd_sdram.c               |    4 +-
 arch/powerpc/cpu/mpc83xx/speed.c                   |  112 +-
 arch/powerpc/cpu/mpc83xx/spl_minimal.c             |   11 +
 arch/powerpc/cpu/mpc83xx/start.S                   |    3 +
 arch/powerpc/cpu/mpc8xxx/fsl_lbc.c                 |    4 +
 arch/powerpc/include/asm/arch-mpc83xx/gpio.h       |    6 +-
 arch/powerpc/include/asm/fsl_lbc.h                 |   13 +-
 arch/powerpc/include/asm/global_data.h             |   22 +-
 arch/powerpc/include/asm/immap_83xx.h              |   24 +-
 arch/powerpc/include/asm/mpc8xxx_spi.h             |   10 +-
 board/esd/vme8349/Kconfig                          |   13 +
 board/esd/vme8349/vme8349.c                        |    8 +-
 board/freescale/common/pq-mds-pib.c                |    6 +-
 board/freescale/mpc8313erdb/Kconfig                |   17 +-
 board/freescale/mpc8315erdb/MAINTAINERS            |    1 +
 board/freescale/mpc8349emds/Kconfig                |   13 +
 board/freescale/mpc8349emds/MAINTAINERS            |    2 +
 board/freescale/mpc8349emds/pci.c                  |   12 +-
 board/freescale/mpc8349itx/mpc8349itx.c            |    5 +-
 board/freescale/mpc837xemds/MAINTAINERS            |    1 +
 board/freescale/mpc837xerdb/MAINTAINERS            |    1 +
 board/gdsys/common/Makefile                        |    6 +-
 board/gdsys/mpc8308/Makefile                       |    4 +-
 board/keymile/km83xx/Kconfig                       |   95 +-
 board/keymile/km83xx/km83xx.c                      |    8 +-
 board/tqc/tqm834x/pci.c                            |    2 +-
 board/tqc/tqm834x/tqm834x.c                        |    4 +-
 configs/MPC8308RDB_defconfig                       |   94 ++
 configs/MPC8313ERDB_33_defconfig                   |  123 +-
 configs/MPC8313ERDB_66_defconfig                   |  122 +-
 configs/MPC8313ERDB_NAND_33_defconfig              |  123 +-
 configs/MPC8313ERDB_NAND_66_defconfig              |  122 +-
 configs/MPC8315ERDB_defconfig                      |  101 ++
 configs/MPC8323ERDB_defconfig                      |   82 ++
 configs/MPC832XEMDS_ATM_defconfig                  |  119 ++
 configs/MPC832XEMDS_HOST_33_defconfig              |  139 +++
 configs/MPC832XEMDS_HOST_66_defconfig              |  139 +++
 configs/MPC832XEMDS_SLAVE_defconfig                |  136 ++
 configs/MPC832XEMDS_defconfig                      |  119 ++
 configs/MPC8349EMDS_PCI64_defconfig                |   96 ++
 configs/MPC8349EMDS_SDRAM_defconfig                |  107 ++
 configs/MPC8349EMDS_SLAVE_defconfig                |   96 ++
 configs/MPC8349EMDS_defconfig                      |   76 ++
 configs/MPC8349ITXGP_defconfig                     |  143 +++
 configs/MPC8349ITX_LOWBOOT_defconfig               |  143 ++-
 configs/MPC8349ITX_defconfig                       |  142 ++-
 configs/MPC837XEMDS_HOST_defconfig                 |  140 +++
 configs/MPC837XEMDS_SLAVE_defconfig                |  125 ++
 configs/MPC837XEMDS_defconfig                      |  120 ++
 configs/MPC837XERDB_SLAVE_defconfig                |  125 ++
 configs/MPC837XERDB_defconfig                      |  136 ++
 configs/MPC8610HPCD_defconfig                      |    1 +
 configs/MPC8641HPCN_36BIT_defconfig                |    1 +
 configs/MPC8641HPCN_defconfig                      |    1 +
 configs/TQM834x_defconfig                          |  110 ++
 configs/caddy2_defconfig                           |   93 +-
 configs/hrcon_defconfig                            |   77 ++
 configs/hrcon_dh_defconfig                         |   77 ++
 configs/ids8313_defconfig                          |  113 ++
 configs/kmcoge5ne_defconfig                        |  147 ++-
 configs/kmeter1_defconfig                          |  110 +-
 configs/kmopti2_defconfig                          |  135 +-
 configs/kmsupx5_defconfig                          |  113 +-
 configs/kmtegr1_defconfig                          |  109 +-
 configs/kmtepr2_defconfig                          |  135 +-
 configs/kmvect1_defconfig                          |  130 +-
 configs/mpc8308_p1m_defconfig                      |   83 ++
 configs/sbc8349_PCI_33_defconfig                   |   82 ++
 configs/sbc8349_PCI_66_defconfig                   |   82 ++
 configs/sbc8349_defconfig                          |   61 +
 configs/sbc8641d_defconfig                         |    1 +
 configs/strider_con_defconfig                      |   73 ++
 configs/strider_con_dp_defconfig                   |   73 ++
 configs/strider_cpu_defconfig                      |   73 ++
 configs/strider_cpu_dp_defconfig                   |   73 ++
 configs/suvd3_defconfig                            |  127 ++
 configs/tuge1_defconfig                            |  113 +-
 configs/tuxx1_defconfig                            |  136 +-
 configs/ve8313_defconfig                           |  117 ++
 configs/vme8349_defconfig                          |   91 ++
 configs/xpedite517x_defconfig                      |    1 +
 drivers/mtd/nand/fsl_elbc_spl.c                    |    4 +
 drivers/pci/pci_auto.c                             |    3 +-
 drivers/pci/pci_auto_old.c                         |    3 +-
 drivers/qe/qe.c                                    |    2 +-
 drivers/ram/mpc83xx_sdram.c                        |   24 +-
 include/configs/MPC8308RDB.h                       |  124 --
 .../configs/{MPC8313ERDB.h => MPC8313ERDB_NAND.h}  |  244 +---
 include/configs/MPC8313ERDB_NOR.h                  |  406 ++++++
 include/configs/MPC8315ERDB.h                      |  173 +--
 include/configs/MPC8323ERDB.h                      |  148 +--
 include/configs/MPC832XEMDS.h                      |  222 +---
 include/configs/MPC8349EMDS.h                      |  314 +----
 include/configs/MPC8349EMDS_SDRAM.h                |  486 ++++++++
 include/configs/MPC8349ITX.h                       |  204 +--
 include/configs/MPC837XEMDS.h                      |  219 +---
 include/configs/MPC837XERDB.h                      |  213 +---
 include/configs/MPC8610HPCD.h                      |    1 -
 include/configs/MPC8641HPCN.h                      |    1 -
 include/configs/TQM834x.h                          |  161 ---
 include/configs/caddy2.h                           |  357 ++++++
 include/configs/hrcon.h                            |  110 --
 include/configs/ids8313.h                          |  156 +--
 include/configs/km/km8309-common.h                 |  176 ---
 include/configs/km/km8321-common.h                 |  140 ---
 include/configs/km8360.h                           |  271 ----
 include/configs/{km => }/km83xx-common.h           |    6 +-
 include/configs/kmcoge5ne.h                        |  352 ++++++
 include/configs/kmeter1.h                          |  318 +++++
 include/configs/kmopti2.h                          |  358 ++++++
 include/configs/kmsupx5.h                          |  347 ++++++
 include/configs/kmtegr1.h                          |  413 ++++++
 include/configs/kmtepr2.h                          |  350 ++++++
 include/configs/kmvect1.h                          |  430 +++++++
 include/configs/mpc8308_p1m.h                      |  117 +-
 include/configs/sbc8349.h                          |  281 -----
 include/configs/sbc8641d.h                         |    1 -
 include/configs/strider.h                          |  109 --
 include/configs/suvd3.h                            |  416 +++++--
 include/configs/tuge1.h                            |  347 ++++++
 include/configs/tuxx1.h                            |  436 ++++---
 include/configs/ve8313.h                           |  171 +--
 include/configs/vme8349.h                          |  196 +--
 include/configs/xpedite517x.h                      |    1 -
 include/gdsys_fpga.h                               |    2 +-
 include/linux/immap_qe.h                           |    4 +-
 include/mpc83xx.h                                  |   84 +-
 include/post.h                                     |    2 +-
 include/usb/ehci-ci.h                              |    2 +-
 scripts/config_whitelist.txt                       |   16 -
 150 files changed, 17644 insertions(+), 4221 deletions(-)
 create mode 100644 arch/powerpc/cpu/mpc83xx/bats/Kconfig
 create mode 100644 arch/powerpc/cpu/mpc83xx/bats/bats.h
 create mode 100644 arch/powerpc/cpu/mpc83xx/elbc/Kconfig
 create mode 100644 arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc0
 create mode 100644 arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc1
 create mode 100644 arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc2
 create mode 100644 arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc3
 create mode 100644 arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc4
 create mode 100644 arch/powerpc/cpu/mpc83xx/elbc/elbc.h
 create mode 100644 arch/powerpc/cpu/mpc83xx/hrcw/Kconfig
 create mode 100644 arch/powerpc/cpu/mpc83xx/hrcw/hrcw.h
 create mode 100644 arch/powerpc/cpu/mpc83xx/lblaw/Kconfig
 create mode 100644 arch/powerpc/cpu/mpc83xx/lblaw/lblaw.h
 create mode 100644 configs/MPC8349EMDS_PCI64_defconfig
 create mode 100644 configs/MPC8349EMDS_SDRAM_defconfig
 create mode 100644 configs/MPC8349EMDS_SLAVE_defconfig
 create mode 100644 configs/MPC837XEMDS_SLAVE_defconfig
 create mode 100644 configs/MPC837XERDB_SLAVE_defconfig
 rename include/configs/{MPC8313ERDB.h => MPC8313ERDB_NAND.h} (62%)
 create mode 100644 include/configs/MPC8313ERDB_NOR.h
 create mode 100644 include/configs/MPC8349EMDS_SDRAM.h
 create mode 100644 include/configs/caddy2.h
 delete mode 100644 include/configs/km/km8309-common.h
 delete mode 100644 include/configs/km/km8321-common.h
 delete mode 100644 include/configs/km8360.h
 rename include/configs/{km => }/km83xx-common.h (98%)
 create mode 100644 include/configs/kmcoge5ne.h
 create mode 100644 include/configs/kmeter1.h
 create mode 100644 include/configs/kmopti2.h
 create mode 100644 include/configs/kmsupx5.h
 create mode 100644 include/configs/kmtegr1.h
 create mode 100644 include/configs/kmtepr2.h
 create mode 100644 include/configs/kmvect1.h
 create mode 100644 include/configs/tuge1.h

--
2.16.4



More information about the U-Boot mailing list