summaryrefslogtreecommitdiffstats
path: root/src/sbefw/core/sbeSecureMemRegionManager.H
diff options
context:
space:
mode:
authorSachin Gupta <sgupta2m@in.ibm.com>2018-01-23 21:31:10 -0600
committerSachin Gupta <sgupta2m@in.ibm.com>2018-01-24 06:08:06 -0500
commitd737f8e95da3aabb73cc60085cdbad9c05600f48 (patch)
tree6d2b7cfc55eca3815fe51284f7cd91d1ada11f58 /src/sbefw/core/sbeSecureMemRegionManager.H
parent9b03db45c424d6edc5698fa74830dc1d432fdfe8 (diff)
downloadtalos-sbe-d737f8e95da3aabb73cc60085cdbad9c05600f48.tar.gz
talos-sbe-d737f8e95da3aabb73cc60085cdbad9c05600f48.zip
Allow read on complete OCC SRAM buffer
Change-Id: Ife2f4a321753f6367e2cfa0ee9fd3804a4d8d52a CQ: FW672705 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52499 Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/sbefw/core/sbeSecureMemRegionManager.H')
-rw-r--r--src/sbefw/core/sbeSecureMemRegionManager.H11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/sbefw/core/sbeSecureMemRegionManager.H b/src/sbefw/core/sbeSecureMemRegionManager.H
index 1d5fc4bd..c049fc2c 100644
--- a/src/sbefw/core/sbeSecureMemRegionManager.H
+++ b/src/sbefw/core/sbeSecureMemRegionManager.H
@@ -5,7 +5,8 @@
/* */
/* OpenPOWER sbe Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2017 */
+/* Contributors Listed Below - COPYRIGHT 2017,2018 */
+/* [+] International Business Machines Corp. */
/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
@@ -41,12 +42,9 @@ typedef struct
uint32_t mode;
} secureMemRegion_t;
-// OCC SRAM Command buffer
+// OCC SRAM Command buffer ( R/W access )
constexpr uint64_t OCC_CMD_ADDR = 0xFFFBE000ull;
constexpr uint32_t OCC_CMD_SIZE = 0xFFFBEFFF - 0xFFFBE000;
-// OCC SRAM Response buffer
-constexpr uint64_t OCC_RESP_ADDR = 0xFFFBF000ull;
-constexpr uint32_t OCC_RESP_SIZE = 0xFFFBFFFF- 0xFFFBF000;
class SBESecureMemRegionManager
{
@@ -130,9 +128,6 @@ class SBEOccSramSecMemRegionManager : public SBESecureMemRegionManager
OCC_CMD_SIZE,
static_cast<uint8_t>( memRegionMode::WRITE) |
static_cast<uint8_t>(memRegionMode::READ));
- add(OCC_RESP_ADDR,
- OCC_RESP_SIZE,
- static_cast<uint8_t>(memRegionMode::READ));
}
// Disable copy constructors
OpenPOWER on IntegriCloud