diff options
author | Imre Deak <imre.deak@intel.com> | 2014-06-03 16:52:48 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2014-06-03 22:19:43 +0300 |
commit | 1451df1cb692bf04e5733b5d9ea00d0757f257a4 (patch) | |
tree | 1d5f837e396d5d4887181313739761bf4e0329cc /tools | |
parent | ea43f5163a01d9bb2b7fd23dd6316c9f863ded86 (diff) |
quick_dump: increase reg name column width
Needed by the new long audio register names.
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/quick_dump/quick_dump.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/quick_dump/quick_dump.py b/tools/quick_dump/quick_dump.py index 19568cba..46e883e4 100755 --- a/tools/quick_dump/quick_dump.py +++ b/tools/quick_dump/quick_dump.py @@ -30,8 +30,8 @@ def ignore_line(line): return False def parse_file(file): - print('{0:^10s} | {1:^28s} | {2:^10s}'. format('offset', file.name, 'value')) - print('-' * 54) + print('{0:^10s} | {1:^33s} | {2:^10s}'. format('offset', file.name, 'value')) + print('-' * 59) for line in file: if ignore_line(line): continue @@ -47,7 +47,7 @@ def parse_file(file): if register[2] != '': intreg = intreg + int(register[2], 16) val = reg.read(intreg) - print('{0:#010x} | {1:<28} | {2:#010x}'.format(intreg, register[0], val)) + print('{0:#010x} | {1:<33} | {2:#010x}'.format(intreg, register[0], val)) print('') def walk_base_files(): |