diff options
author | Madalin Bucur <madalin.bucur@oss.nxp.com> | 2020-04-29 12:16:38 +0300 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2020-06-03 12:14:27 +0530 |
commit | 03fe5d5116f3793f4d92a15e6d90bb96f0ee0aaf (patch) | |
tree | 4ef27bf3795005204777e587960991d93146c821 /arch/powerpc/cpu | |
parent | 9e998d5dc18ed75175cf72b5eeaaf432ae0da0a4 (diff) | |
download | u-boot-03fe5d5116f3793f4d92a15e6d90bb96f0ee0aaf.tar.gz |
powerpc: mpc85xx: fix unused variable warning
Fix unused variable warning when CONFIG_QE is not set.
Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'arch/powerpc/cpu')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/cpu_init.c | 4 |
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 |