payloads: Fix typos

Change-Id: Ib7f1ba1766e5c972542ce7571a8aa3583c513823
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38911
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Elyes HAOUAS
2020-02-15 09:27:11 +01:00
committed by Patrick Georgi
parent 9c26605353
commit 824b4b8a20
17 changed files with 29 additions and 29 deletions

View File

@ -78,7 +78,7 @@ static void dump_qh(ehci_qh_t *cur)
usb_debug("+===================================================+\n");
usb_debug("| ############# EHCI QH at [0x%08lx] ########### |\n", virt_to_phys(cur));
usb_debug("+---------------------------------------------------+\n");
usb_debug("| Horizonal Link Pointer [0x%08lx] |\n", cur->horiz_link_ptr);
usb_debug("| Horizontal Link Pointer [0x%08lx] |\n", cur->horiz_link_ptr);
usb_debug("+------------------[ 0x%08lx ]-------------------+\n", cur->epchar);
usb_debug("| | Maximum Packet Length | [%04ld] |\n", ((cur->epchar & (0x7ffUL << 16)) >> 16));
usb_debug("| | Device Address | [%ld] |\n", cur->epchar & 0x7F);
@ -133,7 +133,7 @@ static void ehci_reset (hci_t *controller)
{
short count = 0;
ehci_stop(controller);
/* wait 10 ms just to be shure */
/* wait 10 ms just to be sure */
mdelay(10);
if (EHCI_INST(controller)->operation->usbsts & HC_OP_HC_HALTED) {
EHCI_INST(controller)->operation->usbcmd = HC_OP_HC_RESET;
@ -215,7 +215,7 @@ static int fill_td(qtd_t *td, void* data, int datalen)
total_len += page_len;
while (page_no < 5) {
/* we have a continguous mapping between virtual and physical memory */
/* we have a contiguous mapping between virtual and physical memory */
page += 4096;
td->bufptrs[page_no++] = page;