Kyösti Mälkki | f09e6d4 | 2015-01-10 12:13:23 +0200 | [diff] [blame] | 1 | # |
| 2 | # This file is part of the coreboot project. |
| 3 | # |
| 4 | # Copyright (C) 2011 Advanced Micro Devices, Inc. |
Kyösti Mälkki | 8c190f3 | 2014-11-14 16:20:22 +0200 | [diff] [blame] | 5 | # Copyright (C) 2014 Kyösti Mälkki <kyosti.malkki@gmail.com> |
Kyösti Mälkki | f09e6d4 | 2015-01-10 12:13:23 +0200 | [diff] [blame] | 6 | # |
| 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 Georgi | b890a12 | 2015-03-26 15:17:45 +0100 | [diff] [blame] | 18 | # Foundation, Inc. |
Kyösti Mälkki | f09e6d4 | 2015-01-10 12:13:23 +0200 | [diff] [blame] | 19 | # |
| 20 | |
Kyösti Mälkki | 8c190f3 | 2014-11-14 16:20:22 +0200 | [diff] [blame] | 21 | if BOARD_PCENGINES_APU1 |
Kyösti Mälkki | f09e6d4 | 2015-01-10 12:13:23 +0200 | [diff] [blame] | 22 | |
| 23 | config 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älkki | 8c190f3 | 2014-11-14 16:20:22 +0200 | [diff] [blame] | 28 | select SUPERIO_NUVOTON_NCT5104D |
Kyösti Mälkki | f09e6d4 | 2015-01-10 12:13:23 +0200 | [diff] [blame] | 29 | select HAVE_PIRQ_TABLE |
| 30 | select HAVE_MP_TABLE |
Kyösti Mälkki | e1213d1 | 2015-05-26 18:43:02 +0300 | [diff] [blame] | 31 | select HAVE_ACPI_RESUME |
Kyösti Mälkki | f09e6d4 | 2015-01-10 12:13:23 +0200 | [diff] [blame] | 32 | select HAVE_ACPI_TABLES |
Maxime de Roucy | 4673123 | 2015-09-27 15:45:35 +0200 | [diff] [blame^] | 33 | select HAVE_OPTION_TABLE |
| 34 | select HAVE_CMOS_DEFAULT |
Kyösti Mälkki | 8c190f3 | 2014-11-14 16:20:22 +0200 | [diff] [blame] | 35 | select BOARD_ROMSIZE_KB_2048 |
| 36 | select SPD_CACHE |
Kyösti Mälkki | f09e6d4 | 2015-01-10 12:13:23 +0200 | [diff] [blame] | 37 | |
| 38 | config MAINBOARD_DIR |
| 39 | string |
Kyösti Mälkki | 8c190f3 | 2014-11-14 16:20:22 +0200 | [diff] [blame] | 40 | default pcengines/apu1 |
Kyösti Mälkki | f09e6d4 | 2015-01-10 12:13:23 +0200 | [diff] [blame] | 41 | |
| 42 | config MAINBOARD_PART_NUMBER |
| 43 | string |
Kyösti Mälkki | 8c190f3 | 2014-11-14 16:20:22 +0200 | [diff] [blame] | 44 | default "APU1" |
Kyösti Mälkki | f09e6d4 | 2015-01-10 12:13:23 +0200 | [diff] [blame] | 45 | |
| 46 | config HW_MEM_HOLE_SIZEK |
| 47 | hex |
| 48 | default 0x200000 |
| 49 | |
| 50 | config MAX_CPUS |
| 51 | int |
| 52 | default 2 |
| 53 | |
| 54 | config HW_MEM_HOLE_SIZE_AUTO_INC |
| 55 | bool |
| 56 | default n |
| 57 | |
| 58 | config IRQ_SLOT_COUNT |
| 59 | int |
| 60 | default 11 |
| 61 | |
| 62 | config ONBOARD_VGA_IS_PRIMARY |
| 63 | bool |
| 64 | default y |
| 65 | |
| 66 | config 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 | |
| 75 | config VGA_BIOS_ID |
| 76 | string |
| 77 | default "1002,9802" |
| 78 | |
| 79 | config SB800_AHCI_ROM |
| 80 | bool |
| 81 | default n |
| 82 | |
| 83 | config DRIVERS_PS2_KEYBOARD |
| 84 | bool |
| 85 | default n |
| 86 | |
Kyösti Mälkki | 017c215 | 2015-05-11 22:53:19 +0300 | [diff] [blame] | 87 | choice |
| 88 | prompt "J19 pins 1-10" |
| 89 | default PINMUX_OFF_C |
| 90 | |
| 91 | config PINMUX_OFF_C |
| 92 | bool "disable" |
| 93 | |
| 94 | config PINMUX_GPIO0 |
| 95 | bool "GPIO" |
| 96 | |
| 97 | config PINMUX_UART_C |
| 98 | bool "UART 0x3e8" |
| 99 | |
| 100 | endchoice |
| 101 | |
| 102 | choice |
| 103 | prompt "J19 pins 11-20" |
| 104 | default PINMUX_OFF_D |
| 105 | |
| 106 | config PINMUX_OFF_D |
| 107 | bool "disable" |
| 108 | |
| 109 | config PINMUX_GPIO1 |
| 110 | bool "GPIO" |
| 111 | |
| 112 | config PINMUX_UART_D |
| 113 | bool "UART 0x2e8" |
| 114 | |
| 115 | endchoice |
| 116 | |
Kyösti Mälkki | 8c190f3 | 2014-11-14 16:20:22 +0200 | [diff] [blame] | 117 | endif # BOARD_PCENGINES_APU1 |