diff options
author | Samuel Holland <samuel.holland@sifive.com> | 2024-11-11 14:02:53 -0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-11-28 17:48:17 +0530 |
commit | 6d9ad492dbfdda00add7ff15a8599736f46d040a (patch) | |
tree | 46b9f4122d3efaea86438c34499e9d5294fab0df /platform/generic/platform.c | |
parent | 1f8db2f18ffb4babb27c2070419b7100f998c7f4 (diff) | |
download | opensbi-6d9ad492dbfdda00add7ff15a8599736f46d040a.zip opensbi-6d9ad492dbfdda00add7ff15a8599736f46d040a.tar.gz opensbi-6d9ad492dbfdda00add7ff15a8599736f46d040a.tar.bz2 |
lib: utils/reset: Use fdt_driver for initialization
The reset driver subsystem does not need any extra data, so it can use
`struct fdt_driver` directly. The generic fdt_reset_init() performs a
best-effort initialization of all matching DT nodes. Platform-specific
logic expects exactly one DT node to match a single driver. This is
accomplished by using fdt_driver_init_one() with a local list containing
that one driver.
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'platform/generic/platform.c')
0 files changed, 0 insertions, 0 deletions