summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2019-01-25 11:19:22 +0530
committerAtish Patra <[email protected]>2019-01-25 11:05:49 -0800
commitbd98d772983df829b78b7ba16bc2dce559c93fbc (patch)
tree9990396809c7ba44dbdeb3de8db2080617ef464b /platform
parentfba7e7c3eaef7f256063fea3cfda829ccf75eab4 (diff)
include: Add separate header for OpenSBI version
Currently, the OpenSBI version is in top-level Makefile so firmware linking to OpenSBI static library have no-way to know OpenSBI version. This patch moves OpenSBI version from top-level Makefile to sbi/sbi_version.h header which provides OPENSBI_VERSION_MAJOR and OPENSBI_VERSION_MINOR defines. NOTE: the SBI spec (or SBI ecall interface) version is different. The SBI spec version is provided by functions sbi_ecall_version_major() and sbi_ecall_version_minor(). Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'platform')
0 files changed, 0 insertions, 0 deletions