[PATCH 2/2] arm: dart6ul: read and print SoM info from eeprom on startup
Fabio Estevam
festevam at gmail.com
Sat Dec 26 04:10:31 CET 2020
On Tue, Dec 22, 2020 at 4:58 PM <ferlandm at amotus.ca> wrote:
>
> From: Marc Ferland <ferlandm at amotus.ca>
>
> 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 at amotus.ca>
Reviewed-by: Fabio Estevam <festevam at gmail.com>
More information about the U-Boot
mailing list