platform/kernel/u-boot.git
7 years agopowerpc: T2080, T2081: Remove macro CONFIG_PPC_T2080 and CONFIG_PPC_T2081
York Sun [Mon, 21 Nov 2016 20:54:19 +0000 (12:54 -0800)]
powerpc: T2080, T2081: Remove macro CONFIG_PPC_T2080 and CONFIG_PPC_T2081

Use CONFIG_ARCH_T2080 and CONFIG_ARCH_T2081 instead.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: T2080RDB: Rename from T208XRDB in Kconfig
York Sun [Mon, 21 Nov 2016 20:57:22 +0000 (12:57 -0800)]
powerpc: T2080RDB: Rename from T208XRDB in Kconfig

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>
7 years agopowerpc: T208XQDS: Split as T2080QDS and T2081QDS
York Sun [Mon, 21 Nov 2016 20:46:58 +0000 (12:46 -0800)]
powerpc: T208XQDS: Split as T2080QDS and T2081QDS

Use two separated targets in Kconfig to simplify configurations.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: T104xRDB: Remove macro CONFIG_T104xRDB and T104xD4RDB
York Sun [Mon, 21 Nov 2016 19:25:26 +0000 (11:25 -0800)]
powerpc: T104xRDB: Remove macro CONFIG_T104xRDB and T104xD4RDB

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>
7 years agopowerpc: T1042RDB: Remove macro CONFIG_T1042RDB
York Sun [Mon, 21 Nov 2016 19:08:49 +0000 (11:08 -0800)]
powerpc: T1042RDB: Remove macro CONFIG_T1042RDB

Use TARGET_T1042RDB instead.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: T1042D4RDB: Separate from T1042RDB in Kconfig
York Sun [Mon, 21 Nov 2016 19:04:34 +0000 (11:04 -0800)]
powerpc: T1042D4RDB: Separate from T1042RDB in Kconfig

Use TARGET_T1042D4RDB in Kconfig to simplify config options.
Remove macro CONFIG_T1042D4RDB.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: T1042RDB_PI: Split from T1042RDB in Kconfig
York Sun [Fri, 18 Nov 2016 21:44:00 +0000 (13:44 -0800)]
powerpc: T1042RDB_PI: Split from T1042RDB in Kconfig

Use separated TARGET_T1042RDB_PI to simplify config options.
Remove macro CONFIG_T1042RDB_PI.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: T1042: Remove macro CONFIG_PPC_T1042
York Sun [Fri, 18 Nov 2016 21:36:39 +0000 (13:36 -0800)]
powerpc: T1042: Remove macro CONFIG_PPC_T1042

Replace CONFIG_PPC_T1042 with ARCH_T1024 in Kconfig and clean up
existing macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: T1040RDB: Remove macro CONFIG_T1040RDB
York Sun [Fri, 18 Nov 2016 21:31:27 +0000 (13:31 -0800)]
powerpc: T1040RDB: Remove macro CONFIG_T1040RDB

Use CONFIG_TARGET_T1040RDB instead.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: T1040D4RDB: Separate from T1040RDB in Kconfig
York Sun [Mon, 21 Nov 2016 18:46:53 +0000 (10:46 -0800)]
powerpc: T1040D4RDB: Separate from T1040RDB in Kconfig

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>
7 years agopowerpc: T1040: Remove macro CONFIG_PPC_T1040
York Sun [Fri, 18 Nov 2016 21:11:12 +0000 (13:11 -0800)]
powerpc: T1040: Remove macro CONFIG_PPC_T1040

Replace CONFIG_PPC_T1040 with ARCH_T1040 in Kconfig and clean up
existing macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: T104XRDB: Split to T1040RDB and T1042RDB in Kconfig
York Sun [Fri, 18 Nov 2016 21:19:39 +0000 (13:19 -0800)]
powerpc: T104XRDB: Split to T1040RDB and T1042RDB in Kconfig

Split ARCH_T104XRDB as ARCH_T1040RDB and ARCH_T1042RDB in Kconfig to
simplify config options.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: T1024: Remove macro CONFIG_PPC_T1024
York Sun [Fri, 18 Nov 2016 21:01:34 +0000 (13:01 -0800)]
powerpc: T1024: Remove macro CONFIG_PPC_T1024

Replace CONFIG_PPC_T1024 with ARCH_T1024 in Kconfig and clean up
existing macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: T1024QDS: Rename Kconfig option to match the name
York Sun [Fri, 18 Nov 2016 20:55:35 +0000 (12:55 -0800)]
powerpc: T1024QDS: Rename Kconfig option to match the name

