diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2011-05-19 16:15:11 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-07-11 13:24:19 -0500 |
commit | 58b2f96e380f4e5a544dc49b7f33dc04b85eb1c5 (patch) | |
tree | 8a665694b14402621ba81b8f068e5ab1c233c040 /board/freescale | |
parent | eb51f63c0291704350ce39c4f9074097ffc91a5b (diff) | |
download | u-boot-imx-58b2f96e380f4e5a544dc49b7f33dc04b85eb1c5.zip u-boot-imx-58b2f96e380f4e5a544dc49b7f33dc04b85eb1c5.tar.gz u-boot-imx-58b2f96e380f4e5a544dc49b7f33dc04b85eb1c5.tar.bz2 |
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/freescale')
-rw-r--r-- | board/freescale/corenet_ds/corenet_ds.c | 2 |
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 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; } |