From 40a93104d58c319e9ee7c4e8764adbdfa460d790 Mon Sep 17 00:00:00 2001 From: Rolf Meeser Date: Wed, 1 Dec 2010 08:28:43 +0100 Subject: [PATCH] lpc2900.c: Improve debug output for device probing --- src/flash/nor/lpc2900.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/flash/nor/lpc2900.c b/src/flash/nor/lpc2900.c index 590c393b..1c1c90fd 100644 --- a/src/flash/nor/lpc2900.c +++ b/src/flash/nor/lpc2900.c @@ -1676,7 +1676,11 @@ static int lpc2900_probe(struct flash_bank *bank) if ( !found ) { - LOG_WARNING("Unknown LPC29xx derivative"); + LOG_WARNING("Unknown LPC29xx derivative" + " (FEATx=" + "%08" PRIx32 ":%08" PRIx32 ":%08" PRIx32 ":%08" PRIx32 ")", + feat0, feat1, feat2, feat3 + ); return ERROR_FLASH_OPERATION_FAILED; } -- 2.39.5