diff options
author | Stefan Berger <stefanb@linux.ibm.com> | 2020-01-21 15:01:42 -0500 |
---|---|---|
committer | Alexey Kardashevskiy <aik@ozlabs.ru> | 2020-02-21 14:03:07 +1100 |
commit | 4f18bac8b0e3a606972e92446e06d6c841bb4960 (patch) | |
tree | 2a8182320ef9a335459bde0281940bef193e13ed | |
parent | dc6b3f5ae020c950e12a97ef4e3baca21e027e08 (diff) | |
download | SLOF-4f18bac8b0e3a606972e92446e06d6c841bb4960.zip SLOF-4f18bac8b0e3a606972e92446e06d6c841bb4960.tar.gz SLOF-4f18bac8b0e3a606972e92446e06d6c841bb4960.tar.bz2 |
qemu: Make print_version variable accessible
Make the print_version global variable accessible so that
we can measure the firmware version.
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
-rw-r--r-- | board-qemu/include/version.h | 19 |
1 files changed, 19 insertions, 0 deletions
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 |