X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EmbeddedPkg%2FEbl%2FHwDebug.c;h=dcf7c4a7a1af901f6cbccbc736accec3ef52b2af;hp=20f0a72d95bebc7f3e9011f90c6d875f528ca3fe;hb=56015d88011ae1bb3471a3c13ddb480e28ffd4c3;hpb=74e44290e23c960bfa3246d058aa8f9407de9ca9 diff --git a/EmbeddedPkg/Ebl/HwDebug.c b/EmbeddedPkg/Ebl/HwDebug.c index 20f0a72d95..dcf7c4a7a1 100644 --- a/EmbeddedPkg/Ebl/HwDebug.c +++ b/EmbeddedPkg/Ebl/HwDebug.c @@ -114,9 +114,9 @@ EblMfillCmd ( if (Width == 4) { MmioWrite32 (Address, Data); } else if (Width == 2) { - MmioWrite32 (Address, (UINT16)Data); + MmioWrite16 (Address, (UINT16)Data); } else { - MmioWrite32 (Address, (UINT8)Data); + MmioWrite8 (Address, (UINT8)Data); } }