summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBohdan Chubuk <[email protected]>2025-11-23 22:43:46 +0200
committerAndre Przywara <[email protected]>2026-01-25 23:29:32 +0000
commiteb7390797d262eaab589a4d4e71fbb0c156bd61c (patch)
tree6bca66b3db6b21867d91a211b7489046db1b09cd /include
parentc47b636737366d9bc017b915ca6fcbcce8706e6e (diff)
sunxi: avoid double vendor prefix when CONFIG_OF_UPSTREAM is enabled
When CONFIG_OF_UPSTREAM is enabled, the device tree name provided by SPL already includes the vendor directory (e.g., "allwinner/board-name"). The existing logic in misc_init_r() unconditionally prepends "allwinner/" for ARM64 builds, resulting in an incorrect path like "allwinner/allwinner/board-name.dtb". This patch modifies the logic to only prepend the vendor prefix if CONFIG_OF_UPSTREAM is NOT enabled. This ensures compatibility with both legacy builds and the new upstream devicetree structure. Signed-off-by: Bohdan Chubuk <[email protected]> Reviewed-by: Andre Przywara <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions