blob: bf78d843aa57d3acf7aea829c3281936cd766a37 [file] [log] [blame]
Philippe Reynes0fb541d2022-02-11 19:18:38 +01001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2022 Philippe Reynes <philippe.reynes@softathome.com>
4 */
5
6#include <common.h>
7#include <fdtdec.h>
8#include <linux/io.h>
9#include <cpu_func.h>
10
11int board_init(void)
12{
13 return 0;
14}
15
16int dram_init(void)
17{
18 if (fdtdec_setup_mem_size_base() != 0)
19 printf("fdtdec_setup_mem_size_base() has failed\n");
20
21 return 0;
22}
23
24int dram_init_banksize(void)
25{
26 fdtdec_setup_memory_banksize();
27
28 return 0;
29}
30
31int print_cpuinfo(void)
32{
33 return 0;
34}
35
36void enable_caches(void)
37{
38 icache_enable();
39 dcache_enable();
40}