xref: /aosp_15_r20/external/coreboot/src/superio/fintek/f81803a/Makefile.mk (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1# SPDX-License-Identifier: GPL-2.0-or-later
2
3ifeq ($(CONFIG_BOOTBLOCK_CONSOLE),y)
4bootblock-$(CONFIG_SUPERIO_FINTEK_F81803A) += ../common/early_serial.c
5endif
6
7## Notice: For fan control at romstage, HWM must be initialized before
8## the API is called. Ramstage can use devicetree to initialize it.
9
10romstage-$(CONFIG_SUPERIO_FINTEK_F81803A) += ../common/early_serial.c
11romstage-$(CONFIG_SUPERIO_FINTEK_FAN_CONTROL) += fan_control.c
12romstage-$(CONFIG_SUPERIO_FINTEK_FAN_API_CALL) += ../common/fan_api_call.c
13
14ramstage-$(CONFIG_SUPERIO_FINTEK_F81803A) += superio.c
15ramstage-$(CONFIG_SUPERIO_FINTEK_FAN_CONTROL) += fan_control.c
16ramstage-$(CONFIG_SUPERIO_FINTEK_FAN_API_CALL) += ../common/fan_api_call.c
17