diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2018-07-10 16:25:32 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-10-31 17:33:34 +1100 |
commit | c7e090237b9613dd56397f147ad2f68adb17f448 (patch) | |
tree | 32bc4dee0bace66d1755ee54e999ddc39ca1ecd9 /platforms | |
parent | 5e66c88ece463790439c99ed99c6e826447d4c15 (diff) | |
download | skiboot-c7e090237b9613dd56397f147ad2f68adb17f448.zip skiboot-c7e090237b9613dd56397f147ad2f68adb17f448.tar.gz skiboot-c7e090237b9613dd56397f147ad2f68adb17f448.tar.bz2 |
Recognise signed VERSION partition
[ Upstream commit 3cd749c99791d43ee929b9401fb14fc6739ce360 ]
A few things need to change to support a signed VERSION partition:
- A signed VERSION partition will be 4K + SECURE_BOOT_HEADERS_SIZE (4K).
- The VERSION partition needs to be loaded after secure/trusted boot is
set up, and therefore after nvram_init().
- Added to the trustedboot resources array.
This also moves the ipmi_dt_add_bmc_info() call to after
flash_dt_add_fw_version() since it adds info to ibm,firmware-versions.
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/astbmc/common.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/platforms/astbmc/common.c b/platforms/astbmc/common.c index e669956..4523181 100644 --- a/platforms/astbmc/common.c +++ b/platforms/astbmc/common.c @@ -138,9 +138,6 @@ void astbmc_init(void) astbmc_fru_init(); ipmi_sensor_init(); - /* Preload PNOR VERSION section */ - flash_fw_version_preload(); - /* Request BMC information */ ipmi_get_bmc_info_request(); @@ -154,12 +151,6 @@ void astbmc_init(void) /* Setup UART console for use by Linux via OPAL API */ set_opal_console(&uart_opal_con); - - /* Add ibm,firmware-versions node */ - flash_dt_add_fw_version(); - - /* Add BMC firmware info to device tree */ - ipmi_dt_add_bmc_info(); } int64_t astbmc_ipmi_power_down(uint64_t request) |