summaryrefslogtreecommitdiff
path: root/board/amcc/katmai
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-11-05 07:43:05 +0100
committerStefan Roese <sr@denx.de>2007-11-05 07:43:05 +0100
commit654f38b3a387886996a5a75771fbfc29cb4f225e (patch)
treeae1d0855b45fe09c4e746fc07fe6d425a8ae2d1d /board/amcc/katmai
parent3d6cb3b24add6415f86a0f013ea40f5639b90047 (diff)
downloadu-boot-imx-654f38b3a387886996a5a75771fbfc29cb4f225e.zip
u-boot-imx-654f38b3a387886996a5a75771fbfc29cb4f225e.tar.gz
u-boot-imx-654f38b3a387886996a5a75771fbfc29cb4f225e.tar.bz2
ppc4xx: Make output a little shorter on PCIe detection
Now not max 3 lines but 2 lines are printed per PCIe port. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/amcc/katmai')
-rw-r--r--board/amcc/katmai/katmai.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/board/amcc/katmai/katmai.c b/board/amcc/katmai/katmai.c
index 0627a7a..669b828 100644
--- a/board/amcc/katmai/katmai.c
+++ b/board/amcc/katmai/katmai.c
@@ -403,15 +403,13 @@ void pcie_setup_hoses(int busno)
if (!katmai_pcie_card_present(i))
continue;
- if (is_end_point(i)) {
- printf("PCIE%d: will be configured as endpoint\n", i);
+ if (is_end_point(i))
ret = ppc4xx_init_pcie_endport(i);
- } else {
- printf("PCIE%d: will be configured as root-complex\n", i);
+ else
ret = ppc4xx_init_pcie_rootport(i);
- }
if (ret) {
- printf("PCIE%d: initialization failed\n", i);
+ printf("PCIE%d: initialization as %s failed\n", i,
+ is_end_point(i) ? "endpoint" : "root-complex");
continue;
}