leon3: add a little bootloader
authorKONRAD Frederic <frederic.konrad@adacore.com>
Wed, 15 May 2019 12:31:31 +0000 (14:31 +0200)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 17 May 2019 08:17:11 +0000 (09:17 +0100)
commitdbed0d2d2adb0df7532783e8a3439856e4218b17
tree6b4d9e2a2a5e57f2dd846c77d75402449aa10dcb
parentb70447aaeacc6d85f29138baf020000312914f6e
leon3: add a little bootloader

This adds a little bootloader to the leon3_machine when a ram image is
given through the kernel parameter and no bios are provided:
  * The UART transmiter is enabled.
  * The TIMER is initialized.

Reviewed-by: Fabien Chouteau <chouteau@adacore.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: KONRAD Frederic <frederic.konrad@adacore.com>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/sparc/leon3.c