mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-28 23:50:26 +09:00
fsl-lsch2: csu: remove multiple calling function
Function enable_layerscape_ns_access() is alreayd called soc-wide. Remove duplicated calling from individual boards. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> [YS: Add commit message] Reviewed-by: York Sun <york.sun@nxp.com>
This commit is contained in:
parent
bf7aecce04
commit
e4b5143eb6
@ -201,10 +201,6 @@ int board_init(void)
|
|||||||
|
|
||||||
ls102xa_smmu_stream_id_init();
|
ls102xa_smmu_stream_id_init();
|
||||||
|
|
||||||
#ifdef CONFIG_LAYERSCAPE_NS_ACCESS
|
|
||||||
enable_layerscape_ns_access();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -435,7 +435,6 @@ void board_init_f(ulong dummy)
|
|||||||
/* Allow OCRAM access permission as R/W */
|
/* Allow OCRAM access permission as R/W */
|
||||||
#ifdef CONFIG_LAYERSCAPE_NS_ACCESS
|
#ifdef CONFIG_LAYERSCAPE_NS_ACCESS
|
||||||
enable_layerscape_ns_access();
|
enable_layerscape_ns_access();
|
||||||
enable_layerscape_ns_access();
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -261,10 +261,6 @@ int board_init(void)
|
|||||||
config_serdes_mux();
|
config_serdes_mux();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_LAYERSCAPE_NS_ACCESS
|
|
||||||
enable_layerscape_ns_access();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (adjust_vdd(0))
|
if (adjust_vdd(0))
|
||||||
printf("Warning: Adjusting core voltage failed.\n");
|
printf("Warning: Adjusting core voltage failed.\n");
|
||||||
|
|
||||||
|
@ -69,10 +69,6 @@ int board_init(void)
|
|||||||
{
|
{
|
||||||
struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR;
|
struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR;
|
||||||
|
|
||||||
#ifdef CONFIG_LAYERSCAPE_NS_ACCESS
|
|
||||||
enable_layerscape_ns_access();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_SECURE_BOOT
|
#ifdef CONFIG_SECURE_BOOT
|
||||||
/*
|
/*
|
||||||
* In case of Secure Boot, the IBR configures the SMMU
|
* In case of Secure Boot, the IBR configures the SMMU
|
||||||
|
Loading…
Reference in New Issue
Block a user