Rename TARGET_T102XQDS to TARGET_T1024QDS to match the name.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: T1023: Remove macro CONFIG_PPC_T1023
York Sun [Fri, 18 Nov 2016 20:35:47 +0000 (12:35 -0800)]
powerpc: T1023: Remove macro CONFIG_PPC_T1023

Replace CONFIG_PPC_T1023 with ARCH_T1023 in Kconfig and clean up
existing macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: T102xRDB: Split as T1023RDB and T1024RDB
York Sun [Fri, 18 Nov 2016 20:45:44 +0000 (12:45 -0800)]
powerpc: T102xRDB: Split as T1023RDB and T1024RDB

The defconfig files are separated. Splitting targets in Kconfig simplifies
config options.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: QEMU_E500: Remove macro CONFIG_QEMU_E500
York Sun [Fri, 18 Nov 2016 20:29:51 +0000 (12:29 -0800)]
powerpc: QEMU_E500: Remove macro CONFIG_QEMU_E500

Replace CONFIG_QEMU_E500 with ARCH_QEMU_E500 in Kconfig and
clean up existing macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: B4420: Remove macro CONFIG_PPC_B4420
York Sun [Fri, 18 Nov 2016 19:56:57 +0000 (11:56 -0800)]
powerpc: B4420: Remove macro CONFIG_PPC_B4420

Replace CONFIG_PPC_B4420 with ARCH_B4420 in Kconfig and clean up
existing macros.

7 years agopowerpc: B4860QDS: Remove macro CONFIG_B4860QDS
York Sun [Fri, 18 Nov 2016 19:47:35 +0000 (11:47 -0800)]
powerpc: B4860QDS: Remove macro CONFIG_B4860QDS

Use CONFIG_TARGET_B4860QDS instead.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: B4860: Remove macro CONFIG_PPC_B4860
York Sun [Fri, 18 Nov 2016 19:44:43 +0000 (11:44 -0800)]
powerpc: B4860: Remove macro CONFIG_PPC_B4860

Replace CONFIG_PPC_B4860 with ARCH_B4860 in Kconfig and clean up
existing macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: B4420QDS: Split from B4860QDS in Kconfig
York Sun [Fri, 18 Nov 2016 21:51:01 +0000 (13:51 -0800)]
powerpc: B4420QDS: Split from B4860QDS in Kconfig

Use TARGET_B4420QDS to simplify Kconfig options.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P5040DS: Remove macro CONFIG_P5040DS
York Sun [Fri, 18 Nov 2016 19:40:51 +0000 (11:40 -0800)]
powerpc: P5040DS: Remove macro CONFIG_P5040DS

Use CONFIG_TARGET_P5040DS instead.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P5040: Remove macro CONFIG_P5040
York Sun [Fri, 18 Nov 2016 19:39:36 +0000 (11:39 -0800)]
powerpc: P5040: Remove macro CONFIG_P5040

Replace CONFIG_P5040 with ARCH_P5040 in Kconfig and clean up
existing macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P5020DS: Remove macro CONFIG_P5020DS
York Sun [Fri, 18 Nov 2016 19:32:46 +0000 (11:32 -0800)]
powerpc: P5020DS: Remove macro CONFIG_P5020DS

Use CONFIG_TARGET_P5020DS instead.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P5020: Remove macro CONFIG_PPC_P5020
York Sun [Fri, 18 Nov 2016 19:30:56 +0000 (11:30 -0800)]
powerpc: P5020: Remove macro CONFIG_PPC_P5020

Replace CONFIG_PPC_P5020 with ARCH_P5020 in Kconfig and clean up
existing macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P4080DS: Remove macro CONFIG_P4080DS
York Sun [Fri, 18 Nov 2016 19:26:09 +0000 (11:26 -0800)]
powerpc: P4080DS: Remove macro CONFIG_P4080DS

Use CONFIG_TARGET_P4080DS instead.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P4080: Remove macro CONFIG_PPC_P4080
York Sun [Fri, 18 Nov 2016 19:24:40 +0000 (11:24 -0800)]
powerpc: P4080: Remove macro CONFIG_PPC_P4080

