Add an option to generate the declaration file, which declares all
drivers and uclasses, so references can be used in the code.

Signed-off-by: Simon Glass <s...@chromium.org>
---

(no changes since v1)

 tools/dtoc/dtb_platdata.py | 36 +++++++++++++++
 tools/dtoc/test_dtoc.py    | 91 +++++++++++++++++++++++++++++++++++---
 2 files changed, 120 insertions(+), 7 deletions(-)

Applied to u-boot-dm, thanks!

Reply via email to