hwinit-common.c 282 B

123456789101112131415
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright 2014 Broadcom Corporation.
  4. */
  5. #include <common.h>
  6. #include <cpu_func.h>
  7. #if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF)
  8. void enable_caches(void)
  9. {
  10. /* Enable D-cache. I-cache is already enabled in start.S */
  11. dcache_enable();
  12. }
  13. #endif