u-boot-brain/arch
Marc Ferland 37648b600c arm: dart6ul: read and print SoM info from eeprom on startup
The dart6ul has an i2c eeprom at 0x50 which contains, among other
things, the manufacturing/revision/options info of the SoM. This patch
replaces the current checkboard() implementation with a more
exhaustive one based on the content of the eeprom.

Since this code uses the new driver model, some changes were also
required in the DTS to make the nodes related to i2c available before
relocation.

This code was inspired from the supported u-boot code from Variscite
which can be found here:

https://github.com/varigit/uboot-imx/tree/imx_v2018.03_4.14.78_1.0.0_ga_var02

New output example:

Board: PN: VSM-6UL-705B, Assy: AS1812142257, Date: 2019 Feb 17
       Storage: eMMC, Wifi: yes, DDR: 1024 MiB, Rev: 2.4G

Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
2020-12-26 14:56:09 +01:00
..
arc spi: dw: Add SoC-specific compatible strings 2020-12-18 16:16:37 +05:30
arm arm: dart6ul: read and print SoM info from eeprom on startup 2020-12-26 14:56:09 +01:00
m68k arch: Move NEEDS_MANUAL_RELOC symbol to Kconfig 2020-11-04 10:13:44 -05:00
microblaze microblaze: Enable GCC garbage collector for full U-Boot 2020-11-20 10:42:53 +01:00
mips spi: dw: Add SoC-specific compatible strings 2020-12-18 16:16:37 +05:30
nds32 treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
nios2 cpu: Convert the methods to use a const udevice * 2020-07-25 14:46:57 -06:00
powerpc powerpc: mpc85xx: Allow boards to override CONFIG_USB_MAX_CONTROLLER_COUNT 2020-12-10 13:56:39 +05:30
riscv riscv: Add device tree bindings for SPI 2020-12-18 16:16:37 +05:30
sandbox patman status subcommand to collect tags from Patchwork 2020-11-06 11:27:14 -05:00
sh sh: r2dplus: Add SCIF1 to the basic DT 2020-08-02 19:58:27 +02:00
x86 fsp: Move and rename fsp_types.h file 2020-12-22 10:19:40 +08:00
xtensa xtensa: Remove arch_setup_bdinfo() 2020-08-26 09:19:40 +02:00
.gitignore
Kconfig patman status subcommand to collect tags from Patchwork 2020-11-06 11:27:14 -05:00
u-boot-elf.lds arch: Add explicit linker script for u-boot-elf 2020-04-03 11:52:55 -04:00