Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8425C433F5 for ; Fri, 12 Nov 2021 15:44:24 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3D97960EE9 for ; Fri, 12 Nov 2021 15:44:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3D97960EE9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BEFF383099; Fri, 12 Nov 2021 16:44:14 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1636731856; bh=dohnLiNw3cMhBbB3FO5M6hLIMJmWZ7FotrdIBTV7G+Y=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Cn/RPBpXqIJzMlnwReF0zmPOx7wOB1cUsJgAJSTcjZrRkZFxyYpxRZxy46oBDemQa k7D0WCLqugNzz7DCvEuNTN2sFA0wdlkzFdd12BKxEVtEmMYLp3dnhvTGrEM88VVjQg sqxZ389NPIjPC+tp+V5lBd89mLIZp77gcpsSmP4OWu1I1runEuGXTdJWqTWdFNQQh+ qF5j4ynQuSo4w/RmU88OABah119gixP4rfDB+JkXB4ve5hQAIcEuWkXCNl6IGdAGh1 BNtAF7ilXRlnV+iVl3t6Kw5AA4xXkars7hPrFNwDVJQRxKGh+M6Nn8JTQSaBe9NDO6 LtkHJ1obqZGZw== Received: from [IPv6:::1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id D7FFF82F5A; Fri, 12 Nov 2021 16:43:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1636731783; bh=dohnLiNw3cMhBbB3FO5M6hLIMJmWZ7FotrdIBTV7G+Y=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=y+oid84GPUYc8JrRifP0LrhRV7zW1+TuhyKiKHLw3zVC3wXA/DWs8NwxZcYzmO0Hh XAAAKiPoGiScVboA7nLqCML3p959I6xbPt4bxGebPfVFwRKNkTSRi+cgcRayXL1fW2 30rV59KUFav/Hk/KPgzKw+YK+ZmNPkOnozW8ZE4qmIUrgV4LbnmkfKQnZLc6lKJ8gD nMHQJ1cZA6tg2yT7ObQhjTuDRR2Vu9UiJ7qtW7Bpddf9tVxiqR7Syamrp+hSKQzV97 c3KArQr/hxzM6do9MutxZVP1R16zct0Qt4uD/PB7kx4ZR2bGLXWZ9nUUPwp90b3MNd K4rvPI99hatmw== Subject: Re: [PATCH v1 1/1] usb: doc: Fix spelling issues in README.usb To: Andy Shevchenko , u-boot@lists.denx.de Cc: Bin Meng , Tom Rini References: <20211112153747.44703-1-andriy.shevchenko@linux.intel.com> From: Marek Vasut Message-ID: Date: Fri, 12 Nov 2021 16:42:59 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20211112153747.44703-1-andriy.shevchenko@linux.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.35 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On 11/12/21 4:37 PM, Andy Shevchenko wrote: > Fix spelling issues in README.usb. I'll let Tom do expert review on this and pick it if that's fine. btw as a separate patch, would you be willing to convert this to RST format? > diff --git a/doc/README.usb b/doc/README.usb > index 05c62c3413c5..650a6daae0a5 100644 > --- a/doc/README.usb > +++ b/doc/README.usb > @@ -18,8 +18,8 @@ How it works: > ------------- > > The USB (at least the USB UHCI) needs a frame list (4k), transfer > -descripor and queue headers which are all located in the main memory. > -The UHCI allocates every milisecond the PCI bus and reads the current > +descriptor and queue headers which are all located in the main memory. > +The UHCI allocates every millisecond the PCI bus and reads the current > frame pointer. This may cause to crash the OS during boot. So the USB > _MUST_ be stopped during OS boot. This is the reason, why the USB is > NOT automatically started during start-up. If someone needs the USB > @@ -27,10 +27,10 @@ he has to start it and should therefore be aware that he had to stop > it before booting the OS. > > For USB keyboards this can be done by a script which is automatically > -started after the U-Boot is up and running. To boot an OS with a an > +started after the U-Boot is up and running. To boot an OS with a > USB keyboard another script is necessary, which first disables the > USB and then executes the boot command. If the boot command fails, > -the script can reenable the USB kbd. > +the script can re-enable the USB keyboard. > > Common USB Commands: > - usb start: > @@ -40,10 +40,10 @@ Common USB Commands: > - usb info [dev]: shows all USB infos of the device dev, or of all > the devices > - usb stop [f]: stops the USB. If f==1 the USB will also stop if > - an USB keyboard is assigned as stdin. The stdin > + a USB keyboard is assigned as stdin. The stdin > is then switched to serial input. > Storage USB Commands: > -- usb scan: scans the USB for storage devices.The USB must be > +- usb scan: scans the USB for storage devices. The USB must be > running for this command (usb start) > - usb device [dev]: show or set current USB storage device > - usb part [dev]: print partition table of one or all USB storage > @@ -57,7 +57,7 @@ Storage USB Commands: > Config Switches: > ---------------- > CONFIG_CMD_USB enables basic USB support and the usb command > -CONFIG_USB_UHCI defines the lowlevel part.A lowlevel part must be defined > +CONFIG_USB_UHCI defines the lowlevel part. A lowlevel part must be defined > if using CONFIG_CMD_USB > CONFIG_USB_KEYBOARD enables the USB Keyboard > CONFIG_USB_STORAGE enables the USB storage devices > @@ -124,7 +124,7 @@ bootp > > To enable USB Host Ethernet in U-Boot, your platform must of course > support USB with CONFIG_CMD_USB enabled and working. You will need to > -add some config settings to your board config: > +add some settings to your board configuration: > > CONFIG_CMD_USB=y /* the 'usb' interactive command */ > CONFIG_USB_HOST_ETHER=y /* Enable USB Ethernet adapters */ > @@ -158,7 +158,7 @@ settings should start you off: > You can also set the default IP address of your board and the server > as well as the default file to load when a 'bootp' command is issued. > However note that encoding these individual network settings into a > -common exectuable is discouraged, as it leads to potential conflicts, > +common executable is discouraged, as it leads to potential conflicts, > and all the parameters can either get stored in the board's external > environment, or get obtained from the bootp server if not set. > > @@ -166,7 +166,6 @@ environment, or get obtained from the bootp server if not set. > #define CONFIG_SERVERIP 10.0.0.1 (replace with your value) > #define CONFIG_BOOTFILE "uImage" > > - > The 'usb start' command should identify the adapter something like this: > > CrOS> usb start > @@ -211,8 +210,8 @@ MAC Addresses > > Most Ethernet dongles have a built-in MAC address which is unique in the > world. This is important so that devices on the network can be > -distinguised from each other. MAC address conflicts are evil and > -generally result in strange and eratic behaviour. > +distinguished from each other. MAC address conflicts are evil and > +generally result in strange and erratic behaviour. > > Some boards have USB Ethernet chips on-board, and these sometimes do not > have an assigned MAC address. In this case it is up to you to assign >