summaryrefslogtreecommitdiffstats
path: root/src/usr/nvram/makefile
diff options
context:
space:
mode:
authorIlya Smirnov <ismirno@us.ibm.com>2018-10-08 15:27:28 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-11-07 20:36:51 -0600
commit22134d69a2016dd1ea6d9de858f4e68f732289ae (patch)
tree3e6996dc775e869d6643e748f83d728187add2c3 /src/usr/nvram/makefile
parentbeca51100d6ba74914391b2a0baec830f427ec99 (diff)
downloadtalos-hostboot-22134d69a2016dd1ea6d9de858f4e68f732289ae.tar.gz
talos-hostboot-22134d69a2016dd1ea6d9de858f4e68f732289ae.zip
SMF: Port NVRAM Reading Logic From Skiboot
As part of SMF secure memory distribution, we need to be able to read the size of secure memory from NVRAM PNOR partition (for OpenPOWER). The functionality to read (index into) NVRAM already exists in skiboot. This commits ports the bare minimum functionality required to read NVRAM from skiboot to hb. Change-Id: I17b9014ec3df590bcd8745ae70e0f96e36580117 RTC: 192411 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67414 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/nvram/makefile')
-rw-r--r--src/usr/nvram/makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/usr/nvram/makefile b/src/usr/nvram/makefile
new file mode 100644
index 000000000..672e85529
--- /dev/null
+++ b/src/usr/nvram/makefile
@@ -0,0 +1,37 @@
+# IBM_PROLOG_BEGIN_TAG
+# This is an automatically generated prolog.
+#
+# $Source: src/usr/nvram/makefile $
+#
+# OpenPOWER HostBoot Project
+#
+# Contributors Listed Below - COPYRIGHT 2018
+# [+] 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
+ROOTPATH = ../../..
+
+MODULE = nvram
+
+EXTRAINCDIR += ${ROOTPATH}/src/include/usr
+EXTRAINCDIR += ${ROOTPATH}/src/include/usr/nvram/import
+
+OBJS += nvram_interface.o
+OBJS += nvram-format.o
+
+VPATH += import
+
+include ${ROOTPATH}/config.mk
OpenPOWER on IntegriCloud