[PATCH v2] board: stemmy: Detect board variants and patch DTB

Tom Rini trini at konsulko.com
Mon Feb 28 21:47:14 CET 2022


On Sun, Feb 20, 2022 at 11:47:01PM +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 ft_board_setup() callback 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 at gmail.com>
> Cc: Stephan Gerhold <stephan at gerhold.net>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220228/f67e8863/attachment.sig>


More information about the U-Boot mailing list