summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-12-26 13:29:09 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-12-28 19:57:16 +0100
commit1bdd3217a245d3b93a41562814ee593664f0ad03 (patch)
tree3315f4cf9a1b5a577d1f53a0713ef66a4012d702 /src/include
parent134f504cb79dd132d765dc8e4c074312199326cc (diff)
RELOCATABLE_RAMSTAGE: Fix weak symbols with option ROMs
After relocation the weak symbol map_oprom_vendev is no longer NULL. Always have empty stub function defined. Change-Id: I5b1bdeb3f37bb04363cf3d9dedaeafc9e193aaae Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/7956 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/device/pci_rom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/device/pci_rom.h b/src/include/device/pci_rom.h
index fe77276491..a929206318 100644
--- a/src/include/device/pci_rom.h
+++ b/src/include/device/pci_rom.h
@@ -35,6 +35,6 @@ struct pci_data {
struct rom_header *pci_rom_probe(struct device *dev);
struct rom_header *pci_rom_load(struct device *dev, struct rom_header *rom_header);
-u32 __attribute__((weak)) map_oprom_vendev(u32 vendev);
+u32 map_oprom_vendev(u32 vendev);
#endif