summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/padmelon/Kconfig
blob: 300a3006c0255faa936c12e23368502bfe80767b (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
#
# This file is part of the coreboot project.
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#

if BOARD_AMD_PADMELON

config BOARD_SPECIFIC_OPTIONS # dummy
	def_bool y
	select SOC_AMD_STONEYRIDGE
	select AMD_APU_PKG_FP4
	select BOARD_ROMSIZE_KB_8192
	select DRIVERS_I2C_GENERIC
	select HAVE_ACPI_TABLES
	select GFXUMA
	select STONEYRIDGE_LEGACY_FREE
	select ONBOARD_VGA_IS_PRIMARY
	select BOOTBLOCK_CONSOLE
	select SUPERIO_FINTEK_F81803A
	select SUPERIO_FINTEK_COMMON_PRE_RAM
	select SUPERIO_FINTEK_FAN_CONTROL
	select SUPERIO_FINTEK_FAN_API_CALL
	select VGA_BIOS
	select AZALIA_PLUGIN_SUPPORT

config MAINBOARD_DIR
	string
	default "amd/padmelon"

config MAINBOARD_PART_NUMBER
	string
	default "Padmelon"

choice PADMELON_SOC
	prompt "SOC used in padmelon board"
	default PADMELON_MERLIN_FALCON

config PADMELON_MERLIN_FALCON
	bool "Merlin Falcon"

config PADMELON_PRAIRIE_FALCON
	bool "Prairie Falcon"

endchoice

config PADMELON_SOC_IN_USE
	def_bool y
	select AMD_APU_MERLINFALCON if PADMELON_MERLIN_FALCON
	select AMD_APU_PRAIRIEFALCON if PADMELON_PRAIRIE_FALCON

config HAVE_S3_SUPPORT
	bool
	default n

config MAX_CPUS
	int
	default 4

config IRQ_SLOT_COUNT
	int
	default 11

config HWM_PORT
	hex
	default 0x0225
	help
	  HWM base address must be an odd address. Hardware monitor used
	  addresses are HWM_PORT for index an HWM_PORT + 1 for data.
	  If changed, make sure fan_init.c IO window setting. The HWM
	  (Hardware Monitor) is used for fan control within padmelon.

endif # BOARD_AMD_PADMELON