[PATCH 6/8] dtoc: Detect unexpected suffix on .of_match

Simon Glass sjg at chromium.org
Mon Jul 12 01:00:31 CEST 2021


Some rockchip drivers use a suffix on the of_match line which is not
strictly valid. At present this causes the parsing to fail. Fix this
and offer a warning.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/dtoc/src_scan.py      | 12 +++--
 tools/dtoc/test_src_scan.py | 92 +++++++++++++++++++++++++++++++++++++
 2 files changed, 101 insertions(+), 3 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list