projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f11d4ab
)
arm64: zynqmp: Protect board_late_init function
author
Michal Simek
<michal.simek@xilinx.com>
Thu, 20 Dec 2018 08:33:38 +0000
(09:33 +0100)
committer
Michal Simek
<michal.simek@xilinx.com>
Thu, 24 Jan 2019 09:03:42 +0000
(10:03 +0100)
Function should be compiled only when CONFIG_BOARD_LATE_INIT is defined.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/zynqmp/zynqmp.c
patch
|
blob
|
history
diff --git
a/board/xilinx/zynqmp/zynqmp.c
b/board/xilinx/zynqmp/zynqmp.c
index 13c404b6ef0882fea2a78b15fcc819b5920e1d0f..1dcb26db95e1459a343603c4eaf709447af9d048 100644
(file)
--- a/
board/xilinx/zynqmp/zynqmp.c
+++ b/
board/xilinx/zynqmp/zynqmp.c
@@
-489,6
+489,7
@@
void reset_cpu(ulong addr)
{
}
+#if defined(CONFIG_BOARD_LATE_INIT)
static const struct {
u32 bit;
const char *name;
@@
-655,6
+656,7
@@
int board_late_init(void)
return 0;
}
+#endif
int checkboard(void)
{