mpfs: Add configuration flags to configure NuttX booting on single hart

The bootloader hart also configures the needed clocks and peripherals.

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
Jukka Laitinen 2021-05-12 09:02:24 +03:00 committed by Xiang Xiao
parent d909b0f635
commit e5843db282
1 changed files with 13 additions and 0 deletions

View File

@ -13,6 +13,19 @@ config MPFS_ENABLE_DPFPU
---help---
Enable the RISC-V Double-Precision Floating Point Unit (DP-FPU).
config MPFS_BOOTLOADER
bool "Initialize HW"
default n
---help---
This NuttX image is used as a bootloader, which will boot only on one hart, putting the others in WFI
config MPFS_BOOT_HART
int "HART used for booting"
depends on MPFS_BOOTLOADER
default 0
---help---
The HART number which does the HW initialiization and wakes up the other harts (Default 0, E51 core)
menu "MPFS Peripheral Support"
# These "hidden" settings determine whether a peripheral option is available