1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_PURISM_BASEBOARD_LIBREM_CNL
5 select BOARD_ROMSIZE_KB_16384
6 select DRIVERS_GENERIC_CBFS_SERIAL
7 select DRIVERS_USB_ACPI
8 select HAVE_ACPI_RESUME
9 select HAVE_ACPI_TABLES
10 select INTEL_GMA_HAVE_VBT
11 select MAINBOARD_HAS_LIBGFXINIT
12 select NO_UART_ON_SUPERIO
13 select SOC_INTEL_COMMON_BLOCK_HDA_VERB
14 select SPD_CACHE_IN_FMAP
15 select SPD_READ_BY_WORD
17 config BOARD_PURISM_LIBREM_MINI
18 select BOARD_PURISM_BASEBOARD_LIBREM_CNL
19 select HAVE_CMOS_DEFAULT
20 select HAVE_OPTION_TABLE
21 select SOC_INTEL_WHISKEYLAKE
22 select SUPERIO_ITE_IT8528E
24 config BOARD_PURISM_LIBREM_MINI_V2
25 select BOARD_PURISM_BASEBOARD_LIBREM_CNL
26 select HAVE_CMOS_DEFAULT
27 select HAVE_OPTION_TABLE
28 select SOC_INTEL_COMETLAKE_1
29 select SUPERIO_ITE_IT8528E
31 config BOARD_PURISM_LIBREM_14
32 select BOARD_PURISM_BASEBOARD_LIBREM_CNL
33 select DRIVERS_I2C_HID
35 select MEMORY_MAPPED_TPM
36 select MAINBOARD_HAS_TPM1
37 select SOC_INTEL_COMETLAKE_1_2
38 select SYSTEM_TYPE_LAPTOP
40 if BOARD_PURISM_BASEBOARD_LIBREM_CNL
43 default "purism/librem_cnl"
45 config MAINBOARD_FAMILY
47 default "Librem Mini" if BOARD_PURISM_LIBREM_MINI || BOARD_PURISM_LIBREM_MINI_V2
48 default "Librem 14" if BOARD_PURISM_LIBREM_14
50 config MAINBOARD_PART_NUMBER
51 default "Librem Mini" if BOARD_PURISM_LIBREM_MINI
52 default "Librem Mini v2" if BOARD_PURISM_LIBREM_MINI_V2
53 default "Librem 14" if BOARD_PURISM_LIBREM_14
56 default "librem_mini" if BOARD_PURISM_LIBREM_MINI || BOARD_PURISM_LIBREM_MINI_V2
57 default "librem_14" if BOARD_PURISM_LIBREM_14
59 config OVERRIDE_DEVICETREE
60 default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
63 default 0x800000 if BOARD_PURISM_LIBREM_MINI
64 default 0xA00000 if BOARD_PURISM_LIBREM_MINI_V2
65 default 0x900000 if BOARD_PURISM_LIBREM_14
75 default "8086,3ea0" if BOARD_PURISM_LIBREM_MINI
76 default "8086,9b41" if BOARD_PURISM_LIBREM_MINI_V2 || BOARD_PURISM_LIBREM_14
82 # This platform has limited means to display POST codes
88 if BOARD_PURISM_LIBREM_MINI || BOARD_PURISM_LIBREM_MINI_V2
90 config PC_CMOS_BASE_PORT_BANK1
93 config CMOS_LAYOUT_FILE
94 default "src/mainboard/\$(MAINBOARDDIR)/variants/librem_mini/cmos.layout"
96 config CMOS_DEFAULT_FILE
97 default "src/mainboard/\$(MAINBOARDDIR)/variants/librem_mini/cmos.default"
101 config ENABLE_EC_UART1
102 bool "Enable EC UART1"
103 depends on BOARD_PURISM_LIBREM_MINI || BOARD_PURISM_LIBREM_MINI_V2
105 select DRIVERS_UART_8250IO
107 Enable UART1 on the EC.
109 This UART can be used for boot logging by coreboot, SeaBIOS, or
110 Linux. It also works as a general-purpose UART.
112 Soldering is required to access these signals. Locate the pads for
113 U81 on the bottom of the board near the front edge; the IC is not
114 populated. TX is pin 14, RX is pin 19. The signals are 3.3V (do NOT
115 connect directly to an RS-232 serial port).
117 config EDK2_BOOT_TIMEOUT
119 default 4 if BOARD_PURISM_LIBREM_MINI || BOARD_PURISM_LIBREM_MINI_V2