diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-02-05 13:53:58 -0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-02-11 10:37:49 +0100 |
commit | 83a97610bd504d8810968eebc29a6a7e6fa6aaca (patch) | |
tree | 6cbef77ff96a19549052f356e267a5c4a252420d /arch | |
parent | ee2aaa8bf348cbe4dd4ffbe2c223ee9acf497eaf (diff) | |
download | barebox-83a97610bd504d8810968eebc29a6a7e6fa6aaca.tar.gz barebox-83a97610bd504d8810968eebc29a6a7e6fa6aaca.tar.xz |
ARM: aarch64: Add PCI fixups section to linker script
Add PCI fixups section to linker script, so it would be possible to
enable PCI support.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/lib64/barebox.lds.S | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/lib64/barebox.lds.S b/arch/arm/lib64/barebox.lds.S index 08adc44e86..b3e6843a15 100644 --- a/arch/arm/lib64/barebox.lds.S +++ b/arch/arm/lib64/barebox.lds.S @@ -86,6 +86,18 @@ SECTIONS __usymtab : { BAREBOX_SYMS } __usymtab_end = .; +#ifdef CONFIG_PCI + __start_pci_fixups_early = .; + .pci_fixup_early : { KEEP(*(.pci_fixup_early)) } + __end_pci_fixups_early = .; + __start_pci_fixups_header = .; + .pci_fixup_header : { KEEP(*(.pci_fixup_header)) } + __end_pci_fixups_header = .; + __start_pci_fixups_enable = .; + .pci_fixup_enable : { KEEP(*(.pci_fixup_enable)) } + __end_pci_fixups_enable = .; +#endif + .oftables : { BAREBOX_CLK_TABLE() } .dtb : { BAREBOX_DTB() } |