Skip to contentSkip to conversation

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

PATCH New Marek Vasut 2 participants 2 messages Dec 11, 2022 – Jan 31, 2023 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

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

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.

---
Cc: Fabio Estevam <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Stefano Babic <[email protected]>

---
 board/data_modul/imx8mm_edm_sbc/imx8mm_data_modul_edm_sbc.c | 6 ------
 1 file changed, 6 deletions(-)
board/data_modul/imx8mm_edm_sbc/imx8mm_data_modul_edm_sbc.c +0 -6
index dc0883002c8..82856f7a08c 100644
@@ -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();
Signature · 1 line
2.35.1
#1 lore raw

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

Quoted 4 lines

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.

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,        Managing Director: Erika Unter  
HRB 165235 Munich,   Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================