]> git.sur5r.net Git - u-boot/commitdiff
armv8: ls1088a: fix the MMU table for pcie config space
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Mon, 4 Sep 2017 02:47:52 +0000 (10:47 +0800)
committerYork Sun <york.sun@nxp.com>
Mon, 11 Sep 2017 15:01:07 +0000 (08:01 -0700)
The pcie config space of ls1088a is different from ls2080a.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h

index 6c74ee05d16ad77b51f58a6acd08cabd1713e5e6..957e23b02ad59fe2403b772bf355deb6a0f62157 100644 (file)
 #define CONFIG_SYS_PCIE2_ADDR                  (CONFIG_SYS_IMMR + 0x2500000)
 #define CONFIG_SYS_PCIE3_ADDR                  (CONFIG_SYS_IMMR + 0x2600000)
 #define CONFIG_SYS_PCIE4_ADDR                  (CONFIG_SYS_IMMR + 0x2700000)
+#ifdef CONFIG_ARCH_LS1088A
+#define CONFIG_SYS_PCIE1_PHYS_ADDR             0x2000000000ULL
+#define CONFIG_SYS_PCIE2_PHYS_ADDR             0x2800000000ULL
+#define CONFIG_SYS_PCIE3_PHYS_ADDR             0x3000000000ULL
+#else
 #define CONFIG_SYS_PCIE1_PHYS_ADDR             0x1000000000ULL
 #define CONFIG_SYS_PCIE2_PHYS_ADDR             0x1200000000ULL
 #define CONFIG_SYS_PCIE3_PHYS_ADDR             0x1400000000ULL
 #define CONFIG_SYS_PCIE4_PHYS_ADDR             0x1600000000ULL
+#endif
 
 /* Device Configuration */
 #define DCFG_BASE              0x01e00000