commit | a4f740cf33f7f6c164bbde3c0cdbcc77b0c4997c | [log] [tgz] |
---|---|---|
author | Grant Likely <grant.likely@secretlab.ca> | Sat Oct 30 11:49:09 2010 -0400 |
committer | Grant Likely <grant.likely@secretlab.ca> | Sat Jan 01 13:03:25 2011 -0700 |
tree | 62d061939000c65d91cf760a51509d388270f4c9 | |
parent | 73930a85cf38d72851305fcf640c07b4c13aa405 [diff] |
of/flattree: Add of_flat_dt_match() helper function This patch adds of_flat_dt_match() which tests a node for compatibility with a list of values and converts the relevant powerpc platform code to use it. This approach simplifies the board support code a bit. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Reviewed-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>