diff options
author | Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> | 2023-10-10 14:33:42 +0000 |
---|---|---|
committer | Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> | 2023-10-10 14:33:42 +0000 |
commit | af1a266670d040d2f4083ff309d732d648afba2a (patch) | |
tree | 2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/opensbi/include/sbi/sbi_version.h | |
parent | e02cda008591317b1625707ff8e115a4841aa889 (diff) |
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'roms/opensbi/include/sbi/sbi_version.h')
-rw-r--r-- | roms/opensbi/include/sbi/sbi_version.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/roms/opensbi/include/sbi/sbi_version.h b/roms/opensbi/include/sbi/sbi_version.h new file mode 100644 index 000000000..3f734fe9d --- /dev/null +++ b/roms/opensbi/include/sbi/sbi_version.h @@ -0,0 +1,24 @@ +/* + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2019 Western Digital Corporation or its affiliates. + * + * Authors: + * Anup Patel <anup.patel@wdc.com> + */ + +#ifndef __SBI_VERSION_H__ +#define __SBI_VERSION_H__ + +#define OPENSBI_VERSION_MAJOR 0 +#define OPENSBI_VERSION_MINOR 9 + +/** + * OpenSBI 32-bit version with: + * 1. upper 16-bits as major number + * 2. lower 16-bits as minor number + */ +#define OPENSBI_VERSION ((OPENSBI_VERSION_MAJOR << 16) | \ + (OPENSBI_VERSION_MINOR)) + +#endif |