diff mbox series

ARM: imx: Drop board side icache enable on Data Modul i.MX8M Mini eDM SBC

Message ID 20221211201636.22654-1-marex@denx.de
State Accepted
Commit 3bb15941ffb46323332f9dcc7810ff6f3e55a258
Delegated to: Stefano Babic
Headers show
Series ARM: imx: Drop board side icache enable on Data Modul i.MX8M Mini eDM SBC | expand

Commit Message

Marek Vasut Dec. 11, 2022, 8:16 p.m. UTC
The icache is enabled in common architecture code since commit:
2fa763baa1c ("ARM: imx: Enable instruction cache early on on i.MX8M")
Drop the board side duplicate code.

Signed-off-by: Marek Vasut <marex@denx.de>
---
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
---
 board/data_modul/imx8mm_edm_sbc/imx8mm_data_modul_edm_sbc.c | 6 ------
 1 file changed, 6 deletions(-)

Comments

Stefano Babic Jan. 31, 2023, 9:50 a.m. UTC | #1
> The icache is enabled in common architecture code since commit:
> 2fa763baa1c ("ARM: imx: Enable instruction cache early on on i.MX8M")
> Drop the board side duplicate code.
> Signed-off-by: Marek Vasut <marex@denx.de>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/board/data_modul/imx8mm_edm_sbc/imx8mm_data_modul_edm_sbc.c b/board/data_modul/imx8mm_edm_sbc/imx8mm_data_modul_edm_sbc.c
index dc0883002c8..82856f7a08c 100644
--- a/board/data_modul/imx8mm_edm_sbc/imx8mm_data_modul_edm_sbc.c
+++ b/board/data_modul/imx8mm_edm_sbc/imx8mm_data_modul_edm_sbc.c
@@ -19,12 +19,6 @@ 
 
 DECLARE_GLOBAL_DATA_PTR;
 
-int mach_cpu_init(void)
-{
-	icache_enable();
-	return 0;
-}
-
 int board_phys_sdram_size(phys_size_t *size)
 {
 	u8 memcfg = dmo_get_memcfg();