diff options
Diffstat (limited to 'board/sl8245')
-rw-r--r-- | board/sl8245/config.mk | 1 | ||||
-rw-r--r-- | board/sl8245/sl8245.c | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/board/sl8245/config.mk b/board/sl8245/config.mk index 299fc6ce20..022512b0dd 100644 --- a/board/sl8245/config.mk +++ b/board/sl8245/config.mk @@ -28,3 +28,4 @@ TEXT_BASE = 0xFFF00000 PLATFORM_CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) +PLATFORM_LIBS += $(shell $(CC) -print-libgcc-file-name) diff --git a/board/sl8245/sl8245.c b/board/sl8245/sl8245.c index 1a30b4ca6b..3f81f17a43 100644 --- a/board/sl8245/sl8245.c +++ b/board/sl8245/sl8245.c @@ -23,6 +23,7 @@ #include <common.h> #include <mpc824x.h> +#include <pci.h> int checkboard (void) { @@ -84,3 +85,11 @@ Done: return CFG_MAX_RAM_SIZE; #endif } + +static struct pci_controller hose; + +void pci_init_board(void) +{ + pci_mpc824x_init(&hose); +} + |