[coreboot-gerrit] Change in libhwbase[master]: direct pci: Always initialize Address_State
Nico Huber (Code Review)
gerrit at coreboot.org
Fri Aug 25 20:57:38 CEST 2017
Nico Huber has uploaded this change for review. ( https://review.coreboot.org/21205
Change subject: direct pci: Always initialize Address_State
......................................................................
direct pci: Always initialize Address_State
Let Initialize() always initialize the Address_State. This is not only
the expected behaviour but also necessary to share the contract with
other implementations.
Change-Id: I0454dfd6c36f7d4298edeec5b84d929e3160eb7b
Signed-off-by: Nico Huber <nico.h at gmx.de>
---
M common/direct/hw-pci-dev.adb
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/libhwbase refs/changes/05/21205/1
diff --git a/common/direct/hw-pci-dev.adb b/common/direct/hw-pci-dev.adb
index 9bd7d1d..3d76521 100644
--- a/common/direct/hw-pci-dev.adb
+++ b/common/direct/hw-pci-dev.adb
@@ -108,6 +108,8 @@
begin
if MMConf_Base /= 0 then
MM.Set_Base_Address (MMConf_Base);
+ else
+ MM.Set_Base_Address (Config.Default_MMConf_Base);
end if;
Success := MMConf_Base /= 0 or Config.Default_MMConf_Base_Set;
end Initialize;
--
To view, visit https://review.coreboot.org/21205
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: libhwbase
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0454dfd6c36f7d4298edeec5b84d929e3160eb7b
Gerrit-Change-Number: 21205
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h at gmx.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170825/99162928/attachment.html>
More information about the coreboot-gerrit
mailing list