hw/sparc/leon3: check cpu_id in the tiny bootloader
authorClément Chigot <chigot@adacore.com>
Wed, 31 Jan 2024 08:50:46 +0000 (09:50 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 15 Feb 2024 15:58:46 +0000 (16:58 +0100)
commit56bd9678ef553498274f1d29ebb2839f220bce6d
treeb1f37e949164d529abfa8b259894878fd6cbb97e
parentd65aba8286e40bc02f26f19e53fa20c9396d02e7
hw/sparc/leon3: check cpu_id in the tiny bootloader

Now that SMP is possible, the asr17 must be checked in the little boot
code or the secondary CPU will reinitialize the Timer and the Uart.

Co-developed-by: Frederic Konrad <konrad.frederic@yahoo.fr>
Signed-off-by: Clément Chigot <chigot@adacore.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240131085047.18458-9-chigot@adacore.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/sparc/leon3.c