1# SPDX-License-Identifier: GPL-2.0+
2#
3# Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
4
5if VENDOR_GOOGLE
6
7config BIOSEMU
8	bool
9	select X86EMU_RAW_IO
10
11config X86EMU_RAW_IO
12	bool
13
14choice
15	prompt "Mainboard model"
16	optional
17
18config TARGET_CHROMEBOOK_CORAL
19	bool "Chromebook coral"
20	select BIOSEMU
21	select EVENT
22	help
23	  This is a range of Intel-based laptops released in 2018. They use an
24	  Intel Apollo Lake SoC. The design supports WiFi, 4GB to 16GB of
25	  LPDDR4 1600MHz SDRAM, PCIe WiFi and Bluetooth, eMMC (typically 32GB),
26	  up two cameras (front-facing 720p and another 5MP option), USB SD
27	  reader, microphone and speakers. It also includes two USB 3 Type A and
28	  two Type C ports. The latter are used as power input and can also
29	  charge external devices as well as a 4K external display. There is a
30	  Chrome OS EC connected on LPC, a Cr50 secure chip from Google and
31	  various display options. OEMs products include Acer Chromebook 11
32	  (e.g. C732, CB11, CP311) and Lenovo Chromebook (100e, 300e, 500e).
33
34config TARGET_CHROMEBOOK_LINK
35	bool "Chromebook link"
36	select BIOSEMU
37	help
38	  This is the Chromebook Pixel released in 2013. It uses an Intel
39	  i5 Ivybridge which is a die-shrink of Sandybridge, with 4GB of
40	  SDRAM. It has a Panther Point platform controller hub, PCIe
41	  WiFi and Bluetooth. It also includes a 720p webcam, USB SD
42	  reader, microphone and speakers, display port and 32GB SATA
43	  solid state drive. There is a Chrome OS EC connected on LPC,
44	  and it provides a 2560x1700 high resolution touch-enabled LCD
45	  display.
46
47config TARGET_CHROMEBOOK_LINK64
48	bool "Chromebook link 64-bit"
49	select BIOSEMU
50	help
51	  This is the Chromebook Pixel released in 2013. With this config
52	  U-Boot is built as a 64-bit binary. This allows testing while this
53	  feature is being completed.
54
55config TARGET_CHROMEBOX_PANTHER
56	bool "Chromebox panther (not available)"
57	select BIOSEMU
58	help
59	  Note: At present this must be used with coreboot. See README.x86
60	  for instructions.
61
62	  This is the Asus Chromebox CN60 released in 2014. It uses an Intel
63	  Haswell Celeron 2955U Dual Core CPU with 2GB of SDRAM. It has a
64	  Lynx Point platform controller hub, PCIe WiFi and Bluetooth. It also
65	  includes a USB SD reader, four USB3 ports, display port and HDMI
66	  video output and a 16GB SATA solid state drive. There is no Chrome
67	  OS EC on this model.
68
69config TARGET_CHROMEBOOK_SAMUS
70	bool "Chromebook samus"
71	help
72	  This is the Chromebook Pixel released in 2015. It uses an Intel
73	  Broadwell U Core i5 or Core i7 CPU with either 8GB or 16GB of
74	  LPDDR3 SDRAM. It has PCIe WiFi and Bluetooth. It also includes a
75	  720p webcam, USB SD reader, microphone and speakers, 2 USB 3 Type
76	  C ports which can support charging and up to a 4K external display.
77	  There is a solid state drive, either 32GB or 64GB. There is a
78	  Chrome OS EC connected on LPC, and it provides a 2560x1700 high
79	  resolution touch-enabled LCD display.
80
81config TARGET_CHROMEBOOK_SAMUS_TPL
82	bool "Chromebook samus booting from TPL"
83	help
84	  This is a version of Samus which boots into TPL, then to SPL and
85	  U-Boot proper. This is useful where verified boot must select
86	  between different A/B versions of SPL/U-Boot, to allow upgrading of
87	  almost all U-Boot code in the field.
88
89endchoice
90
91source "board/google/chromebook_coral/Kconfig"
92source "board/google/chromebook_link/Kconfig"
93source "board/google/chromebox_panther/Kconfig"
94source "board/google/chromebook_samus/Kconfig"
95
96endif
97