blob: 7ea18214150c74832d0549fcb9926e9ad7c93567 [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#
16# You should have received a copy of the GNU General Public License
17# along with this program; if not, write to the Free Software
Patrick Georgib890a122015-03-26 15:17:45 +010018# Foundation, Inc.
Kyösti Mälkkif09e6d42015-01-10 12:13:23 +020019#
20
Kyösti Mälkki8c190f32014-11-14 16:20:22 +020021if BOARD_PCENGINES_APU1
Kyösti Mälkkif09e6d42015-01-10 12:13:23 +020022
23config BOARD_SPECIFIC_OPTIONS # dummy
24 def_bool y
25 select CPU_AMD_AGESA_FAMILY14
26 select NORTHBRIDGE_AMD_AGESA_FAMILY14
27 select SOUTHBRIDGE_AMD_CIMX_SB800
Kyösti Mälkki8c190f32014-11-14 16:20:22 +020028 select SUPERIO_NUVOTON_NCT5104D
Kyösti Mälkkif09e6d42015-01-10 12:13:23 +020029 select HAVE_PIRQ_TABLE
30 select HAVE_MP_TABLE
Kyösti Mälkkie1213d12015-05-26 18:43:02 +030031 select HAVE_ACPI_RESUME
Kyösti Mälkkif09e6d42015-01-10 12:13:23 +020032 select HAVE_ACPI_TABLES
Maxime de Roucy46731232015-09-27 15:45:35 +020033 select HAVE_OPTION_TABLE
34 select HAVE_CMOS_DEFAULT
Kyösti Mälkki8c190f32014-11-14 16:20:22 +020035 select BOARD_ROMSIZE_KB_2048
36 select SPD_CACHE
Kyösti Mälkkif09e6d42015-01-10 12:13:23 +020037
38config MAINBOARD_DIR
39 string
Kyösti Mälkki8c190f32014-11-14 16:20:22 +020040 default pcengines/apu1
Kyösti Mälkkif09e6d42015-01-10 12:13:23 +020041
42config MAINBOARD_PART_NUMBER
43 string
Kyösti Mälkki8c190f32014-11-14 16:20:22 +020044 default "APU1"
Kyösti Mälkkif09e6d42015-01-10 12:13:23 +020045
46config HW_MEM_HOLE_SIZEK
47 hex
48 default 0x200000
49
50config MAX_CPUS
51 int
52 default 2
53
54config HW_MEM_HOLE_SIZE_AUTO_INC
55 bool
56 default n
57
58config IRQ_SLOT_COUNT
59 int
60 default 11
61
62config ONBOARD_VGA_IS_PRIMARY
63 bool
64 default y
65
66config VGA_BIOS
67 bool
68 default n
69
70#config VGA_BIOS_FILE
71# string "VGA BIOS path and filename"
72# depends on VGA_BIOS
73# default "rom/video/OntarioGenericVbios.bin"
74
75config VGA_BIOS_ID
76 string
77 default "1002,9802"
78
79config SB800_AHCI_ROM
80 bool
81 default n
82
83config DRIVERS_PS2_KEYBOARD
84 bool
85 default n
86
Kyösti Mälkki017c2152015-05-11 22:53:19 +030087choice
88 prompt "J19 pins 1-10"
89 default PINMUX_OFF_C
90
91config PINMUX_OFF_C
92 bool "disable"
93
94config PINMUX_GPIO0
95 bool "GPIO"
96
97config PINMUX_UART_C
98 bool "UART 0x3e8"
99
100endchoice
101
102choice
103 prompt "J19 pins 11-20"
104 default PINMUX_OFF_D
105
106config PINMUX_OFF_D
107 bool "disable"
108
109config PINMUX_GPIO1
110 bool "GPIO"
111
112config PINMUX_UART_D
113 bool "UART 0x2e8"
114
115endchoice
116
Kyösti Mälkki8c190f32014-11-14 16:20:22 +0200117endif # BOARD_PCENGINES_APU1