aboutsummaryrefslogtreecommitdiff
path: root/lib/utils/cppc
diff options
context:
space:
mode:
authorAlvin Chang <alvinga@andestech.com>2025-04-30 17:10:07 +0800
committerAnup Patel <anup@brainfault.org>2025-05-20 11:20:57 +0530
commit2bb76326496440996b44bf20f3ceab127c7f72ae (patch)
tree971fad8de5be68a80486e16d033254a44eab2f7c /lib/utils/cppc
parentf3cce5b97f15f5ca87409902ca6a856b5012a5b3 (diff)
downloadopensbi-2bb76326496440996b44bf20f3ceab127c7f72ae.zip
opensbi-2bb76326496440996b44bf20f3ceab127c7f72ae.tar.gz
opensbi-2bb76326496440996b44bf20f3ceab127c7f72ae.tar.bz2
lib: utils: Fix fdt_mpxy_init() not returning error code
It seems that current implementation doesn't fail on fdt_mpxy_init(), because platforms might not have any MPXY devices. In fact, if there are no MPXY devices, fdt_driver_init_all() will return SBI_OK. More importantly, if there is any MPXY device which fails the initialization, OpenSBI must check the error code and stop the booting. Thus, this commit adds the return value for fdt_mpxy_init(). Signed-off-by: Alvin Chang <alvinga@andestech.com> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20250430091007.3768180-1-alvinga@andestech.com Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/utils/cppc')
0 files changed, 0 insertions, 0 deletions