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