1 /* SPDX-License-Identifier: GPL-2.0-only */
6 void arch_fill_fadt(acpi_fadt_t
*fadt
)
8 if (CONFIG(HAVE_CF9_RESET
)) {
9 fadt
->reset_reg
.space_id
= ACPI_ADDRESS_SPACE_IO
;
10 fadt
->reset_reg
.bit_width
= 8;
11 fadt
->reset_reg
.bit_offset
= 0;
12 fadt
->reset_reg
.access_size
= ACPI_ACCESS_SIZE_BYTE_ACCESS
;
13 fadt
->reset_reg
.addrl
= RST_CNT
;
14 fadt
->reset_reg
.addrh
= 0;
16 fadt
->reset_value
= RST_CPU
| SYS_RST
;
18 fadt
->flags
|= ACPI_FADT_RESET_REGISTER
;