init_helpers.c 256 B

1234567891011121314151617
  1. /*
  2. * Copyright (C) 2013-2015 Synopsys, Inc. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. #include <common.h>
  7. DECLARE_GLOBAL_DATA_PTR;
  8. int init_cache_f_r(void)
  9. {
  10. #ifndef CONFIG_SYS_DCACHE_OFF
  11. flush_dcache_all();
  12. #endif
  13. return 0;
  14. }