lib: sbi: Override domain boot HART when coldboot HART assigned to it
authorAnup Patel <anup.patel@wdc.com>
Sun, 15 Nov 2020 08:00:29 +0000 (13:30 +0530)
committerAnup Patel <anup@brainfault.org>
Fri, 4 Dec 2020 12:28:59 +0000 (17:58 +0530)
commit62ea4f4e2a107e4f35661cb24673e6d3d24d9dbd
tree58f073c1141bd6de1aec74bb490b59499ecf2e3d
parentc1f6d8967889438638618e1d1f5615d7b2344454
lib: sbi: Override domain boot HART when coldboot HART assigned to it

If coldboot HART is assigned to a domain then we should use coldboot
HART as the boot HART of the domain. This allows coldboot HART to
continue boot sequence even when it is assigned to some non-root domain.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
lib/sbi/sbi_domain.c