All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Estevam <festevam@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH 2/2] arm: dart6ul: read and print SoM info from eeprom on startup
Date: Sat, 26 Dec 2020 00:10:31 -0300	[thread overview]
Message-ID: <CAOMZO5AhsLtYfvVWvZ3ts5j-M_=tFPL+BbJMfevc4k=U9oDTAw@mail.gmail.com> (raw)
In-Reply-To: <20201222192412.3867584-2-ferlandm@amotus.ca>

On Tue, Dec 22, 2020 at 4:58 PM <ferlandm@amotus.ca> wrote:
>
> From: Marc Ferland <ferlandm@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@amotus.ca>

Reviewed-by: Fabio Estevam <festevam@gmail.com>

  reply	other threads:[~2020-12-26  3:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-22 19:24 [PATCH 1/2] arm: dart6ul: change compatible string for eeprom ferlandm at amotus.ca
2020-12-22 19:24 ` [PATCH 2/2] arm: dart6ul: read and print SoM info from eeprom on startup ferlandm at amotus.ca
2020-12-26  3:10   ` Fabio Estevam [this message]
2020-12-26 15:53   ` sbabic at denx.de
2020-12-26  3:10 ` [PATCH 1/2] arm: dart6ul: change compatible string for eeprom Fabio Estevam
2020-12-26 15:53 ` sbabic at denx.de

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOMZO5AhsLtYfvVWvZ3ts5j-M_=tFPL+BbJMfevc4k=U9oDTAw@mail.gmail.com' \
    --to=festevam@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.