utils: gen-debug-controls: Output direction flag
The yaml definitions for controls now require a direction attribute which is not auto generated by gen-debug-controls.py. Fix that. Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
344064a111
commit
fa2e8621f5
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ def main(argv):
|
|||
|
||||
p = m.file.relative_to(root_dir)
|
||||
desc = {'type': m.type,
|
||||
'direction': 'out',
|
||||
'description': f'Debug control {m.name} found in {p}:{m.line}'}
|
||||
if m.size is not None:
|
||||
desc['size'] = m.size
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue