Convert CONFIG_HETROGENOUS_CLUSTERS et al to Kconfig

This converts the following to Kconfig:
   CONFIG_HETROGENOUS_CLUSTERS
   CONFIG_SYS_MAPLE
   CONFIG_SYS_CPRI
   CONFIG_PPC_CLUSTER_START
   CONFIG_DSP_CLUSTER_START
   CONFIG_SYS_CPRI_CLK
   CONFIG_SYS_ULB_CLK
   CONFIG_SYS_ETVPE_CLK

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2022-06-16 14:04:34 -04:00
parent f96096d0dc
commit 1e7750f1bc
2 changed files with 34 additions and 8 deletions

View file

@ -187,6 +187,7 @@ config ARCH_B4420
select E500MC select E500MC
select E6500 select E6500
select FSL_LAW select FSL_LAW
select HETROGENOUS_CLUSTERS
select SYS_FSL_DDR_VER_47 select SYS_FSL_DDR_VER_47
select SYS_FSL_ERRATUM_A004477 select SYS_FSL_ERRATUM_A004477
select SYS_FSL_ERRATUM_A005871 select SYS_FSL_ERRATUM_A005871
@ -214,6 +215,7 @@ config ARCH_B4860
select E500MC select E500MC
select E6500 select E6500
select FSL_LAW select FSL_LAW
select HETROGENOUS_CLUSTERS
select SYS_FSL_DDR_VER_47 select SYS_FSL_DDR_VER_47
select SYS_FSL_ERRATUM_A004477 select SYS_FSL_ERRATUM_A004477
select SYS_FSL_ERRATUM_A005871 select SYS_FSL_ERRATUM_A005871
@ -822,6 +824,9 @@ config FSL_LAW
help help
Use Freescale common code for Local Access Window Use Freescale common code for Local Access Window
config HETROGENOUS_CLUSTERS
bool
config NXP_ESBC config NXP_ESBC
bool "NXP_ESBC" bool "NXP_ESBC"
help help
@ -1121,6 +1126,35 @@ config SYS_NUM_TLBCAMS
Number of TLB CAM entries for Book-E chips. 64 for E500MC, Number of TLB CAM entries for Book-E chips. 64 for E500MC,
16 for other E500 SoCs. 16 for other E500 SoCs.
if HETROGENOUS_CLUSTERS
config SYS_MAPLE
def_bool y
config SYS_CPRI
def_bool y
config PPC_CLUSTER_START
int
default 0
config DSP_CLUSTER_START
int
default 1
config SYS_CPRI_CLK
int
default 3
config SYS_ULB_CLK
int
default 4
config SYS_ETVPE_CLK
int
default 1
endif
config BACKSIDE_L2_CACHE config BACKSIDE_L2_CACHE
bool bool

View file

@ -206,19 +206,11 @@
#elif defined(CONFIG_ARCH_B4860) || defined(CONFIG_ARCH_B4420) #elif defined(CONFIG_ARCH_B4860) || defined(CONFIG_ARCH_B4420)
#define CONFIG_FSL_CORENET /* Freescale CoreNet platform */ #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */
#define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */ #define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */
#define CONFIG_HETROGENOUS_CLUSTERS /* DSP/SC3900 core clusters */
#define CONFIG_PPC_CLUSTER_START 0 /*Start index of ppc clusters*/
#define CONFIG_DSP_CLUSTER_START 1 /*Start index of dsp clusters*/
#define CONFIG_SYS_FSL_SRDS_1 #define CONFIG_SYS_FSL_SRDS_1
#define CONFIG_SYS_FSL_SRDS_2 #define CONFIG_SYS_FSL_SRDS_2
#define CONFIG_SYS_MAPLE
#define CONFIG_SYS_CPRI
#define CONFIG_SYS_FSL_NUM_CC_PLLS 5 #define CONFIG_SYS_FSL_NUM_CC_PLLS 5
#define CONFIG_SYS_NUM_FMAN 1 #define CONFIG_SYS_NUM_FMAN 1
#define CONFIG_SYS_FM1_CLK 0 #define CONFIG_SYS_FM1_CLK 0
#define CONFIG_SYS_CPRI_CLK 3
#define CONFIG_SYS_ULB_CLK 4
#define CONFIG_SYS_ETVPE_CLK 1
#define CONFIG_SYS_FSL_IFC_BANK_COUNT 4 #define CONFIG_SYS_FSL_IFC_BANK_COUNT 4
#define CONFIG_SYS_FMAN_V3 #define CONFIG_SYS_FMAN_V3
#define CONFIG_SYS_FM_MURAM_SIZE 0x60000 #define CONFIG_SYS_FM_MURAM_SIZE 0x60000