summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-16 23:43:28 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-16 23:43:28 +0000
commit56015d88011ae1bb3471a3c13ddb480e28ffd4c3 (patch)
tree74b89ab06215eeffe7717fb2463b55d4da096136
parent74e44290e23c960bfa3246d058aa8f9407de9ca9 (diff)
downloadedk2-platforms-56015d88011ae1bb3471a3c13ddb480e28ffd4c3.tar.xz
Fix typo in mfill command
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10017 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--EmbeddedPkg/Ebl/HwDebug.c4
1 files changed, 2 insertions, 2 deletions
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);
}
}