diff options
author | Simon Glass <sjg@chromium.org> | 2023-05-04 16:50:53 -0600 |
---|---|---|
committer | Bin Meng <bmeng@tinylab.org> | 2023-05-11 10:25:29 +0800 |
commit | 392720b429a967a449e0c02a12193aac4b170c9c (patch) | |
tree | 8d12a93d46adc6607b4a457959046ec0cac65f83 /arch/x86/lib | |
parent | b194e432c3d22bbeb6045b7f294c354d03ee95d3 (diff) | |
download | u-boot-392720b429a967a449e0c02a12193aac4b170c9c.zip u-boot-392720b429a967a449e0c02a12193aac4b170c9c.tar.gz u-boot-392720b429a967a449e0c02a12193aac4b170c9c.tar.bz2 |
x86: mrc: Correct SPL debug message
SPL printf() does not normally support %#x so just use %x instead. Hex is
expected in U-Boot anyway.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r-- | arch/x86/lib/mrccache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/mrccache.c b/arch/x86/lib/mrccache.c index 38632e5..2f6f688 100644 --- a/arch/x86/lib/mrccache.c +++ b/arch/x86/lib/mrccache.c @@ -303,7 +303,7 @@ static int mrccache_save_type(enum mrc_type_t type) mrc = &gd->arch.mrc[type]; if (!mrc->len) return 0; - log_debug("Saving %#x bytes of MRC output data type %d to SPI flash\n", + log_debug("Saving %x bytes of MRC output data type %d to SPI flash\n", mrc->len, type); ret = mrccache_get_region(type, &sf, &entry); if (ret) |