mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
global: Move remaining CONFIG_SYS_PCI* to CFG_SYS_PCI*
The rest of the unmigrated CONFIG symbols in the CONFIG_SYS_PCI and CONFIG_SYS_PCIE namespace do not easily transition to Kconfig. In many cases they likely should come from the device tree instead. Move these out of CONFIG namespace and in to CFG namespace. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -177,15 +177,15 @@
|
||||
* General PCI
|
||||
* Addresses are mapped 1-1.
|
||||
*/
|
||||
#define CONFIG_SYS_PCIE1_CFG_BASE 0xA0000000
|
||||
#define CONFIG_SYS_PCIE1_CFG_SIZE 0x08000000
|
||||
#define CONFIG_SYS_PCIE1_MEM_PHYS 0xA8000000
|
||||
#define CONFIG_SYS_PCIE1_IO_PHYS 0xB8000000
|
||||
#define CFG_SYS_PCIE1_CFG_BASE 0xA0000000
|
||||
#define CFG_SYS_PCIE1_CFG_SIZE 0x08000000
|
||||
#define CFG_SYS_PCIE1_MEM_PHYS 0xA8000000
|
||||
#define CFG_SYS_PCIE1_IO_PHYS 0xB8000000
|
||||
|
||||
#define CONFIG_SYS_PCIE2_CFG_BASE 0xC0000000
|
||||
#define CONFIG_SYS_PCIE2_CFG_SIZE 0x08000000
|
||||
#define CONFIG_SYS_PCIE2_MEM_PHYS 0xC8000000
|
||||
#define CONFIG_SYS_PCIE2_IO_PHYS 0xD8000000
|
||||
#define CFG_SYS_PCIE2_CFG_BASE 0xC0000000
|
||||
#define CFG_SYS_PCIE2_CFG_SIZE 0x08000000
|
||||
#define CFG_SYS_PCIE2_MEM_PHYS 0xC8000000
|
||||
#define CFG_SYS_PCIE2_IO_PHYS 0xD8000000
|
||||
|
||||
/*
|
||||
* TSEC
|
||||
|
||||
@@ -254,31 +254,31 @@
|
||||
* General PCI
|
||||
* Memory space is mapped 1-1, but I/O space must start from 0.
|
||||
*/
|
||||
#define CONFIG_SYS_PCI1_MEM_VIRT 0x80000000
|
||||
#define CFG_SYS_PCI1_MEM_VIRT 0x80000000
|
||||
#ifdef CONFIG_PHYS_64BIT
|
||||
#define CONFIG_SYS_PCI1_MEM_PHYS 0xc00000000ull
|
||||
#define CFG_SYS_PCI1_MEM_PHYS 0xc00000000ull
|
||||
#else
|
||||
#define CONFIG_SYS_PCI1_MEM_PHYS 0x80000000
|
||||
#define CFG_SYS_PCI1_MEM_PHYS 0x80000000
|
||||
#endif
|
||||
#define CONFIG_SYS_PCI1_IO_VIRT 0xe2000000
|
||||
#define CFG_SYS_PCI1_IO_VIRT 0xe2000000
|
||||
#ifdef CONFIG_PHYS_64BIT
|
||||
#define CONFIG_SYS_PCI1_IO_PHYS 0xfe2000000ull
|
||||
#define CFG_SYS_PCI1_IO_PHYS 0xfe2000000ull
|
||||
#else
|
||||
#define CONFIG_SYS_PCI1_IO_PHYS 0xe2000000
|
||||
#define CFG_SYS_PCI1_IO_PHYS 0xe2000000
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PCIE1
|
||||
#define CONFIG_SYS_PCIE1_MEM_VIRT 0xa0000000
|
||||
#define CFG_SYS_PCIE1_MEM_VIRT 0xa0000000
|
||||
#ifdef CONFIG_PHYS_64BIT
|
||||
#define CONFIG_SYS_PCIE1_MEM_PHYS 0xc20000000ull
|
||||
#define CFG_SYS_PCIE1_MEM_PHYS 0xc20000000ull
|
||||
#else
|
||||
#define CONFIG_SYS_PCIE1_MEM_PHYS 0xa0000000
|
||||
#define CFG_SYS_PCIE1_MEM_PHYS 0xa0000000
|
||||
#endif
|
||||
#define CONFIG_SYS_PCIE1_IO_VIRT 0xe3000000
|
||||
#define CFG_SYS_PCIE1_IO_VIRT 0xe3000000
|
||||
#ifdef CONFIG_PHYS_64BIT
|
||||
#define CONFIG_SYS_PCIE1_IO_PHYS 0xfe3000000ull
|
||||
#define CFG_SYS_PCIE1_IO_PHYS 0xfe3000000ull
|
||||
#else
|
||||
#define CONFIG_SYS_PCIE1_IO_PHYS 0xe3000000
|
||||
#define CFG_SYS_PCIE1_IO_PHYS 0xe3000000
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
@@ -68,31 +68,31 @@
|
||||
* Memory space is mapped 1-1, but I/O space must start from 0.
|
||||
*/
|
||||
/* controller 1, Slot 1, tgtid 1, Base address a000 */
|
||||
#define CONFIG_SYS_PCIE1_MEM_VIRT 0x80000000
|
||||
#define CFG_SYS_PCIE1_MEM_VIRT 0x80000000
|
||||
#ifdef CONFIG_PHYS_64BIT
|
||||
#define CONFIG_SYS_PCIE1_MEM_PHYS 0xc00000000ull
|
||||
#define CFG_SYS_PCIE1_MEM_PHYS 0xc00000000ull
|
||||
#else
|
||||
#define CONFIG_SYS_PCIE1_MEM_PHYS 0x80000000
|
||||
#define CFG_SYS_PCIE1_MEM_PHYS 0x80000000
|
||||
#endif
|
||||
#define CONFIG_SYS_PCIE1_IO_VIRT 0xffc00000
|
||||
#define CFG_SYS_PCIE1_IO_VIRT 0xffc00000
|
||||
#ifdef CONFIG_PHYS_64BIT
|
||||
#define CONFIG_SYS_PCIE1_IO_PHYS 0xfffc00000ull
|
||||
#define CFG_SYS_PCIE1_IO_PHYS 0xfffc00000ull
|
||||
#else
|
||||
#define CONFIG_SYS_PCIE1_IO_PHYS 0xffc00000
|
||||
#define CFG_SYS_PCIE1_IO_PHYS 0xffc00000
|
||||
#endif
|
||||
|
||||
/* controller 2, Slot 2, tgtid 2, Base address 9000 */
|
||||
#define CONFIG_SYS_PCIE2_MEM_VIRT 0xa0000000
|
||||
#define CFG_SYS_PCIE2_MEM_VIRT 0xa0000000
|
||||
#ifdef CONFIG_PHYS_64BIT
|
||||
#define CONFIG_SYS_PCIE2_MEM_PHYS 0xc20000000ull
|
||||
#define CFG_SYS_PCIE2_MEM_PHYS 0xc20000000ull
|
||||
#else
|
||||
#define CONFIG_SYS_PCIE2_MEM_PHYS 0xa0000000
|
||||
#define CFG_SYS_PCIE2_MEM_PHYS 0xa0000000
|
||||
#endif
|
||||
#define CONFIG_SYS_PCIE2_IO_VIRT 0xffc10000
|
||||
#define CFG_SYS_PCIE2_IO_VIRT 0xffc10000
|
||||
#ifdef CONFIG_PHYS_64BIT
|
||||
#define CONFIG_SYS_PCIE2_IO_PHYS 0xfffc10000ull
|
||||
#define CFG_SYS_PCIE2_IO_PHYS 0xfffc10000ull
|
||||
#else
|
||||
#define CONFIG_SYS_PCIE2_IO_PHYS 0xffc10000
|
||||
#define CFG_SYS_PCIE2_IO_PHYS 0xffc10000
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
@@ -234,20 +234,20 @@
|
||||
*/
|
||||
|
||||
/* controller 1, direct to uli, tgtid 3, Base address 20000 */
|
||||
#define CONFIG_SYS_PCIE1_MEM_VIRT 0x80000000
|
||||
#define CONFIG_SYS_PCIE1_MEM_PHYS 0xc00000000ull
|
||||
#define CONFIG_SYS_PCIE1_IO_VIRT 0xf8000000
|
||||
#define CONFIG_SYS_PCIE1_IO_PHYS 0xff8000000ull
|
||||
#define CFG_SYS_PCIE1_MEM_VIRT 0x80000000
|
||||
#define CFG_SYS_PCIE1_MEM_PHYS 0xc00000000ull
|
||||
#define CFG_SYS_PCIE1_IO_VIRT 0xf8000000
|
||||
#define CFG_SYS_PCIE1_IO_PHYS 0xff8000000ull
|
||||
|
||||
/* controller 2, Slot 2, tgtid 2, Base address 201000 */
|
||||
#define CONFIG_SYS_PCIE2_MEM_VIRT 0xa0000000
|
||||
#define CONFIG_SYS_PCIE2_MEM_PHYS 0xc20000000ull
|
||||
#define CONFIG_SYS_PCIE2_IO_VIRT 0xf8010000
|
||||
#define CONFIG_SYS_PCIE2_IO_PHYS 0xff8010000ull
|
||||
#define CFG_SYS_PCIE2_MEM_VIRT 0xa0000000
|
||||
#define CFG_SYS_PCIE2_MEM_PHYS 0xc20000000ull
|
||||
#define CFG_SYS_PCIE2_IO_VIRT 0xf8010000
|
||||
#define CFG_SYS_PCIE2_IO_PHYS 0xff8010000ull
|
||||
|
||||
/* controller 3, Slot 1, tgtid 1, Base address 202000 */
|
||||
#define CONFIG_SYS_PCIE3_MEM_VIRT 0xc0000000
|
||||
#define CONFIG_SYS_PCIE3_MEM_PHYS 0xc40000000ull
|
||||
#define CFG_SYS_PCIE3_MEM_VIRT 0xc0000000
|
||||
#define CFG_SYS_PCIE3_MEM_PHYS 0xc40000000ull
|
||||
|
||||
/* Qman/Bman */
|
||||
#define CONFIG_SYS_BMAN_NUM_PORTALS 10
|
||||
|
||||
@@ -331,24 +331,24 @@
|
||||
#ifdef CONFIG_PCI
|
||||
/* controller 1, direct to uli, tgtid 3, Base address 20000 */
|
||||
#ifdef CONFIG_PCIE1
|
||||
#define CONFIG_SYS_PCIE1_MEM_VIRT 0x80000000
|
||||
#define CONFIG_SYS_PCIE1_MEM_PHYS 0xc00000000ull
|
||||
#define CONFIG_SYS_PCIE1_IO_VIRT 0xf8000000
|
||||
#define CONFIG_SYS_PCIE1_IO_PHYS 0xff8000000ull
|
||||
#define CFG_SYS_PCIE1_MEM_VIRT 0x80000000
|
||||
#define CFG_SYS_PCIE1_MEM_PHYS 0xc00000000ull
|
||||
#define CFG_SYS_PCIE1_IO_VIRT 0xf8000000
|
||||
#define CFG_SYS_PCIE1_IO_PHYS 0xff8000000ull
|
||||
#endif
|
||||
|
||||
/* controller 2, Slot 2, tgtid 2, Base address 201000 */
|
||||
#ifdef CONFIG_PCIE2
|
||||
#define CONFIG_SYS_PCIE2_MEM_VIRT 0x90000000
|
||||
#define CONFIG_SYS_PCIE2_MEM_PHYS 0xc10000000ull
|
||||
#define CONFIG_SYS_PCIE2_IO_VIRT 0xf8010000
|
||||
#define CONFIG_SYS_PCIE2_IO_PHYS 0xff8010000ull
|
||||
#define CFG_SYS_PCIE2_MEM_VIRT 0x90000000
|
||||
#define CFG_SYS_PCIE2_MEM_PHYS 0xc10000000ull
|
||||
#define CFG_SYS_PCIE2_IO_VIRT 0xf8010000
|
||||
#define CFG_SYS_PCIE2_IO_PHYS 0xff8010000ull
|
||||
#endif
|
||||
|
||||
/* controller 3, Slot 1, tgtid 1, Base address 202000 */
|
||||
#ifdef CONFIG_PCIE3
|
||||
#define CONFIG_SYS_PCIE3_MEM_VIRT 0xa0000000
|
||||
#define CONFIG_SYS_PCIE3_MEM_PHYS 0xc20000000ull
|
||||
#define CFG_SYS_PCIE3_MEM_VIRT 0xa0000000
|
||||
#define CFG_SYS_PCIE3_MEM_PHYS 0xc20000000ull
|
||||
#endif
|
||||
#endif /* CONFIG_PCI */
|
||||
|
||||
|
||||
@@ -307,30 +307,30 @@
|
||||
#ifdef CONFIG_PCI
|
||||
/* controller 1, direct to uli, tgtid 3, Base address 20000 */
|
||||
#ifdef CONFIG_PCIE1
|
||||
#define CONFIG_SYS_PCIE1_MEM_VIRT 0x80000000
|
||||
#define CONFIG_SYS_PCIE1_MEM_PHYS 0xc00000000ull
|
||||
#define CONFIG_SYS_PCIE1_IO_VIRT 0xf8000000
|
||||
#define CONFIG_SYS_PCIE1_IO_PHYS 0xff8000000ull
|
||||
#define CFG_SYS_PCIE1_MEM_VIRT 0x80000000
|
||||
#define CFG_SYS_PCIE1_MEM_PHYS 0xc00000000ull
|
||||
#define CFG_SYS_PCIE1_IO_VIRT 0xf8000000
|
||||
#define CFG_SYS_PCIE1_IO_PHYS 0xff8000000ull
|
||||
#endif
|
||||
|
||||
/* controller 2, Slot 2, tgtid 2, Base address 201000 */
|
||||
#ifdef CONFIG_PCIE2
|
||||
#define CONFIG_SYS_PCIE2_MEM_VIRT 0x90000000
|
||||
#define CONFIG_SYS_PCIE2_MEM_PHYS 0xc10000000ull
|
||||
#define CONFIG_SYS_PCIE2_IO_VIRT 0xf8010000
|
||||
#define CONFIG_SYS_PCIE2_IO_PHYS 0xff8010000ull
|
||||
#define CFG_SYS_PCIE2_MEM_VIRT 0x90000000
|
||||
#define CFG_SYS_PCIE2_MEM_PHYS 0xc10000000ull
|
||||
#define CFG_SYS_PCIE2_IO_VIRT 0xf8010000
|
||||
#define CFG_SYS_PCIE2_IO_PHYS 0xff8010000ull
|
||||
#endif
|
||||
|
||||
/* controller 3, Slot 1, tgtid 1, Base address 202000 */
|
||||
#ifdef CONFIG_PCIE3
|
||||
#define CONFIG_SYS_PCIE3_MEM_VIRT 0xa0000000
|
||||
#define CONFIG_SYS_PCIE3_MEM_PHYS 0xc20000000ull
|
||||
#define CFG_SYS_PCIE3_MEM_VIRT 0xa0000000
|
||||
#define CFG_SYS_PCIE3_MEM_PHYS 0xc20000000ull
|
||||
#endif
|
||||
|
||||
/* controller 4, Base address 203000 */
|
||||
#ifdef CONFIG_PCIE4
|
||||
#define CONFIG_SYS_PCIE4_MEM_VIRT 0xb0000000
|
||||
#define CONFIG_SYS_PCIE4_MEM_PHYS 0xc30000000ull
|
||||
#define CFG_SYS_PCIE4_MEM_VIRT 0xb0000000
|
||||
#define CFG_SYS_PCIE4_MEM_PHYS 0xc30000000ull
|
||||
#endif
|
||||
#endif /* CONFIG_PCI */
|
||||
|
||||
|
||||
@@ -345,24 +345,24 @@
|
||||
* Memory space is mapped 1-1, but I/O space must start from 0.
|
||||
*/
|
||||
/* controller 1, direct to uli, tgtid 3, Base address 20000 */
|
||||
#define CONFIG_SYS_PCIE1_MEM_VIRT 0x80000000
|
||||
#define CONFIG_SYS_PCIE1_MEM_PHYS 0xc00000000ull
|
||||
#define CONFIG_SYS_PCIE1_IO_VIRT 0xf8000000
|
||||
#define CONFIG_SYS_PCIE1_IO_PHYS 0xff8000000ull
|
||||
#define CFG_SYS_PCIE1_MEM_VIRT 0x80000000
|
||||
#define CFG_SYS_PCIE1_MEM_PHYS 0xc00000000ull
|
||||
#define CFG_SYS_PCIE1_IO_VIRT 0xf8000000
|
||||
#define CFG_SYS_PCIE1_IO_PHYS 0xff8000000ull
|
||||
|
||||
/* controller 2, Slot 2, tgtid 2, Base address 201000 */
|
||||
#define CONFIG_SYS_PCIE2_MEM_VIRT 0xa0000000
|
||||
#define CONFIG_SYS_PCIE2_MEM_PHYS 0xc20000000ull
|
||||
#define CONFIG_SYS_PCIE2_IO_VIRT 0xf8010000
|
||||
#define CONFIG_SYS_PCIE2_IO_PHYS 0xff8010000ull
|
||||
#define CFG_SYS_PCIE2_MEM_VIRT 0xa0000000
|
||||
#define CFG_SYS_PCIE2_MEM_PHYS 0xc20000000ull
|
||||
#define CFG_SYS_PCIE2_IO_VIRT 0xf8010000
|
||||
#define CFG_SYS_PCIE2_IO_PHYS 0xff8010000ull
|
||||
|
||||
/* controller 3, Slot 1, tgtid 1, Base address 202000 */
|
||||
#define CONFIG_SYS_PCIE3_MEM_VIRT 0xb0000000
|
||||
#define CONFIG_SYS_PCIE3_MEM_PHYS 0xc30000000ull
|
||||
#define CFG_SYS_PCIE3_MEM_VIRT 0xb0000000
|
||||
#define CFG_SYS_PCIE3_MEM_PHYS 0xc30000000ull
|
||||
|
||||
/* controller 4, Base address 203000 */
|
||||
#define CONFIG_SYS_PCIE4_MEM_VIRT 0xc0000000
|
||||
#define CONFIG_SYS_PCIE4_MEM_PHYS 0xc40000000ull
|
||||
#define CFG_SYS_PCIE4_MEM_VIRT 0xc0000000
|
||||
#define CFG_SYS_PCIE4_MEM_PHYS 0xc40000000ull
|
||||
|
||||
/* Qman/Bman */
|
||||
#ifndef CONFIG_NOBQFMAN
|
||||
|
||||
@@ -299,24 +299,24 @@
|
||||
* Memory space is mapped 1-1, but I/O space must start from 0.
|
||||
*/
|
||||
/* controller 1, direct to uli, tgtid 3, Base address 20000 */
|
||||
#define CONFIG_SYS_PCIE1_MEM_VIRT 0x80000000
|
||||
#define CONFIG_SYS_PCIE1_MEM_PHYS 0xc00000000ull
|
||||
#define CONFIG_SYS_PCIE1_IO_VIRT 0xf8000000
|
||||
#define CONFIG_SYS_PCIE1_IO_PHYS 0xff8000000ull
|
||||
#define CFG_SYS_PCIE1_MEM_VIRT 0x80000000
|
||||
#define CFG_SYS_PCIE1_MEM_PHYS 0xc00000000ull
|
||||
#define CFG_SYS_PCIE1_IO_VIRT 0xf8000000
|
||||
#define CFG_SYS_PCIE1_IO_PHYS 0xff8000000ull
|
||||
|
||||
/* controller 2, Slot 2, tgtid 2, Base address 201000 */
|
||||
#define CONFIG_SYS_PCIE2_MEM_VIRT 0xa0000000
|
||||
#define CONFIG_SYS_PCIE2_MEM_PHYS 0xc20000000ull
|
||||
#define CONFIG_SYS_PCIE2_IO_VIRT 0xf8010000
|
||||
#define CONFIG_SYS_PCIE2_IO_PHYS 0xff8010000ull
|
||||
#define CFG_SYS_PCIE2_MEM_VIRT 0xa0000000
|
||||
#define CFG_SYS_PCIE2_MEM_PHYS 0xc20000000ull
|
||||
#define CFG_SYS_PCIE2_IO_VIRT 0xf8010000
|
||||
#define CFG_SYS_PCIE2_IO_PHYS 0xff8010000ull
|
||||
|
||||
/* controller 3, Slot 1, tgtid 1, Base address 202000 */
|
||||
#define CONFIG_SYS_PCIE3_MEM_VIRT 0xb0000000
|
||||
#define CONFIG_SYS_PCIE3_MEM_PHYS 0xc30000000ull
|
||||
#define CFG_SYS_PCIE3_MEM_VIRT 0xb0000000
|
||||
#define CFG_SYS_PCIE3_MEM_PHYS 0xc30000000ull
|
||||
|
||||
/* controller 4, Base address 203000 */
|
||||
#define CONFIG_SYS_PCIE4_MEM_VIRT 0xc0000000
|
||||
#define CONFIG_SYS_PCIE4_MEM_PHYS 0xc40000000ull
|
||||
#define CFG_SYS_PCIE4_MEM_VIRT 0xc0000000
|
||||
#define CFG_SYS_PCIE4_MEM_PHYS 0xc40000000ull
|
||||
|
||||
/* Qman/Bman */
|
||||
#ifndef CONFIG_NOBQFMAN
|
||||
|
||||
@@ -107,24 +107,24 @@
|
||||
*/
|
||||
|
||||
/* controller 1, direct to uli, tgtid 3, Base address 20000 */
|
||||
#define CONFIG_SYS_PCIE1_MEM_VIRT 0x80000000
|
||||
#define CONFIG_SYS_PCIE1_MEM_PHYS 0xc00000000ull
|
||||
#define CONFIG_SYS_PCIE1_IO_VIRT 0xf8000000
|
||||
#define CONFIG_SYS_PCIE1_IO_PHYS 0xff8000000ull
|
||||
#define CFG_SYS_PCIE1_MEM_VIRT 0x80000000
|
||||
#define CFG_SYS_PCIE1_MEM_PHYS 0xc00000000ull
|
||||
#define CFG_SYS_PCIE1_IO_VIRT 0xf8000000
|
||||
#define CFG_SYS_PCIE1_IO_PHYS 0xff8000000ull
|
||||
|
||||
/* controller 2, Slot 2, tgtid 2, Base address 201000 */
|
||||
#define CONFIG_SYS_PCIE2_MEM_VIRT 0xa0000000
|
||||
#define CONFIG_SYS_PCIE2_MEM_PHYS 0xc20000000ull
|
||||
#define CONFIG_SYS_PCIE2_IO_VIRT 0xf8010000
|
||||
#define CONFIG_SYS_PCIE2_IO_PHYS 0xff8010000ull
|
||||
#define CFG_SYS_PCIE2_MEM_VIRT 0xa0000000
|
||||
#define CFG_SYS_PCIE2_MEM_PHYS 0xc20000000ull
|
||||
#define CFG_SYS_PCIE2_IO_VIRT 0xf8010000
|
||||
#define CFG_SYS_PCIE2_IO_PHYS 0xff8010000ull
|
||||
|
||||
/* controller 3, Slot 1, tgtid 1, Base address 202000 */
|
||||
#define CONFIG_SYS_PCIE3_MEM_VIRT 0xc0000000
|
||||
#define CONFIG_SYS_PCIE3_MEM_PHYS 0xc40000000ull
|
||||
#define CFG_SYS_PCIE3_MEM_VIRT 0xc0000000
|
||||
#define CFG_SYS_PCIE3_MEM_PHYS 0xc40000000ull
|
||||
|
||||
/* controller 4, Base address 203000 */
|
||||
#define CONFIG_SYS_PCIE4_MEM_BUS 0xe0000000
|
||||
#define CONFIG_SYS_PCIE4_MEM_PHYS 0xc60000000ull
|
||||
#define CFG_SYS_PCIE4_MEM_BUS 0xe0000000
|
||||
#define CFG_SYS_PCIE4_MEM_PHYS 0xc60000000ull
|
||||
|
||||
/*
|
||||
* Miscellaneous configurable options
|
||||
|
||||
@@ -346,10 +346,10 @@ int get_scl(void);
|
||||
* Memory space is mapped 1-1, but I/O space must start from 0.
|
||||
*/
|
||||
/* controller 1 */
|
||||
#define CONFIG_SYS_PCIE1_MEM_VIRT 0x80000000
|
||||
#define CONFIG_SYS_PCIE1_MEM_PHYS 0xc00000000ull
|
||||
#define CONFIG_SYS_PCIE1_IO_VIRT 0xf8000000
|
||||
#define CONFIG_SYS_PCIE1_IO_PHYS 0xff8000000ull
|
||||
#define CFG_SYS_PCIE1_MEM_VIRT 0x80000000
|
||||
#define CFG_SYS_PCIE1_MEM_PHYS 0xc00000000ull
|
||||
#define CFG_SYS_PCIE1_IO_VIRT 0xf8000000
|
||||
#define CFG_SYS_PCIE1_IO_PHYS 0xff8000000ull
|
||||
|
||||
#define CONFIG_SYS_BMAN_NUM_PORTALS 10
|
||||
#define CONFIG_SYS_BMAN_MEM_BASE 0xf4000000
|
||||
|
||||
@@ -343,31 +343,31 @@
|
||||
*/
|
||||
|
||||
/* controller 2, direct to uli, tgtid 2, Base address 9000 */
|
||||
#define CONFIG_SYS_PCIE2_MEM_VIRT 0xa0000000
|
||||
#define CFG_SYS_PCIE2_MEM_VIRT 0xa0000000
|
||||
#ifdef CONFIG_PHYS_64BIT
|
||||
#define CONFIG_SYS_PCIE2_MEM_PHYS 0xc20000000ull
|
||||
#define CFG_SYS_PCIE2_MEM_PHYS 0xc20000000ull
|
||||
#else
|
||||
#define CONFIG_SYS_PCIE2_MEM_PHYS 0xa0000000
|
||||
#define CFG_SYS_PCIE2_MEM_PHYS 0xa0000000
|
||||
#endif
|
||||
#define CONFIG_SYS_PCIE2_IO_VIRT 0xffc10000
|
||||
#define CFG_SYS_PCIE2_IO_VIRT 0xffc10000
|
||||
#ifdef CONFIG_PHYS_64BIT
|
||||
#define CONFIG_SYS_PCIE2_IO_PHYS 0xfffc10000ull
|
||||
#define CFG_SYS_PCIE2_IO_PHYS 0xfffc10000ull
|
||||
#else
|
||||
#define CONFIG_SYS_PCIE2_IO_PHYS 0xffc10000
|
||||
#define CFG_SYS_PCIE2_IO_PHYS 0xffc10000
|
||||
#endif
|
||||
|
||||
/* controller 1, Slot 2, tgtid 1, Base address a000 */
|
||||
#define CONFIG_SYS_PCIE1_MEM_VIRT 0x80000000
|
||||
#define CFG_SYS_PCIE1_MEM_VIRT 0x80000000
|
||||
#ifdef CONFIG_PHYS_64BIT
|
||||
#define CONFIG_SYS_PCIE1_MEM_PHYS 0xc00000000ull
|
||||
#define CFG_SYS_PCIE1_MEM_PHYS 0xc00000000ull
|
||||
#else
|
||||
#define CONFIG_SYS_PCIE1_MEM_PHYS 0x80000000
|
||||
#define CFG_SYS_PCIE1_MEM_PHYS 0x80000000
|
||||
#endif
|
||||
#define CONFIG_SYS_PCIE1_IO_VIRT 0xffc00000
|
||||
#define CFG_SYS_PCIE1_IO_VIRT 0xffc00000
|
||||
#ifdef CONFIG_PHYS_64BIT
|
||||
#define CONFIG_SYS_PCIE1_IO_PHYS 0xfffc00000ull
|
||||
#define CFG_SYS_PCIE1_IO_PHYS 0xfffc00000ull
|
||||
#else
|
||||
#define CONFIG_SYS_PCIE1_IO_PHYS 0xffc00000
|
||||
#define CFG_SYS_PCIE1_IO_PHYS 0xffc00000
|
||||
#endif
|
||||
#endif /* CONFIG_PCI */
|
||||
|
||||
|
||||
@@ -109,8 +109,8 @@
|
||||
* Memory space is mapped 1-1.
|
||||
*/
|
||||
|
||||
#define CONFIG_SYS_PCI1_MEM_PHYS 0x80000000
|
||||
#define CONFIG_SYS_PCI1_IO_PHYS 0xE2000000
|
||||
#define CFG_SYS_PCI1_MEM_PHYS 0x80000000
|
||||
#define CFG_SYS_PCI1_IO_PHYS 0xE2000000
|
||||
|
||||
#define CONFIG_TSEC1 1
|
||||
#define CONFIG_TSEC1_NAME "TSEC0"
|
||||
|
||||
Reference in New Issue
Block a user