mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
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>
This commit is contained in:
parent
9e998d5dc1
commit
03fe5d5116
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user