[EHL] Check the existance PSE FW
To check the existance of PSE FW in Binaries folder to prevent the infinite FSP reboot issue. Signed-off-by: Ong Kok Tong <kok.tong.ong@intel.com>
This commit is contained in:
parent
519ec079be
commit
9807395a57
|
@ -74,7 +74,12 @@ class Board(BaseBoard):
|
||||||
self.POSC_SIZE = 0x00028000
|
self.POSC_SIZE = 0x00028000
|
||||||
self.SIIPFW_SIZE += self.POSC_SIZE
|
self.SIIPFW_SIZE += self.POSC_SIZE
|
||||||
|
|
||||||
self.ENABLE_PSEFW_LOADING = 1
|
bins = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'Binaries')
|
||||||
|
if os.path.exists(os.path.join(bins, 'PseFw.bin')):
|
||||||
|
self.ENABLE_PSEFW_LOADING = 1
|
||||||
|
else:
|
||||||
|
self.ENABLE_PSEFW_LOADING = 0
|
||||||
|
|
||||||
if self.ENABLE_PSEFW_LOADING:
|
if self.ENABLE_PSEFW_LOADING:
|
||||||
self.PSEF_SIZE = 0x00020000
|
self.PSEF_SIZE = 0x00020000
|
||||||
self.SIIPFW_SIZE += self.PSEF_SIZE
|
self.SIIPFW_SIZE += self.PSEF_SIZE
|
||||||
|
|
Loading…
Reference in New Issue