summaryrefslogtreecommitdiff
path: root/common/board_r.c
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-05-08 16:08:44 +0200
committerMichal Simek <michal.simek@xilinx.com>2015-02-09 15:11:56 +0100
commite945f6dc2814f5f0d30b5b7e23821b3fd4faff5b (patch)
tree30e842dc2c1878f34f9f86a5cc264e3b9a0bbdaf /common/board_r.c
parent4dd097427aeb6848fcb19c31b805abe1a3906913 (diff)
microblaze: Move architecture to use generic board init
Compile code with -fPIC to get GOT. Do not build SPL with fPIC because it increasing SPL size for nothing. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'common/board_r.c')
-rw-r--r--common/board_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/board_r.c b/common/board_r.c
index f7a3b55193f..907b33cca76 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -813,7 +813,7 @@ init_fnc_t init_sequence_r[] = {
#if defined(CONFIG_ARM)
initr_enable_interrupts,
#endif
-#ifdef CONFIG_X86
+#if defined(CONFIG_X86) || defined(CONFIG_MICROBLAZE)
timer_init, /* initialize timer */
#endif
#if defined(CONFIG_STATUS_LED) && defined(STATUS_LED_BOOT)