init.c 321 B

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