summaryrefslogtreecommitdiff
path: root/board/stxssa
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2007-09-24 00:04:22 +0200
committerMichal Simek <monstr@monstr.eu>2007-09-24 00:04:22 +0200
commit6b6f287a33ae8c340f97fb08ed95b6687e2baa4b (patch)
tree57d0aa201f36c6dd5a43efd23a0ee2ded95440ba /board/stxssa
parentd45963854eff39d575124d859419bb4953ce2c87 (diff)
parent66dcad3a9a53e0766d90e0084123bd8529522fb0 (diff)
Merge ../u-boot
Diffstat (limited to 'board/stxssa')
-rw-r--r--board/stxssa/stxssa.c11
-rw-r--r--board/stxssa/u-boot.lds1
2 files changed, 9 insertions, 3 deletions
diff --git a/board/stxssa/stxssa.c b/board/stxssa/stxssa.c
index 5882124150..9bacb98d86 100644
--- a/board/stxssa/stxssa.c
+++ b/board/stxssa/stxssa.c
@@ -378,9 +378,14 @@ static struct pci_config_table pci_stxgp3_config_table[] = {
#endif
-static struct pci_controller hose = {
+static struct pci_controller hose[] = {
#ifndef CONFIG_PCI_PNP
- config_table: pci_stxgp3_config_table,
+ { config_table: pci_stxgp3_config_table,},
+#else
+ {},
+#endif
+#ifdef CONFIG_MPC85XX_PCI2
+ {},
#endif
};
@@ -393,6 +398,6 @@ pci_init_board(void)
#ifdef CONFIG_PCI
extern void pci_mpc85xx_init(struct pci_controller *hose);
- pci_mpc85xx_init(&hose);
+ pci_mpc85xx_init(hose);
#endif /* CONFIG_PCI */
}
diff --git a/board/stxssa/u-boot.lds b/board/stxssa/u-boot.lds
index 95ecf66a8d..65e1bcfb12 100644
--- a/board/stxssa/u-boot.lds
+++ b/board/stxssa/u-boot.lds
@@ -145,6 +145,7 @@ SECTIONS
. = ALIGN(256);
__init_end = .;
+ . = .;
__bss_start = .;
.bss :
{