diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2018-01-17 19:39:52 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-03-08 18:19:28 +0000 |
commit | 5d6ab45dbb641187f82b4e3ed7487488ccd4971c (patch) | |
tree | 62abc9894a95b6c2805a320b46efaf14b6964a5e /src/lib/ramtest.c | |
parent | 5dd4a2a4b081caa1c7b2e871067a0ac1b9bff7ed (diff) |
soc/intel/braswell: add resource allocation for LPE BAR1
coreboot's PCI resource allocator doesn't assign BAR1 for
Braswell's LPE device because it doesn't exist, but is
required by Windows drivers for the device to function.
Manually add the required resource via the existing
lpe_read_resources function, and marked it as IORESOURCE_STORED
so pci_dev_set_resources ignores it.
TEST: boot Windows 10 on google/edgar, observe that memory resources
are properly assigned to LPE driver for BAR1 and no error reported.
Change-Id: Iaa68319da5fb999fe8d73792eaee692cce60c8a2
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/21103
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/lib/ramtest.c')
0 files changed, 0 insertions, 0 deletions