diff options
author | Samuel Holland <samuel.holland@sifive.com> | 2025-01-19 11:03:57 -0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2025-02-12 21:39:25 +0530 |
commit | 434add551c2a17cac3804ff0f587d31be03f070e (patch) | |
tree | 3554b7e11c36b8427cfc3349daf00a5eb5d5027b /lib/utils/cppc/fdt_cppc_rpmi.c | |
parent | e84ba966347009a2dae61d7399bc68c28892847e (diff) | |
download | opensbi-434add551c2a17cac3804ff0f587d31be03f070e.zip opensbi-434add551c2a17cac3804ff0f587d31be03f070e.tar.gz opensbi-434add551c2a17cac3804ff0f587d31be03f070e.tar.bz2 |
lib: utils: Initialize miscellaneous drivers in one pass
For driver subsystems that are not tightly integrated into the OpenSBI
init sequence, it is not important that the drivers are initialized in
any particular order. By putting all of these drivers in one array, they
can all be initialized with a single pass through the devicetree. This
saves about 10 ms of boot time on HiFive Unmatched.
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/utils/cppc/fdt_cppc_rpmi.c')
-rw-r--r-- | lib/utils/cppc/fdt_cppc_rpmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/cppc/fdt_cppc_rpmi.c b/lib/utils/cppc/fdt_cppc_rpmi.c index 9532840..3934219 100644 --- a/lib/utils/cppc/fdt_cppc_rpmi.c +++ b/lib/utils/cppc/fdt_cppc_rpmi.c @@ -12,7 +12,7 @@ #include <sbi/sbi_cppc.h> #include <sbi/sbi_ecall_interface.h> #include <sbi/sbi_scratch.h> -#include <sbi_utils/cppc/fdt_cppc.h> +#include <sbi_utils/fdt/fdt_driver.h> #include <sbi_utils/fdt/fdt_helper.h> #include <sbi_utils/mailbox/fdt_mailbox.h> #include <sbi_utils/mailbox/rpmi_mailbox.h> |