aboutsummaryrefslogtreecommitdiff
path: root/board-js2x/slof
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-03-06 13:49:24 +0100
committerAlexey Kardashevskiy <aik@ozlabs.ru>2023-03-28 18:48:58 +1100
commitc4d03cf1a996904ec2ea42aa929f58e3fa33b934 (patch)
tree5a0930f5c65153fd18e3a36a73473d3c1578d006 /board-js2x/slof
parent1671c1847b6e8c4fc58175801a197f3129cda6a0 (diff)
downloadSLOF-c4d03cf1a996904ec2ea42aa929f58e3fa33b934.zip
SLOF-c4d03cf1a996904ec2ea42aa929f58e3fa33b934.tar.gz
SLOF-c4d03cf1a996904ec2ea42aa929f58e3fa33b934.tar.bz2
Fix typos in the board-js2x folder
Found with the "codespell" utility. I kept "busses" which codespell also complains about since it seems to be an old but still valid plural of the word "bus". Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'board-js2x/slof')
-rw-r--r--board-js2x/slof/OF.fs8
-rw-r--r--board-js2x/slof/citrine-disk.fs2
-rw-r--r--board-js2x/slof/pci-bridge_1022_7460.fs4
-rw-r--r--board-js2x/slof/pci-class_03.fs5
-rw-r--r--board-js2x/slof/rtas.fs4
5 files changed, 11 insertions, 12 deletions
diff --git a/board-js2x/slof/OF.fs b/board-js2x/slof/OF.fs
index f8cde85..dcc67a5 100644
--- a/board-js2x/slof/OF.fs
+++ b/board-js2x/slof/OF.fs
@@ -26,8 +26,8 @@ uni-n-version 4 rshift dup 3 = CONSTANT u3? 4 = CONSTANT u4?
\ if (f4000682 >> 4) == 1... it is a bimini...
f4000682 rb@ 4 rshift 1 = CONSTANT bimini?
-\ to decide wether vga initialisation using bios emulation should be attempted,
-\ we need to know wether a vga-device was found during pci-scan.
+\ to decide whether vga initialisation using bios emulation should be attempted,
+\ we need to know whether a vga-device was found during pci-scan.
\ If it is found, this value will be set to the device's phandle
0 value vga-device-node?
@@ -331,7 +331,7 @@ check-for-nvramrc
8a8 cp
-\ check wether a VGA device was found during pci scan, if it was
+\ check whether a VGA device was found during pci scan, if it was
\ try to initialize it and create the needed device-nodes
0 value biosemu-vmem
100000 value biosemu-vmem-size
@@ -538,7 +538,7 @@ cr
#include "copyright-oss.fs"
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-js2x/slof/citrine-disk.fs b/board-js2x/slof/citrine-disk.fs
index 146e7ec..a0c280e 100644
--- a/board-js2x/slof/citrine-disk.fs
+++ b/board-js2x/slof/citrine-disk.fs
@@ -29,7 +29,7 @@ get-parent CONSTANT ppack
0 pci-alias-disk
-\ Requiered interface for deblocker
+\ Required interface for deblocker
200 CONSTANT block-size
40000 CONSTANT max-transfer
diff --git a/board-js2x/slof/pci-bridge_1022_7460.fs b/board-js2x/slof/pci-bridge_1022_7460.fs
index 67fe64e..d705f0d 100644
--- a/board-js2x/slof/pci-bridge_1022_7460.fs
+++ b/board-js2x/slof/pci-bridge_1022_7460.fs
@@ -108,7 +108,7 @@ INCLUDE freq.fs
pci-next-mmio @ 100000 #aligned ( base )
- \ Sequence prescribed for resetting the EHCI contoller
+ \ Sequence prescribed for resetting the EHCI controller
\ If Run/Stop bit (ECAP30 bit 0) is 1
\ Set Run/Stop bit to 0
@@ -179,7 +179,7 @@ my-space pci-class-name type cr
: pci-bridge-generic-setup-amd8111 ( addr -- )
pci-device-slots >r \ save the slot array on return stack
dup pci-common-props \ set the common properties before scanning the bus
- s" pci" device-type \ the type is allways "pci"
+ s" pci" device-type \ the type is always "pci"
dup pci-bridge-probe-amd8111 \ find all device connected to it
dup assign-all-bridge-bars \ set up all memory access BARs
dup pci-set-irq-line \ set the interrupt pin
diff --git a/board-js2x/slof/pci-class_03.fs b/board-js2x/slof/pci-class_03.fs
index 05c8eb6..86f7265 100644
--- a/board-js2x/slof/pci-class_03.fs
+++ b/board-js2x/slof/pci-class_03.fs
@@ -44,12 +44,11 @@ my-space a1000000 or encode-int+ \ non-relocatable, aliased I/O space
s" reg" property \ store "reg" property
-\ check wether we have already found a vga-device (vga-device-node? != 0) and if
-\ this device has Expansion ROM
+\ check whether we have already found a vga-device (vga-device-node? != 0)
+\ and if this device has an expansion ROM
vga-device-node? 0= 30 config-l@ 0<> AND IF
\ remember this vga device's phandle
get-node to vga-device-node?
THEN
cr
-
diff --git a/board-js2x/slof/rtas.fs b/board-js2x/slof/rtas.fs
index 0a90c29..a4130c6 100644
--- a/board-js2x/slof/rtas.fs
+++ b/board-js2x/slof/rtas.fs
@@ -202,8 +202,8 @@ blist 50 erase
2 rtas-cb rtas>nargs l!
1 rtas-cb rtas>nret l!
rtas-cb rtas>args0 l!
- \ special unofficial parameter: if this is set to 1, the rtas function will not check, wether
- \ we are on the perm side... this is needed for "update-flash -c" to work...
+ \ special unofficial parameter: if this is set to 1, the rtas function will not check
+ \ whether we are on the perm side... this is needed for "update-flash -c" to work...
1 rtas-cb rtas>args1 l!
enter-rtas
rtas-cb rtas>args2 l@