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