summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-12-28 08:43:48 -0800
committerTom Rini <trini@konsulko.com>2017-01-04 19:40:54 -0500
commit9ec10107e1cfb6d788a73cef98c3669e53f833c4 (patch)
tree7221ef65001f3eddc3b18dae8667f091b81a3ae0 /arch/powerpc/cpu
parentf43417ec97cc0e3d0c8bf9f743af4fe503c744a1 (diff)
downloadu-boot-imx-9ec10107e1cfb6d788a73cef98c3669e53f833c4.zip
u-boot-imx-9ec10107e1cfb6d788a73cef98c3669e53f833c4.tar.gz
u-boot-imx-9ec10107e1cfb6d788a73cef98c3669e53f833c4.tar.bz2
powerpc: E6500: Move macro CONFIG_E6500 to Kconfig
Use Kconfig option E6500 and clean up existing usage. Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/powerpc/cpu')
-rw-r--r--arch/powerpc/cpu/mpc85xx/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/Kconfig b/arch/powerpc/cpu/mpc85xx/Kconfig
index 0524172..d151f49 100644
--- a/arch/powerpc/cpu/mpc85xx/Kconfig
+++ b/arch/powerpc/cpu/mpc85xx/Kconfig
@@ -330,6 +330,7 @@ endchoice
config ARCH_B4420
bool
select E500MC
+ select E6500
select FSL_LAW
select SYS_FSL_DDR_VER_47
select SYS_FSL_ERRATUM_A004477
@@ -350,6 +351,7 @@ config ARCH_B4420
config ARCH_B4860
bool
select E500MC
+ select E6500
select FSL_LAW
select SYS_FSL_DDR_VER_47
select SYS_FSL_ERRATUM_A004477
@@ -806,6 +808,7 @@ config ARCH_T1042
config ARCH_T2080
bool
select E500MC
+ select E6500
select FSL_LAW
select SYS_FSL_DDR_VER_47
select SYS_FSL_ERRATUM_A006379
@@ -822,6 +825,7 @@ config ARCH_T2080
config ARCH_T2081
bool
select E500MC
+ select E6500
select FSL_LAW
select SYS_FSL_DDR_VER_47
select SYS_FSL_ERRATUM_A006379
@@ -838,6 +842,7 @@ config ARCH_T2081
config ARCH_T4160
bool
select E500MC
+ select E6500
select FSL_LAW
select SYS_FSL_DDR_VER_47
select SYS_FSL_ERRATUM_A004468
@@ -855,6 +860,7 @@ config ARCH_T4160
config ARCH_T4240
bool
select E500MC
+ select E6500
select FSL_LAW
select SYS_FSL_DDR_VER_47
select SYS_FSL_ERRATUM_A004468
@@ -885,6 +891,11 @@ config E500MC
help
Enble PowerPC E500MC core
+config E6500
+ bool
+ help
+ Enable PowerPC E6500 core
+
config FSL_LAW
bool
help
@@ -1165,6 +1176,11 @@ config SYS_FSL_NUM_LAWS
Number of local access windows. This is fixed per SoC.
If not sure, do not change.
+config SYS_FSL_THREADS_PER_CORE
+ int
+ default 2 if E6500
+ default 1
+
config SYS_NUM_TLBCAMS
int "Number of TLB CAM entries"
default 64 if E500MC