parisc: Add code generator for Qemu/SeaBIOS machine info
authorHelge Deller <deller@gmx.de>
Sun, 25 Mar 2018 16:52:58 +0000 (18:52 +0200)
committerHelge Deller <deller@gmx.de>
Tue, 27 Mar 2018 16:52:22 +0000 (18:52 +0200)
commita77ab0e7ce232a62adac3d85b9ae66d0f48385ac
tree5be2930f3a2697d91dbcab381e61367d61f9d289
parentb845f66f78bf42a4ce98e5cfe0e94fab41dd0742
parisc: Add code generator for Qemu/SeaBIOS machine info

Qemu now supports emulating PA-RISC machines. For that a forked version
of SeaBIOS available at https://github.com/hdeller/seabios-hppa is used
which requires some information about the emulated machine.

This patch adds code to generate a header file with the necessary
information for SeaBIOS. The information is extracted from the firmware
the current kernel is running on.

Tested on a B160L workstation.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/drivers.c