From: Prabhakar Kushwaha Date: Fri, 17 May 2013 08:52:34 +0000 (+0530) Subject: board/p1010rdb: Fix PCIe TLB creation on CONFIG_PCI define X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=505c293ffd67170507154c3660d8d880d3edd9da;p=u-boot.git 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 --- 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,