From mboxrd@z Thu Jan 1 00:00:00 1970 From: sbabic at denx.de Date: Sat, 26 Dec 2020 16:53:25 +0100 (CET) Subject: [PATCH 2/2] arm: dart6ul: read and print SoM info from eeprom on startup In-Reply-To: <20201222192412.3867584-2-ferlandm@amotus.ca> Message-ID: <20201226155325.343B08263B@phobos.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > From: Marc Ferland > 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 > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================