Skip to content

Commit

Permalink
Opensbi v1.2 dev (#96)
Browse files Browse the repository at this point in the history
* Add the original opensbi-1.2

* Update opensbi version to opensbi-1.2
  • Loading branch information
Fly0307 authored Oct 8, 2023
1 parent a203408 commit 0bf5612
Show file tree
Hide file tree
Showing 389 changed files with 70,638 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,16 @@ copy-files/*
*.hex
*.swp
tags
backup/
.vscode/

-append
-bios
-device
-drive
-kernel
-netdev
-object
-smp
host.txt
Image
16 changes: 16 additions & 0 deletions opensbi-1.2/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
AlignConsecutiveAssignments: true
AlignEscapedNewlines: Left
AlignTrailingComments: true
AllowShortFunctionsOnASingleLine: None
BraceWrapping:
AfterFunction: true
BreakBeforeBraces: Custom
BreakStringLiterals: false
ContinuationIndentWidth: 8
Cpp11BracedListStyle: false
IndentWidth: 8
ReflowComments: false
SortIncludes: false
SpacesInContainerLiterals: false
TabWidth: 8
UseTab: Always
14 changes: 14 additions & 0 deletions opensbi-1.2/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Object files
*.o
*.a
*.dep

#Build & install directories
build/
build-oe/
install/

# Development friendly files
tags
cscope*
*.swp
27 changes: 27 additions & 0 deletions opensbi-1.2/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

List of OpenSBI Contributors (Alphabetically sorted)
====================================================

* **[Western Digital Corporation](https://www.wdc.com/)**
* Project initiator and maintainer
* Copyright (c) 2019 Western Digital Corporation or its affiliates

* Alistair Francis <[email protected]>

* Andreas Schwab <[email protected]>

* Anup Patel <[email protected]>

* Atish Patra <[email protected]>

* Bin Meng <[email protected]>

* Damien Le Moal <[email protected]>

* Karsten Merker <[email protected]>

* Nick Kossifidis <[email protected]>

* Shawn Chang <[email protected]>

* Xiang Wang <[email protected]>
25 changes: 25 additions & 0 deletions opensbi-1.2/COPYING.BSD
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
The 2-Clause BSD License
SPDX short identifier: BSD-2-Clause

Copyright (c) 2019 Western Digital Corporation or its affiliates and other
contributors.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 changes: 25 additions & 0 deletions opensbi-1.2/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# SPDX-License-Identifier: BSD-2-Clause

mainmenu "OpenSBI $(OPENSBI_PLATFORM) Configuration"

config OPENSBI_SRC_DIR
string
option env="OPENSBI_SRC_DIR"

config OPENSBI_PLATFORM
string
option env="OPENSBI_PLATFORM"

config OPENSBI_PLATFORM_SRC_DIR
string
option env="OPENSBI_PLATFORM_SRC_DIR"

menu "Platform Options"
source "$(OPENSBI_PLATFORM_SRC_DIR)/Kconfig"
endmenu

source "$(OPENSBI_SRC_DIR)/lib/sbi/Kconfig"

source "$(OPENSBI_SRC_DIR)/lib/utils/Kconfig"

source "$(OPENSBI_SRC_DIR)/firmware/Kconfig"
Loading

0 comments on commit 0bf5612

Please sign in to comment.