Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
platform: generic: Fix fw_platform_coldboot_harts_init() function
It is possible that the OpenSBI config DT node is present but the "cold-boot-harts" DT property is not present. In this case, the fw_platform_coldboot_harts_init() will do nothing which in-turn causes OpenSBI firmware hang at boot time. To address the above issue, fallback to the default approach when the "cold-boot-harts" DT property is not present. Fixes: 67ce5a7 ("platform: generic: Add support for specify coldboot harts in DT") Signed-off-by: Anup Patel <[email protected]>
- Loading branch information