mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-18 14:48:17 +01:00
ppc: mpc85xx: Wrap LAW related codes with CONFIG_FSL_LAW
LAW related codes should be wrapped with CONFIG_FSL_LAW. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
parent
fc5af5c9d5
commit
907568e895
@ -395,7 +395,9 @@ int cpu_mmc_init(struct bd_info *bis)
|
|||||||
void print_reginfo(void)
|
void print_reginfo(void)
|
||||||
{
|
{
|
||||||
print_tlbcam();
|
print_tlbcam();
|
||||||
|
#ifdef CONFIG_FSL_LAW
|
||||||
print_laws();
|
print_laws();
|
||||||
|
#endif
|
||||||
#if defined(CONFIG_FSL_LBC)
|
#if defined(CONFIG_FSL_LBC)
|
||||||
print_lbc_regs();
|
print_lbc_regs();
|
||||||
#endif
|
#endif
|
||||||
|
@ -123,7 +123,9 @@ void cpu_init_early_f(void *fdt)
|
|||||||
setbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_LCLK_IFC_CS3);
|
setbits_be32(&gur->pmuxcr, MPC85xx_PMUXCR_LCLK_IFC_CS3);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_FSL_LAW
|
||||||
init_laws();
|
init_laws();
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Work Around for IFC Erratum A003399, issue will hit only when execution
|
* Work Around for IFC Erratum A003399, issue will hit only when execution
|
||||||
|
Loading…
x
Reference in New Issue
Block a user