From 25ef687dd30c64423434cadebfc71cf14d7b8bff Mon Sep 17 00:00:00 2001 From: Sam Mendoza-Jonas Date: Wed, 13 Jan 2016 13:11:05 +1100 Subject: discover: Print IPMI bootdev response for debug Signed-off-by: Sam Mendoza-Jonas --- discover/platform-powerpc.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'discover/platform-powerpc.c') 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]); -- cgit v1.1