From 58b2f96e380f4e5a544dc49b7f33dc04b85eb1c5 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Thu, 19 May 2011 16:15:11 -0500 Subject: 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 --- board/freescale/corenet_ds/corenet_ds.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'board/freescale') diff --git a/board/freescale/corenet_ds/corenet_ds.c b/board/freescale/corenet_ds/corenet_ds.c index 9324125..cf9b7b8 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; } -- cgit v1.1