diff options
author | Sam Mendoza-Jonas <sam@mendozajonas.com> | 2016-01-13 13:11:05 +1100 |
---|---|---|
committer | Sam Mendoza-Jonas <sam@mendozajonas.com> | 2016-02-09 13:40:03 +1100 |
commit | 25ef687dd30c64423434cadebfc71cf14d7b8bff (patch) | |
tree | 1a3aecc6f1a9686a0727d5f81722d18e603fcf46 /discover | |
parent | a1ec0710b6abad1a932d09f23010e3eb4662e8c9 (diff) | |
download | petitboot-25ef687dd30c64423434cadebfc71cf14d7b8bff.zip petitboot-25ef687dd30c64423434cadebfc71cf14d7b8bff.tar.gz |
discover: Print IPMI bootdev response for debug
Signed-off-by: Sam Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'discover')
-rw-r--r-- | discover/platform-powerpc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/discover/platform-powerpc.c b/discover/platform-powerpc.c index 5abc4d7..992123e 100644 --- a/discover/platform-powerpc.c +++ b/discover/platform-powerpc.c @@ -923,6 +923,11 @@ static int get_ipmi_bootdev_ipmi(struct platform_powerpc *platform, return -1; } + pb_debug("IPMI get_bootdev response:\n"); + for (int i = 0; i < resp_len; i++) + pb_debug("%x ", resp[i]); + pb_debug("\n"); + if (resp[0] != 0) { pb_log("platform: non-zero completion code %d from IPMI req\n", resp[0]); |