]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/Ebl/HwDebug.c
Fix typo in mfill command
[mirror_edk2.git] / EmbeddedPkg / Ebl / HwDebug.c
index 20f0a72d95bebc7f3e9011f90c6d875f528ca3fe..dcf7c4a7a1af901f6cbccbc736accec3ef52b2af 100644 (file)
@@ -114,9 +114,9 @@ EblMfillCmd (
     if (Width == 4) {\r
       MmioWrite32 (Address, Data);\r
     } else if (Width == 2) {\r
-      MmioWrite32 (Address, (UINT16)Data);\r
+      MmioWrite16 (Address, (UINT16)Data);\r
     } else {\r
-      MmioWrite32 (Address, (UINT8)Data);\r
+      MmioWrite8 (Address, (UINT8)Data);\r
     }\r
   }\r
   \r