Debian Codegraph @

src/mainboard/amd/pademelon/Kconfig

raw
1 # SPDX-License-Identifier: GPL-2.0-only
2
3 if BOARD_AMD_PADEMELON
4
5 config BOARD_SPECIFIC_OPTIONS
6 def_bool y
7 select SOC_AMD_STONEYRIDGE
8 select AMD_APU_PKG_FP4
9 select BOARD_ROMSIZE_KB_8192
10 select DRIVERS_I2C_GENERIC
11 select HAVE_ACPI_TABLES
12 select GFXUMA
13 select STONEYRIDGE_LEGACY_FREE
14 select ONBOARD_VGA_IS_PRIMARY
15 select SUPERIO_FINTEK_F81803A
16 select SUPERIO_FINTEK_COMMON_PRE_RAM
17 select SUPERIO_FINTEK_FAN_CONTROL
18 select SUPERIO_FINTEK_FAN_API_CALL
19 select AZALIA_HDA_CODEC_SUPPORT
20
21 config MAINBOARD_DIR
22 default "amd/pademelon"
23
24 config MAINBOARD_PART_NUMBER
25 default "Pademelon"
26
27 choice
28 prompt "SOC used in pademelon board"
29 default PADEMELON_MERLIN_FALCON
30
31 config PADEMELON_MERLIN_FALCON
32 bool "Merlin Falcon"
33 select AMD_APU_MERLINFALCON
34
35 config PADEMELON_PRAIRIE_FALCON
36 bool "Prairie Falcon"
37 select AMD_APU_PRAIRIEFALCON
38
39 endchoice
40
41
42 config OVERRIDE_DEVICETREE
43 default "override-merlinfalcon.cb" if PADEMELON_MERLIN_FALCON
44 default "override-prairiefalcon.cb" if PADEMELON_PRAIRIE_FALCON
45
46 config MAX_CPUS
47 int
48 default 4
49
50 config IRQ_SLOT_COUNT
51 int
52 default 11
53
54 config VGA_BIOS
55 default y if USE_AMD_BLOBS
56
57 config HWM_PORT
58 hex
59 default 0x0225
60 help
61 HWM base address must be an odd address. Hardware monitor used
62 addresses are HWM_PORT for index an HWM_PORT + 1 for data.
63 If changed, make sure fan_init.c IO window setting. The HWM
64 (Hardware Monitor) is used for fan control within pademelon.
65
66 if !EM100
67 config EFS_SPI_READ_MODE
68 default 4 # Dual IO (1-2-2)
69
70 config EFS_SPI_SPEED
71 default 0 # 66MHz
72 endif
73
74 endif # BOARD_AMD_PADEMELON