diff options
author | Terry Bowman <[email protected]> | 2022-02-02 09:35:23 -0600 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2022-03-27 17:04:32 +0200 |
commit | 1f182aca230086d4a4469c0f9136a6ea762d6385 (patch) | |
tree | a259bd0506d419869dd0d64477099c2353339da6 /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | abd71a948f7aab47ca49d3e7fe6afa6c48c8aae0 (diff) |
Watchdog: sp5100_tco: Refactor MMIO base address initialization
Combine MMIO base address and alternate base address detection. Combine
based on layout type. This will simplify the function by eliminating
a switch case.
Move existing request/release code into functions. This currently only
supports port I/O request/release. The move into a separate function
will make it ready for adding MMIO region support.
Co-developed-by: Robert Richter <[email protected]>
Signed-off-by: Robert Richter <[email protected]>
Signed-off-by: Terry Bowman <[email protected]>
Tested-by: Jean Delvare <[email protected]>
Reviewed-by: Jean Delvare <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions