platform: generic: Allow platform_override to perform firmware init
authorWei Liang Lim <weiliang.lim@starfivetech.com>
Thu, 29 Dec 2022 02:56:17 +0000 (10:56 +0800)
committerAnup Patel <anup@brainfault.org>
Sat, 7 Jan 2023 10:28:54 +0000 (15:58 +0530)
commitcb7e7c3325e68a9b4d5ea210b97cac693cf5814f
tree49b7b93ac02fd37980f8c357872fe3f4a4d104ea
parent6957ae0e91ebd9f17411b56f3e9100d31bc48b56
platform: generic: Allow platform_override to perform firmware init

We add a generic platform override callback to allow platform specific firmware init.

Signed-off-by: Wei Liang Lim <weiliang.lim@starfivetech.com>
Reviewed-by: Chee Hong Ang <cheehong.ang@starfivetech.com>
Reviewed-by: Jun Liang Tan <junliang.tan@starfivetech.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
platform/generic/include/platform_override.h
platform/generic/platform.c