mbox series

[0/2] scripts: dt_to_config: Fix nul-separated compatible values

Message ID cover.1698328110.git.geert+renesas@glider.be
Headers show
Series scripts: dt_to_config: Fix nul-separated compatible values | expand

Message

Geert Uytterhoeven Oct. 26, 2023, 1:55 p.m. UTC
Hi all,

Due to a not-so-recent change in dtc, the dt_to_config script no longer
works well when used on a DTB instead of on a DTS file.  The first patch
fixes that, the second patch fixes the rather odd spacing in that
script.

To not hamper backporting the fix, I put the reformatting patch last.

Thanks for your comments!

P.S. Apparently I had fixed the similar issue in my own out-of-tree
     linux-config-from-dt script in a slightly different way.
     https://github.com/geertu/linux-scripts/commit/56ade26c032c45e9353334384643d190d34b89fb

Geert Uytterhoeven (2):
  scripts: dt_to_config: Fix nul-separated compatible values
  scripts: dt_to_config: Fix odd formatting

 scripts/dtc/dt_to_config | 1765 +++++++++++++++++++-------------------
 1 file changed, 879 insertions(+), 886 deletions(-)