From 505c293ffd67170507154c3660d8d880d3edd9da Mon Sep 17 00:00:00 2001 From: Prabhakar Kushwaha Date: Fri, 17 May 2013 14:22:34 +0530 Subject: [PATCH] board/p1010rdb: Fix PCIe TLB creation on CONFIG_PCI define PCIe TLB should be created with CONFIG_PCI defined Signed-off-by: Prabhakar Kushwaha Signed-off-by: Andy Fleming --- board/freescale/p1010rdb/tlb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/p1010rdb/tlb.c b/board/freescale/p1010rdb/tlb.c index 0a8159a6a5..078717a5b9 100644 --- a/board/freescale/p1010rdb/tlb.c +++ b/board/freescale/p1010rdb/tlb.c @@ -69,7 +69,7 @@ struct fsl_e_tlb_entry tlb_table[] = { 0, 3, BOOKE_PAGESZ_16M, 1), #endif -#ifndef CONFIG_PCI +#ifdef CONFIG_PCI /* *I*G* - PCI */ SET_TLB_ENTRY(1, CONFIG_SYS_PCIE1_MEM_VIRT, CONFIG_SYS_PCIE1_MEM_PHYS, MAS3_SW|MAS3_SR, MAS2_I|MAS2_G, -- 2.39.5