Replace CONFIG_PPC_P4080 with ARCH_P4080 in Kconfig and clean up
existing macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P3041DS: Remove macro CONFIG_P3041DS
York Sun [Fri, 18 Nov 2016 19:22:17 +0000 (11:22 -0800)]
powerpc: P3041DS: Remove macro CONFIG_P3041DS

Use CONFIG_TARGET_P3041DS instead.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P3041: Remove macro CONFIG_PPC_P3041
York Sun [Fri, 18 Nov 2016 19:20:40 +0000 (11:20 -0800)]
powerpc: P3041: Remove macro CONFIG_PPC_P3041

Replace CONFIG_PPC_P3041 with ARCH_P3041 in Kconfig and clean up
existing macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P2041RDB: Remove macro CONFIG_P2041RDB
York Sun [Fri, 18 Nov 2016 19:17:22 +0000 (11:17 -0800)]
powerpc: P2041RDB: Remove macro CONFIG_P2041RDB

Use CONFIG_TARGET_P2041RDB instead.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P2041: Remove macro CONFIG_PPC_P2041
York Sun [Fri, 18 Nov 2016 19:15:21 +0000 (11:15 -0800)]
powerpc: P2041: Remove macro CONFIG_PPC_P2041

Replace CONFIG_PPC_P2041 with ARCH_P2041 in Kconfig and clean up
existing macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P2010: Drop configuration for P2010
York Sun [Fri, 18 Nov 2016 19:11:55 +0000 (11:11 -0800)]
powerpc: P2010: Drop configuration for P2010

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>
7 years agopowerpc: P2020: Remove macro CONFIG_P2020
York Sun [Fri, 18 Nov 2016 19:08:43 +0000 (11:08 -0800)]
powerpc: P2020: Remove macro CONFIG_P2020

Replace CONFIG_P2020 with ARCH_P2020 in Kconfig and clean up
existing macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P1025: Remove macro CONFIG_P1025
York Sun [Fri, 18 Nov 2016 19:05:38 +0000 (11:05 -0800)]
powerpc: P1025: Remove macro CONFIG_P1025

Replace CONFIG_P1025 with ARCH_P1025 in Kconfig and clean up
existing macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P1024: Remove CONFIG_P1024
York Sun [Fri, 18 Nov 2016 19:00:57 +0000 (11:00 -0800)]
powerpc: P1024: Remove CONFIG_P1024

Replace CONFIG_P1024 with ARCH_P1024 in Kconfig and clean up
existing macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P1021: Remove macro CONFIG_P1021
York Sun [Fri, 18 Nov 2016 18:59:02 +0000 (10:59 -0800)]
powerpc: P1021: Remove macro CONFIG_P1021

Replace CONFIG_P1021 with ARCH_P1021 in Kconfig and clean up
existing macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P1020: Remove macro CONFIG_P1020
York Sun [Fri, 18 Nov 2016 18:02:14 +0000 (10:02 -0800)]
powerpc: P1020: Remove macro CONFIG_P1020

Replace CONFIG_P1020 with ARCH_P1020 in Kconfig and clean up
existing macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P1_P2_RDB_PC: Drop TARGET_P1_P2_RDB_PC
York Sun [Fri, 18 Nov 2016 02:36:11 +0000 (18:36 -0800)]
powerpc: P1_P2_RDB_PC: Drop TARGET_P1_P2_RDB_PC

All boards covered by this group have been converted to their own
targers. Drop TARGET_P1_P2_RDB_PC from Kconfig.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P2020RDB-PC: Separate from P1_P2_RDB_PC in Kconfig
York Sun [Thu, 17 Nov 2016 22:19:18 +0000 (14:19 -0800)]
powerpc: P2020RDB-PC: Separate from P1_P2_RDB_PC in Kconfig

Use TARGET_P2020RDB_PC instead of sharing with P1_P2_RDB_PC to
simplify Kconfig and config macros.

Remove macro CONFIG_P2020RDB.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P1025RDB: Separate from P1_P2_RDB_PC in Kconfig
York Sun [Thu, 17 Nov 2016 22:10:14 +0000 (14:10 -0800)]
powerpc: P1025RDB: Separate from P1_P2_RDB_PC in Kconfig

Use TARGET_P1025RDB instead of sharing with P1_P2_RDB_PC to
simplify Kconfig and config macros.

Remove macro CONFIG_P1025RDB.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P1024RDB: Separate from P1_P2_RDB_PC in Kconfig
York Sun [Thu, 17 Nov 2016 21:48:39 +0000 (13:48 -0800)]
powerpc: P1024RDB: Separate from P1_P2_RDB_PC in Kconfig

