[SLOF] [PATCH 1/4] Fix typos in the board-qemu folder

Thomas Huth thuth at redhat.com
Thu Feb 23 02:40:54 AEDT 2023


Found with the "codespell" utility.

Signed-off-by: Thomas Huth <thuth at redhat.com>
---
 board-qemu/include/nvramlog.h           | 2 +-
 board-qemu/slof/OF.fs                   | 2 +-
 board-qemu/slof/fdt.fs                  | 6 +++---
 board-qemu/slof/pci-device_1013_00b8.fs | 4 ++--
 board-qemu/slof/qemu-vga.fs             | 2 +-
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/board-qemu/include/nvramlog.h b/board-qemu/include/nvramlog.h
index d130255..1550916 100644
--- a/board-qemu/include/nvramlog.h
+++ b/board-qemu/include/nvramlog.h
@@ -21,7 +21,7 @@
  *	01h	- checksum	( 1 byte)
  *	02h	- length	( 2 byte) value = 1st_byte*256 + 2nd_byte
  *	04h	- name		(12 byte)
- *	space for partiton header = 16 byte
+ *	space for partition header = 16 byte
  *
  *	Log Header
  *	10h	- offset	( 2 byte) from Partition Header to Data Section
diff --git a/board-qemu/slof/OF.fs b/board-qemu/slof/OF.fs
index 3bcb2af..df33c80 100644
--- a/board-qemu/slof/OF.fs
+++ b/board-qemu/slof/OF.fs
@@ -340,7 +340,7 @@ cr
 #include "copyright-oss.fs"
 cr cr
 
-\ this CATCH is to ensure the code bellow always executes:  boot may ABORT!
+\ this CATCH is to ensure the code below always executes:  boot may ABORT!
 ' start-it CATCH drop
 
 : boot
diff --git a/board-qemu/slof/fdt.fs b/board-qemu/slof/fdt.fs
index 78d2efe..e94d00e 100644
--- a/board-qemu/slof/fdt.fs
+++ b/board-qemu/slof/fdt.fs
@@ -84,7 +84,7 @@ fdt-start fdt-init
 	drop -1 throw EXIT
     THEN
     dup >fdth_version l@ 10 < IF
-        ." Flat device tree has usupported version !" cr
+        ." Flat device tree has unsupported version !" cr
 	drop -1 throw EXIT
     THEN
 
@@ -352,7 +352,7 @@ fdt-claim-reserve
 ;
 
 : (fdt-patch-interrupt-map) ( prop-addr prop-len -- )
-    \ interrupt-controller phandle is expected to be the same accross the map
+    \ interrupt-controller phandle is expected to be the same across the map
     over 10 + l@ phandle>node ?dup 0= IF 2drop EXIT THEN
     -rot
     fdt-debug IF ."      ### Patching interrupt-map: " over 10 + l@ . ."  => " 2 pick . cr THEN
@@ -501,7 +501,7 @@ r> drop
 	fdt-cas-pass 0 <> IF
 	    \ We could not find the node added in the previous pass,
 	    \ most likely because it is hotplug-under-hotplug case
-	    \ (such as PCI brigde under bridge) when missing new node methods
+	    \ (such as PCI bridge under bridge) when missing new node methods
 	    \ such as "decode-unit" are critical.
 	    \ Reboot when detect such case which is expected as it is a part of
 	    \ ibm,client-architecture-support.
diff --git a/board-qemu/slof/pci-device_1013_00b8.fs b/board-qemu/slof/pci-device_1013_00b8.fs
index c3ac2ec..91ca262 100644
--- a/board-qemu/slof/pci-device_1013_00b8.fs
+++ b/board-qemu/slof/pci-device_1013_00b8.fs
@@ -12,7 +12,7 @@
 
 my-space pci-device-generic-setup
 
-\ Defaults, overriden from qemu
+\ Defaults, overridden from qemu
 d# 800 VALUE disp-width
 d# 600 VALUE disp-height
 d#   8 VALUE disp-depth
@@ -125,7 +125,7 @@ include graphics.fs
   12 06 vga-seq!  \ unlock extensions
   05 06 vga-gfx!  \ graphic mode  
   \ set bit depth. Note: we should set the hidden
-  \ dac register to differenciate 15 and 16bpp, but
+  \ dac register to differentiate 15 and 16bpp, but
   \ it's annoying and in practice we don't care as
   \ we are only displaying in black & white atm
   disp-depth CASE \ set depth
diff --git a/board-qemu/slof/qemu-vga.fs b/board-qemu/slof/qemu-vga.fs
index 3f4c237..8a2dd52 100644
--- a/board-qemu/slof/qemu-vga.fs
+++ b/board-qemu/slof/qemu-vga.fs
@@ -12,7 +12,7 @@
 
 my-space pci-device-generic-setup
 
-\ Defaults, overriden from qemu
+\ Defaults, overridden from qemu
 d# 800 VALUE disp-width
 d# 600 VALUE disp-height
 d#   8 VALUE disp-depth
-- 
2.31.1



More information about the SLOF mailing list