aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2021-09-24 10:51:26 +0200
committerHelge Deller <deller@gmx.de>2021-09-24 11:10:17 +0200
commitdd5666df16f84f28ca55cab2785260802a9a3e20 (patch)
tree7731094c9bbae7e97fa8dd0f60f62e7b3f0bbfb2
parent0f38ada123728ef6582697157ae87799678d4412 (diff)
downloadseabios-hppa-dd5666df16f84f28ca55cab2785260802a9a3e20.zip
seabios-hppa-dd5666df16f84f28ca55cab2785260802a9a3e20.tar.gz
seabios-hppa-dd5666df16f84f28ca55cab2785260802a9a3e20.tar.bz2
parisc: Document the fw_cfg opt/pdc_debug option
Enable firmware debug info at startup with this option: -fw_cfg pdc_debug,string=<val> <val> is an integer with this bitmask: DEBUG_PDC 0x0001, enables debug info for PDC calls DEBUG_IODC 0x0002, enables debug info for IODC calls Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r--src/parisc/parisc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parisc/parisc.c b/src/parisc/parisc.c
index 2634b62..45dfe4b 100644
--- a/src/parisc/parisc.c
+++ b/src/parisc/parisc.c
@@ -1804,6 +1804,7 @@ void __VISIBLE start_parisc_firmware(void)
powersw_ptr = (int *) (unsigned long)
romfile_loadint("/etc/power-button-addr", (unsigned long)&powersw_nop);
+ /* use -fw_cfg opt/pdc_debug,string=255 to enable all firmware debug infos */
pdc_debug = romfile_loadstring_to_int("opt/pdc_debug", 0);
/* Initialize PAGE0 */