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
socfpga: Adding System Manager driver
[platform/kernel/u-boot.git]
/
arch
/
arm
/
cpu
/
armv7
/
socfpga
/
spl.c
diff --git
a/arch/arm/cpu/armv7/socfpga/spl.c
b/arch/arm/cpu/armv7/socfpga/spl.c
index
2b9be28
..
74bceab
100644
(file)
--- a/
arch/arm/cpu/armv7/socfpga/spl.c
+++ b/
arch/arm/cpu/armv7/socfpga/spl.c
@@
-12,6
+12,7
@@
#include <image.h>
#include <asm/arch/reset_manager.h>
#include <spl.h>
#include <image.h>
#include <asm/arch/reset_manager.h>
#include <spl.h>
+#include <asm/arch/system_manager.h>
DECLARE_GLOBAL_DATA_PTR;
DECLARE_GLOBAL_DATA_PTR;
@@
-25,6
+26,11
@@
u32 spl_boot_device(void)
*/
void spl_board_init(void)
{
*/
void spl_board_init(void)
{
+#ifndef CONFIG_SOCFPGA_VIRTUAL_TARGET
+ /* configure the pin muxing through system manager */
+ sysmgr_pinmux_init();
+#endif /* CONFIG_SOCFPGA_VIRTUAL_TARGET */
+
/* de-assert reset for peripherals and bridges based on handoff */
reset_deassert_peripherals_handoff();
/* de-assert reset for peripherals and bridges based on handoff */
reset_deassert_peripherals_handoff();