1 # SPDX-License-Identifier: GPL-2.0-only
3 if BOARD_PCENGINES_APU2 || BOARD_PCENGINES_APU3 || BOARD_PCENGINES_APU4 || \
6 config BOARD_SPECIFIC_OPTIONS
8 select CPU_AMD_PI_00730F01
9 select NORTHBRIDGE_AMD_PI_00730F01
10 select SOUTHBRIDGE_AMD_PI_AVALON
11 select DEFAULT_POST_ON_LPC
12 select SUPERIO_NUVOTON_NCT5104D
13 select HAVE_PIRQ_TABLE
14 select HAVE_ACPI_TABLES
15 select HUDSON_FADT_LEGACY_DEVICES
16 select BOARD_ROMSIZE_KB_8192
17 select HAVE_SPD_IN_CBFS
18 select MEMORY_MAPPED_TPM
19 select SEABIOS_ADD_SERCON_PORT_FILE if PAYLOAD_SEABIOS
22 select PCIEXP_COMMON_CLOCK
23 select PCIEXP_L1_SUB_STATE
26 default "pcengines/apu2"
29 default "apu2" if BOARD_PCENGINES_APU2
30 default "apu3" if BOARD_PCENGINES_APU3
31 default "apu4" if BOARD_PCENGINES_APU4
32 default "apu5" if BOARD_PCENGINES_APU5
35 default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"
37 config MAINBOARD_PART_NUMBER
38 default "apu2" if BOARD_PCENGINES_APU2
39 default "apu3" if BOARD_PCENGINES_APU3
40 default "apu4" if BOARD_PCENGINES_APU4
41 default "apu5" if BOARD_PCENGINES_APU5
51 config ONBOARD_VGA_IS_PRIMARY
55 config AGESA_BINARY_PI_FILE
57 default "3rdparty/blobs/mainboard/pcengines/apu2/AGESA.bin"
60 prompt "J19 pins 1-10"
61 default APU2_PINMUX_UART_C
63 config APU2_PINMUX_OFF_C
66 config APU2_PINMUX_GPIO0
68 depends on BOARD_PCENGINES_APU2 || BOARD_PCENGINES_APU3 || \
71 config APU2_PINMUX_UART_C
77 prompt "J19 pins 11-20"
78 default APU2_PINMUX_UART_D
80 config APU2_PINMUX_OFF_D
83 config APU2_PINMUX_GPIO1
85 depends on BOARD_PCENGINES_APU2 || BOARD_PCENGINES_APU3 || \
88 config APU2_PINMUX_UART_D
96 config AGESA_USE_1_0_0_4_HEADER
100 Due to a bug in AGESA 1.0.0.A affecting boards without UMA, it is
101 impossible to use the newest blob. Using an older 1.0.0.4 blob
102 workarounds the problem, however some headers changes between blob
103 revisions. This option removes the changes in headers introduced
104 with AGESA 1.0.0.A to fit the 1.0.0.4 revision.
106 endif # BOARD_PCENGINES_APU2