]> git.baikalelectronics.ru Git - uboot.git/commit
x86: coral: Show memory config and SKU ID on startup
authorSimon Glass <sjg@chromium.org>
Sun, 21 Mar 2021 03:50:07 +0000 (16:50 +1300)
committerSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 03:26:48 +0000 (16:26 +1300)
commit765b7b75c48e08d44f246dea7370e7ee8fd4bf9f
treec761296b6a2b9a72d191781c255ab00ce9de6482
parent82cd6b33e270f382c13f2e7591b26a383a158803
x86: coral: Show memory config and SKU ID on startup

Provide the model information through sysinfo so that it shows up on
boot. For memconfig 4 pins are provided, for 16 combinations. For SKU
ID there are two options:

   - two pins provided in a ternary arrangement, for 9 combinations.
   - reading from the EC

Add a binding doc and drop the unused #defines as well.

Example:

   U-Boot 2021.01-rc5

   CPU:   Intel(R) Celeron(R) CPU N3450 @ 1.10GHz
   DRAM:  3.9 GiB
   MMC:   sdmmc@1b,0: 1, emmc@1c,0: 2
   Video: 1024x768x32 @ b0000000
   Model: Google Coral (memconfig 5, SKU 3)

This depends on the GPIO series:

   http://patchwork.ozlabs.org/project/uboot/list/?series=228126

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/dts/chromebook_coral.dts
board/google/chromebook_coral/coral.c
board/google/chromebook_coral/variant_gpio.h
doc/device-tree-bindings/sysinfo/google,coral.txt [new file with mode: 0644]