aboutsummaryrefslogtreecommitdiff
path: root/tools/patman/commit.py
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 /tools/patman/commit.py
parent6fb4f7387e17664e2e6cea1217fe9e95cc0a1170 (diff)
board: stemmy: Detect board variants and patch DTB
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 'tools/patman/commit.py')
0 files changed, 0 insertions, 0 deletions