aboutsummaryrefslogtreecommitdiff
path: root/board/myir
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2022-02-20 23:47:01 +0100
committerTom Rini <trini@konsulko.com>2022-02-28 10:33:45 -0500
commitc2aed9cfb9fdeafec27e3999453bfe4e67ffdd53 (patch)
treea7dc0dd2dfbb4c6ca319f810c8c7d74baea34190 /board/myir
parent6fb4f7387e17664e2e6cea1217fe9e95cc0a1170 (diff)
downloadu-boot-WIP/2022-02-28-bugfixes.zip
u-boot-WIP/2022-02-28-bugfixes.tar.gz
u-boot-WIP/2022-02-28-bugfixes.tar.bz2
board: stemmy: Detect board variants and patch DTBWIP/2022-02-28-bugfixes
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@gmail.com> Cc: Stephan Gerhold <stephan@gerhold.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'board/myir')
0 files changed, 0 insertions, 0 deletions