event: Correct dependencies on the EVENT framework
[platform/kernel/u-boot.git] / board / google / Kconfig
index e56c026..a0f1a60 100644 (file)
@@ -1,17 +1,39 @@
+# SPDX-License-Identifier: GPL-2.0+
 #
 # Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
-#
-# SPDX-License-Identifier:     GPL-2.0+
-#
 
 if VENDOR_GOOGLE
 
+config BIOSEMU
+       bool
+       select X86EMU_RAW_IO
+
+config X86EMU_RAW_IO
+       bool
+
 choice
        prompt "Mainboard model"
        optional
 
+config TARGET_CHROMEBOOK_CORAL
+       bool "Chromebook coral"
+       select BIOSEMU
+       select EVENT
+       help
+         This is a range of Intel-based laptops released in 2018. They use an
+         Intel Apollo Lake SoC. The design supports WiFi, 4GB to 16GB of
+         LPDDR4 1600MHz SDRAM, PCIe WiFi and Bluetooth, eMMC (typically 32GB),
+         up two cameras (front-facing 720p and another 5MP option), USB SD
+         reader, microphone and speakers. It also includes two USB 3 Type A and
+         two Type C ports. The latter are used as power input and can also
+         charge external devices as well as a 4K external display. There is a
+         Chrome OS EC connected on LPC, a Cr50 secure chip from Google and
+         various display options. OEMs products include Acer Chromebook 11
+         (e.g. C732, CB11, CP311) and Lenovo Chromebook (100e, 300e, 500e).
+
 config TARGET_CHROMEBOOK_LINK
        bool "Chromebook link"
+       select BIOSEMU
        help
          This is the Chromebook Pixel released in 2013. It uses an Intel
          i5 Ivybridge which is a die-shrink of Sandybridge, with 4GB of
@@ -24,6 +46,7 @@ config TARGET_CHROMEBOOK_LINK
 
 config TARGET_CHROMEBOOK_LINK64
        bool "Chromebook link 64-bit"
+       select BIOSEMU
        help
          This is the Chromebook Pixel released in 2013. With this config
          U-Boot is built as a 64-bit binary. This allows testing while this
@@ -31,7 +54,7 @@ config TARGET_CHROMEBOOK_LINK64
 
 config TARGET_CHROMEBOX_PANTHER
        bool "Chromebox panther (not available)"
-       select n
+       select BIOSEMU
        help
          Note: At present this must be used with coreboot. See README.x86
          for instructions.
@@ -55,8 +78,17 @@ config TARGET_CHROMEBOOK_SAMUS
          Chrome OS EC connected on LPC, and it provides a 2560x1700 high
          resolution touch-enabled LCD display.
 
+config TARGET_CHROMEBOOK_SAMUS_TPL
+       bool "Chromebook samus booting from TPL"
+       help
+         This is a version of Samus which boots into TPL, then to SPL and
+         U-Boot proper. This is useful where verified boot must select
+         between different A/B versions of SPL/U-Boot, to allow upgrading of
+         almost all U-Boot code in the field.
+
 endchoice
 
+source "board/google/chromebook_coral/Kconfig"
 source "board/google/chromebook_link/Kconfig"
 source "board/google/chromebox_panther/Kconfig"
 source "board/google/chromebook_samus/Kconfig"