Use TARGET_P1024RDB instead of sharing with TARGET_P1_P2_RDB_PC to
simplify Kconfig and macros.

Remove macro CONFIG_P1024RDB.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P1021RDB: Separate from P1_P2_RDB_PC in Kconfig
York Sun [Thu, 17 Nov 2016 21:43:18 +0000 (13:43 -0800)]
powerpc: P1021RDB: Separate from P1_P2_RDB_PC in Kconfig

Use TARGET_P1021RDB instead of sharing with TARGET_P1_P2_RDB_PC to
simplify Kconfig and macros.

Remove macro CONFIG_P1021RDB.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P1020UTM: Separate from P1_P2_RDB_P2 in Kconfig
York Sun [Thu, 17 Nov 2016 21:53:54 +0000 (13:53 -0800)]
powerpc: P1020UTM: Separate from P1_P2_RDB_P2 in Kconfig

Use TARGET_P1020UTM instead of sharing with TARGET_P1_P2_RDB_PC
to simplify Kconfig and config macros.

Remove macro CONFIG_P1020UTM.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P1020RDB-PD: Separate from P1_P2_RDB_PC in Kconfig
York Sun [Thu, 17 Nov 2016 21:53:33 +0000 (13:53 -0800)]
powerpc: P1020RDB-PD: Separate from P1_P2_RDB_PC in Kconfig

Use TARGET_P1020RDB_PD instead of sharing with P1_P2_RDB_PC
to simplify Kconfig and config macros.

Remove macro CONFIG_P1020RDB_PD.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P1020RDB-PC: Separate from P1_P2_RDB_PC in Kconfig
York Sun [Thu, 17 Nov 2016 21:52:44 +0000 (13:52 -0800)]
powerpc: P1020RDB-PC: Separate from P1_P2_RDB_PC in Kconfig

Use TARGET_P1020RDB_PC instead of sharing with TARGET_P1_P2_RDB_PC
to simplify Kconfig and config macros.

Remove macro CONFIG_P1020RDB_PC.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P1020MBG: Separate from P1_P2_RDB_PC in Kconfig
York Sun [Thu, 17 Nov 2016 21:12:38 +0000 (13:12 -0800)]
powerpc: P1020MBG: Separate from P1_P2_RDB_PC in Kconfig

Use TARGET_P1020MBG instead of sharing with TARGET_P1_P2_RDB_PC to
simplify Kconfig and other macros.

Remove macro CONFIG_P1020MBG.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P1017: Drop configuration for P1017
York Sun [Thu, 17 Nov 2016 00:06:48 +0000 (16:06 -0800)]
powerpc: P1017: Drop configuration for P1017

P1017 is a single-core version of P1023. There is no P1017 target
configured. Drop related macros. P1017 SoC is still supported.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P1014: Drop configuration for P1014
York Sun [Thu, 17 Nov 2016 00:02:09 +0000 (16:02 -0800)]
powerpc: P1014: Drop configuration for P1014

P1014 is a variant of P1010. There is no P1014 target configured.
Drop related macros. P1014 SoC is still supported.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P1013: Drop configuration for P1013
York Sun [Thu, 17 Nov 2016 00:00:08 +0000 (16:00 -0800)]
powerpc: P1013: Drop configuration for P1013

P1013 is a single-core version of P1022. There is no P1022 target
configured. Drop related macros. P1022 SoC is still supported.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P1012: Drop configuration for P1012
York Sun [Wed, 16 Nov 2016 23:57:52 +0000 (15:57 -0800)]
powerpc: P1012: Drop configuration for P1012

P1012 is a single-core version of P1021. There is no P1012 target
configured. Drop related macros. P1012 SoC is still supported.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P1011: Remove macro CONFIG_P1011
York Sun [Wed, 16 Nov 2016 23:54:15 +0000 (15:54 -0800)]
powerpc: P1011: Remove macro CONFIG_P1011

Replace CONFIG_P1011 with ARCH_P1011 in Kconfig. P1011RDB seems to be in
scrapyard though.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P1023: Remove macro CONFIG_P1023
York Sun [Wed, 16 Nov 2016 23:45:31 +0000 (15:45 -0800)]
powerpc: P1023: Remove macro CONFIG_P1023

Replace CONFIG_P1023 with ARCH_P1023 in Kconfig and clean up existing
macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P1022DS: Remove macro CONFIG_P1022DS
York Sun [Wed, 16 Nov 2016 23:25:52 +0000 (15:25 -0800)]
powerpc: P1022DS: Remove macro CONFIG_P1022DS

