u-boot/arch/x86
Simon Glass 80a4570c99 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>
2021-03-27 16:26:48 +13:00
..
cpu x86: coral: Allow init of debug UART in U-Boot proper 2021-03-27 15:04:30 +13:00
dts x86: coral: Show memory config and SKU ID on startup 2021-03-27 16:26:48 +13:00
include/asm x86: coral: Allow init of debug UART in U-Boot proper 2021-03-27 15:04:30 +13:00
lib cpu: Rename SPL_CPU_SUPPORT to SPL_CPU 2021-03-27 15:04:31 +13:00
config.mk kconfig / kbuild: Re-sync with Linux 4.19 2020-04-10 11:18:32 -04:00
Kconfig x86: Move coreboot sysinfo parsing into generic x86 code 2021-03-27 13:59:59 +13:00
Makefile x86: Allow 16-bit init to be in TPL 2019-05-08 13:02:13 +08:00