flash/nor/sfdp|stmqspi: fix build issue with clang on mac OS
Change-Id: I3b3aa4236125523ad65fd615ada0f5647d26f526 Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@st.com> Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5940 Tested-by: jenkins Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
This commit is contained in:
committed by
Antonio Borneo
parent
861e75f54e
commit
cc26808136
@@ -90,8 +90,8 @@ int spi_sfdp(struct flash_bank *bank, struct flash_device *dev,
|
||||
return ERROR_FLASH_BANK_NOT_PROBED;
|
||||
}
|
||||
if (((header.revision >> 24) & 0xFF) != SFDP_ACCESS_PROT) {
|
||||
LOG_ERROR("access protocol 0x%02" PRIx8 " not implemented",
|
||||
(header.revision >> 24) & 0xFF);
|
||||
LOG_ERROR("access protocol 0x%02x not implemented",
|
||||
(header.revision >> 24) & 0xFFU);
|
||||
return ERROR_FLASH_BANK_NOT_PROBED;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user