summaryrefslogtreecommitdiff
path: root/src/mainboard/purism/librem13v2/Kconfig
diff options
context:
space:
mode:
authorYouness Alaoui <youness.alaoui@puri.sm>2017-05-08 16:50:23 -0400
committerMartin Roth <martinroth@google.com>2017-06-09 17:01:58 +0200
commit047475cbd7a438180d9b20041391e2cd0b4d2bc4 (patch)
tree21cf483c6935c76f2fe52446a80d9ed9c3179f91 /src/mainboard/purism/librem13v2/Kconfig
parentab5b4c19c31d34ebb1ab697089f3626c50d2d801 (diff)
downloadcoreboot-047475cbd7a438180d9b20041391e2cd0b4d2bc4.tar.xz
purism/librem13v2: Add initial directory for librem13 v2
Add the initial directory for the port of the Librem 13 v2. The base implementation was copied from the google/chell directory and the chell references were replaced. spd directory was removed since the RAM is not soldered on the MB. The Kconfig, board_info.txt and devicetree.cb files were modified to match the Librem 13 v2 hardware information. The romstage.c, mainboard.c, Makefile.in and dsdt.asl were modified to remove chromeos specific code. The boardid.c, chromeos.c, chromeos.fmd, cmos.layout, ec.c, ec.h and smihandler.c files were removed from the tree, and the acpi directory was replaced with the acpi directory from the purism/librem13 board. These changes allow us to remove the references to chromeos specific code and allow coreboot to compile when the librem13v2 board is selected. Change-Id: I24263fde18fcea70163dbdc59df6ea1d98c97af8 Signed-off-by: Youness Alaoui <youness.alaoui@puri.sm> Reviewed-on: https://review.coreboot.org/19932 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/purism/librem13v2/Kconfig')
-rw-r--r--src/mainboard/purism/librem13v2/Kconfig47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/mainboard/purism/librem13v2/Kconfig b/src/mainboard/purism/librem13v2/Kconfig
new file mode 100644
index 0000000000..91ece0acdc
--- /dev/null
+++ b/src/mainboard/purism/librem13v2/Kconfig
@@ -0,0 +1,47 @@
+if BOARD_PURISM_LIBREM13_V2
+
+config BOARD_SPECIFIC_OPTIONS # dummy
+ def_bool y
+ select SYSTEM_TYPE_LAPTOP
+ select BOARD_ROMSIZE_KB_16384
+ select DRIVERS_I2C_GENERIC
+ select DRIVERS_I2C_NAU8825
+ select HAVE_ACPI_RESUME
+ select HAVE_ACPI_TABLES
+ select SOC_INTEL_SKYLAKE
+
+config IRQ_SLOT_COUNT
+ int
+ default 18
+
+config MAINBOARD_VENDOR
+ string
+ default "Purism"
+
+config MAINBOARD_FAMILY
+ string
+ default "Librem 13"
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "Librem 13 v2"
+
+config MAINBOARD_DIR
+ string
+ default "purism/librem13v2"
+
+config MAX_CPUS
+ int
+ default 8
+
+config NO_POST
+ def_bool y
+ help
+ This platform does not have any way to see POST codes
+ so disable them by default.
+
+config VGA_BIOS_ID
+ string
+ default "8086,1916"
+
+endif