platform: generic: add extensions_init handler and platform-override
authorHeiko Stuebner <heiko@sntech.de>
Tue, 4 Oct 2022 16:42:26 +0000 (18:42 +0200)
committerAnup Patel <anup@brainfault.org>
Thu, 13 Oct 2022 04:22:06 +0000 (09:52 +0530)
commit2f63f2465c42c64559e4f7b9d0183c2b47472019
tree34b9a5443f2efa471e7dd530f62eebc6d07286d7
parent4f2acb53e21af805e499f7f594a931af9b0623fd
platform: generic: add extensions_init handler and platform-override

Init of non-standard extensions is a platform-specific thing,
so allow generic platforms to do this via a platform-override.

Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
platform/generic/include/platform_override.h
platform/generic/platform.c