Tristan Corrick | 3693294 | 2018-10-31 03:02:11 +1300 | [diff] [blame^] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright (C) 2018 Tristan Corrick <tristan@corrick.kiwi> |
| 5 | ## |
| 6 | ## This program is free software: you can redistribute it and/or modify |
| 7 | ## it under the terms of the GNU General Public License as published by |
| 8 | ## the Free Software Foundation, either version 2 of the License, or |
| 9 | ## (at your option) any later version. |
| 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 | |
| 17 | if BOARD_ASROCK_H81M_HDS |
| 18 | |
| 19 | config BOARD_SPECIFIC_OPTIONS |
| 20 | def_bool y |
| 21 | select BOARD_ROMSIZE_KB_4096 |
| 22 | select CPU_INTEL_HASWELL |
| 23 | select HAVE_ACPI_RESUME |
| 24 | select HAVE_ACPI_TABLES |
| 25 | select HAVE_OPTION_TABLE |
| 26 | select HAVE_CMOS_DEFAULT |
| 27 | select HAVE_SMI_HANDLER |
| 28 | select INTEL_GMA_HAVE_VBT |
| 29 | select INTEL_INT15 |
| 30 | select MAINBOARD_HAS_LIBGFXINIT |
| 31 | select NORTHBRIDGE_INTEL_HASWELL |
| 32 | select REALTEK_8168_RESET |
| 33 | select RT8168_SET_LED_MODE |
| 34 | select SERIRQ_CONTINUOUS_MODE |
| 35 | select SOUTHBRIDGE_INTEL_LYNXPOINT |
| 36 | select SUPERIO_NUVOTON_NCT6776 |
| 37 | select SUPERIO_NUVOTON_NCT6776_COM_A |
| 38 | select TSC_MONOTONIC_TIMER |
| 39 | |
| 40 | config CBFS_SIZE |
| 41 | hex |
| 42 | default 0x200000 |
| 43 | |
| 44 | # |
| 45 | # The override of GFX_GMA_CPU_VARIANT should be removed once the patches |
| 46 | # for dynamic CPU detection are merged in libgfxinit. |
| 47 | # |
| 48 | config GFX_GMA_CPU_VARIANT |
| 49 | string |
| 50 | default "Normal" |
| 51 | |
| 52 | config MAINBOARD_DIR |
| 53 | string |
| 54 | default asrock/h81m-hds |
| 55 | |
| 56 | config MAINBOARD_PART_NUMBER |
| 57 | string |
| 58 | default "H81M-HDS" |
| 59 | |
| 60 | config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID |
| 61 | hex |
| 62 | default 0x8c5c |
| 63 | |
| 64 | config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID |
| 65 | hex |
| 66 | default 0x1849 |
| 67 | |
| 68 | # This is overridden if CMOS is used for configuration values. |
| 69 | config MAINBOARD_POWER_ON_AFTER_POWER_FAIL |
| 70 | bool |
| 71 | default n |
| 72 | |
| 73 | config MAX_CPUS |
| 74 | int |
| 75 | default 8 |
| 76 | |
| 77 | config MMCONF_BASE_ADDRESS |
| 78 | hex |
| 79 | default 0xf0000000 |
| 80 | |
| 81 | # |
| 82 | # Since this is a desktop board, the assumption is made that most users |
| 83 | # would want CMOS configuration enabled by default. |
| 84 | # |
| 85 | config USE_OPTION_TABLE |
| 86 | bool |
| 87 | default y |
| 88 | |
| 89 | endif |