[PATCH v2] board: stemmy: Detect board variants and patch DTB
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
> 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!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 659 bytes
Desc: not available
More information about the U-Boot