Use CONFIG_TARGET_P1022DS instead.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P1022: Remove macro CONFIG_P1022
York Sun [Wed, 16 Nov 2016 23:23:52 +0000 (15:23 -0800)]
powerpc: P1022: Remove macro CONFIG_P1022

Replace CONFIG_P1022 with ARCH_P1022 in Kconfig and clean up existing
macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P1010RDB: Remove macros CONFIG_P1010RDB_PA and CONFIG_P1010RDB_PB
York Sun [Wed, 16 Nov 2016 21:30:06 +0000 (13:30 -0800)]
powerpc: P1010RDB: Remove macros CONFIG_P1010RDB_PA and CONFIG_P1010RDB_PB

Remove CONFIG_P1010RDB_PA and CONFIG_P1010RDB_PB and split TARGET_P1010RDB
to TARGET_P1010RDB_PA and TARGET_P1010RDB_PB in Kconfig.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: P1010: Remove macro CONFIG_P1010
York Sun [Wed, 16 Nov 2016 21:08:52 +0000 (13:08 -0800)]
powerpc: P1010: Remove macro CONFIG_P1010

Replace CONFIG_P1010 with ARCH_P1010 in Kconfig and clean up existing
macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: xpedite: Remove macro CONFIG_XPEDITE5370
York Sun [Wed, 16 Nov 2016 19:42:11 +0000 (11:42 -0800)]
powerpc: xpedite: Remove macro CONFIG_XPEDITE5370

This macro is no longer used.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: MPC8572DS: Remove macro CONFIG_MPC8572DS
York Sun [Wed, 16 Nov 2016 19:41:12 +0000 (11:41 -0800)]
powerpc: MPC8572DS: Remove macro CONFIG_MPC8572DS

Use CONFIG_TARGET_MPC8572DS instead.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: MPC8572: Remove macro CONFIG_MPC8572
York Sun [Wed, 16 Nov 2016 19:39:20 +0000 (11:39 -0800)]
powerpc: MPC8572: Remove macro CONFIG_MPC8572

Replace CONFIG_MPC8572 with ARCH_MPC8572 in Kconfig and clean up existing
macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: MPC8569MDS: Remove macro CONFIG_MPC8569MDS
York Sun [Wed, 16 Nov 2016 19:36:32 +0000 (11:36 -0800)]
powerpc: MPC8569MDS: Remove macro CONFIG_MPC8569MDS

Use CONFIG_TARGET_MPC8569MDS instead.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: MPC8569: Remove macro CONFIG_MPC8569
York Sun [Wed, 16 Nov 2016 19:34:52 +0000 (11:34 -0800)]
powerpc: MPC8569: Remove macro CONFIG_MPC8569

Replace CONFIG_MPC8569 with ARCH_MPC8569 in Kconfig and clean up existing
macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: MPC8568MDS: Remove macro CONFIG_MPC8568MDS
York Sun [Wed, 16 Nov 2016 19:33:07 +0000 (11:33 -0800)]
powerpc: MPC8568MDS: Remove macro CONFIG_MPC8568MDS

This macro is no longer used.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: MPC8568: Remove macro CONFIG_MPC8568
York Sun [Wed, 16 Nov 2016 19:32:17 +0000 (11:32 -0800)]
powerpc: MPC8568: Remove macro CONFIG_MPC8568

Replace CONFIG_MPC8568 with ARCH_MPC8568 in Kconfig and clean up existing
macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: MPC8560ADS: Remove macro CONFIG_MPC8560ADS
York Sun [Wed, 16 Nov 2016 19:27:54 +0000 (11:27 -0800)]
powerpc: MPC8560ADS: Remove macro CONFIG_MPC8560ADS

This macro is no longer used.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: MPC8560: Remove macro CONFIG_MPC8560
York Sun [Wed, 16 Nov 2016 19:26:45 +0000 (11:26 -0800)]
powerpc: MPC8560: Remove macro CONFIG_MPC8560

Replace CONFIG_MPC8560 with ARCH_MPC8560 in Kconfig and clean up existing
macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: MPC8555CDS: Remove macro CONFIG_MPC8555CDS
York Sun [Wed, 16 Nov 2016 19:24:45 +0000 (11:24 -0800)]
powerpc: MPC8555CDS: Remove macro CONFIG_MPC8555CDS

