diff options
author | Samuel Holland <samuel.holland@sifive.com> | 2025-03-25 16:43:29 -0700 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2025-04-23 12:32:51 +0530 |
commit | b353af63e2223409698a5afce7a6413204a499dd (patch) | |
tree | d18c3dc154dc64166654da449433ef1d65b902c4 /lib/utils/cppc | |
parent | 2489e1421d5bbb751d4779dc873bcbbb21e331c0 (diff) | |
download | opensbi-b353af63e2223409698a5afce7a6413204a499dd.zip opensbi-b353af63e2223409698a5afce7a6413204a499dd.tar.gz opensbi-b353af63e2223409698a5afce7a6413204a499dd.tar.bz2 |
platform: generic: Modify platform ops instead of using hooks
Switch all existing platform overrides to use the helper pattern instead
of the platform hooks. After this commit, only the .match_table and
.init members of struct platform_override are used.
There are two minor behavioral differences:
- For Allwinner D1, fdt_add_cpu_idle_states() is now called before the
body of generic_final_init(). This should have no functional impact.
- For StarFive JH7110, if the /chosen/starfive,boot-hart-id property is
missing, the code now falls back to using generic_coldboot_harts,
instead of accepting any hart.
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20250325234342.711447-7-samuel.holland@sifive.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/utils/cppc')
0 files changed, 0 insertions, 0 deletions