Simon Glass | 68e35a7 | 2019-12-06 21:41:37 -0700 | [diff] [blame] | 1 | x86 PCI DT details: |
| 2 | =================== |
| 3 | |
| 4 | Some options are available to affect how PCI operates on x86. |
| 5 | |
| 6 | Optional properties: |
| 7 | - u-boot,skip-auto-config-until-reloc : Don't set up PCI configuration until |
| 8 | after U-Boot has relocated. Normally if PCI is used before relocation, |
| 9 | this happens before relocation also. Some platforms set up static |
| 10 | configuration in TPL/SPL to reduce code size and boot time, since these |
| 11 | phases only know about a small subset of PCI devices. |
| 12 | |
| 13 | Example: |
| 14 | |
| 15 | pci { |
| 16 | compatible = "pci-x86"; |
| 17 | #address-cells = <3>; |
| 18 | #size-cells = <2>; |
| 19 | u-boot,dm-pre-reloc; |
| 20 | ranges = <0x02000000 0x0 0xc0000000 0xc0000000 0 0x10000000 |
| 21 | 0x42000000 0x0 0xb0000000 0xb0000000 0 0x10000000 |
| 22 | 0x01000000 0x0 0x1000 0x1000 0 0xefff>; |
| 23 | u-boot,skip-auto-config-until-reloc; |
| 24 | }; |