projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: bcm283x: Move BCM283x_BASE to a global variable
[platform/kernel/u-boot.git]
/
arch
/
arm
/
mach-bcm283x
/
init.c
diff --git
a/arch/arm/mach-bcm283x/init.c
b/arch/arm/mach-bcm283x/init.c
index
9741441
..
d36017e
100644
(file)
--- a/
arch/arm/mach-bcm283x/init.c
+++ b/
arch/arm/mach-bcm283x/init.c
@@
-8,6
+8,8
@@
#include <common.h>
+unsigned long rpi_bcm283x_base;
+
int arch_cpu_init(void)
{
icache_enable();
@@
-15,6
+17,12
@@
int arch_cpu_init(void)
return 0;
}
+int mach_cpu_init(void)
+{
+ rpi_bcm283x_base = CONFIG_BCM283x_BASE;
+
+ return 0;
+}
#ifdef CONFIG_ARMV7_LPAE
void enable_caches(void)
{