Use CONFIG_TARGET_MPC8555CDS instead.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: MPC8555: Remove macro CONFIG_MPC8555
York Sun [Wed, 16 Nov 2016 19:23:23 +0000 (11:23 -0800)]
powerpc: MPC8555: Remove macro CONFIG_MPC8555

Replace CONFIG_MPC8555 with ARCH_MPC8555 in Kconfig and clean up existing
macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: MPC8541CDS: Remove macro CONFIG_MPC8541CDS
York Sun [Wed, 16 Nov 2016 19:20:42 +0000 (11:20 -0800)]
powerpc: MPC8541CDS: Remove macro CONFIG_MPC8541CDS

Replace with CONFIG_TARGET_MPC8541CDS from Kconfig.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: mpc8541: Remove macro CONFIG_MPC8541
York Sun [Wed, 16 Nov 2016 19:18:31 +0000 (11:18 -0800)]
powerpc: mpc8541: Remove macro CONFIG_MPC8541

Replace CONFIG_MPC8541 with ARCH_MPC8541 in Kconfig and clean up existing
macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: MPC8540ADS: Remove macro CONFIG_MPC8540ADS
York Sun [Wed, 16 Nov 2016 19:15:39 +0000 (11:15 -0800)]
powerpc: MPC8540ADS: Remove macro CONFIG_MPC8540ADS

This macro is no longer used.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: mpc8540: Remove macro CONFIG_MPC8540
York Sun [Wed, 16 Nov 2016 19:13:06 +0000 (11:13 -0800)]
powerpc: mpc8540: Remove macro CONFIG_MPC8540

Replace CONFIG_MPC8540 with ARCH_MPC8540 in Kconfig and clean up existing
macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: MPC8536DS: Remove macro CONFIG_MPC8536DS
York Sun [Wed, 16 Nov 2016 19:09:07 +0000 (11:09 -0800)]
powerpc: MPC8536DS: Remove macro CONFIG_MPC8536DS

Use CONFIG_TARGET_MPC8536DS instead.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: MPC8536: Move CONFIG_MPC8536 to Kconfig option
York Sun [Wed, 16 Nov 2016 19:06:47 +0000 (11:06 -0800)]
powerpc: MPC8536: Move CONFIG_MPC8536 to Kconfig option

Replace CONFIG_MPC8536 with ARCH_MPC8536 in Kconfig and clean up existing
macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: C29XPCIE: Remove macro CONFIG_C29XPCIE
York Sun [Wed, 16 Nov 2016 19:51:24 +0000 (11:51 -0800)]
powerpc: C29XPCIE: Remove macro CONFIG_C29XPCIE

Use CONFIG_TARGET_C29XPCIE instead.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: C29X: Move CONFIG_PPC_C29X to Kconfig option
York Sun [Wed, 16 Nov 2016 02:44:22 +0000 (18:44 -0800)]
powerpc: C29X: Move CONFIG_PPC_C29X to Kconfig option

Replace CONFIG_PPC_C29X with ARCH_C29X in Kconfig and clean up existing
macros.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: BSC9132QDS: Remove CONFIG_BSC9132QDS macro
York Sun [Wed, 16 Nov 2016 02:32:50 +0000 (18:32 -0800)]
powerpc: BSC9132QDS: Remove CONFIG_BSC9132QDS macro

Use CONFIG_TARGET_BSC9132QDS from Kconfig option, remove CONFIG_BSC9132QDS
macro.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: BSC9131RDB: Remove CONFIG_BSC9131RDB macro
York Sun [Wed, 16 Nov 2016 02:30:45 +0000 (18:30 -0800)]
powerpc: BSC9131RDB: Remove CONFIG_BSC9131RDB macro

This macro CONFIG_BSC9131RDB is no longer needed.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: BSC9131/2: Move CONFIG_BSC9131/2 to Kconfig options
York Sun [Tue, 15 Nov 2016 22:09:50 +0000 (14:09 -0800)]
powerpc: BSC9131/2: Move CONFIG_BSC9131/2 to Kconfig options

Replace CONFIG_BSC9131, CONFIG_BSC9132 with ARCH_BSC9131, ARCH_BSC9132
Kconfig options.

Also drop #ifdef in BSC9131RDB.h since it is redundant.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: MPC8544DS: Remove macro CONFIG_MPC8544DS
York Sun [Wed, 16 Nov 2016 19:45:18 +0000 (11:45 -0800)]
powerpc: MPC8544DS: Remove macro CONFIG_MPC8544DS

