]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/PciBus: Don't create entry when recording ImageHandle
authorRuiyu Ni <ruiyu.ni@intel.com>
Fri, 27 Oct 2017 03:37:18 +0000 (11:37 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Tue, 31 Oct 2017 03:11:04 +0000 (11:11 +0800)
commit84ed8edff13384d44372202fc93994233d9d3a98
tree9e258c36abd9461be2cb8d82a83e7ce0fcc54486
parent221c8fd512eda0f6b9c9d5409cc3a9df05ba8c92
MdeModulePkg/PciBus: Don't create entry when recording ImageHandle

The patch shouldn't impact functionality.

Original code records the ImageHandle of Option ROM by creating a
new entry. It's not necessary.
The patch updates the ImageHandle in the old entry.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
MdeModulePkg/Bus/Pci/PciBusDxe/PciRomTable.c