projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e998d5
)
powerpc: mpc85xx: fix unused variable warning
author
Madalin Bucur
<madalin.bucur@oss.nxp.com>
Wed, 29 Apr 2020 09:16:38 +0000
(12:16 +0300)
committer
Priyanka Jain
<priyanka.jain@nxp.com>
Wed, 3 Jun 2020 06:44:27 +0000
(12:14 +0530)
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>
arch/powerpc/cpu/mpc85xx/cpu_init.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/cpu/mpc85xx/cpu_init.c
b/arch/powerpc/cpu/mpc85xx/cpu_init.c
index 4bca2671d5238c2cc8c50a68f957b47a23819f27..5a409e7a11c4e5c9e4b65900613ac07b9e147f78 100644
(file)
--- 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 */
-#el
if defined CONFIG_QE
+#el
se
uint qe_base = CONFIG_SYS_IMMR + 0x00080000; /* QE immr base */
#endif
-#ifdef CONFIG_QE
qe_init(qe_base);
qe_reset();
#endif