mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
efi_loader: use EFI_PRINT() instead of debug()
EFI_PRINT() offers indention of debug messages. Adjust the debug messages of the BLOCK_IO_PROTOCOL. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
f59f0825e8
commit
9d3f339881
1 changed files with 3 additions and 3 deletions
|
@ -69,8 +69,8 @@ static efi_status_t efi_disk_rw_blocks(struct efi_block_io *this,
|
|||
blocks = buffer_size / blksz;
|
||||
lba += diskobj->offset;
|
||||
|
||||
debug("EFI: %s:%d blocks=%x lba=%llx blksz=%x dir=%d\n", __func__,
|
||||
__LINE__, blocks, lba, blksz, direction);
|
||||
EFI_PRINT("blocks=%x lba=%llx blksz=%x dir=%d\n",
|
||||
blocks, lba, blksz, direction);
|
||||
|
||||
/* We only support full block access */
|
||||
if (buffer_size & (blksz - 1))
|
||||
|
@ -84,7 +84,7 @@ static efi_status_t efi_disk_rw_blocks(struct efi_block_io *this,
|
|||
/* We don't do interrupts, so check for timers cooperatively */
|
||||
efi_timer_check();
|
||||
|
||||
debug("EFI: %s:%d n=%lx blocks=%x\n", __func__, __LINE__, n, blocks);
|
||||
EFI_PRINT("n=%lx blocks=%x\n", n, blocks);
|
||||
|
||||
if (n != blocks)
|
||||
return EFI_DEVICE_ERROR;
|
||||
|
|
Loading…
Reference in a new issue