MdeModulePkg/EmmcDxe: demote DEBUG print to DEBUG_BLKIO

Lower the priority of the DEBUG print in EmmcReadWrite(), which
is emitted for each read or write operation to the eMMC device,
which clutters up the log output of builds created with DEBUG_INFO
enabled.

Suggested-by: Pipat Methavanitpong <methavanitpong.pipat@socionext.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
Ard Biesheuvel 2018-06-07 11:06:47 +02:00
parent 271d8cd7df
commit 9dca2105ad
1 changed files with 4 additions and 1 deletions

View File

@ -901,7 +901,10 @@ EmmcReadWrite (
if (EFI_ERROR (Status)) { if (EFI_ERROR (Status)) {
return Status; return Status;
} }
DEBUG ((EFI_D_INFO, "Emmc%a(): Part %d Lba 0x%x BlkNo 0x%x Event %p with %r\n", IsRead ? "Read " : "Write", Partition->PartitionType, Lba, BlockNum, (Token != NULL) ? Token->Event : NULL, Status)); DEBUG ((DEBUG_BLKIO,
"Emmc%a(): Part %d Lba 0x%x BlkNo 0x%x Event %p with %r\n",
IsRead ? "Read " : "Write", Partition->PartitionType, Lba, BlockNum,
(Token != NULL) ? Token->Event : NULL, Status));
Lba += BlockNum; Lba += BlockNum;
Buffer = (UINT8*)Buffer + BufferSize; Buffer = (UINT8*)Buffer + BufferSize;