Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 473c78d4 authored by Rob Herring's avatar Rob Herring Committed by Michael Bohan
Browse files

of: introduce common FDT machine related functions



Introduce common of_flat_dt_match_machine and
of_flat_dt_get_machine_name functions to unify architectures' handling
of machine level model and compatible properties.

Several architectures match the root compatible string with an arch
specific list of machine descriptors duplicating the same search
algorithm. Create a common implementation with a simple architecture
specific hook to iterate over each machine's match table.

Signed-off-by: default avatarRob Herring <rob.herring@calxeda.com>
Acked-by: default avatarGrant Likely <grant.likely@linaro.org>
Git-commit: 6a903a2551ef778d60ce4341722d611144251398
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


[imaund@codeaurora.org: resolve merge conflicts]
Signed-off-by: default avatarIan Maund <imaund@codeaurora.org>
parent 4dda1d8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment