x86: Introduce pci_map_biosrom()
authorDan Williams <dan.j.williams@intel.com>
Tue, 8 Mar 2011 18:36:19 +0000 (10:36 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 15 Mar 2011 22:34:15 +0000 (15:34 -0700)
commit5d94e81f69d4b1d1102d3ab557ce0a817c11fbbb
tree9cd387df3bd7660708b153a745c9b45a7bc16139
parent45bb1674b976ef81429c1e42de05844b49d45dea
x86: Introduce pci_map_biosrom()

The isci driver needs to retrieve its preboot OROM image which contains
necessary runtime parameters like platform specific sas addresses and
phy configuration.  There is no ROM BAR associated with this area,
instead we will need to scan legacy expansion ROM space.

1/ Promote the probe_roms_32 implementation to x86-64
2/ Add a facility to find and map an adapter rom by pci device (according to
   PCI Firmware Specification Revision 3.0)

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
LKML-Reference: <20110308183226.6246.90354.stgit@localhost6.localdomain6>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/probe_roms.h [new file with mode: 0644]
arch/x86/include/asm/setup.h
arch/x86/kernel/Makefile
arch/x86/kernel/head32.c
arch/x86/kernel/probe_roms.c [new file with mode: 0644]
arch/x86/kernel/probe_roms_32.c [deleted file]
arch/x86/kernel/x86_init.c