From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Wed, 28 Dec 2016 08:43:26 -0800 Subject: [U-Boot] [PATCH 00/24] Lift mpc85xx config options to Kconfig Message-ID: <1482943430-10231-1-git-send-email-york.sun@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In this set, more mpc85xx config options are moved into Kconfig, including some shared configuration for DDR, crypto, mmc, etc. York Sun (24): powerpc: E500: Move CONFIG_E500 and CONFIG_E500MC to Kconfig powerpc: mpc85xx: Move CONFIG_SYS_NUM_TLBCAMS to Kconfig powerpc: mpc85xx: Move CONFIG_SYS_PPC_E500_DEBUG_TLB to Kconfig crypto: Move SYS_FSL_SEC_COMPAT into driver Kconfig crypto: Move CONFIG_SYS_FSL_SEC_LE and _BE to Kconfig powerpc: mpc85xx: Remove variant SoCs T1020/T1022/T1013/T1014 powerpc: T1023RDB: Remove macro CONFIG_T1023RDB powerpc: T1024RDB: Remove macro CONFIG_T1024RDB powerpc: T1040QDS: Remove macro CONFIG_T1040QDS powerpc: T2080QDS: Remove macro T2080QDS powerpc: T2080RDB: Remove macro CONFIG_T2080RDB powerpc: T2081QDS: Remove macro T2081QDS powerpc: T104xQDS: Remove macro CONFIG_T104xD4QDS fsl_ddr: Move DDR config options to driver Kconfig arm: layerscape: Move CONFIG_SYS_FSL_ERRATUM_* to Kconfig mmc: move CONFIG_SYS_FSL_ERRATUM_ESDHC* to Kconfig powerpc: mpc85xx: Move CONFIG_SYS_FSL_ERRATUM_* to Kconfig ddr: fsl: Move macro CONFIG_NUM_DDR_CONTROLLERS to Kconfig ddr: fsl: Merge macro CONFIG_NUM_DDR_CONTROLLERS and CONFIG_SYS_NUM_DDR_CTRLS ddr: fsl: Move CONFIG_SYS_FSL_DDR_VER to Kconfig powerpc: mpc85xx: Remove unused ifdef in config header powerpc: E6500: Move macro CONFIG_E6500 to Kconfig powerpc: mpc85xx: Move CONFIG_SYS_FSL_QORIQ_CHASSIS* to Kconfig powerpc: mpc85xx: Move macro CONFIG_SYS_PPC64 to Kconfig README | 9 - arch/arm/Kconfig | 14 + arch/arm/cpu/armv7/ls102xa/Kconfig | 61 +- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 87 ++- arch/arm/include/asm/arch-fsl-layerscape/config.h | 30 +- arch/arm/include/asm/arch-ls102xa/config.h | 6 - arch/powerpc/Kconfig | 7 + arch/powerpc/cpu/mpc83xx/Kconfig | 6 + arch/powerpc/cpu/mpc85xx/Kconfig | 648 +++++++++++++++++++++- arch/powerpc/cpu/mpc85xx/Makefile | 4 - arch/powerpc/cpu/mpc85xx/cmd_errata.c | 2 +- arch/powerpc/cpu/mpc85xx/cpu.c | 22 +- arch/powerpc/cpu/mpc85xx/cpu_init.c | 18 +- arch/powerpc/cpu/mpc86xx/Kconfig | 4 + arch/powerpc/include/asm/config.h | 11 - arch/powerpc/include/asm/config_mpc85xx.h | 331 +---------- arch/powerpc/include/asm/config_mpc86xx.h | 2 - arch/powerpc/include/asm/fsl_secure_boot.h | 7 +- arch/powerpc/include/asm/immap_85xx.h | 6 +- board/freescale/b4860qds/ddr.c | 4 +- board/freescale/corenet_ds/ddr.c | 6 +- board/freescale/t102xrdb/Makefile | 2 +- board/freescale/t102xrdb/ddr.c | 2 +- board/freescale/t102xrdb/eth_t102xrdb.c | 10 +- board/freescale/t102xrdb/t102xrdb.c | 22 +- board/freescale/t102xrdb/t102xrdb.h | 2 +- board/freescale/t208xqds/Makefile | 4 +- board/freescale/t208xqds/eth_t208xqds.c | 32 +- board/freescale/t208xqds/t208xqds.c | 8 +- board/freescale/t208xrdb/Makefile | 2 +- configs/MPC8349EMDS_defconfig | 1 + configs/MPC8536DS_36BIT_defconfig | 1 + configs/MPC8536DS_SDCARD_defconfig | 1 + configs/MPC8536DS_SPIFLASH_defconfig | 1 + configs/MPC8536DS_defconfig | 1 + configs/MPC8548CDS_36BIT_defconfig | 1 + configs/MPC8548CDS_defconfig | 1 + configs/MPC8548CDS_legacy_defconfig | 1 + configs/MPC8572DS_36BIT_defconfig | 1 + configs/MPC8572DS_defconfig | 1 + configs/MPC8610HPCD_defconfig | 1 + configs/MPC8641HPCN_36BIT_defconfig | 1 + configs/MPC8641HPCN_defconfig | 1 + configs/T1023RDB_NAND_defconfig | 3 +- configs/T1023RDB_SDCARD_defconfig | 3 +- configs/T1023RDB_SECURE_BOOT_defconfig | 2 +- configs/T1023RDB_SPIFLASH_defconfig | 3 +- configs/T1023RDB_defconfig | 2 +- configs/T1024QDS_DDR4_SECURE_BOOT_defconfig | 2 +- configs/T1024QDS_DDR4_defconfig | 2 +- configs/T1024QDS_NAND_defconfig | 1 + configs/T1024QDS_SDCARD_defconfig | 1 + configs/T1024QDS_SECURE_BOOT_defconfig | 1 + configs/T1024QDS_SPIFLASH_defconfig | 1 + configs/T1024QDS_defconfig | 1 + configs/T1024RDB_NAND_defconfig | 3 +- configs/T1024RDB_SDCARD_defconfig | 3 +- configs/T1024RDB_SECURE_BOOT_defconfig | 2 +- configs/T1024RDB_SPIFLASH_defconfig | 3 +- configs/T1024RDB_defconfig | 2 +- configs/T1040D4RDB_NAND_defconfig | 3 +- configs/T1040D4RDB_SDCARD_defconfig | 3 +- configs/T1040D4RDB_SECURE_BOOT_defconfig | 2 +- configs/T1040D4RDB_SPIFLASH_defconfig | 3 +- configs/T1040D4RDB_defconfig | 2 +- configs/T1040QDS_DDR4_defconfig | 2 +- configs/T1040QDS_SECURE_BOOT_defconfig | 1 + configs/T1040QDS_defconfig | 1 + configs/T1040RDB_NAND_defconfig | 1 + configs/T1040RDB_SDCARD_defconfig | 1 + configs/T1040RDB_SECURE_BOOT_defconfig | 1 + configs/T1040RDB_SPIFLASH_defconfig | 1 + configs/T1040RDB_defconfig | 1 + configs/T1042D4RDB_NAND_defconfig | 3 +- configs/T1042D4RDB_SDCARD_defconfig | 3 +- configs/T1042D4RDB_SECURE_BOOT_defconfig | 2 +- configs/T1042D4RDB_SPIFLASH_defconfig | 3 +- configs/T1042D4RDB_defconfig | 2 +- configs/T1042RDB_PI_NAND_SECURE_BOOT_defconfig | 1 + configs/T1042RDB_PI_NAND_defconfig | 1 + configs/T1042RDB_PI_SDCARD_defconfig | 1 + configs/T1042RDB_PI_SPIFLASH_defconfig | 1 + configs/T1042RDB_PI_defconfig | 1 + configs/T1042RDB_SECURE_BOOT_defconfig | 1 + configs/T1042RDB_defconfig | 1 + configs/ls1046aqds_defconfig | 1 - configs/ls1046aqds_nand_defconfig | 2 +- configs/ls1046aqds_qspi_defconfig | 1 - configs/ls1046aqds_sdcard_ifc_defconfig | 2 +- configs/ls1046aqds_sdcard_qspi_defconfig | 2 +- configs/ls1046ardb_emmc_defconfig | 2 +- configs/ls1046ardb_qspi_defconfig | 1 - configs/ls1046ardb_sdcard_defconfig | 2 +- configs/ls2080a_emu_defconfig | 2 +- configs/ls2080aqds_SECURE_BOOT_defconfig | 2 +- configs/ls2080aqds_defconfig | 2 +- configs/ls2080aqds_nand_defconfig | 2 +- configs/ls2080aqds_qspi_defconfig | 2 +- configs/ls2080ardb_SECURE_BOOT_defconfig | 2 +- configs/ls2080ardb_defconfig | 3 +- configs/ls2080ardb_nand_defconfig | 2 +- configs/sbc8548_PCI_33_PCIE_defconfig | 1 + configs/sbc8548_PCI_33_defconfig | 1 + configs/sbc8548_PCI_66_PCIE_defconfig | 1 + configs/sbc8548_PCI_66_defconfig | 1 + configs/sbc8548_defconfig | 1 + configs/xpedite517x_defconfig | 1 + configs/xpedite520x_defconfig | 1 + configs/xpedite537x_defconfig | 1 + drivers/Kconfig | 2 + drivers/crypto/fsl/Kconfig | 39 ++ drivers/ddr/fsl/Kconfig | 172 ++++++ drivers/ddr/fsl/Makefile | 2 +- drivers/ddr/fsl/arm_ddr_gen3.c | 6 +- drivers/ddr/fsl/ctrl_regs.c | 6 +- drivers/ddr/fsl/fsl_ddr_gen4.c | 6 +- drivers/ddr/fsl/interactive.c | 14 +- drivers/ddr/fsl/main.c | 30 +- drivers/ddr/fsl/mpc85xx_ddr_gen3.c | 6 +- drivers/ddr/fsl/options.c | 30 +- drivers/ddr/fsl/util.c | 28 +- drivers/mmc/Kconfig | 12 + drivers/net/fm/Makefile | 2 - include/configs/B4860QDS.h | 7 +- include/configs/BSC9131RDB.h | 4 - include/configs/BSC9132QDS.h | 4 - include/configs/C29XPCIE.h | 3 - include/configs/MPC8308RDB.h | 1 - include/configs/MPC8349EMDS.h | 9 +- include/configs/MPC8536DS.h | 6 - include/configs/MPC8540ADS.h | 6 - include/configs/MPC8541CDS.h | 4 - include/configs/MPC8544DS.h | 6 - include/configs/MPC8548CDS.h | 6 - include/configs/MPC8555CDS.h | 4 - include/configs/MPC8560ADS.h | 4 - include/configs/MPC8568MDS.h | 6 - include/configs/MPC8569MDS.h | 6 - include/configs/MPC8572DS.h | 4 - include/configs/MPC8610HPCD.h | 2 - include/configs/MPC8641HPCN.h | 2 - include/configs/P1010RDB.h | 4 - include/configs/P1022DS.h | 4 - include/configs/P1023RDB.h | 3 - include/configs/P2041RDB.h | 6 +- include/configs/T102xQDS.h | 8 +- include/configs/T102xRDB.h | 51 +- include/configs/T1040QDS.h | 10 +- include/configs/T104xRDB.h | 9 +- include/configs/T208xQDS.h | 8 +- include/configs/T208xRDB.h | 7 +- include/configs/T4240RDB.h | 7 +- include/configs/UCP1020.h | 7 - include/configs/colibri_vf.h | 2 - include/configs/controlcenterd.h | 4 - include/configs/corenet_ds.h | 6 +- include/configs/cyrus.h | 6 +- include/configs/hrcon.h | 1 - include/configs/km/kmp204x-common.h | 6 +- include/configs/mx6_common.h | 2 - include/configs/mx7_common.h | 2 - include/configs/p1_p2_rdb_pc.h | 6 - include/configs/p1_twr.h | 6 - include/configs/pcm052.h | 3 - include/configs/qemu-ppce500.h | 4 - include/configs/s32v234evb.h | 2 - include/configs/sbc8548.h | 4 - include/configs/sbc8641d.h | 2 - include/configs/socrates.h | 4 - include/configs/strider.h | 1 - include/configs/t4qds.h | 7 +- include/configs/ts4800.h | 2 - include/configs/vf610twr.h | 2 - include/configs/xpedite517x.h | 2 - include/configs/xpedite520x.h | 4 - include/configs/xpedite537x.h | 4 - include/configs/xpedite550x.h | 4 - include/fsl_ddr.h | 3 +- include/fsl_sec.h | 2 +- scripts/config_whitelist.txt | 85 --- 180 files changed, 1220 insertions(+), 1016 deletions(-) create mode 100644 drivers/ddr/fsl/Kconfig -- 2.7.4