cosmetic: Fix spelling and whitespace errors
authorThomas Hebb <tommyhebb@gmail.com>
Thu, 14 Nov 2019 02:18:03 +0000 (18:18 -0800)
committerTom Rini <trini@konsulko.com>
Tue, 3 Dec 2019 13:43:23 +0000 (08:43 -0500)
Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
14 files changed:
Makefile
README
arch/arm/cpu/armv8/sec_firmware.c
arch/arm/mach-rockchip/Kconfig
arch/arm/mach-rockchip/bootrom.c
arch/arm/mach-rockchip/rk3399/Kconfig
arch/arm/mach-rockchip/spl-boot-order.c
board/rockchip/evb_rk3399/README
common/spl/Kconfig
doc/README.SPL
doc/README.TPL
doc/uImage.FIT/source_file_format.txt
tools/binman/README
tools/binman/README.entries

index 70347d340cc0318e0360a479771f92680db7b69f..556cebdfc4c590294b61ef43d0ff46b48fb53f2d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1692,7 +1692,7 @@ u-boot.sym: u-boot FORCE
 # make sure no implicit rule kicks in
 $(sort $(u-boot-init) $(u-boot-main)): $(u-boot-dirs) ;
 
-# Handle descending into subdirectories listed in $(vmlinux-dirs)
+# Handle descending into subdirectories listed in $(u-boot-dirs)
 # Preset locale variables to speed up the build process. Limit locale
 # tweaks to this spot to avoid wrong language settings when running
 # make menuconfig etc.
diff --git a/README b/README
index 107e67fdda5ae38211edb487e24dddf381f46879..91dfb24776e185986788603ad055da9d218a689b 100644 (file)
--- a/README
+++ b/README
@@ -3082,14 +3082,16 @@ Low Level (hardware related) configuration options:
                instruction cache) is still performed.
 
 - CONFIG_SPL_BUILD
-               Modifies the behaviour of start.S when compiling a loader
-               that is executed before the actual U-Boot. E.g. when
-               compiling a NAND SPL.
+               Set when the currently-running compilation is for an artifact
+               that will end up in the SPL (as opposed to the TPL or U-Boot
+               proper). Code that needs stage-specific behavior should check
+               this.
 
 - CONFIG_TPL_BUILD
-               Modifies the behaviour of start.S  when compiling a loader
-               that is executed after the SPL and before the actual U-Boot.
-               It is loaded by the SPL.
+               Set when the currently-running compilation is for an artifact
+               that will end up in the TPL (as opposed to the SPL or U-Boot
+               proper). Code that needs stage-specific behavior should check
+               this.
 
 - CONFIG_SYS_MPC85XX_NO_RESETVEC
                Only for 85xx systems. If this variable is specified, the section
@@ -3306,7 +3308,7 @@ Testing of U-Boot Modifications, Ports to New Hardware, etc.:
 If you have modified U-Boot sources (for instance added a new board
 or support for new devices, a new CPU, etc.) you are expected to
 provide feedback to the other developers. The feedback normally takes
