summaryrefslogtreecommitdiff
path: root/src/mainboard/pcengines/apu2/Kconfig
diff options
context:
space:
mode:
authorPiotr Król <piotr.krol@3mdeb.com>2017-11-29 16:34:44 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2017-12-21 16:27:32 +0000
commit83b4fb9981b30352dac9ba9d7eeb1e7f44225269 (patch)
tree1f608a4a73e7715fac204cc3db29e447169416f4 /src/mainboard/pcengines/apu2/Kconfig
parent33cd28e7acf76b25444e50fad6668becb594f439 (diff)
pcengines/apu2: add support for apu4 variant
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 <piotr.krol@3mdeb.com> Reviewed-on: https://review.coreboot.org/22629 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard/pcengines/apu2/Kconfig')
-rw-r--r--src/mainboard/pcengines/apu2/Kconfig15
1 files changed, 10 insertions, 5 deletions
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"