diff options
Diffstat (limited to 'src/flash/nor/niietcm4.c')
-rw-r--r-- | src/flash/nor/niietcm4.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/flash/nor/niietcm4.c b/src/flash/nor/niietcm4.c index fd7d519..532c676 100644 --- a/src/flash/nor/niietcm4.c +++ b/src/flash/nor/niietcm4.c @@ -1584,9 +1584,11 @@ static int niietcm4_probe_k1921vk01t(struct flash_bank *bank) char info_bootflash_addr_str[64]; if (niietcm4_info->bflash_info_remap) - snprintf(info_bootflash_addr_str, sizeof(info_bootflash_addr_str), "0x%08x base adress", bank->base); + snprintf(info_bootflash_addr_str, sizeof(info_bootflash_addr_str), + "0x%" TARGET_PRIxADDR " base adress", bank->base); else - snprintf(info_bootflash_addr_str, sizeof(info_bootflash_addr_str), "not maped to global adress space"); + snprintf(info_bootflash_addr_str, sizeof(info_bootflash_addr_str), + "not mapped to global adress space"); snprintf(niietcm4_info->chip_brief, sizeof(niietcm4_info->chip_brief), |