summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrabhakar Kushwaha <prabhakar@freescale.com>2013-05-17 14:22:34 +0530
committerAndy Fleming <afleming@freescale.com>2013-06-20 17:08:50 -0500
commit505c293ffd67170507154c3660d8d880d3edd9da (patch)
tree6ada136df90cdeb2696e3fc691e2008ee6084c0d
parent4d0e6e0d73daca57a9dc4abfb42d7e3cffe52985 (diff)
downloadu-boot-imx-505c293ffd67170507154c3660d8d880d3edd9da.zip
u-boot-imx-505c293ffd67170507154c3660d8d880d3edd9da.tar.gz
u-boot-imx-505c293ffd67170507154c3660d8d880d3edd9da.tar.bz2
board/p1010rdb: Fix PCIe TLB creation on CONFIG_PCI define
PCIe TLB should be created with CONFIG_PCI defined Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
-rw-r--r--board/freescale/p1010rdb/tlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/p1010rdb/tlb.c b/board/freescale/p1010rdb/tlb.c
index 0a8159a..078717a 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,