summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown2015-04-13 15:49:02 +0200
committerMichael Brown2015-04-13 15:49:02 +0200
commitae01462b7907ae38898dbacded9bd38414580109 (patch)
tree73f4c5467bee5812f6177d26b7b347586f19a3dd /src/config
parent[xhci] Always reset root hub ports (diff)
downloadipxe-ae01462b7907ae38898dbacded9bd38414580109.tar.gz
ipxe-ae01462b7907ae38898dbacded9bd38414580109.tar.xz
ipxe-ae01462b7907ae38898dbacded9bd38414580109.zip
[romprefix] Allow autoboot device filter to be disabled
Our current behaviour when booting as a ROM is to autoboot only from devices which are attached via the PCI bus:dev.fn address passed to the ROM's initialisation vector. Add a build configuration option AUTOBOOT_ROM_FILTER (enabled by default) to control this behaviour. This allows for ROMs to be built which will attempt to boot from any detected device, even if not attached via the original PCI bus:dev.fn address. (This is particularly useful when building combined EHCI/xHCI ROMs for USB network boot, since the BIOS may request a boot via the EHCI controller but the xHCI driver will reroute the root hub ports to the xHCI controller.) Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/general.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/general.h b/src/config/general.h
index 65c1f855..7676f158 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -140,6 +140,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
*
*/
#undef NONPNP_HOOK_INT19 /* Hook INT19 on non-PnP BIOSes */
+#define AUTOBOOT_ROM_FILTER /* Autoboot only devices matching our ROM */
/*
* Error message tables to include