lpc2900.c: Improve debug output for device probing
authorRolf Meeser <rolfm_9dq@yahoo.de>
Wed, 1 Dec 2010 07:28:43 +0000 (08:28 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 1 Dec 2010 07:48:02 +0000 (08:48 +0100)
src/flash/nor/lpc2900.c

index 590c393bb77bf61b90f7860031f56f0c006bd45f..1c1c90fd91df20275f021452990d21310fe93506 100644 (file)
@@ -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;
        }