diff options
author | Cœur <coeur@gmx.fr> | 2019-07-03 14:25:30 +0100 |
---|---|---|
committer | Leif Lindholm <leif.lindholm@linaro.org> | 2019-07-04 12:21:04 +0100 |
commit | c6a72cd79465594876626e738466441d8b3d61ca (patch) | |
tree | 569aa1367bf80e8ac3444ab0c39a8affa872ae32 /EmbeddedPkg/Drivers | |
parent | 16f3544ddd99c855d5fcb3e3bdbbed945a0c25d3 (diff) | |
download | edk2-c6a72cd79465594876626e738466441d8b3d61ca.zip edk2-c6a72cd79465594876626e738466441d8b3d61ca.tar.gz edk2-c6a72cd79465594876626e738466441d8b3d61ca.tar.bz2 |
EmbeddedPkg: Fix various typos
Fix various typos in EmbeddedPkg.
Signed-off-by: Coeur <coeur@gmx.fr>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'EmbeddedPkg/Drivers')
-rw-r--r-- | EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.c | 2 | ||||
-rw-r--r-- | EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.c | 2 | ||||
-rw-r--r-- | EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.c | 4 | ||||
-rw-r--r-- | EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c | 2 | ||||
-rw-r--r-- | EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeHw.h | 2 | ||||
-rw-r--r-- | EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeUtil.c | 2 | ||||
-rw-r--r-- | EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxe.c | 2 | ||||
-rw-r--r-- | EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxeHw.h | 2 | ||||
-rw-r--r-- | EmbeddedPkg/Drivers/SataSiI3132Dxe/SiI3132AtaPassThru.c | 2 |
9 files changed, 10 insertions, 10 deletions
diff --git a/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.c b/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.c index 8d0ffbe..c250844 100644 --- a/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.c +++ b/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.c @@ -224,7 +224,7 @@ OnReadyToBoot ( @retval EFI_ALREADY_STARTED The driver already exists in system.
@retval EFI_OUT_OF_RESOURCES Fail to execute entry point due to lack of
resources.
- @retval EFI_SUCCES All the related protocols are installed on
+ @retval EFI_SUCCESS All the related protocols are installed on
the driver.
**/
diff --git a/EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.c b/EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.c index 5ec95f7..907d46a 100644 --- a/EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.c +++ b/EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.c @@ -92,7 +92,7 @@ InstallHiiPages ( @retval EFI_ALREADY_STARTED The driver already exists in system.
@retval EFI_OUT_OF_RESOURCES Fail to execute entry point due to lack of
resources.
- @retval EFI_SUCCES All the related protocols are installed on
+ @retval EFI_SUCCESS All the related protocols are installed on
the driver.
**/
diff --git a/EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.c b/EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.c index 309e17b..3ad4535 100644 --- a/EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.c +++ b/EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.c @@ -33,7 +33,7 @@ */
// TODO Make sure the controller isn't sending empty packets when it shouldn't
-// (check behaviour in cases when Buffer Length isn't explcitly set)
+// (check behaviour in cases when Buffer Length isn't explicitly set)
// ISP1582 Datasheet:
// "Data transfers preceding the status stage must first be fully
@@ -570,7 +570,7 @@ Isp1761PeriphStart ( mDataReceivedCallback = RxCallback;
mDataSentCallback = TxCallback;
- // Register a timer event so CheckInterupts gets called periodically
+ // Register a timer event so CheckInterrupts gets called periodically
Status = gBS->CreateEvent (
EVT_TIMER | EVT_NOTIFY_SIGNAL,
TPL_CALLBACK,
diff --git a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c index e1375bb..a0fca4d 100644 --- a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c +++ b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c @@ -1439,7 +1439,7 @@ SnpReceive ( return EFI_BUFFER_TOO_SMALL;
}
- // Set the amount of data to be transfered out of FIFO for THIS packet
+ // Set the amount of data to be transferred out of FIFO for THIS packet
// This can be used to trigger an interrupt, and status can be checked
RxCfgValue = Lan9118MmioRead32 (LAN9118_RX_CFG);
RxCfgValue &= ~(RXCFG_RX_DMA_CNT_MASK);
diff --git a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeHw.h b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeHw.h index 62fd359..80df34b 100644 --- a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeHw.h +++ b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeHw.h @@ -127,7 +127,7 @@ #define RXSTATUS_CRC_ERROR BIT1 // Cyclic Redundancy Check Error
#define RXSTATUS_DB BIT2 // Dribbling bit: Frame had non-integer multiple of 8bits
#define RXSTATUS_MII_ERROR BIT3 // Receive error during interception
-#define RXSTATUS_RXW_TO BIT4 // Incomming frame larger than 2kb
+#define RXSTATUS_RXW_TO BIT4 // Incoming frame larger than 2kb
#define RXSTATUS_FT BIT5 // 1: Ether type / 0: 802.3 type frame
#define RXSTATUS_LCOLL BIT6 // Late collision detected
#define RXSTATUS_FTL BIT7 // Frame longer than Ether type
diff --git a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeUtil.c b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeUtil.c index 94a9699..be4d6bb 100644 --- a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeUtil.c +++ b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeUtil.c @@ -427,7 +427,7 @@ Lan9118Initialize ( if ((Lan9118MmioRead32 (LAN9118_E2P_CMD) & E2P_EPC_MAC_ADDRESS_LOADED) == 0) {
DEBUG ((EFI_D_ERROR, "Warning: There was an error detecting EEPROM or loading the MAC Address.\n"));
- // If we had an address before (set by StationAddess), continue to use it
+ // If we had an address before (set by StationAddress), continue to use it
if (CompareMem (&Snp->Mode->CurrentAddress, &mZeroMac, NET_ETHER_ADDR_LEN)) {
Lan9118SetMacAddress (&Snp->Mode->CurrentAddress, Snp);
} else {
diff --git a/EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxe.c b/EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxe.c index c8a6eb4..e3e8d68 100644 --- a/EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxe.c +++ b/EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxe.c @@ -441,7 +441,7 @@ PrintIoRegisters ( DEBUG ((DEBUG_ERROR, "\nLAN91x I/O Register Dump:\n"));
- // Print currrent bank select register
+ // Print current bank select register
Value = MmioRead16 (LanDriver->IoBase + LAN91X_BANK_OFFSET);
DEBUG ((DEBUG_ERROR, " BankSel: %d Bank Register %04x (%d)\n",
LanDriver->BankSel, Value, Value & 0x0007));
diff --git a/EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxeHw.h b/EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxeHw.h index 8aff9f1..d13f2bc 100644 --- a/EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxeHw.h +++ b/EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxeHw.h @@ -173,7 +173,7 @@ #define PTR_AUTO_INCR BIT14
#define PTR_RCV BIT15
-// Interupt Status and Mask Register Bits
+// Interrupt Status and Mask Register Bits
#define IST_RCV BIT0
#define IST_TX BIT1
#define IST_TX_EMPTY BIT2
diff --git a/EmbeddedPkg/Drivers/SataSiI3132Dxe/SiI3132AtaPassThru.c b/EmbeddedPkg/Drivers/SataSiI3132Dxe/SiI3132AtaPassThru.c index 366bf48..f6a723a 100644 --- a/EmbeddedPkg/Drivers/SataSiI3132Dxe/SiI3132AtaPassThru.c +++ b/EmbeddedPkg/Drivers/SataSiI3132Dxe/SiI3132AtaPassThru.c @@ -634,7 +634,7 @@ SiI3132GetDevice ( return EFI_UNSUPPORTED;
} else {
*Port = ((SATA_DEVICE_PATH*)DevicePath)->Lun;
- // Return the first Sata Sevice as there should be only one directly connected
+ // Return the first Sata Device as there should be only one directly connected
*PortMultiplierPort = ((SATA_SI3132_DEVICE*)SataSiI3132Instance->Ports[*Port].Devices.ForwardLink)->Index;
return EFI_SUCCESS;
}
|