diff options
Diffstat (limited to 'src/mainboard/pcengines/apu2/Kconfig')
-rw-r--r-- | src/mainboard/pcengines/apu2/Kconfig | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/src/mainboard/pcengines/apu2/Kconfig b/src/mainboard/pcengines/apu2/Kconfig index cbcbb7cd63..432963ed0e 100644 --- a/src/mainboard/pcengines/apu2/Kconfig +++ b/src/mainboard/pcengines/apu2/Kconfig @@ -14,7 +14,7 @@ # GNU General Public License for more details. # -if BOARD_PCENGINES_APU2 +if BOARD_PCENGINES_APU2 || BOARD_PCENGINES_APU3 || BOARD_PCENGINES_APU5 config BOARD_SPECIFIC_OPTIONS # dummy def_bool y @@ -37,9 +37,21 @@ config MAINBOARD_DIR string default pcengines/apu2 +config VARIANT_DIR + string + default "apu2" if BOARD_PCENGINES_APU2 + default "apu3" if BOARD_PCENGINES_APU3 + default "apu5" if BOARD_PCENGINES_APU5 + +config DEVICETREE + string + default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb" + config MAINBOARD_PART_NUMBER string - default "apu2" + default "apu2" if BOARD_PCENGINES_APU2 + default "apu3" if BOARD_PCENGINES_APU3 + default "apu5" if BOARD_PCENGINES_APU5 config MAX_CPUS int @@ -63,13 +75,16 @@ config AGESA_BINARY_PI_FILE choice prompt "J19 pins 1-10" - default APU2_PINMUX_OFF_C + default APU2_PINMUX_OFF_C if BOARD_PCENGINES_APU2 || \ + BOARD_PCENGINES_APU3 + default APU2_PINMUX_UART_C if BOARD_PCENGINES_APU5 config APU2_PINMUX_OFF_C bool "disable" config APU2_PINMUX_GPIO0 bool "GPIO" + depends on BOARD_PCENGINES_APU2 || BOARD_PCENGINES_APU3 config APU2_PINMUX_UART_C bool "UART 0x3e8" @@ -78,13 +93,16 @@ endchoice choice prompt "J19 pins 11-20" - default APU2_PINMUX_OFF_D + default APU2_PINMUX_OFF_D if BOARD_PCENGINES_APU2 || \ + BOARD_PCENGINES_APU3 + default APU2_PINMUX_UART_D if BOARD_PCENGINES_APU5 config APU2_PINMUX_OFF_D bool "disable" config APU2_PINMUX_GPIO1 bool "GPIO" + depends on BOARD_PCENGINES_APU2 || BOARD_PCENGINES_APU3 config APU2_PINMUX_UART_D bool "UART 0x2e8" |