]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: imx: Drop board side icache enable on Data Modul i.MX8M Mini eDM SBC
authorMarek Vasut <marex@denx.de>
Sun, 11 Dec 2022 20:16:36 +0000 (21:16 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 30 Jan 2023 22:23:01 +0000 (23:23 +0100)
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>
board/data_modul/imx8mm_edm_sbc/imx8mm_data_modul_edm_sbc.c

index dc0883002c890ae315dfdaa1036fa2d43cf740b6..82856f7a08c1e6aa3e234a6d95e089a229448b4e 100644 (file)
 
 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();