diff options
| author | RodrÃguez Barbarin, José Javier <[email protected]> | 2023-07-05 13:15:12 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-07-25 20:21:18 +0200 |
| commit | 2554e6ba28a25f00cf1258d984a695e7ae391af2 (patch) | |
| tree | d861196aa868a113aabd3f2736d490106ea76c6f /tools/perf/scripts/python/libxed.py | |
| parent | 328c79dd0e70da2126d5c122b0a74a1af93af730 (diff) | |
8250_men_mcb: Read num ports from register data.
The IP Core Z025 and Z057 have a register where the amount of UART
ports is specified. Such register is located at offset 0x40.
This patch fixes the way the UART ports is calculated by reading
the actual register. Additionally a refactor was needed to achieve
this so we can keep track of the UART line and its offset which
also improves the remove callback.
Co-developed-by: Jorge Sanjuan Garcia <[email protected]>
Signed-off-by: Jorge Sanjuan Garcia <[email protected]>
Signed-off-by: Javier Rodriguez <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions