powerpc/85xx: Fix compile errors if CONFIG_SYS_{B,Q}MAN_MEM_PHYS aren't set
authorKumar Gala <galak@kernel.crashing.org>
Fri, 20 May 2011 05:51:55 +0000 (00:51 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 11 Jul 2011 18:24:19 +0000 (13:24 -0500)
commitbe1ff615eac1e323f67b3197390369c398ea4491
treea2369e23a89e62951277e2d9887dc392d9eba3fc
parent810cb19003ffe0115d10700fc512a2a743916f20
powerpc/85xx: Fix compile errors if CONFIG_SYS_{B,Q}MAN_MEM_PHYS aren't set

Add ifdef protection in LAW & TLB code to handle the case in which
CONFIG_SYS_BMAN_MEM_PHYS or CONFIG_SYS_QMAN_MEM_PHYS arent defined for a
build.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/corenet_ds/law.c
board/freescale/corenet_ds/tlb.c