commit | 3ee3d1588f58a05ace1e19162c58a96a2b1303f0 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Jul 30 15:52:13 2022 -0600 |
committer | Tom Rini <trini@konsulko.com> | Fri Aug 12 08:14:24 2022 -0400 |
tree | 14b0f51e7ad986d730b39d8b0bf0440ddf1b5659 | |
parent | 2f0cb8fbf899b93a1d2a0d0296918d42dfd205cb [diff] |
dm: core: Allow writing to a flat tree with ofnode In generally it is not permitted to implement an ofnode function only for flat tree or live tree. Both must be supported. Also the code for live tree access should be in of_access.c rather than ofnode.c which is really just for holding the API-conversion code. Update ofnode_write_prop() accordingly and fix the test so it can work with flat tree too. Signed-off-by: Simon Glass <sjg@chromium.org>