summaryrefslogtreecommitdiffstats
path: root/src/usr/sbe/HBconfig
diff options
context:
space:
mode:
authorMike Baiocchi <baiocchi@us.ibm.com>2014-05-30 13:10:47 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-06-30 19:33:18 -0500
commit61a956f980a4be2f19d33067236018e7efd074e7 (patch)
tree40041d694d9b1037ff9eb861bfab589265da1752 /src/usr/sbe/HBconfig
parent3b65dfb45938d0e864749fe97f044c275f56f3db (diff)
downloadtalos-hostboot-61a956f980a4be2f19d33067236018e7efd074e7.tar.gz
talos-hostboot-61a956f980a4be2f19d33067236018e7efd074e7.zip
Merge SBE commits from Stradale
This commit adds hooks into the SBE Update code to handle different modes of operation. It uses the new configuration file setup. Change-Id: I7977664cd54e0f900aece898f6b189d60f856417 RTC: 97484 Origin: Google Shared Technology Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11349 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/sbe/HBconfig')
-rw-r--r--src/usr/sbe/HBconfig23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/usr/sbe/HBconfig b/src/usr/sbe/HBconfig
new file mode 100644
index 000000000..54c968e84
--- /dev/null
+++ b/src/usr/sbe/HBconfig
@@ -0,0 +1,23 @@
+config SBE_UPDATE_SEQUENTIAL
+ default y if !SBE_UPDATE_SIMULTANEOUS && !SBE_UPDATE_GOLDEN
+ depends on !SBE_UPDATE_SIMULTANEOUS && !SBE_UPDATE_GOLDEN
+ help
+ If an update is necessary, only 1 SBE SEEPROM will be updated on each
+ IPL per processor. If a 2nd SBE SEEPROM needs to be updated, a re-IPL
+ will be requested.
+
+config SBE_UPDATE_SIMULTANEOUS
+ default n
+ depends on !SBE_UPDATE_SEQUENTIAL && !SBE_UPDATE_GOLDEN
+ help
+ If an update is necessary, both SBE SEEPROMs on a target will be updated
+ at the same time before a re-IPL request is issued.
+
+config SBE_UPDATE_GOLDEN
+ default n
+ depends on !SBE_UPDATE_SEQUENTIAL && !SBE_UPDATE_SIMULTANEOUS
+ help
+ If an update is necessary, only 1 SBE SEEPROM will be updated and
+ then a re-IPL request will be issued. The other SBE SEEPROM will not
+ be touched and treated as the 'Golden' SEEPROM.
+
OpenPOWER on IntegriCloud