Use CONFIG_TARGET_MPC8544DS instead.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: MPC8544: Move CONFIG_MPC8544 to Kconfig option
York Sun [Tue, 15 Nov 2016 21:57:15 +0000 (13:57 -0800)]
powerpc: MPC8544: Move CONFIG_MPC8544 to Kconfig option

Replace CONFIG_MPC8544 with ARCH_MPC8544 in Kconfig.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: MPC8548CDS: Remove macro CONFIG_MPC8548CDS
York Sun [Wed, 16 Nov 2016 19:43:49 +0000 (11:43 -0800)]
powerpc: MPC8548CDS: Remove macro CONFIG_MPC8548CDS

Use CONFIG_TARGET_MPC8548CDS instead.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agopowerpc: MPC8548: Move CONFIG_MPC8548 to Kconfig option
York Sun [Tue, 15 Nov 2016 21:52:34 +0000 (13:52 -0800)]
powerpc: MPC8548: Move CONFIG_MPC8548 to Kconfig option

Replace CONFIG_MPC8548 with ARCH_MPC8548 in Kconfig.

Signed-off-by: York Sun <york.sun@nxp.com>
7 years agotools/env: Correct include kconfig
York Sun [Wed, 16 Nov 2016 01:02:31 +0000 (17:02 -0800)]
tools/env: Correct include kconfig

While we move some config macros to Kconfig, kconfig header is needed
to avoid compiling error if not already included.

Signed-off-by: York Sun <york.sun@nxp.com>
8 years agospl: Remove CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS
Semen Protsenko [Wed, 16 Nov 2016 17:19:06 +0000 (19:19 +0200)]
spl: Remove CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS

This option isn't used for anything, so get rid of it.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
8 years agospl: Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to Kconfig
Semen Protsenko [Wed, 16 Nov 2016 17:19:05 +0000 (19:19 +0200)]
spl: Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to Kconfig

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
[trini: Fix sniper and kc1 migration]
Signed-off-by: Tom Rini <trini@konsulko.com>
8 years agoMerge branch 'master' of http://git.denx.de/u-boot-mmc
Tom Rini [Thu, 17 Nov 2016 16:46:56 +0000 (11:46 -0500)]
Merge branch 'master' of git.denx.de/u-boot-mmc

8 years agoMerge tag 'signed-efi-next' of git://github.com/agraf/u-boot
Tom Rini [Thu, 17 Nov 2016 16:46:45 +0000 (11:46 -0500)]
Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot

Patch queue for efi - 2016-11-17

Highlights this time around:

  - x86 efi_loader support
  - hello world efi test case
  - network device name is now representative
  - terminal output reports modes correctly
  - fix psci reset for ls1043/ls1046
  - fix efi_add_runtime_mmio definition for x86
  - efi_loader support for ls2080

8 years agols2080ardb: Convert to distro boot
Alexander Graf [Thu, 17 Nov 2016 00:03:02 +0000 (01:03 +0100)]
ls2080ardb: Convert to distro boot

Most new systems in U-Boot these days make use of the generic "distro"
framework which allows a user to have U-Boot scan for a bootable OS
on all available media types.

This patch extends the LS2080ARDB board to use that framework if the
hard coded NOR flash location does not contain a bootable image.

Signed-off-by: Alexander Graf <agraf@suse.de>
8 years agoarmv8: fsl-layerscape: Add support for efi_loader RTS reset
Alexander Graf [Thu, 17 Nov 2016 00:03:01 +0000 (01:03 +0100)]
armv8: fsl-layerscape: Add support for efi_loader RTS reset

When implementing efi loader support, we can expose runtime services
for payloads. One such service is CPU reset.

This patch implements RTS CPU reset support for layerscape systems.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: York Sun <york.sun@nxp.com>
8 years agoarmv8: ls2080a: Declare spin tables as reserved for efi loader
Alexander Graf [Thu, 17 Nov 2016 00:03:00 +0000 (01:03 +0100)]
armv8: ls2080a: Declare spin tables as reserved for efi loader

The efi loader code has its own memory map, so it needs to be aware where
the spin tables are located, to ensure that no code writes into those
regions.

Signed-off-by: Alexander Graf <agraf@suse.de>
8 years agols2080ardb: Reserve DP-DDR RAM
Alexander Graf [Thu, 17 Nov 2016 00:02:59 +0000 (01:02 +0100)]
ls2080ardb: Reserve DP-DDR RAM

