summaryrefslogtreecommitdiff
path: root/src/mainboard/asus/h61-series/Kconfig
blob: 2f347199f994b1dd9c8ed6b3be90bea0b208cf84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
## SPDX-License-Identifier: GPL-2.0-only

config BOARD_ASUS_H61_SERIES
	bool
	select HAVE_ACPI_RESUME
	select HAVE_ACPI_TABLES
	select INTEL_GMA_HAVE_VBT
	select INTEL_INT15
	select MAINBOARD_HAS_LIBGFXINIT
	select NORTHBRIDGE_INTEL_SANDYBRIDGE
	select SERIRQ_CONTINUOUS_MODE
	select SOUTHBRIDGE_INTEL_BD82X6X
	select USE_NATIVE_RAMINIT

config BOARD_ASUS_H61M_CS
	select BOARD_ASUS_H61_SERIES
	select BOARD_ROMSIZE_KB_8192
	select HAVE_CMOS_DEFAULT
	select HAVE_OPTION_TABLE
	select NO_UART_ON_SUPERIO
	select SUPERIO_NUVOTON_NCT6779D

config BOARD_ASUS_P8H61_M_LX
	select BOARD_ASUS_H61_SERIES
	select BOARD_ROMSIZE_KB_4096
	select HAVE_CMOS_DEFAULT
	select HAVE_OPTION_TABLE
	select REALTEK_8168_RESET
	select RT8168_SET_LED_MODE
	select SUPERIO_NUVOTON_COMMON_COM_A
	select SUPERIO_NUVOTON_NCT6776

config BOARD_ASUS_P8H61_M_LX3_R2_0
	select BOARD_ASUS_H61_SERIES
	select BOARD_ROMSIZE_KB_8192
	select NO_UART_ON_SUPERIO
	select REALTEK_8168_RESET
	select RT8168_SET_LED_MODE
	select SUPERIO_NUVOTON_NCT6779D

config BOARD_ASUS_P8H61_M_PRO
	select BOARD_ASUS_H61_SERIES
	select BOARD_ROMSIZE_KB_4096
	select DRIVERS_ASMEDIA_ASPM_BLACKLIST
	select HAVE_CMOS_DEFAULT
	select HAVE_OPTION_TABLE
	select MEMORY_MAPPED_TPM
	select REALTEK_8168_RESET
	select RT8168_SET_LED_MODE
	select SUPERIO_NUVOTON_NCT6776

config BOARD_ASUS_P8H61_M_PRO_CM6630
	select BOARD_ASUS_H61_SERIES
	select BOARD_ROMSIZE_KB_4096
	select DRIVERS_ASMEDIA_ASPM_BLACKLIST
	select HAVE_CMOS_DEFAULT
	select HAVE_OPTION_TABLE
	select MEMORY_MAPPED_TPM
	select REALTEK_8168_RESET
	select RT8168_SET_LED_MODE
	select SUPERIO_NUVOTON_NCT6776

if BOARD_ASUS_H61_SERIES

config MAINBOARD_DIR
	default "asus/h61-series"

config VARIANT_DIR
	default "h61m-cs"          if BOARD_ASUS_H61M_CS
	default "p8h61-m_lx"       if BOARD_ASUS_P8H61_M_LX
	default "p8h61-m_lx3_r2_0" if BOARD_ASUS_P8H61_M_LX3_R2_0
	default "p8h61-m_pro"      if BOARD_ASUS_P8H61_M_PRO
	default "p8h61-m_pro_cm6630" if BOARD_ASUS_P8H61_M_PRO_CM6630

config MAINBOARD_PART_NUMBER
	default "H61M-CS"          if BOARD_ASUS_H61M_CS
	default "P8H61-M LX"       if BOARD_ASUS_P8H61_M_LX
	default "P8H61-M LX3 R2.0" if BOARD_ASUS_P8H61_M_LX3_R2_0
	default "P8H61-M PRO"      if BOARD_ASUS_P8H61_M_PRO
	default "P8H61-M PRO CM6630" if BOARD_ASUS_P8H61_M_PRO_CM6630

config OVERRIDE_DEVICETREE
	default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"

config CMOS_DEFAULT_FILE
	default "src/mainboard/\$(MAINBOARDDIR)/variants/\$(CONFIG_VARIANT_DIR)/cmos.default"

config CMOS_LAYOUT_FILE
	default "src/mainboard/\$(MAINBOARDDIR)/variants/\$(CONFIG_VARIANT_DIR)/cmos.layout"

#
# These ME partitions need to be whitelisted for correct system
# operation. Example issues from removing them include: no serial output
# and kernel warnings about loading audio codecs.
#
config ME_CLEANER_ARGS
	string
	depends on USE_ME_CLEANER
	default "-S --whitelist EFFS,FCRS" if BOARD_ASUS_P8H61_M_LX

endif