Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Stephen Warren | 59d63f7 | 2012-09-01 16:27:56 +0000 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2012 Stephen Warren |
| 4 | * |
| 5 | * See file CREDITS for list of people who contributed to this |
| 6 | * project. |
Stephen Warren | 59d63f7 | 2012-09-01 16:27:56 +0000 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | #include <common.h> |
| 10 | |
| 11 | int arch_cpu_init(void) |
| 12 | { |
| 13 | icache_enable(); |
| 14 | |
| 15 | return 0; |
| 16 | } |
Alexander Graf | ccd9d51 | 2016-03-16 15:41:23 +0100 | [diff] [blame] | 17 | |
| 18 | #ifdef CONFIG_ARMV7_LPAE |
| 19 | void enable_caches(void) |
| 20 | { |
| 21 | dcache_enable(); |
| 22 | } |
| 23 | #endif |