From: Tom Rini <trini@konsulko.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: u-boot@lists.denx.de, Markuss Broks <markuss.broks@gmail.com>,
Stephan Gerhold <stephan@gerhold.net>
Subject: Re: [PATCH] board: stemmy: Detect board variants and patch DTB
Date: Sun, 20 Feb 2022 08:20:12 -0500 [thread overview]
Message-ID: <20220220132012.GF1576803@bill-the-cat> (raw)
In-Reply-To: <20220220010942.1634904-1-linus.walleij@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 1361 bytes --]
On Sun, Feb 20, 2022 at 02:09:42AM +0100, Linus Walleij wrote:
> This patch scans the cmdline from the Samsung SBL (second stage
> bootloader) and stores the parameters board_id=N and lcdtype=N
> in order to augment the DTB for different board and LCD types.
>
> We then add a custom command "stemmy_patch" that will inspect
> the DTB and patch it using the stored LCD type. At this point
> we know which product we are dealing with, so using the passed
> board_id we can also print the board variant for diagnostics.
>
> We patch the Codina, Skomer and Kyle DTBs to use the right
> LCD type as passed in lcdtype from the SBL.
>
> This also creates an infrastructure for handling any other
> Samsung U8500 board variants that may need a slightly augmented
> DTB.
>
> Cc: Markuss Broks <markuss.broks@gmail.com>
> Cc: Stephan Gerhold <stephan@gerhold.net>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> This patch depends on the patch to abootimg.c that makes the
> abootimg command properly report the location of a DTB in the
> "second" area submitted earlier.
>
> The patch refers to samsung,codina-tmo which is a device tree
> which is not yet in the upstream Linux kernel but it is on
> its way there.
My only real question / concern is why is this a command and not
board_fixup_fdt() ?
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
prev parent reply other threads:[~2022-02-20 13:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-20 1:09 [PATCH] board: stemmy: Detect board variants and patch DTB Linus Walleij
2022-02-20 13:20 ` Tom Rini [this message]
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=20220220132012.GF1576803@bill-the-cat \
--to=trini@konsulko.com \
--cc=linus.walleij@linaro.org \
--cc=markuss.broks@gmail.com \
--cc=stephan@gerhold.net \
--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