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>
This commit is contained in:
parent
1671c1847b
commit
c4d03cf1a9
|
@ -21,7 +21,7 @@
|
||||||
* 01h - checksum ( 1 byte)
|
* 01h - checksum ( 1 byte)
|
||||||
* 02h - length ( 2 byte) value = 1st_byte*256 + 2nd_byte
|
* 02h - length ( 2 byte) value = 1st_byte*256 + 2nd_byte
|
||||||
* 04h - name (12 byte)
|
* 04h - name (12 byte)
|
||||||
* space for partiton header = 16 byte
|
* space for partition header = 16 byte
|
||||||
*
|
*
|
||||||
* Log Header
|
* Log Header
|
||||||
* 10h - offset ( 2 byte) from Partition Header to Data Section
|
* 10h - offset ( 2 byte) from Partition Header to Data Section
|
||||||
|
|
|
@ -265,7 +265,7 @@ static const uint32_t SUBVER = 1;
|
||||||
#define I2C_START 0x50
|
#define I2C_START 0x50
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Index to the speed dependend DIMM settings
|
* Index to the speed dependent DIMM settings
|
||||||
*/
|
*/
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
|
@ -297,8 +297,8 @@ typedef struct
|
||||||
uint32_t m_pop_u32; // set if bank is populated
|
uint32_t m_pop_u32; // set if bank is populated
|
||||||
uint32_t m_bank_u32; // bank number
|
uint32_t m_bank_u32; // bank number
|
||||||
uint32_t m_clmsk_u32; // mask of supported CAS latencies
|
uint32_t m_clmsk_u32; // mask of supported CAS latencies
|
||||||
uint32_t m_clcnt_u32; // number of supporetd CAS latencies
|
uint32_t m_clcnt_u32; // number of supported CAS latencies
|
||||||
uint32_t m_clval_pu32[NUM_CL]; // values of supporeted CAS latencies
|
uint32_t m_clval_pu32[NUM_CL]; // values of supported CAS latencies
|
||||||
uint32_t m_speed_pu32[NUM_CL]; // speed (Mhz) at CAS latency of same index
|
uint32_t m_speed_pu32[NUM_CL]; // speed (Mhz) at CAS latency of same index
|
||||||
uint32_t m_size_u32; // chip size in Mb
|
uint32_t m_size_u32; // chip size in Mb
|
||||||
uint32_t m_rank_u32; // # of ranks, total size = chip size*rank
|
uint32_t m_rank_u32; // # of ranks, total size = chip size*rank
|
||||||
|
@ -937,7 +937,7 @@ ddr2_setupDIMMcfg( void )
|
||||||
uint32_t i, j, e, b;
|
uint32_t i, j, e, b;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* check wether on board DIMM slot population is valid
|
* check whether on board DIMM slot population is valid
|
||||||
*/
|
*/
|
||||||
e = 0;
|
e = 0;
|
||||||
b = 0;
|
b = 0;
|
||||||
|
@ -1156,7 +1156,7 @@ ddr2_setupDIMMcfg( void )
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* check wether cl values are supported by U4
|
* check whether cl values are supported by U4
|
||||||
*/
|
*/
|
||||||
for( i = 0; i < m_gendimm.m_clcnt_u32; i++ ) {
|
for( i = 0; i < m_gendimm.m_clcnt_u32; i++ ) {
|
||||||
|
|
||||||
|
@ -1487,7 +1487,7 @@ u4_group2banks( uint32_t *bidx )
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* check wether DIMM banks may be grouped
|
* check whether DIMM banks may be grouped
|
||||||
*/
|
*/
|
||||||
if( ( ( ( bidx[0] + bidx[1] ) & 0x1 ) != 0 ) &&
|
if( ( ( ( bidx[0] + bidx[1] ) & 0x1 ) != 0 ) &&
|
||||||
( u4_Dcmp( &m_dimm[didx0], &m_dimm[didx1] ) == 0 ) ) {
|
( u4_Dcmp( &m_dimm[didx0], &m_dimm[didx1] ) == 0 ) ) {
|
||||||
|
@ -2461,7 +2461,7 @@ u4_MemInitSequence( uint32_t tRP, uint32_t tWR, uint32_t tRFC, uint32_t CL,
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* static DIMM configuartion settings
|
* static DIMM configuration settings
|
||||||
*/
|
*/
|
||||||
static reg_statics_t reg_statics_maui[NUM_SPEED_IDX] = {
|
static reg_statics_t reg_statics_maui[NUM_SPEED_IDX] = {
|
||||||
{ /* 400 Mhz */
|
{ /* 400 Mhz */
|
||||||
|
|
|
@ -496,7 +496,7 @@ rtas_update_flash(rtas_args_t *rtas_args)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* from SLOF we pass a second (unofficial) parameter, if this parameter is 1, we do not
|
/* from SLOF we pass a second (unofficial) parameter, if this parameter is 1, we do not
|
||||||
* check wether we are on permanent side. Needed for update-flash -c to work! */
|
* check whether we are on permanent side. Needed for update-flash -c to work! */
|
||||||
if ((rtas_args->nargs > 1) && (rtas_args->args[1] == 1))
|
if ((rtas_args->nargs > 1) && (rtas_args->args[1] == 1))
|
||||||
perm_check = 0;
|
perm_check = 0;
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,8 @@ uni-n-version 4 rshift dup 3 = CONSTANT u3? 4 = CONSTANT u4?
|
||||||
\ if (f4000682 >> 4) == 1... it is a bimini...
|
\ if (f4000682 >> 4) == 1... it is a bimini...
|
||||||
f4000682 rb@ 4 rshift 1 = CONSTANT bimini?
|
f4000682 rb@ 4 rshift 1 = CONSTANT bimini?
|
||||||
|
|
||||||
\ to decide wether vga initialisation using bios emulation should be attempted,
|
\ to decide whether vga initialisation using bios emulation should be attempted,
|
||||||
\ we need to know wether a vga-device was found during pci-scan.
|
\ 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
|
\ If it is found, this value will be set to the device's phandle
|
||||||
0 value vga-device-node?
|
0 value vga-device-node?
|
||||||
|
|
||||||
|
@ -331,7 +331,7 @@ check-for-nvramrc
|
||||||
|
|
||||||
8a8 cp
|
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
|
\ try to initialize it and create the needed device-nodes
|
||||||
0 value biosemu-vmem
|
0 value biosemu-vmem
|
||||||
100000 value biosemu-vmem-size
|
100000 value biosemu-vmem-size
|
||||||
|
@ -538,7 +538,7 @@ cr
|
||||||
#include "copyright-oss.fs"
|
#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
|
' start-it CATCH drop
|
||||||
|
|
||||||
: boot
|
: boot
|
||||||
|
|
|
@ -29,7 +29,7 @@ get-parent CONSTANT ppack
|
||||||
|
|
||||||
0 pci-alias-disk
|
0 pci-alias-disk
|
||||||
|
|
||||||
\ Requiered interface for deblocker
|
\ Required interface for deblocker
|
||||||
|
|
||||||
200 CONSTANT block-size
|
200 CONSTANT block-size
|
||||||
40000 CONSTANT max-transfer
|
40000 CONSTANT max-transfer
|
||||||
|
|
|
@ -108,7 +108,7 @@ INCLUDE freq.fs
|
||||||
|
|
||||||
pci-next-mmio @ 100000 #aligned ( base )
|
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
|
\ If Run/Stop bit (ECAP30 bit 0) is 1
|
||||||
\ Set Run/Stop bit to 0
|
\ Set Run/Stop bit to 0
|
||||||
|
@ -179,7 +179,7 @@ my-space pci-class-name type cr
|
||||||
: pci-bridge-generic-setup-amd8111 ( addr -- )
|
: pci-bridge-generic-setup-amd8111 ( addr -- )
|
||||||
pci-device-slots >r \ save the slot array on return stack
|
pci-device-slots >r \ save the slot array on return stack
|
||||||
dup pci-common-props \ set the common properties before scanning the bus
|
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 pci-bridge-probe-amd8111 \ find all device connected to it
|
||||||
dup assign-all-bridge-bars \ set up all memory access BARs
|
dup assign-all-bridge-bars \ set up all memory access BARs
|
||||||
dup pci-set-irq-line \ set the interrupt pin
|
dup pci-set-irq-line \ set the interrupt pin
|
||||||
|
|
|
@ -44,12 +44,11 @@ my-space a1000000 or encode-int+ \ non-relocatable, aliased I/O space
|
||||||
|
|
||||||
s" reg" property \ store "reg" property
|
s" reg" property \ store "reg" property
|
||||||
|
|
||||||
\ check wether we have already found a vga-device (vga-device-node? != 0) and if
|
\ check whether we have already found a vga-device (vga-device-node? != 0)
|
||||||
\ this device has Expansion ROM
|
\ and if this device has an expansion ROM
|
||||||
vga-device-node? 0= 30 config-l@ 0<> AND IF
|
vga-device-node? 0= 30 config-l@ 0<> AND IF
|
||||||
\ remember this vga device's phandle
|
\ remember this vga device's phandle
|
||||||
get-node to vga-device-node?
|
get-node to vga-device-node?
|
||||||
THEN
|
THEN
|
||||||
|
|
||||||
cr
|
cr
|
||||||
|
|
||||||
|
|
|
@ -202,8 +202,8 @@ blist 50 erase
|
||||||
2 rtas-cb rtas>nargs l!
|
2 rtas-cb rtas>nargs l!
|
||||||
1 rtas-cb rtas>nret l!
|
1 rtas-cb rtas>nret l!
|
||||||
rtas-cb rtas>args0 l!
|
rtas-cb rtas>args0 l!
|
||||||
\ special unofficial parameter: if this is set to 1, the rtas function will not check, wether
|
\ special unofficial parameter: if this is set to 1, the rtas function will not check
|
||||||
\ we are on the perm side... this is needed for "update-flash -c" to work...
|
\ whether we are on the perm side... this is needed for "update-flash -c" to work...
|
||||||
1 rtas-cb rtas>args1 l!
|
1 rtas-cb rtas>args1 l!
|
||||||
enter-rtas
|
enter-rtas
|
||||||
rtas-cb rtas>args2 l@
|
rtas-cb rtas>args2 l@
|
||||||
|
|
Loading…
Reference in New Issue