diff options
Diffstat (limited to 'roms/u-boot/arch/arm/cpu/armv7/kona-common/hwinit-common.c')
-rw-r--r-- | roms/u-boot/arch/arm/cpu/armv7/kona-common/hwinit-common.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/cpu/armv7/kona-common/hwinit-common.c b/roms/u-boot/arch/arm/cpu/armv7/kona-common/hwinit-common.c new file mode 100644 index 00000000..2b3a8405 --- /dev/null +++ b/roms/u-boot/arch/arm/cpu/armv7/kona-common/hwinit-common.c @@ -0,0 +1,16 @@ +/* + * Copyright 2013 Broadcom Corporation. + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#include <common.h> +#include <linux/sizes.h> + +#ifndef CONFIG_SYS_DCACHE_OFF +void enable_caches(void) +{ + /* Enable D-cache. I-cache is already enabled in start.S */ + dcache_enable(); +} +#endif |