summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/lib/board.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/x86/lib/board.c b/arch/x86/lib/board.c
index c5ff44d793..c882a55bd7 100644
--- a/arch/x86/lib/board.c
+++ b/arch/x86/lib/board.c
@@ -3,7 +3,7 @@
* Graeme Russ, <graeme.russ@gmail.com>
*
* (C) Copyright 2002
- * Daniel Engström, Omicron Ceti AB, <daniel@omicron.se>
+ * Daniel Engstr�m, Omicron Ceti AB, <daniel@omicron.se>
*
* (C) Copyright 2002
* Wolfgang Denk, DENX Software Engineering, <wd@denx.de>
@@ -42,6 +42,7 @@
#include <ide.h>
#include <serial.h>
#include <asm/u-boot-x86.h>
+#include <spi.h>
#include <elf.h>
#ifdef CONFIG_BITBANGMII
@@ -354,6 +355,10 @@ void board_init_r(gd_t *id, ulong dest_addr)
/* Initialize the console (after the relocation and devices init) */
console_init_r();
+#ifdef CONFIG_CMD_SPI
+ spi_init();
+#endif
+
#ifdef CONFIG_MISC_INIT_R
/* miscellaneous platform dependent initialisations */
misc_init_r();