From 5d9101b39c441fb1bad5b6df9fddb0ee116141b2 Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Thu, 12 Nov 2020 15:19:04 +0000 Subject: [PATCH] Fix typos and misspellings Fix a number of typos and misspellings in TF-A documentation and comments. Signed-off-by: David Horstmann Change-Id: I34c5a28c3af15f28d1ccada4d9866aee6af136ee --- docs/components/psa-ffa-manifest-binding.rst | 4 ++-- docs/getting_started/porting-guide.rst | 2 +- docs/process/coding-style.rst | 2 +- plat/common/aarch64/platform_mp_stack.S | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/components/psa-ffa-manifest-binding.rst b/docs/components/psa-ffa-manifest-binding.rst index 09894ae57..af79074af 100644 --- a/docs/components/psa-ffa-manifest-binding.rst +++ b/docs/components/psa-ffa-manifest-binding.rst @@ -13,7 +13,7 @@ Partition Properties - compatible [mandatory] - value type: - Must be the string "arm,ffa-manifest-X.Y" which specifies the major and - minor versions fo the device tree binding for the FFA manifest represented + minor versions of the device tree binding for the FFA manifest represented by this node. The minor number is incremented if the binding changes in a backwards compatible manner. @@ -240,7 +240,7 @@ Device Regions - exclusive-access - value type: - Presence of this field implies that this endpoint must be granted exclusive - access and ownership of this devices's MMIO region. + access and ownership of this device's MMIO region. -------------- diff --git a/docs/getting_started/porting-guide.rst b/docs/getting_started/porting-guide.rst index 19e26e4ea..d063ec7e6 100644 --- a/docs/getting_started/porting-guide.rst +++ b/docs/getting_started/porting-guide.rst @@ -116,7 +116,7 @@ likely to be suitable for all platform ports. by ``plat/common/aarch64/platform_mp_stack.S`` and ``plat/common/aarch64/platform_up_stack.S``. -- **define : CACHE_WRITEBACK_GRANULE** +- **#define : CACHE_WRITEBACK_GRANULE** Defines the size in bits of the largest cache line across all the cache levels in the platform. diff --git a/docs/process/coding-style.rst b/docs/process/coding-style.rst index 94fd85e36..be13b14fa 100644 --- a/docs/process/coding-style.rst +++ b/docs/process/coding-style.rst @@ -101,7 +101,7 @@ Note that there is no space between the name of a function and the following parentheses. Control statements (``if``, ``for``, ``switch``, ``while``, etc) must be -separated from the following open paranthesis by a single space. The previous +separated from the following open parenthesis by a single space. The previous example illustrates this for an ``if`` statement. Line Length diff --git a/plat/common/aarch64/platform_mp_stack.S b/plat/common/aarch64/platform_mp_stack.S index c34a4cf3b..c0668ea78 100644 --- a/plat/common/aarch64/platform_mp_stack.S +++ b/plat/common/aarch64/platform_mp_stack.S @@ -14,7 +14,7 @@ .weak plat_set_my_stack /* --------------------------------------------------------------------- - * When the compatility layer is disabled, the platform APIs + * When the compatibility layer is disabled, the platform APIs * plat_get_my_stack() and plat_set_my_stack() are supported by the * platform and the previous APIs platform_get_stack() and * platform_set_stack() are defined in terms of new APIs making use of