You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lk2nd: dev_tree: Mark as best dtb node if compatible matches with lk2nd dtb
Makes sure we load the correct dtb node based on lk2nd's device
selection logic when boot.img contains multiple dtbs with same ids.
For example, on msm8953-xiaomi-common.dts, we see 3 devices sharing
the same msm-id and board-id. If a given boot.img contains dtbs for
all these devices, without this logic lk2nd will always load the
first of these dtbs, regardless of the device it's being run on.
Try using compatible string from `dtb_compatible` property first,
because there's some devices supposed to use some other devices' dtb
in mainline kernel (e.g. xiaomi-sakura uses xiaomi-daisy dtb).
This shouldn't affect booting downstream kernels, since they normally
don't define `<vendor>,<device>` on their dts compatible.
Change-Id: Ib7ed0908038f178d34eaa6b4952691c17055c22b
0 commit comments