Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update StarFive U-Boot to work with upstream OpenSBI generic platform #17

Merged
merged 2 commits into from
Jun 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion arch/riscv/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ config DMA_ADDR_T_64BIT
default y if 64BIT

config SIFIVE_CLINT
bool "Enable the SiFive CLINT block driver"
bool
depends on RISCV_MMODE || SPL_RISCV_MMODE
help
The SiFive CLINT block holds memory-mapped control and status registers
associated with software and timer interrupts.
Expand Down
1 change: 0 additions & 1 deletion board/starfive/vic7100/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,5 @@ config BOARD_SPECIFIC_OPTIONS # dummy
imply SYSRESET
imply SYSRESET_GPIO
imply CMD_DHCP
imply SIFIVE_CLINT

endif
3 changes: 1 addition & 2 deletions configs/starfive_vic7100_beagle_v_smode_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ CONFIG_CMODEL_MEDLOW=y
CONFIG_RISCV_SMODE=y
CONFIG_RISCV_ISA_C=y
CONFIG_RISCV_ISA_A=y
CONFIG_SIFIVE_CLINT=y
CONFIG_SBI=y
# CONFIG_SBI_V01 is not set
CONFIG_SBI_V02=y
Expand Down Expand Up @@ -1121,7 +1120,7 @@ CONFIG_TIMER=y
# CONFIG_RENESAS_OSTM_TIMER is not set
# CONFIG_NOMADIK_MTU_TIMER is not set
# CONFIG_OMAP_TIMER is not set
# CONFIG_RISCV_TIMER is not set
CONFIG_RISCV_TIMER=y
# CONFIG_ROCKCHIP_TIMER is not set
# CONFIG_STI_TIMER is not set
# CONFIG_STM32_TIMER is not set
Expand Down