Files
system76-coreboot/src/include
Ronald G. Minnich 466ca2c1ad Add configurable ramstage support for minimal PCI scanning
This CL has changes that allow us to enable a configurable
ramstage, and one change that allows us to minimize PCI
scanning. Minimal scanning is a frequently requested feature.

To enable it, we add two new variables to src/Kconfig
CONFIGURABLE_RAMSTAGE
is the overall variable controlling other options for minimizing the
ramstage.

MINIMAL_PCI_SCANNING is how we indicate we wish to enable minimal
PCI scanning.

Some devices must be scanned in all cases, such as 0:0.0.

To indicate which devices we must scan, we add a new mandatory
keyword to sconfig

It is used in place of on, off, or hidden, and indicates
a device is enabled and mandatory. Mandatory
devices are always scanned. When MINIMAL_PCI_SCANNING is enabled,
ONLY mandatory devices are scanned.

We further add support in src/device/pci_device.c to manage
both MINIMAL_PCI_SCANNING and mandatory devices.

Finally, to show how this works in practice, we add mandatory
keywords to 3 devices on the qemu-q35.

TEST=
1. This is tested and working on the qemu-q35 target.
2. On CML-Hatch

Before CL:
Total Boot time: ~685ms

After CL:
Total Boot time: ~615ms

Change-Id: I2073d9f8e9297c2b02530821ebb634ea2a5c758e
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36221
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jeremy Soller <jeremy@system76.com>
2020-02-08 18:57:36 +00:00
..
2020-01-18 10:55:45 +00:00
2020-02-05 18:49:27 +00:00
2020-01-08 12:57:31 +00:00
2020-01-08 12:57:31 +00:00
2019-05-12 07:47:45 +00:00
2020-01-18 10:55:45 +00:00
2020-01-18 10:51:04 +00:00
2019-06-24 21:15:14 +00:00
2019-09-19 09:28:55 +00:00
2020-01-18 10:55:45 +00:00
2019-11-09 10:49:47 +00:00
2019-12-19 03:25:05 +00:00
2018-06-19 18:10:05 +00:00
2019-06-21 09:22:31 +00:00
2020-01-28 06:36:13 +00:00
2019-12-19 03:25:05 +00:00
2019-06-04 13:33:40 +00:00
2019-12-19 03:25:05 +00:00
2016-12-08 16:10:28 +01:00
2018-10-31 15:29:42 +00:00
2019-11-30 16:12:04 +00:00
2020-01-18 10:55:45 +00:00
2020-01-18 10:55:45 +00:00
2019-12-19 03:25:05 +00:00
2019-12-19 03:25:05 +00:00
2019-12-19 03:25:05 +00:00
2020-01-02 09:05:44 +00:00
2019-12-19 03:25:05 +00:00
2019-11-14 03:30:11 +00:00
2019-09-14 11:16:17 +00:00
2020-01-18 10:55:45 +00:00
2019-09-23 21:38:50 +00:00
2020-01-28 06:36:13 +00:00
2019-11-01 11:38:22 +00:00