The DP-DDR shouldn't be exposed as conventional memory to an OS, so let's
rather claim it's a reserved region in the EFI memory map

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: York Sun <york.sun@nxp.com>
8 years agols2080: Exit dpaa only right before exiting U-Boot
Alexander Graf [Thu, 17 Nov 2016 00:02:57 +0000 (01:02 +0100)]
ls2080: Exit dpaa only right before exiting U-Boot

On ls2080 we have a separate network fabric component which we need to
shut down before we enter Linux (or any other OS). Along with that also
comes configuration of the fabric using a description file.

Today we always stop and configure the fabric in the boot script and
(again) exit it on device tree generation. This works ok for the normal
booti case, but with bootefi the payload we're running may still want to
access the network.

So let's add a new fsl_mc command that defers configuration and stopping
the hardware to when we actually exit U-Boot, so that we can still use
the fabric from an EFI payload.

For existing boot scripts, nothing should change with this patch.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: York Sun <york.sun@nxp.com>
[agraf: Fix x86 build]

8 years agoefi_loader: Fix efi_add_runtime_mmio definition
Alexander Graf [Thu, 17 Nov 2016 00:02:56 +0000 (01:02 +0100)]
efi_loader: Fix efi_add_runtime_mmio definition

The efi_add_runtime_mmio prototype for disabled CONFIG_EFI_LOADER
was different from the enabled one. Sync them.

Signed-off-by: Alexander Graf <agraf@suse.de>
8 years agoefi_loader: Disable PSCI reset for ls1043 and ls1046
Alexander Graf [Thu, 17 Nov 2016 00:02:55 +0000 (01:02 +0100)]
efi_loader: Disable PSCI reset for ls1043 and ls1046

The NXP ls1043 and ls1046 systems do not (yet) have PSCI enablement
for reset. Don't enable generic PSCI reset code on them.

Signed-off-by: Alexander Graf <agraf@suse.de>
8 years agoefi_loader: AArch64: Run EFI payloads in EL2 if U-Boot runs in EL3
Alexander Graf [Thu, 17 Nov 2016 00:02:58 +0000 (01:02 +0100)]
efi_loader: AArch64: Run EFI payloads in EL2 if U-Boot runs in EL3

Some boards decided not to run ATF or other secure firmware in EL3, so
they instead run U-Boot there. The uEFI spec doesn't know what EL3 is
though - it only knows about EL2 and EL1. So if we see that we're running
in EL3, let's get into EL2 to make payloads happy.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: York Sun <york.sun@nxp.com>
8 years agosunxi: sina33: Enable the LCD
Maxime Ripard [Fri, 4 Nov 2016 15:18:11 +0000 (16:18 +0100)]
sunxi: sina33: Enable the LCD

The SinA33 comes with an optional 7" display. Enable it in the
configuration.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
8 years agosunxi: sina33: Enable the eMMC
Maxime Ripard [Fri, 4 Nov 2016 15:18:10 +0000 (16:18 +0100)]
sunxi: sina33: Enable the eMMC

The SinA33 has an 4GB Toshiba eMMC connected to the MMC2 controller.
Enable it.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
8 years agommc: sunxi: Enable 8bits bus width for sun8i
Maxime Ripard [Fri, 4 Nov 2016 15:18:09 +0000 (16:18 +0100)]
mmc: sunxi: Enable 8bits bus width for sun8i

The sun8i SoCs also have a 8 bits capable MMC2 controller. Enable the
support for those too.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
8 years agommc: Retry the switch command
Maxime Ripard [Fri, 4 Nov 2016 15:18:08 +0000 (16:18 +0100)]
mmc: Retry the switch command

Some eMMC will fail at the first switch, but would succeed in a subsequent
one.

Make sure we try several times to cover those cases. The number of retries
(and the behaviour) is currently what is being used in Linux.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
8 years agoARM64: zynqmp: Adding prefetchable memory space to pcie
Bharat Kumar Gogada [Tue, 2 Aug 2016 15:04:13 +0000 (20:34 +0530)]
ARM64: zynqmp: Adding prefetchable memory space to pcie

Adding prefetchable memory space to pcie device tree node.
Shifting configuration space to 64-bit address space.
Removing pcie device tree node from amba as it requires size-cells=<2>
in order to access 64-bit address space.

Signed-off-by: Bharat Kumar Gogada <bharatku@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>