From 4fd64746b0fbb0d91b4863e230c4a03cadd68462 Mon Sep 17 00:00:00 2001 From: York Sun Date: Tue, 15 Nov 2016 18:44:22 -0800 Subject: 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 --- include/configs/C29XPCIE.h | 4 ---- include/fsl_sec.h | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'include') diff --git a/include/configs/C29XPCIE.h b/include/configs/C29XPCIE.h index 41dde8213f7..39eefb441cf 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 bffabc89b99..e6080d4ff07 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); -- cgit v1.3.1