From 83b4fb9981b30352dac9ba9d7eeb1e7f44225269 Mon Sep 17 00:00:00 2001 From: Piotr Król Date: Wed, 29 Nov 2017 16:34:44 +0100 Subject: pcengines/apu2: add support for apu4 variant MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit apu4 is new version of PC Engines platform, which contains 4 Ethernet ports and 4GB of RAM. In functional way it is very similar to apu3. Platform tested with booting Linux voyage (kernel 3.16.7) using USB and SeaBIOS as 1st stage and GRUB as 2nd stage bootloader. Also Debian (kernel 4.8.5) using iPXE. Change-Id: Ia7a9971d25d4ecc215c392be1e46dc1c10129ba7 Signed-off-by: Piotr Król Reviewed-on: https://review.coreboot.org/22629 Reviewed-by: Kyösti Mälkki Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel --- src/mainboard/pcengines/apu2/Kconfig | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'src/mainboard/pcengines/apu2/Kconfig') diff --git a/src/mainboard/pcengines/apu2/Kconfig b/src/mainboard/pcengines/apu2/Kconfig index 432963ed0e..f9a87dd6dd 100644 --- a/src/mainboard/pcengines/apu2/Kconfig +++ b/src/mainboard/pcengines/apu2/Kconfig @@ -14,7 +14,8 @@ # GNU General Public License for more details. # -if BOARD_PCENGINES_APU2 || BOARD_PCENGINES_APU3 || BOARD_PCENGINES_APU5 +if BOARD_PCENGINES_APU2 || BOARD_PCENGINES_APU3 || BOARD_PCENGINES_APU4 || \ + BOARD_PCENGINES_APU5 config BOARD_SPECIFIC_OPTIONS # dummy def_bool y @@ -41,6 +42,7 @@ config VARIANT_DIR string default "apu2" if BOARD_PCENGINES_APU2 default "apu3" if BOARD_PCENGINES_APU3 + default "apu4" if BOARD_PCENGINES_APU4 default "apu5" if BOARD_PCENGINES_APU5 config DEVICETREE @@ -51,6 +53,7 @@ config MAINBOARD_PART_NUMBER string default "apu2" if BOARD_PCENGINES_APU2 default "apu3" if BOARD_PCENGINES_APU3 + default "apu4" if BOARD_PCENGINES_APU4 default "apu5" if BOARD_PCENGINES_APU5 config MAX_CPUS @@ -76,7 +79,7 @@ config AGESA_BINARY_PI_FILE choice prompt "J19 pins 1-10" default APU2_PINMUX_OFF_C if BOARD_PCENGINES_APU2 || \ - BOARD_PCENGINES_APU3 + BOARD_PCENGINES_APU3 || BOARD_PCENGINES_APU4 default APU2_PINMUX_UART_C if BOARD_PCENGINES_APU5 config APU2_PINMUX_OFF_C @@ -84,7 +87,8 @@ config APU2_PINMUX_OFF_C config APU2_PINMUX_GPIO0 bool "GPIO" - depends on BOARD_PCENGINES_APU2 || BOARD_PCENGINES_APU3 + depends on BOARD_PCENGINES_APU2 || BOARD_PCENGINES_APU3 || \ + BOARD_PCENGINES_APU4 config APU2_PINMUX_UART_C bool "UART 0x3e8" @@ -94,7 +98,7 @@ endchoice choice prompt "J19 pins 11-20" default APU2_PINMUX_OFF_D if BOARD_PCENGINES_APU2 || \ - BOARD_PCENGINES_APU3 + BOARD_PCENGINES_APU3 || BOARD_PCENGINES_APU4 default APU2_PINMUX_UART_D if BOARD_PCENGINES_APU5 config APU2_PINMUX_OFF_D @@ -102,7 +106,8 @@ config APU2_PINMUX_OFF_D config APU2_PINMUX_GPIO1 bool "GPIO" - depends on BOARD_PCENGINES_APU2 || BOARD_PCENGINES_APU3 + depends on BOARD_PCENGINES_APU2 || BOARD_PCENGINES_APU3 || \ + BOARD_PCENGINES_APU4 config APU2_PINMUX_UART_D bool "UART 0x2e8" -- cgit v1.2.3