hw/loongarch: Add slave cpu boot_code
authorSong Gao <gaosong@loongson.cn>
Fri, 26 Apr 2024 09:15:37 +0000 (17:15 +0800)
committerSong Gao <gaosong@loongson.cn>
Mon, 29 Apr 2024 02:25:56 +0000 (10:25 +0800)
commit7e0510d7600cd0c1c4742751b415f4f7df84328e
tree25fa86b302248a7d920ecdaaaaea82e78b2e227a
parent02307a678c3cb366d089ef8d90f6acb9663b98ce
hw/loongarch: Add slave cpu boot_code

Load the slave CPU boot code at pflash0 and set
the slave CPU elf_address to VIRT_FLASH0_BASE.

Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Message-Id: <20240426091551.2397867-4-gaosong@loongson.cn>
hw/loongarch/boot.c