commit | 9a14860040192296fe3a5a0e0683c5c2f4966933 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed May 17 17:18:10 2017 -0600 |
committer | Simon Glass <sjg@chromium.org> | Thu Jun 01 07:03:04 2017 -0600 |
tree | a3922476dddd7da5aae226a8eb5c16fc405bcca1 | |
parent | 7a4944300bfa6780179574a840346a8026c511b1 [diff] |
dm: core: Add ofnode to represent device tree nodes With live tree we need a struct device_node * to reference a node. With the existing flat tree, we need an int offset. We need to unify these into a single value which can represent both. Add an ofnode union for this and adjust existing code to move to this. Signed-off-by: Simon Glass <sjg@chromium.org>