summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-11-21 13:19:14 -0800
committerYork Sun <york.sun@nxp.com>2016-11-23 23:42:15 -0800
commit9c21d06c672cfe45c07a2e1bd65f05d6b5837022 (patch)
treea3c9dc9150d5a560dae4b6b9d19d0a48ffd53fdd /arch
parent0f3d80e99370d5896525eef79c2b88d9c87a66ae (diff)
downloadu-boot-imx-9c21d06c672cfe45c07a2e1bd65f05d6b5837022.zip
u-boot-imx-9c21d06c672cfe45c07a2e1bd65f05d6b5837022.tar.gz
u-boot-imx-9c21d06c672cfe45c07a2e1bd65f05d6b5837022.tar.bz2
powerpc: T4160QDS: Separate from T4240QDS in Kconfig
Use TARGET_T4160QDS to simplify Kconfig options. Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/cpu/mpc85xx/Kconfig5
-rw-r--r--arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c2
-rw-r--r--arch/powerpc/include/asm/fsl_secure_boot.h1
3 files changed, 7 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/Kconfig b/arch/powerpc/cpu/mpc85xx/Kconfig
index c1003a3..d0fdceb 100644
--- a/arch/powerpc/cpu/mpc85xx/Kconfig
+++ b/arch/powerpc/cpu/mpc85xx/Kconfig
@@ -260,6 +260,11 @@ config TARGET_T2081QDS
select SUPPORT_SPL
select PHYS_64BIT
+config TARGET_T4160QDS
+ bool "Support T4160QDS"
+ select SUPPORT_SPL
+ select PHYS_64BIT
+
config TARGET_T4240QDS
bool "Support T4240QDS"
select SUPPORT_SPL
diff --git a/arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c b/arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c
index 810ddb0..587736c 100644
--- a/arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c
+++ b/arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c
@@ -391,7 +391,7 @@ const char *serdes_clock_to_string(u32 clock)
case SRDS_PLLCR0_RFCK_SEL_161_13:
return "161.1328123";
default:
-#if defined(CONFIG_T4240QDS)
+#if defined(CONFIG_T4240QDS) || defined(CONFIG_TARGET_T4160QDS)
return "???";
#else
return "122.88";
diff --git a/arch/powerpc/include/asm/fsl_secure_boot.h b/arch/powerpc/include/asm/fsl_secure_boot.h
index c6930dd..6cfbbcd 100644
--- a/arch/powerpc/include/asm/fsl_secure_boot.h
+++ b/arch/powerpc/include/asm/fsl_secure_boot.h
@@ -27,6 +27,7 @@
#if defined(CONFIG_TARGET_B4860QDS) || \
defined(CONFIG_TARGET_B4420QDS) || \
+ defined(CONFIG_TARGET_T4160QDS) || \
defined(CONFIG_T4240QDS) || \
defined(CONFIG_T2080QDS) || \
defined(CONFIG_T2080RDB) || \