summaryrefslogtreecommitdiff
path: root/arch/powerpc
AgeCommit message (Collapse)Author
2016-12-05fsl/ddr: Add erratum_a009942_check_cpo and clean related erratumShengzhou Liu
- add additional function erratum_a009942_check_cpo to check if the board needs tuning CPO calibration for optimal setting. - move ERRATUM_A009942(with revision to check cpo_sample option) from fsl_ddr_gen4.c to ctrl_regs.c for reuse on all DDR4/DDR3 parts. - move ERRATUM_A008378 from fsl_ddr_gen4.c to ctrl_regs.c - remove obsolete ERRATUM_A004934 which is replaced with ERRATUM_A009942. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com> [YS: Replaced CONFIG_QEMU_E500 with CONFIG_ARCH_QEMU_E500] Reviewed-by: York Sun <york.sun@nxp.com>
2016-12-04Merge git://git.denx.de/u-boot-mpc85xxTom Rini
2016-12-04powerpc: mpc86xx: Convert CONFIG_SYS_FSL_NUM_LAWS to Kconfig optionYork Sun
Use Kconfig instead of defining this macro in header file. Signed-off-by: York Sun <york.sun@nxp.com>
2016-12-03libfdt: replace ARCH_FIXUP_FDT with ARCH_FIXUP_FDT_MEMORYMasahiro Yamada
Commit e2f88dfd2d96 ("libfdt: Introduce new ARCH_FIXUP_FDT option") allows us to skip memory setup of DTB, but a problem for ARM is that spin_table_update_dt() and psci_update_dt() are skipped as well if CONFIG_ARCH_FIXUP_FDT is disabled. This commit allows us to skip only fdt_fixup_memory_banks() instead of the whole of arch_fixup_fdt(). It will be useful when we want to use a memory node from a kernel DTB as is, but need some fixups for Spin-Table/PSCI. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Alexey Brodkin <abrodkin@synopsys.com> Acked-by: Simon Glass <sjg@chromium.org> Fixed build error for x86: Signed-off-by: Simon Glass <sjg@chromium.org>
2016-12-02powerpc: mpc85xx: Convert CONFIG_SYS_FSL_NUM_LAWS to Kconfig optionYork Sun
Move the macro to Kconfig SYS_FSL_NUM_LAWS. Signed-off-by: York Sun <york.sun@nxp.com>
2016-12-02powerpc: mpc86xx: Move CONFIG_FSL_LAW to KconfigYork Sun
Clean up existing definitions and drop from white list. Signed-off-by: York Sun <york.sun@nxp.com>
2016-12-02powerpc: mpc85xx: Move CONFIG_FSL_LAW to KconfigYork Sun
Some header files have this macro defined conditionally and redefined unconditionally. Remove all existing definitions. Signed-off-by: York Sun <york.sun@nxp.com>
2016-12-02powerpc: mpc85xx: Move SECURE_BOOT to KconfigYork Sun
Move from CONFIG_SYS_EXTRA_OPTIONS to Kconfig option. Signed-off-by: York Sun <york.sun@nxp.com>
2016-12-02powerpc: mpc86xx: Convert CONFIG_SYS_CCSRBAR_DEFAULT to Kconfig optionYork Sun
Move default value definitions to Kconfig SYS_CCSRBAR_DEFAULT. Signed-off-by: York Sun <york.sun@nxp.com>
2016-12-02powerpc: mpc85xx: Convert CONFIG_SYS_CCSRBAR_DEFAULT to Kconfig optionYork Sun
Move default value definitions to to Kconfig SYS_CCSRBAR_DEFAULT. Signed-off-by: York Sun <york.sun@nxp.com>
2016-12-02powerpc: cyrus: Separate P5020/P5040 config optionsYork Sun
Instead of using EXTRA options in defconfig, use two targets in Kconfig to select correct SoC. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-30Merge git://git.denx.de/u-boot-mpc85xxTom Rini
2016-11-24powerpc: Drop default CONFIG_MAX_CPUSYork Sun
This configuration has been moved into Kconfig for mpc85xx, and dropped for mpc86xx. Remove the default value in config.h. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: mpc86xx: Remove macro CONFIG_MAX_CPUSYork Sun
This macro CONFIG_MAX_CPUS is not used for MPC86xx SoCs. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: MPC8641: Remove macro CONFIG_MPC8641York Sun
Replace CONFIG_MPC8641 with ARCH_MPC8641 in Kconfig and clean up existing macros. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: MPC8610: Remove macro CONFIG_MPC8610York Sun
Replace CONFIG_MPC8610 with ARCH_MPC8610 in Kconfig and clean up existing macros. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: mpc85xx: Move CONFIG_MAX_CPUS to KconfigYork Sun
Use Kconfig to set MAX_CPUS for mpc85xx. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: T4080: Drop configuration for T4080York Sun
There is no T4080 target. Drop related macros. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: T4240: Remove macro CONFIG_PPC_T4240York Sun
Use CONFIG_ARCH_T4240 from Kconfig instead. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: T4160: Remove macro CONFIG_PPC_T4160York Sun
Use CONFIG_ARCH_T4160 instead. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: T4160RDB: Separate from T4240RDB in KconfigYork Sun
Use TARGET_T4160RDB to simplify Kconfig options. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: T4240QDS: Remove macro CONFIG_T4240QDSYork Sun
Use CONFIG_TARGET_T4240QDS instead. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: T4160QDS: Separate from T4240QDS in KconfigYork Sun
Use TARGET_T4160QDS to simplify Kconfig options. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: T2080, T2081: Remove macro CONFIG_PPC_T2080 and CONFIG_PPC_T2081York Sun
Use CONFIG_ARCH_T2080 and CONFIG_ARCH_T2081 instead. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: T2080RDB: Rename from T208XRDB in KconfigYork Sun
T208XRDB only has one target T2080RDB. Use TARGET_T2080RDB in Kconfig and clean up existing macros. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: T208XQDS: Split as T2080QDS and T2081QDSYork Sun
Use two separated targets in Kconfig to simplify configurations. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: T104xRDB: Remove macro CONFIG_T104xRDB and T104xD4RDBYork Sun
CONFIG_T104xRDB is defined in T104xRDB.h, so it is always enabled for all T1040RDB, T1040D4RDB, T1042RDB, T1042D4RDB, T1042RDB_PI. CONFIG_T104XD4RDB is defined for all T1040D4RDB, T1042D4RDB. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: T1042D4RDB: Separate from T1042RDB in KconfigYork Sun
Use TARGET_T1042D4RDB in Kconfig to simplify config options. Remove macro CONFIG_T1042D4RDB. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: T1042RDB_PI: Split from T1042RDB in KconfigYork Sun
Use separated TARGET_T1042RDB_PI to simplify config options. Remove macro CONFIG_T1042RDB_PI. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: T1042: Remove macro CONFIG_PPC_T1042York Sun
Replace CONFIG_PPC_T1042 with ARCH_T1024 in Kconfig and clean up existing macros. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: T1040D4RDB: Separate from T1040RDB in KconfigYork Sun
Use TARGET_T1040D4RDB in Kconfig to simplify config macros. Replace CONFIG_T1040D4RDB with TARGET_T1040D4RDB and clean up existing macros. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: T1040: Remove macro CONFIG_PPC_T1040York Sun
Replace CONFIG_PPC_T1040 with ARCH_T1040 in Kconfig and clean up existing macros. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: T104XRDB: Split to T1040RDB and T1042RDB in KconfigYork Sun
Split ARCH_T104XRDB as ARCH_T1040RDB and ARCH_T1042RDB in Kconfig to simplify config options. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: T1024: Remove macro CONFIG_PPC_T1024York Sun
Replace CONFIG_PPC_T1024 with ARCH_T1024 in Kconfig and clean up existing macros. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: T1024QDS: Rename Kconfig option to match the nameYork Sun
Rename TARGET_T102XQDS to TARGET_T1024QDS to match the name. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: T1023: Remove macro CONFIG_PPC_T1023York Sun
Replace CONFIG_PPC_T1023 with ARCH_T1023 in Kconfig and clean up existing macros. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: T102xRDB: Split as T1023RDB and T1024RDBYork Sun
The defconfig files are separated. Splitting targets in Kconfig simplifies config options. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: QEMU_E500: Remove macro CONFIG_QEMU_E500York Sun
Replace CONFIG_QEMU_E500 with ARCH_QEMU_E500 in Kconfig and clean up existing macros. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: B4420: Remove macro CONFIG_PPC_B4420York Sun
Replace CONFIG_PPC_B4420 with ARCH_B4420 in Kconfig and clean up existing macros.
2016-11-24powerpc: B4860QDS: Remove macro CONFIG_B4860QDSYork Sun
Use CONFIG_TARGET_B4860QDS instead. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: B4860: Remove macro CONFIG_PPC_B4860York Sun
Replace CONFIG_PPC_B4860 with ARCH_B4860 in Kconfig and clean up existing macros. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: B4420QDS: Split from B4860QDS in KconfigYork Sun
Use TARGET_B4420QDS to simplify Kconfig options. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: P5040: Remove macro CONFIG_P5040York Sun
Replace CONFIG_P5040 with ARCH_P5040 in Kconfig and clean up existing macros. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: P5020: Remove macro CONFIG_PPC_P5020York Sun
Replace CONFIG_PPC_P5020 with ARCH_P5020 in Kconfig and clean up existing macros. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: P4080: Remove macro CONFIG_PPC_P4080York Sun
Replace CONFIG_PPC_P4080 with ARCH_P4080 in Kconfig and clean up existing macros. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: P3041: Remove macro CONFIG_PPC_P3041York Sun
Replace CONFIG_PPC_P3041 with ARCH_P3041 in Kconfig and clean up existing macros. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: P2041: Remove macro CONFIG_PPC_P2041York Sun
Replace CONFIG_PPC_P2041 with ARCH_P2041 in Kconfig and clean up existing macros. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: P2010: Drop configuration for P2010York Sun
P2010 is a single-core version of P2020. There is no P2010 target configured. Drop related macros. P2010 SoC is still supported. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: P2020: Remove macro CONFIG_P2020York Sun
Replace CONFIG_P2020 with ARCH_P2020 in Kconfig and clean up existing macros. Signed-off-by: York Sun <york.sun@nxp.com>
2016-11-24powerpc: P1025: Remove macro CONFIG_P1025York Sun
Replace CONFIG_P1025 with ARCH_P1025 in Kconfig and clean up existing macros. Signed-off-by: York Sun <york.sun@nxp.com>