aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-11-15 18:44:22 -0800
committerYork Sun <york.sun@nxp.com>2016-11-23 23:42:04 -0800
commit4fd64746b0fbb0d91b4863e230c4a03cadd68462 (patch)
treeb1867c934fa5bcecff2059e0e80516a5211f7f6b /include
parenta202b9f802c94eac2d07e87e6ce02918957e98bb (diff)
downloadu-boot-4fd64746b0fbb0d91b4863e230c4a03cadd68462.zip
u-boot-4fd64746b0fbb0d91b4863e230c4a03cadd68462.tar.gz
u-boot-4fd64746b0fbb0d91b4863e230c4a03cadd68462.tar.bz2
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/C29XPCIE.h4
-rw-r--r--include/fsl_sec.h2
2 files changed, 1 insertions, 5 deletions
diff --git a/include/configs/C29XPCIE.h b/include/configs/C29XPCIE.h
index 41dde82..39eefb4 100644
--- a/include/configs/C29XPCIE.h
+++ b/include/configs/C29XPCIE.h
@@ -11,10 +11,6 @@
#ifndef __CONFIG_H
#define __CONFIG_H
-#ifdef CONFIG_C29XPCIE
-#define CONFIG_PPC_C29X
-#endif
-
#ifdef CONFIG_SPIFLASH
#define CONFIG_RAMBOOT_SPIFLASH
#define CONFIG_SYS_TEXT_BASE 0x11000000
diff --git a/include/fsl_sec.h b/include/fsl_sec.h
index bffabc8..e6080d4 100644
--- a/include/fsl_sec.h
+++ b/include/fsl_sec.h
@@ -303,7 +303,7 @@ struct sg_entry {
*/
int blob_dek(const u8 *src, u8 *dst, u8 len);
-#if defined(CONFIG_PPC_C29X)
+#if defined(CONFIG_ARCH_C29X)
int sec_init_idx(uint8_t);
#endif
int sec_init(void);