diff options
author | Rob Herring <rob.herring@calxeda.com> | 2013-08-27 21:41:56 -0500 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2013-10-09 20:03:54 -0500 |
commit | 6a903a2551ef778d60ce4341722d611144251398 (patch) | |
tree | 71f3db9c68ced5a0d8fe69b282c08181fbdf0c40 /include/asm-generic | |
parent | 9b7d9f27f6cf418a79b81d99688c2f92bf93fc49 (diff) | |
download | blackbird-op-linux-6a903a2551ef778d60ce4341722d611144251398.tar.gz blackbird-op-linux-6a903a2551ef778d60ce4341722d611144251398.zip |
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: Rob Herring <rob.herring@calxeda.com>
Acked-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions