]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/Ebl/HwDebug.c
Patch from open source community for CryptoPkg to allow it to build for ARM using...
[mirror_edk2.git] / EmbeddedPkg / Ebl / HwDebug.c
index 20f0a72d95bebc7f3e9011f90c6d875f528ca3fe..b14d494d5de9d16316639a92904bc24cf9257973 100644 (file)
@@ -1,10 +1,10 @@
 /** @file\r
   Basic command line parser for EBL (Embedded Boot Loader)\r
 \r
-  Copyright (c) 2007, Intel Corporation<BR>\r
-  Portions copyright (c) 2008-2009, Apple Inc. All rights reserved.\r
+  Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r
+  Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
 \r
-  All rights reserved. This program and the accompanying materials\r
+  This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
   http://opensource.org/licenses/bsd-license.php\r
@@ -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