coreboot/src/superio
Keith Hui 573c37a518 sio/nuvoton/common: Refactor nuvoton_pnp_*_config_state()
Move the pair of non-ramstage Nuvoton SIO PNP config mode entry/exit
functions from early_serial.c into nuvoton.h as inline functions for
both pre-RAM and SMM code use. Availability is limited to
__SIMPLE_DEVICE__ environments, or if this symbol is defined such as
when mainboards specifically request it.

Cuts outdated comment from early_serial.c and transplant its key parts
to nuvoton.h.

Remove the temporarily refactored local copies from
mb/asrock/{z87_extreme4,fatal1ty_z87_professional}.

Build tested on these two Asrock boards and asus/p8x7x-series.

Change-Id: I0238f006dd86742f937e9dcd6134ed7be566677c
Signed-off-by: Keith Hui <buurin@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90657
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
2026-01-03 03:40:12 +00:00
..
acpi superio/acpi: Add SUPERIO_PNP_NO_DIS to support always active LDNs 2024-03-01 15:37:48 +00:00
aspeed include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
common tree: Use <stdio.h> for snprintf 2024-05-29 10:33:54 +00:00
fintek superio/fintek: Add support for f81966d 2025-04-14 13:52:01 +00:00
ite superio/ite/it8772f: Program power state after failure 2025-04-23 14:16:09 +00:00
nsc include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
nuvoton sio/nuvoton/common: Refactor nuvoton_pnp_*_config_state() 2026-01-03 03:40:12 +00:00
renesas superio: Remove blank lines before and after code blocks 2024-03-30 07:47:54 +00:00
smsc superio: Remove blank lines before and after code blocks 2024-03-30 07:47:54 +00:00
winbond superio: Remove blank lines before and after code blocks 2024-03-30 07:47:54 +00:00