diff options
-rw-r--r-- | arch/powerpc/cpu/mpc8xxx/fsl_lbc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc8xxx/fsl_lbc.c b/arch/powerpc/cpu/mpc8xxx/fsl_lbc.c index 7598ebf..d78962f 100644 --- a/arch/powerpc/cpu/mpc8xxx/fsl_lbc.c +++ b/arch/powerpc/cpu/mpc8xxx/fsl_lbc.c @@ -58,8 +58,10 @@ void init_early_memctl_regs(void) #endif /* now restrict to preliminary range */ if (init_br1) { +#if defined(CONFIG_SYS_BR0_PRELIM) && defined(CONFIG_SYS_OR0_PRELIM) set_lbc_br(0, CONFIG_SYS_BR0_PRELIM); set_lbc_or(0, CONFIG_SYS_OR0_PRELIM); +#endif #if defined(CONFIG_SYS_BR1_PRELIM) && defined(CONFIG_SYS_OR1_PRELIM) set_lbc_or(1, CONFIG_SYS_OR1_PRELIM); |