superio/nuvoton: Inline `nuvoton_hwm_select_bank`
commit12beaea5e21e0e4db2608840cc78b8bee04320c8
authorAngel Pons <th3fanbus@gmail.com>
Wed, 9 Sep 2020 23:56:03 +0000 (10 01:56 +0200)
committerFelix Held <felix-coreboot@felixheld.de>
Fri, 18 Sep 2020 12:37:36 +0000 (18 12:37 +0000)
tree3c8a7c8c8679f52bbe82ced4ea07adb6dc76eacb
parent64a6b6cb1f0476087ec538c6d55791506d5e9576
superio/nuvoton: Inline `nuvoton_hwm_select_bank`

There's no need to place a single-line function in its own compilation
unit, and then guard it behind a Kconfig symbol. This also allows using
this function in stages other than ramstage.

Change-Id: I103a4ea4cef24844d382854c9358bbb37d229e04
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42130
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/mainboard/ibase/mb899/Kconfig
src/mainboard/kontron/986lcd-m/Kconfig
src/superio/nuvoton/Makefile.inc
src/superio/nuvoton/common/hwm.h [moved from src/superio/nuvoton/common/hwm.c with 56% similarity]