aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorKumar Gala2011-05-19 16:15:11 -0500
committerKumar Gala2011-07-11 13:24:19 -0500
commit58b2f96e380f4e5a544dc49b7f33dc04b85eb1c5 (patch)
tree8a665694b14402621ba81b8f068e5ab1c233c040 /board
parenteb51f63c0291704350ce39c4f9074097ffc91a5b (diff)
powerpc/85xx: Fix compile errors if CONFIG_SYS_DPAA_QBMAN isn't set
Add ifdef protection for qp_info and liodn associated with Q/BMan. Also rearrange setting of _tbl_sz variables to utilize existing ifdef protection for things like FMAN. Also add protection around setup_portals() call in corenet_ds board code. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/corenet_ds/corenet_ds.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/corenet_ds/corenet_ds.c b/board/freescale/corenet_ds/corenet_ds.c
index 93241251b8e..cf9b7b8390d 100644
--- a/board/freescale/corenet_ds/corenet_ds.c
+++ b/board/freescale/corenet_ds/corenet_ds.c
@@ -142,7 +142,9 @@ int board_early_init_r(void)
0, flash_esel, BOOKE_PAGESZ_256M, 1); /* ts, esel, tsize, iprot */
set_liodns();
+#ifdef CONFIG_SYS_DPAA_QBMAN
setup_portals();
+#endif
return 0;
}