discover: Print IPMI bootdev response for debug
authorSam Mendoza-Jonas <sam@mendozajonas.com>
Wed, 13 Jan 2016 02:11:05 +0000 (13:11 +1100)
committerSam Mendoza-Jonas <sam@mendozajonas.com>
Tue, 9 Feb 2016 02:40:03 +0000 (13:40 +1100)
Signed-off-by: Sam Mendoza-Jonas <sam@mendozajonas.com>
discover/platform-powerpc.c

index 5abc4d7059daa24babceed82de8115ccf49763d3..992123e58a92bb3cc9ba161bcfd1e8356fb48118 100644 (file)
@@ -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]);