From f43417ec97cc0e3d0c8bf9f743af4fe503c744a1 Mon Sep 17 00:00:00 2001 From: York Sun Date: Wed, 28 Dec 2016 08:43:47 -0800 Subject: [PATCH] powerpc: mpc85xx: Remove unused ifdef in config header After most config options are moved to Kconfig, the unused ifdef or elif can be removed. Signed-off-by: York Sun --- arch/powerpc/include/asm/config_mpc85xx.h | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/arch/powerpc/include/asm/config_mpc85xx.h b/arch/powerpc/include/asm/config_mpc85xx.h index 4986f38f08..2a826fea27 100644 --- a/arch/powerpc/include/asm/config_mpc85xx.h +++ b/arch/powerpc/include/asm/config_mpc85xx.h @@ -22,25 +22,13 @@ #define CONFIG_SYS_FSL_SFP_BE #define CONFIG_SYS_FSL_SEC_MON_BE -#if defined(CONFIG_ARCH_MPC8536) - -#elif defined(CONFIG_ARCH_MPC8540) - -#elif defined(CONFIG_ARCH_MPC8541) - -#elif defined(CONFIG_ARCH_MPC8544) - -#elif defined(CONFIG_ARCH_MPC8548) +#if defined(CONFIG_ARCH_MPC8548) #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1 #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 #define CONFIG_SYS_FSL_RMU #define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2 -#elif defined(CONFIG_ARCH_MPC8555) - -#elif defined(CONFIG_ARCH_MPC8560) - #elif defined(CONFIG_ARCH_MPC8568) #define QE_MURAM_SIZE 0x10000UL #define MAX_QE_RISC 2 @@ -61,8 +49,6 @@ #define CONFIG_SYS_FSL_RMU #define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2 -#elif defined(CONFIG_ARCH_MPC8572) - #elif defined(CONFIG_ARCH_P1010) #define CONFIG_FSL_SDHC_V2_3 #define CONFIG_TSECV2 @@ -463,10 +449,6 @@ #define CONFIG_SYS_FSL_MAX_NUM_OF_SEC 3 #define CONFIG_SYS_FSL_SEC_IDX_OFFSET 0x20000 -#elif defined(CONFIG_ARCH_QEMU_E500) - -#else -#error Processor type not defined for this platform #endif #ifdef CONFIG_E6500 -- 2.30.2