Explorar el Código

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>
Prabhakar Kushwaha hace 12 años
padre
commit
505c293ffd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      board/freescale/p1010rdb/tlb.c

+ 1 - 1
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,