]> git.proxmox.com Git - mirror_edk2.git/commit
IntelFsp2Pkg: Skip loading Microcode if MicrocodeCodeSize is zero
authorYarlagadda, Satya P <satya.p.yarlagadda@intel.com>
Tue, 26 Jul 2016 01:14:17 +0000 (09:14 +0800)
committerJiewen Yao <jiewen.yao@intel.com>
Wed, 27 Jul 2016 01:08:43 +0000 (09:08 +0800)
commit4c53eb72d539f5ca61f949235014f7e43f0e6354
tree818f02a03e60c1189843f0c965c28267be928ef8
parentae5cc3c30301aebb59e817c09762dc6ec8009621
IntelFsp2Pkg: Skip loading Microcode if MicrocodeCodeSize is zero

During asm to Nasm conversion, we missed the code to skip loading the
microcode and return success if the size is zero. Added additional check to
report error if the microcode size is not zero but less than 2 kB.

Cc: Giri P Mudusuru <giri.p.mudusuru@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Satya Yarlagadda <satya.p.yarlagadda@intel.com>
Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryT.nasm