platform: generic: move fdt_reset_init to final_init
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 6 Nov 2021 09:54:50 +0000 (10:54 +0100)
committerAnup Patel <anup@brainfault.org>
Mon, 8 Nov 2021 05:12:05 +0000 (10:42 +0530)
commit57f094e67e0642a16889e9bce64266a4e378683b
tree8b9a097a49da203f2942f22ac26bab4da1e1078a
parent2fe2f55d5050aac546d35616f2944f889a9c8d6e
platform: generic: move fdt_reset_init to final_init

Move the fdt_reset_init() invocation from generic_early_init() to
generic_final_init(). This allows to print error messages.

Ignore the return value of fdt_reset_init() as we should not stop booting
due to failure to initialize reset drivers.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Dong Du <Dd_nirvana@sjtu.edu.cn>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
platform/generic/platform.c