public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] ARM: imx: Drop board side icache enable on Data Modul i.MX8M Mini eDM SBC
@ 2022-12-11 20:16 Marek Vasut
  2023-01-31  9:50 ` sbabic
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Vasut @ 2022-12-11 20:16 UTC (permalink / raw)
  To: u-boot; +Cc: Marek Vasut, Fabio Estevam, Peng Fan, Stefano Babic

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(-)

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();
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: imx: Drop board side icache enable on Data Modul i.MX8M Mini eDM SBC
  2022-12-11 20:16 [PATCH] ARM: imx: Drop board side icache enable on Data Modul i.MX8M Mini eDM SBC Marek Vasut
@ 2023-01-31  9:50 ` sbabic
  0 siblings, 0 replies; 2+ messages in thread
From: sbabic @ 2023-01-31  9:50 UTC (permalink / raw)
  To: Marek Vasut, u-boot

> 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

-- 
=====================================================================
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: sbabic@denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-31  9:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-11 20:16 [PATCH] ARM: imx: Drop board side icache enable on Data Modul i.MX8M Mini eDM SBC Marek Vasut
2023-01-31  9:50 ` sbabic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox