summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/cpu/mpc85xx/cpu_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init.c b/arch/powerpc/cpu/mpc85xx/cpu_init.c
index 4bca2671d5..5a409e7a11 100644
--- a/arch/powerpc/cpu/mpc85xx/cpu_init.c
+++ b/arch/powerpc/cpu/mpc85xx/cpu_init.c
@@ -1028,13 +1028,13 @@ void arch_preboot_os(void)
void cpu_secondary_init_r(void)
{
+#ifdef CONFIG_QE
#ifdef CONFIG_U_QE
uint qe_base = CONFIG_SYS_IMMR + 0x00140000; /* QE immr base */
-#elif defined CONFIG_QE
+#else
uint qe_base = CONFIG_SYS_IMMR + 0x00080000; /* QE immr base */
#endif
-#ifdef CONFIG_QE
qe_init(qe_base);
qe_reset();
#endif