]> git.sur5r.net Git - u-boot/commitdiff
board/p1010rdb: Fix PCIe TLB creation on CONFIG_PCI define
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Fri, 17 May 2013 08:52:34 +0000 (14:22 +0530)
committerAndy Fleming <afleming@freescale.com>
Thu, 20 Jun 2013 22:08:50 +0000 (17:08 -0500)
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>
board/freescale/p1010rdb/tlb.c

index 0a8159a6a510f810795012cea040ef8c0b01e2fd..078717a5b9875a1ab0ff6bfe2ac33c208455839c 100644 (file)
@@ -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,