blob: 23287762e9970a8686287d8859f09277ddbf7a46 [file] [log] [blame]
Kyösti Mälkkif09e6d42015-01-10 12:13:23 +02001#
2# This file is part of the coreboot project.
3#
4# Copyright (C) 2011 Advanced Micro Devices, Inc.
Kyösti Mälkki8c190f32014-11-14 16:20:22 +02005# Copyright (C) 2014 Kyösti Mälkki <kyosti.malkki@gmail.com>
Kyösti Mälkkif09e6d42015-01-10 12:13:23 +02006#
7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; version 2 of the License.
10#
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15#
Kyösti Mälkkif09e6d42015-01-10 12:13:23 +020016
Kyösti Mälkki8c190f32014-11-14 16:20:22 +020017if BOARD_PCENGINES_APU1
Kyösti Mälkkif09e6d42015-01-10 12:13:23 +020018
19config BOARD_SPECIFIC_OPTIONS # dummy
20 def_bool y
21 select CPU_AMD_AGESA_FAMILY14
22 select NORTHBRIDGE_AMD_AGESA_FAMILY14
23 select SOUTHBRIDGE_AMD_CIMX_SB800
Kyösti Mälkki8c190f32014-11-14 16:20:22 +020024 select SUPERIO_NUVOTON_NCT5104D
Kyösti Mälkkif09e6d42015-01-10 12:13:23 +020025 select HAVE_PIRQ_TABLE
26 select HAVE_MP_TABLE
Kyösti Mälkkie1213d12015-05-26 18:43:02 +030027 select HAVE_ACPI_RESUME
Kyösti Mälkkif09e6d42015-01-10 12:13:23 +020028 select HAVE_ACPI_TABLES
Maxime de Roucy46731232015-09-27 15:45:35 +020029 select HAVE_OPTION_TABLE
30 select HAVE_CMOS_DEFAULT
Kyösti Mälkki8c190f32014-11-14 16:20:22 +020031 select BOARD_ROMSIZE_KB_2048
32 select SPD_CACHE
Kyösti Mälkkif09e6d42015-01-10 12:13:23 +020033
34config MAINBOARD_DIR
35 string
Kyösti Mälkki8c190f32014-11-14 16:20:22 +020036 default pcengines/apu1
Kyösti Mälkkif09e6d42015-01-10 12:13:23 +020037
38config MAINBOARD_PART_NUMBER
39 string
Kyösti Mälkki8c190f32014-11-14 16:20:22 +020040 default "APU1"
Kyösti Mälkkif09e6d42015-01-10 12:13:23 +020041
42config HW_MEM_HOLE_SIZEK
43 hex
44 default 0x200000
45
46config MAX_CPUS
47 int
48 default 2
49
50config HW_MEM_HOLE_SIZE_AUTO_INC
51 bool
52 default n
53
54config IRQ_SLOT_COUNT
55 int
56 default 11
57
58config ONBOARD_VGA_IS_PRIMARY
59 bool
60 default y
61
62config VGA_BIOS
63 bool
64 default n
65
66#config VGA_BIOS_FILE
67# string "VGA BIOS path and filename"
68# depends on VGA_BIOS
69# default "rom/video/OntarioGenericVbios.bin"
70
71config VGA_BIOS_ID
72 string
73 default "1002,9802"
74
75config SB800_AHCI_ROM
76 bool
77 default n
78
79config DRIVERS_PS2_KEYBOARD
80 bool
81 default n
82
Kyösti Mälkki017c2152015-05-11 22:53:19 +030083choice
84 prompt "J19 pins 1-10"
85 default PINMUX_OFF_C
86
87config PINMUX_OFF_C
88 bool "disable"
89
90config PINMUX_GPIO0
91 bool "GPIO"
92
93config PINMUX_UART_C
94 bool "UART 0x3e8"
95
96endchoice
97
98choice
99 prompt "J19 pins 11-20"
100 default PINMUX_OFF_D
101
102config PINMUX_OFF_D
103 bool "disable"
104
105config PINMUX_GPIO1
106 bool "GPIO"
107
108config PINMUX_UART_D
109 bool "UART 0x2e8"
110
111endchoice
112
Kyösti Mälkki8c190f32014-11-14 16:20:22 +0200113endif # BOARD_PCENGINES_APU1