forked from Mirrors/opensbi
platform: fu540: Provide a compile time option selective hart booting.
Currently, only hart 1 is enabled for fu540 platform to support U-boot. Introduce a compile time FU540_ENABLED_HART_MASK option so that specific harts can be selected for booting. As fu540 is a multicore, we should boot all cores by default except hart 0. Signed-off-by: Atish Patra <atish.patra@wdc.com>
This commit is contained in:
@@ -8,3 +8,6 @@
|
||||
#
|
||||
|
||||
platform-objs-y += platform.o
|
||||
ifdef FU540_ENABLED_HART_MASK
|
||||
platform-genflags-y += -DFU540_ENABLED_HART_MASK=$(FU540_ENABLED_HART_MASK)
|
||||
endif
|
||||
|
Reference in New Issue
Block a user