aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-bcm283x/init.c
blob: d36017e823bf0bfb2752c6f2c1b579025907ba72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// SPDX-License-Identifier: GPL-2.0
/*
 * (C) Copyright 2012 Stephen Warren
 *
 * See file CREDITS for list of people who contributed to this
 * project.
 */

#include <common.h>

unsigned long rpi_bcm283x_base;

int arch_cpu_init(void)
{
	icache_enable();

	return 0;
}

int mach_cpu_init(void)
{
	rpi_bcm283x_base = CONFIG_BCM283x_BASE;

	return 0;
}
#ifdef CONFIG_ARMV7_LPAE
void enable_caches(void)
{
	dcache_enable();
}
#endif