Fixes for verbose debug output.

This commit is contained in:
Gareth McMullin 2016-06-23 15:03:00 +12:00
parent 1f9fbd2d0e
commit 53c7fbd543
2 changed files with 3 additions and 1 deletions

View File

@ -295,7 +295,7 @@ static void adiv5_component_probe(ADIv5_AP_t *ap, uint32_t addr)
* any components by other designers. * any components by other designers.
*/ */
if ((pidr & ~(PIDR_REV_MASK | PIDR_PN_MASK)) != PIDR_ARM_BITS) { if ((pidr & ~(PIDR_REV_MASK | PIDR_PN_MASK)) != PIDR_ARM_BITS) {
DEBUG("0x%X: 0x%llX <- does not match ARM JEP-106\n", addr, pidr); DEBUG("0x%X: 0x%"PRIx64" <- does not match ARM JEP-106\n", addr, pidr);
return; return;
} }

View File

@ -34,6 +34,8 @@
#define FT2232_VID 0x0403 #define FT2232_VID 0x0403
#define FT2232_PID 0x6010 #define FT2232_PID 0x6010
#define PLATFORM_HAS_DEBUG
#define SET_RUN_STATE(state) #define SET_RUN_STATE(state)
#define SET_IDLE_STATE(state) #define SET_IDLE_STATE(state)
#define SET_ERROR_STATE(state) #define SET_ERROR_STATE(state)