summaryrefslogtreecommitdiff
path: root/include/configs/microblaze-generic.h
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2015-12-11 15:01:28 +0100
committerMichal Simek <michal.simek@xilinx.com>2016-01-27 15:55:53 +0100
commit38c4761c236e0d8efd6b552d6b036015097c7bd9 (patch)
tree6a2f86ad4bbad46b02ead652b9e41215483ae610 /include/configs/microblaze-generic.h
parent077fe0f5e758a9810b320a2437d52b965a63c3b7 (diff)
microblaze: Fix board_init calling sequence
board_init() is in final elf file but it is not called at all. Use board_init_late() instead and call gpio_init() from it. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/configs/microblaze-generic.h')
-rw-r--r--include/configs/microblaze-generic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 3cbec659a1..97a0d86b91 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -45,6 +45,7 @@
# define CONFIG_XILINX_GPIO
# define CONFIG_SYS_GPIO_0_ADDR XILINX_GPIO_BASEADDR
#endif
+#define CONFIG_BOARD_LATE_INIT
/* interrupt controller */
#ifdef XILINX_INTC_BASEADDR