From a6b70d6c06d2b261bbb0a00522088fd5c0d8f395 Mon Sep 17 00:00:00 2001 From: Glenn Miles Date: Tue, 16 Apr 2019 10:52:25 -0500 Subject: Add new 'expupd' module Chages required to add the 'expupd' module which will contain hostboot support and tests for updating the explorer chip firmware. RTC: 193924 Change-Id: Iceddc675e8078aeafe62893df8febb531f4a0cf0 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/76623 Reviewed-by: Ilya Smirnov Reviewed-by: Christian R. Geddes Reviewed-by: Matt Derksen Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Daniel M. Crowell --- src/include/usr/expupd/expupd_reasoncodes.H | 47 +++++++++++++++++++++++++++++ src/include/usr/hbotcompid.H | 12 ++++++++ 2 files changed, 59 insertions(+) create mode 100644 src/include/usr/expupd/expupd_reasoncodes.H (limited to 'src/include/usr') diff --git a/src/include/usr/expupd/expupd_reasoncodes.H b/src/include/usr/expupd/expupd_reasoncodes.H new file mode 100644 index 000000000..ed3cd2717 --- /dev/null +++ b/src/include/usr/expupd/expupd_reasoncodes.H @@ -0,0 +1,47 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/include/usr/expupd/expupd_reasoncodes.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2019 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ + +#ifndef __EXPUPD_REASONCODES_H +#define __EXPUPD_REASONCODES_H + +#include + +namespace EXPUPD +{ + + enum ExpUpdModuleId + { + MOD_UPDATE_ALL_EXP_FLASH_IMAGES = 0x01, + }; + + enum ExpUpdReasonCode + { + EXPUPD_INVALID_EYECATCHER = UCD_COMP_ID | 0x01, + EXPUPD_INVALID_MAJOR_VER = UCD_COMP_ID | 0x02, + }; + +}; // namespace EXPUPD + +#endif diff --git a/src/include/usr/hbotcompid.H b/src/include/usr/hbotcompid.H index e3a3ec5d7..4afcaa80e 100644 --- a/src/include/usr/hbotcompid.H +++ b/src/include/usr/hbotcompid.H @@ -484,6 +484,18 @@ const compId_t UCD_COMP_ID = 0x4100; const char UCD_COMP_NAME[] = "ucd"; //@} + +// +/** @name EXPUPD + * Explorer update component + */ +//@{ +const compId_t EXPUPD_COMP_ID = 0x4200; +const char EXPUPD_COMP_NAME[] = "expupd"; + +//@} + +// // /** @name HDAT * HDAT component -- cgit v1.2.1