1 # SPDX-License-Identifier: GPL-2.0-or-later
3 ifeq ($(CONFIG_BOOTBLOCK_CONSOLE),y)
4 bootblock-$(CONFIG_SUPERIO_FINTEK_F81803A) += ../common/early_serial.c
7 ## Notice: For fan control at romstage, HWM must be initialized before
8 ## the API is called. Ramstage can use devicetree to initialize it.
10 romstage-$(CONFIG_SUPERIO_FINTEK_F81803A) += ../common/early_serial.c
11 romstage-$(CONFIG_SUPERIO_FINTEK_FAN_CONTROL) += fan_control.c
12 romstage-$(CONFIG_SUPERIO_FINTEK_FAN_API_CALL) += ../common/fan_api_call.c
14 ramstage-$(CONFIG_SUPERIO_FINTEK_F81803A) += superio.c
15 ramstage-$(CONFIG_SUPERIO_FINTEK_FAN_CONTROL) += fan_control.c
16 ramstage-$(CONFIG_SUPERIO_FINTEK_FAN_API_CALL) += ../common/fan_api_call.c