-the form of a "patch", i. e. a context diff against a certain (latest
+the form of a "patch", i.e. a context diff against a certain (latest
 official or latest in the git repository) version of U-Boot sources.
 
 But before you submit such a patch, please verify that your modifi-
index 11f9b4df386b86c20f7dd8bfc62bfcfa95ce0d5e..4dcda70b91425144a00d74d963503215fffde24a 100644 (file)
@@ -354,7 +354,7 @@ bool sec_firmware_support_hwrng(void)
        return true;
 #endif
        if (sec_firmware_addr & SEC_FIRMWARE_RUNNING) {
-                       return true;
+               return true;
        }
 
        return false;
index 493699472c701beb13e766fc9a16646d0a4f8e07..d8d68ba44728c8d85b05732e37429c0587d534ca 100644 (file)
@@ -312,7 +312,7 @@ config TPL_ROCKCHIP_COMMON_BOARD
          Rockchip SoCs have similar boot process, prefer to use TPL for DRAM
          init and back to bootrom, and SPL as Trust ATF/U-Boot loader. TPL
          common board is a basic TPL board init which can be shared for most
-         of SoCs to avoid copy-pase for different SoCs.
+         of SoCs to avoid copy-paste for different SoCs.
 
 config ROCKCHIP_BOOT_MODE_REG
        hex "Rockchip boot mode flag register address"
index 9ccb45e6acd26e70cf3a782d428c28a95d1e4f08..10614c99d9c8b9d5baab8b15d6f5d2bfda19e4c0 100644 (file)
@@ -39,8 +39,8 @@ void back_to_bootrom(enum rockchip_bootrom_cmd brom_cmd)
  * to check it and back to bootrom at very early bootstage(before
  * some basic configurations(such as interrupts) been
  * changed by TPL/SPL, as the bootrom download operation
- * relys on many default settings(such as interrupts) by
- * it's self.
+ * relies on many default settings(such as interrupts) by
+ * itself.
  */
 static bool check_back_to_brom_dnl_flag(void)
 {
index 01af3f1464c3723ae2de2daedca4323b4d14531c..868e85fc2a027c1c5202234dfda751dbc2b2790f 100644 (file)
@@ -6,9 +6,9 @@ choice
 config TARGET_EVB_RK3399
        bool "RK3399 evaluation board"
        help
-         RK3399evb is a evaluation board for Rockchp rk3399,
-         with full function and phisical connectors support like type-C ports,
-         usb2.0 host ports, LVDS, JTAG, MAC, SDcard, HDMI, USB-2-serial...
+         RK3399evb is a evaluation board for Rockchip RK3399,
+         with full function and physical connectors support like Type-C ports,
+         USB.0 host ports, LVDS, JTAG, MAC, SD card, HDMI, USB-to-serial...
 
 config TARGET_PUMA_RK3399
        bool "Theobroma Systems RK3399-Q7 (Puma)"
index fa8e096426b68cafb0a95977ffcb2c00130e0ae8..c147d5821eae2f0c7e4c28a3a224fe9e146e8cb4 100644 (file)
@@ -35,7 +35,7 @@ static int spl_node_to_boot_device(int node)
        /*
         * This should eventually move into the SPL code, once SPL becomes
         * aware of the block-device layer.  Until then (and to avoid unneeded
-        * delays in getting this feature out, it lives at the board-level).
+        * delays in getting this feature out), it lives at the board-level.
         */
        if (!uclass_get_device_by_of_offset(UCLASS_MMC, node, &parent)) {
                struct udevice *dev;
index ea3258cf3789f2ad094d1da88b3a6d6bd002b8d0..da7ae89ab1e9f6677fb2cb858aaf295093c60f32 100644 (file)
@@ -9,7 +9,7 @@ RK3399 key features we might use in U-Boot:
 * DRAM: 4GB-128MB dual-channel
 * eMMC: support eMMC 5.0/5.1, suport HS400, HS200, DDR50
 * SD/MMC: support SD 3.0, MMC 4.51
-* USB: USB3.0 typc-C port *2 with dwc3 controller
+* USB: USB3.0 type-C port *2 with dwc3 controller
 *      USB2.0 EHCI host port *2
 * Display: RGB/HDMI/DP/MIPI/EDP
 
index 1f122833a777ea813ebb8e7a251fb1bc0fef7e37..e11faae9ee413dcb8bf9d2d6a16de6ef90829c1a 100644 (file)
@@ -268,7 +268,7 @@ config SPL_BANNER_PRINT
        default y
        help
          If this option is enabled, SPL will print the banner with version
-         info. Disabling this option could be useful to reduce TPL boot time
+         info. Disabling this option could be useful to reduce SPL boot time
          (e.g. approx. 6 ms faster, when output on i.MX6 with 115200 baud).
 
 config TPL_BANNER_PRINT
@@ -276,8 +276,8 @@ config TPL_BANNER_PRINT
        depends on TPL
        default y
        help
-         If this option is enabled, SPL will not print the banner with version
-         info. Disabling this option could be useful to reduce SPL boot time
+         If this option is enabled, TPL will print the banner with version
+         info. Disabling this option could be useful to reduce TPL boot time
          (e.g. approx. 6 ms faster, when output on i.MX6 with 115200 baud).
 
 config SPL_EARLY_BSS
index 6eed83f8c5785d7961e19ac8dc4edc08bd50a001..3c931ec720fe2a101c8d0f6aedb6c9687cfa7cf3 100644 (file)
@@ -75,7 +75,7 @@ with:
 - the nodes with one pre-relocation property:
   'u-boot,dm-pre-reloc' or 'u-boot,dm-spl'
 
-ftgrep is also used to remove:
+fdtgrep is also used to remove:
 - the properties defined in CONFIG_OF_SPL_REMOVE_PROPS
 - all the pre-relocation properties
   ('u-boot,dm-pre-reloc', 'u-boot,dm-spl' and 'u-boot,dm-tpl')
index c94129fdc989765ba12358536954850d761f75de..72027fd692ea0cd08562c82c694c24c347f8bb63 100644 (file)
@@ -31,7 +31,7 @@ make environment and also appended to CPPFLAGS with -DCONFIG_TPL_BUILD.
 
 The SPL options are shared by SPL and TPL, the board config file should
 determine which SPL options to choose based on whether CONFIG_TPL_BUILD
-is set. Source files can be compiled for TPL with options choosed in the
+is set. Source files can be compiled for TPL with options chosen in the
 board config file.
 
 TPL use a small device tree (u-boot-tpl.dtb), containing only the nodes with
index f8e27ed34e81a85a14a8444ea983d41eceb573ec..18d2aedcb7351a915d823fe566bb456f544e9ce8 100644 (file)
@@ -262,7 +262,7 @@ o config-1
   - loadables : Unit name containing a list of additional binaries to be
     loaded at their given locations.  "loadables" is a comma-separated list
     of strings. U-Boot will load each binary at its given start-address and
-    may optionaly invoke additional post-processing steps on this binary based
+    may optionally invoke additional post-processing steps on this binary based
     on its component image node type.
   - compatible : The root compatible string of the U-Boot device tree that
     this configuration shall automatically match when CONFIG_FIT_BEST_MATCH is
index 20a80944e29fb9b92f93cc8fe7f010dafb1980f4..a6a3ee48aaf4e13d3c2a9909ba7d9381893c4f10 100644 (file)
@@ -73,7 +73,7 @@ any dependencies between them
 and brought in as needed
 - Provides for a standard image description available in the build and at
 run-time
-- SoC-specific image-signing tools can be accomodated
+- SoC-specific image-signing tools can be accommodated
 - Avoids cluttering the U-Boot build system with image-building code
 - The image description is automatically available at run-time in U-Boot,
 SPL. It can be made available to other software also
index 10994335217c572bb4f16b5669d716c34568d1bb..0576e63a862c2e8bf221fb64226b28ae3d8020dc 100644 (file)
@@ -519,7 +519,7 @@ Properties / Entry arguments:
 
 This file contains code used by the SoC that is required to make it work.
 The Management Engine is like a background task that runs things that are
-not clearly documented, but may include keyboard, deplay and network
+not clearly documented, but may include keyboard, display and network
 access. For platform that use ME it is not possible to disable it. U-Boot
 does not directly execute code in the ME binary.
 
@@ -593,7 +593,7 @@ Entry: powerpc-mpc85xx-bootpg-resetvec: PowerPC mpc85xx bootpg + resetvec code f
 Properties / Entry arguments:
     - filename: Filename of u-boot-br.bin (default 'u-boot-br.bin')
 
-This enrty is valid for PowerPC mpc85xx cpus. This entry holds
+This entry is valid for PowerPC mpc85xx cpus. This entry holds
 'bootpg + resetvec' code for PowerPC mpc85xx CPUs which needs to be
 placed at offset 'RESET_VECTOR_ADDRESS - 0xffc'.