projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM: kirkwood: add SBx81LIFXCAT board
[oweals/u-boot.git]
/
arch
/
arm
/
mach-orion5x
/
cpu.c
diff --git
a/arch/arm/mach-orion5x/cpu.c
b/arch/arm/mach-orion5x/cpu.c
index f88db3b1f96ad400fdf47c0e3bbd83f91a46ed6a..79b5f4f34f46aaaa47107b9714149ad5be15ccb7 100644
(file)
--- a/
arch/arm/mach-orion5x/cpu.c
+++ b/
arch/arm/mach-orion5x/cpu.c
@@
-1,3
+1,4
@@
+// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2010 Albert ARIBAUD <albert.u.boot@aribaud.net>
*
/*
* Copyright (C) 2010 Albert ARIBAUD <albert.u.boot@aribaud.net>
*
@@
-5,8
+6,6
@@
* (C) Copyright 2009
* Marvell Semiconductor <www.marvell.com>
* Written-by: Prafulla Wadaskar <prafulla@marvell.com>
* (C) Copyright 2009
* Marvell Semiconductor <www.marvell.com>
* Written-by: Prafulla Wadaskar <prafulla@marvell.com>
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
*/
#include <common.h>
@@
-234,7
+233,9
@@
int arch_cpu_init(void)
/* Enable and invalidate L2 cache in write through mode */
invalidate_l2_cache();
/* Enable and invalidate L2 cache in write through mode */
invalidate_l2_cache();
+#ifdef CONFIG_SPL_BUILD
orion5x_config_adr_windows();
orion5x_config_adr_windows();
+#endif
return 0;
}
return 0;
}