forked from Mirrors/opensbi

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>
14 lines
308 B
Makefile
14 lines
308 B
Makefile
#
|
|
# SPDX-License-Identifier: BSD-2-Clause
|
|
#
|
|
# Copyright (c) 2019 Western Digital Corporation or its affiliates.
|
|
#
|
|
# Authors:
|
|
# Atish Patra <atish.patra@wdc.com>
|
|
#
|
|
|
|
platform-objs-y += platform.o
|
|
ifdef FU540_ENABLED_HART_MASK
|
|
platform-genflags-y += -DFU540_ENABLED_HART_MASK=$(FU540_ENABLED_HART_MASK)
|
|
endif
|