diff options
author | Brian Horton <brianh@linux.ibm.com> | 2012-12-10 17:35:07 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-01-02 16:44:16 -0600 |
commit | d6dd563c5b0ed676757d6ab4dc916df073f44564 (patch) | |
tree | 79a72937f5c382c682940ff58a0e870faeae1d5f /src/include/usr/hwas/hwasPlatDeconfigGard.H | |
parent | 48d9ff25aa0886aaba13b3fde521aaeb87f2eea6 (diff) | |
download | talos-hostboot-d6dd563c5b0ed676757d6ab4dc916df073f44564.tar.gz talos-hostboot-d6dd563c5b0ed676757d6ab4dc916df073f44564.zip |
deconfigGard - enable reading GARD records from PNOR
update common and platform interface so that both hostboot
and FSP can access GARD records in PNOR.
Change-Id: I1eb36238076bcbb421cf1d149538eba1c7faeda6
RTC: 33551
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2628
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/hwas/hwasPlatDeconfigGard.H')
-rw-r--r-- | src/include/usr/hwas/hwasPlatDeconfigGard.H | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/src/include/usr/hwas/hwasPlatDeconfigGard.H b/src/include/usr/hwas/hwasPlatDeconfigGard.H index 3cddf8dd5..2f229c164 100644 --- a/src/include/usr/hwas/hwasPlatDeconfigGard.H +++ b/src/include/usr/hwas/hwasPlatDeconfigGard.H @@ -5,7 +5,7 @@ /* */ /* IBM CONFIDENTIAL */ /* */ -/* COPYRIGHT International Business Machines Corp. 2012 */ +/* COPYRIGHT International Business Machines Corp. 2012,2013 */ /* */ /* p1 */ /* */ @@ -30,38 +30,6 @@ #ifndef HWASPLATDECONFIGGARD_H_ #define HWASPLATDECONFIGGARD_H_ -#include <sys/mm.h> -#include <trace/interface.H> -#include <errl/errlentry.H> -#include <hwas/hwasPlatError.H> - -//****************************************************************************** -// Trace descriptors that are defined in a C file -//****************************************************************************** -namespace HWAS -{ - -#if 0 -//TODO: RTC 37739: flush PNOR -// questions -- what address and what size do it need to use? the section -// starting address and section size? or the address and size of the -// gard record that is being flushed? - -/** - * @brief function to push GARD records 'out' to PNOR - */ -inline void pushGardRecords(void *i_pAddr, uint64_t i_size) -{ - int l_rc = mm_remove_pages(FLUSH, i_pAddr, i_size); - if (l_rc ) - { // mm_remove_pages returns none zero for error - HWAS_ERR("Fail to flush the page"); - } -} -#endif - -} - /** * @brief Adapt common singleton declaration to specific platform * |