public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Philippe Schenker <dev@pschenker.ch>
To: u-boot@lists.denx.de, Marcel Ziswiler <marcel.ziswiler@toradex.com>
Cc: Philippe Schenker <philippe.schenker@toradex.com>
Subject: [PATCH 2/2] board: verdin-imx8mp: add call to ft_common_board_setup
Date: Mon, 29 Aug 2022 19:59:53 +0200	[thread overview]
Message-ID: <20220829175953.249441-2-dev@pschenker.ch> (raw)
In-Reply-To: <20220829175953.249441-1-dev@pschenker.ch>

From: Philippe Schenker <philippe.schenker@toradex.com>

With this call the following attributes get set to the device-tree
and are then accessible from linux in /proc/device-tree/

serial-number: The serial number that is stored in config-block
toradex,board-rev: The version of the module (e.g. V1.1A)
toradex,product-id: The SKU number of the module runnin

Fixes: commit 2bc2f817cea7 ("board: toradex: add verdin imx8m plus support")
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>

---

 board/toradex/verdin-imx8mp/verdin-imx8mp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/toradex/verdin-imx8mp/verdin-imx8mp.c b/board/toradex/verdin-imx8mp/verdin-imx8mp.c
index e3c1a1201daa..086de96cf2c7 100644
--- a/board/toradex/verdin-imx8mp/verdin-imx8mp.c
+++ b/board/toradex/verdin-imx8mp/verdin-imx8mp.c
@@ -124,6 +124,6 @@ int board_late_init(void)
 #if IS_ENABLED(CONFIG_OF_LIBFDT) && IS_ENABLED(CONFIG_OF_BOARD_SETUP)
 int ft_board_setup(void *blob, struct bd_info *bd)
 {
-	return 0;
+	return ft_common_board_setup(blob, bd);
 }
 #endif
-- 
2.37.2


  reply	other threads:[~2022-08-29 18:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-29 17:59 [PATCH 1/2] board: verdin-imx8mm: add call to ft_common_board_setup Philippe Schenker
2022-08-29 17:59 ` Philippe Schenker [this message]
2022-09-23 14:09   ` [PATCH 2/2] board: verdin-imx8mp: " Marcel Ziswiler
2022-10-21 11:41   ` sbabic
2022-09-23 14:08 ` [PATCH 1/2] board: verdin-imx8mm: " Marcel Ziswiler
2022-10-21 11:43 ` sbabic

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=20220829175953.249441-2-dev@pschenker.ch \
    --to=dev@pschenker.ch \
    --cc=marcel.ziswiler@toradex.com \
    --cc=philippe.schenker@toradex.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox