diff mbox series

[v5,3/7] qemu: Make print_version variable accessible

Message ID 20200111012155.3350198-4-stefanb@linux.ibm.com
State Superseded
Headers show
Series Add vTPM 2.0 support to SLOF | expand

Commit Message

Stefan Berger Jan. 11, 2020, 1:21 a.m. UTC
Make the print_version global variable accessible so that
we can measure the firmware version.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
---
 board-qemu/include/version.h | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 board-qemu/include/version.h
diff mbox series

Patch

diff --git a/board-qemu/include/version.h b/board-qemu/include/version.h
new file mode 100644
index 0000000..036d2b5
--- /dev/null
+++ b/board-qemu/include/version.h
@@ -0,0 +1,19 @@ 
+/******************************************************************************
+ * Copyright (c) 2020 IBM Corporation
+ * All rights reserved.
+ * This program and the accompanying materials
+ * are made available under the terms of the BSD License
+ * which accompanies this distribution, and is available at
+ * http://www.opensource.org/licenses/bsd-license.php
+ *
+ * Contributors:
+ *     IBM Corporation - initial implementation
+ *****************************************************************************/
+
+#ifndef _SLOF_VERSION_H
+#define _SLOF_VERSION_F
+
+/* slof/version.S */
+extern long print_version;
+
+#endif