1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * (C) Copyright 2012 Stephen Warren 4 * 5 * See file CREDITS for list of people who contributed to this 6 * project. 7 */ 8 9 #include <common.h> 10 11 int arch_cpu_init(void) 12 { 13 icache_enable(); 14 15 return 0; 16 } 17 18 #ifdef CONFIG_ARMV7_LPAE 19 void enable_caches(void) 20 { 21 dcache_enable(); 22 } 23 #endif 24