Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
U-Boot
Custodians
RISC-V U-Boot Custodian Tree
Commits
8ed44d91
Commit
8ed44d91
authored
Oct 19, 2008
by
Wolfgang Denk
Browse files
Cleanup: fix "MHz" spelling
Signed-off-by:
Wolfgang Denk
<
wd@denx.de
>
parent
08ef89ec
Changes
44
Hide whitespace changes
Inline
Side-by-side
board/Marvell/db64360/pci.c
View file @
8ed44d91
...
...
@@ -52,13 +52,13 @@ static void gt_pci_bus_mode_display (PCI_HOST host)
printf
(
"PCI %d bus mode: Conventional PCI
\n
"
,
host
);
break
;
case
1
:
printf
(
"PCI %d bus mode: 66 M
h
z PCIX
\n
"
,
host
);
printf
(
"PCI %d bus mode: 66 M
H
z PCIX
\n
"
,
host
);
break
;
case
2
:
printf
(
"PCI %d bus mode: 100 M
h
z PCIX
\n
"
,
host
);
printf
(
"PCI %d bus mode: 100 M
H
z PCIX
\n
"
,
host
);
break
;
case
3
:
printf
(
"PCI %d bus mode: 133 M
h
z PCIX
\n
"
,
host
);
printf
(
"PCI %d bus mode: 133 M
H
z PCIX
\n
"
,
host
);
break
;
default:
printf
(
"Unknown BUS %d
\n
"
,
mode
);
...
...
board/Marvell/db64460/pci.c
View file @
8ed44d91
...
...
@@ -52,13 +52,13 @@ static void gt_pci_bus_mode_display (PCI_HOST host)
printf
(
"PCI %d bus mode: Conventional PCI
\n
"
,
host
);
break
;
case
1
:
printf
(
"PCI %d bus mode: 66 M
h
z PCIX
\n
"
,
host
);
printf
(
"PCI %d bus mode: 66 M
H
z PCIX
\n
"
,
host
);
break
;
case
2
:
printf
(
"PCI %d bus mode: 100 M
h
z PCIX
\n
"
,
host
);
printf
(
"PCI %d bus mode: 100 M
H
z PCIX
\n
"
,
host
);
break
;
case
3
:
printf
(
"PCI %d bus mode: 133 M
h
z PCIX
\n
"
,
host
);
printf
(
"PCI %d bus mode: 133 M
H
z PCIX
\n
"
,
host
);
break
;
default:
printf
(
"Unknown BUS %d
\n
"
,
mode
);
...
...
board/amcc/katmai/cmd_katmai.c
View file @
8ed44d91
...
...
@@ -57,9 +57,9 @@ static int do_bootstrap(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
do
{
#ifdef CONFIG_STRESS
printf
(
"enter cpu clock frequency 400, 500, 533, 667 M
h
z or quit to abort
\n
"
);
printf
(
"enter cpu clock frequency 400, 500, 533, 667 M
H
z or quit to abort
\n
"
);
#else
printf
(
"enter cpu clock frequency 400, 500, 533 M
h
z or quit to abort
\n
"
);
printf
(
"enter cpu clock frequency 400, 500, 533 M
H
z or quit to abort
\n
"
);
#endif
nbytes
=
readline
(
" ? "
);
...
...
@@ -87,11 +87,11 @@ static int do_bootstrap(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
else
{
do
{
if
(
strcmp
(
cpuClock
,
"400"
)
==
0
)
printf
(
"enter plb clock frequency 100, 133 M
h
z or quit to abort
\n
"
);
printf
(
"enter plb clock frequency 100, 133 M
H
z or quit to abort
\n
"
);
#ifdef CONFIG_STRESS
if
(
strcmp
(
cpuClock
,
"667"
)
==
0
)
printf
(
"enter plb clock frequency 133, 166 M
h
z or quit to abort
\n
"
);
printf
(
"enter plb clock frequency 133, 166 M
H
z or quit to abort
\n
"
);
#endif
nbytes
=
readline
(
" ? "
);
...
...
@@ -117,7 +117,7 @@ static int do_bootstrap(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
}
do
{
printf
(
"enter Pci-X clock frequency 33, 66, 100 or 133 M
h
z or quit to abort
\n
"
);
printf
(
"enter Pci-X clock frequency 33, 66, 100 or 133 M
H
z or quit to abort
\n
"
);
nbytes
=
readline
(
" ? "
);
if
(
strcmp
(
console_buffer
,
"quit"
)
==
0
)
...
...
@@ -133,10 +133,10 @@ static int do_bootstrap(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
}
while
(
nbytes
==
0
);
printf
(
"
\n
sys clk = %s
Mh
z
\n
"
,
sysClock
);
printf
(
"cpu clk = %s
Mh
z
\n
"
,
cpuClock
);
printf
(
"plb clk = %s
Mh
z
\n
"
,
plbClock
);
printf
(
"Pci-X clk = %s
Mh
z
\n
"
,
pcixClock
);
printf
(
"
\n
sys clk = %s
MH
z
\n
"
,
sysClock
);
printf
(
"cpu clk = %s
MH
z
\n
"
,
cpuClock
);
printf
(
"plb clk = %s
MH
z
\n
"
,
plbClock
);
printf
(
"Pci-X clk = %s
MH
z
\n
"
,
pcixClock
);
do
{
printf
(
"
\n
press [y] to write I2C bootstrap
\n
"
);
...
...
board/amcc/yucca/cmd_yucca.c
View file @
8ed44d91
...
...
@@ -69,7 +69,7 @@ static int setBootStrapClock(cmd_tbl_t *cmdtp, int incrflag, int flag,
chip
=
IIC0_ALT_BOOTPROM_ADDR
;
do
{
printf
(
"enter sys clock frequency 33 or 66 M
h
z or quit to abort
\n
"
);
printf
(
"enter sys clock frequency 33 or 66 M
H
z or quit to abort
\n
"
);
nbytes
=
readline
(
" ? "
);
if
(
strcmp
(
console_buffer
,
"quit"
)
==
0
)
...
...
@@ -85,12 +85,12 @@ static int setBootStrapClock(cmd_tbl_t *cmdtp, int incrflag, int flag,
do
{
if
(
strcmp
(
sysClock
,
"66"
)
==
0
)
{
printf
(
"enter cpu clock frequency 400, 533 M
h
z or quit to abort
\n
"
);
printf
(
"enter cpu clock frequency 400, 533 M
H
z or quit to abort
\n
"
);
}
else
{
#ifdef CONFIG_STRESS
printf
(
"enter cpu clock frequency 400, 500, 533, 667 M
h
z or quit to abort
\n
"
);
printf
(
"enter cpu clock frequency 400, 500, 533, 667 M
H
z or quit to abort
\n
"
);
#else
printf
(
"enter cpu clock frequency 400, 500, 533 M
h
z or quit to abort
\n
"
);
printf
(
"enter cpu clock frequency 400, 500, 533 M
H
z or quit to abort
\n
"
);
#endif
}
nbytes
=
readline
(
" ? "
);
...
...
@@ -130,11 +130,11 @@ static int setBootStrapClock(cmd_tbl_t *cmdtp, int incrflag, int flag,
}
else
{
do
{
if
(
strcmp
(
cpuClock
,
"400"
)
==
0
)
printf
(
"enter plb clock frequency 100, 133 M
h
z or quit to abort
\n
"
);
printf
(
"enter plb clock frequency 100, 133 M
H
z or quit to abort
\n
"
);
#ifdef CONFIG_STRESS
if
(
strcmp
(
cpuClock
,
"667"
)
==
0
)
printf
(
"enter plb clock frequency 133, 166 M
h
z or quit to abort
\n
"
);
printf
(
"enter plb clock frequency 133, 166 M
H
z or quit to abort
\n
"
);
#endif
nbytes
=
readline
(
" ? "
);
...
...
@@ -160,7 +160,7 @@ static int setBootStrapClock(cmd_tbl_t *cmdtp, int incrflag, int flag,
}
do
{
printf
(
"enter Pci-X clock frequency 33, 66, 100 or 133 M
h
z or quit to abort
\n
"
);
printf
(
"enter Pci-X clock frequency 33, 66, 100 or 133 M
H
z or quit to abort
\n
"
);
nbytes
=
readline
(
" ? "
);
if
(
strcmp
(
console_buffer
,
"quit"
)
==
0
)
...
...
@@ -176,10 +176,10 @@ static int setBootStrapClock(cmd_tbl_t *cmdtp, int incrflag, int flag,
}
while
(
nbytes
==
0
);
printf
(
"
\n
sys clk = %s
Mh
z
\n
"
,
sysClock
);
printf
(
"cpu clk = %s
Mh
z
\n
"
,
cpuClock
);
printf
(
"plb clk = %s
Mh
z
\n
"
,
plbClock
);
printf
(
"Pci-X clk = %s
Mh
z
\n
"
,
pcixClock
);
printf
(
"
\n
sys clk = %s
MH
z
\n
"
,
sysClock
);
printf
(
"cpu clk = %s
MH
z
\n
"
,
cpuClock
);
printf
(
"plb clk = %s
MH
z
\n
"
,
plbClock
);
printf
(
"Pci-X clk = %s
MH
z
\n
"
,
pcixClock
);
do
{
printf
(
"
\n
press [y] to write I2C bootstrap
\n
"
);
...
...
board/bf537-stamp/post-memory.c
View file @
8ed44d91
...
...
@@ -27,18 +27,18 @@ const int pll[CCLK_NUM][SCLK_NUM][2] = {
{{
4
,
1
},
{
4
,
2
},
{
4
,
4
}}
/* CCLK = 100M */
};
const
char
*
const
log
[
CCLK_NUM
][
SCLK_NUM
]
=
{
{
"CCLK-500M
h
z SCLK-125M
h
z: Writing...
\0
"
,
"CCLK-500M
h
z SCLK-100M
h
z: Writing...
\0
"
,
"CCLK-500M
h
z SCLK- 50M
h
z: Writing...
\0
"
,},
{
"CCLK-400M
h
z SCLK-100M
h
z: Writing...
\0
"
,
"CCLK-400M
h
z SCLK- 80M
h
z: Writing...
\0
"
,
"CCLK-400M
h
z SCLK- 50M
h
z: Writing...
\0
"
,},
{
"CCLK-200M
h
z SCLK-100M
h
z: Writing...
\0
"
,
"CCLK-200M
h
z SCLK- 50M
h
z: Writing...
\0
"
,
"CCLK-200M
h
z SCLK- 40M
h
z: Writing...
\0
"
,},
{
"CCLK-100M
h
z SCLK-100M
h
z: Writing...
\0
"
,
"CCLK-100M
h
z SCLK- 50M
h
z: Writing...
\0
"
,
"CCLK-100M
h
z SCLK- 25M
h
z: Writing...
\0
"
,},
{
"CCLK-500M
H
z SCLK-125M
H
z: Writing...
\0
"
,
"CCLK-500M
H
z SCLK-100M
H
z: Writing...
\0
"
,
"CCLK-500M
H
z SCLK- 50M
H
z: Writing...
\0
"
,},
{
"CCLK-400M
H
z SCLK-100M
H
z: Writing...
\0
"
,
"CCLK-400M
H
z SCLK- 80M
H
z: Writing...
\0
"
,
"CCLK-400M
H
z SCLK- 50M
H
z: Writing...
\0
"
,},
{
"CCLK-200M
H
z SCLK-100M
H
z: Writing...
\0
"
,
"CCLK-200M
H
z SCLK- 50M
H
z: Writing...
\0
"
,
"CCLK-200M
H
z SCLK- 40M
H
z: Writing...
\0
"
,},
{
"CCLK-100M
H
z SCLK-100M
H
z: Writing...
\0
"
,
"CCLK-100M
H
z SCLK- 50M
H
z: Writing...
\0
"
,
"CCLK-100M
H
z SCLK- 25M
H
z: Writing...
\0
"
,},
};
int
memory_post_test
(
int
flags
)
...
...
board/cray/L1/L1.c
View file @
8ed44d91
...
...
@@ -205,13 +205,13 @@ static void init_sdram (void)
/* To set the appropriate timings, we need to know the SDRAM speed. */
/* We can use the PLB speed since the SDRAM speed is the same as */
/* the PLB speed. The PLB speed is the FBK divider times the */
/* 405GP reference clock, which on the L1 is 25M
h
z. */
/* Thus, if FBK div is 2, SDRAM is 50M
h
z; if FBK div is 3, SDRAM is */
/* 150M
h
z; if FBK is 3, SDRAM is 150M
h
z. */
/* 405GP reference clock, which on the L1 is 25M
H
z. */
/* Thus, if FBK div is 2, SDRAM is 50M
H
z; if FBK div is 3, SDRAM is */
/* 150M
H
z; if FBK is 3, SDRAM is 150M
H
z. */
/* divisor = ((mfdcr(strap)>> 28) & 0x3); */
/* write SDRAM timing for 100M
h
z. */
/* write SDRAM timing for 100M
H
z. */
mtdcr
(
memcfga
,
mem_sdtr1
);
mtdcr
(
memcfgd
,
0x0086400D
);
...
...
board/eltec/bab7xx/misc.c
View file @
8ed44d91
...
...
@@ -377,7 +377,7 @@ int misc_init_r (void)
{
if
(
pci_find_device
(
PCI_VENDOR_ID_NCR
,
PCI_DEVICE_ID_NCR_53C860
,
0
)
>
0
)
{
/* BAB740 with SCSI=IRQ 11; SCC=IRQ 9; no IDE; NCR860 at 80 M
h
z */
/* BAB740 with SCSI=IRQ 11; SCC=IRQ 9; no IDE; NCR860 at 80 M
H
z */
scsi_dev_id
=
PCI_DEVICE_ID_NCR_53C860
;
scsi_max_scsi_id
=
7
;
scsi_sym53c8xx_ccf
=
0x15
;
...
...
board/esd/cpci750/pci.c
View file @
8ed44d91
...
...
@@ -66,13 +66,13 @@ static void gt_pci_bus_mode_display (PCI_HOST host)
printf
(
"PCI %d bus mode: Conventional PCI
\n
"
,
host
);
break
;
case
1
:
printf
(
"PCI %d bus mode: 66 M
h
z PCIX
\n
"
,
host
);
printf
(
"PCI %d bus mode: 66 M
H
z PCIX
\n
"
,
host
);
break
;
case
2
:
printf
(
"PCI %d bus mode: 100 M
h
z PCIX
\n
"
,
host
);
printf
(
"PCI %d bus mode: 100 M
H
z PCIX
\n
"
,
host
);
break
;
case
3
:
printf
(
"PCI %d bus mode: 133 M
h
z PCIX
\n
"
,
host
);
printf
(
"PCI %d bus mode: 133 M
H
z PCIX
\n
"
,
host
);
break
;
default:
printf
(
"Unknown BUS %d
\n
"
,
mode
);
...
...
board/esd/pci405/pci405.c
View file @
8ed44d91
...
...
@@ -347,7 +347,7 @@ int checkboard (void)
if
(
value
)
{
puts
(
", 33 MHz PCI"
);
}
else
{
puts
(
", 66 M
h
z PCI"
);
puts
(
", 66 M
H
z PCI"
);
}
}
...
...
board/fads/fads.c
View file @
8ed44d91
...
...
@@ -449,19 +449,19 @@ static int _initsdram(uint base, uint noMbytes)
/* Now run the precharge/nop/mrs commands.
*/
memctl
->
memc_mcr
=
0x80808111
;
/* run umpb cs4 1 count 1, addr 0x11 ??? (50M
h
z) */
/* run umpb cs4 1 count 1, addr 0x11 precharge+MRS (100M
h
z) */
memctl
->
memc_mcr
=
0x80808111
;
/* run umpb cs4 1 count 1, addr 0x11 ??? (50M
H
z) */
/* run umpb cs4 1 count 1, addr 0x11 precharge+MRS (100M
H
z) */
udelay
(
200
);
/* Run 8 refresh cycles */
memctl
->
memc_mcr
=
SDRAM_MCRVALUE0
;
/* run upmb cs4 loop 1 addr 0x5 precharge+MRS (50 M
h
z)*/
memctl
->
memc_mcr
=
SDRAM_MCRVALUE0
;
/* run upmb cs4 loop 1 addr 0x5 precharge+MRS (50 M
H
z)*/
/* run upmb cs4 loop 1 addr 0x11 precharge+MRS (100MHz) */
udelay
(
200
);
memctl
->
memc_mbmr
=
SDRAM_MBMRVALUE1
;
/* TLF 4 (100 M
h
z) or TLF 8 (50MHz) */
memctl
->
memc_mcr
=
SDRAM_MCRVALUE1
;
/* run upmb cs4 loop 1 addr 0x30 refr (50 M
h
z) */
memctl
->
memc_mbmr
=
SDRAM_MBMRVALUE1
;
/* TLF 4 (100 M
H
z) or TLF 8 (50MHz) */
memctl
->
memc_mcr
=
SDRAM_MCRVALUE1
;
/* run upmb cs4 loop 1 addr 0x30 refr (50 M
H
z) */
/* run upmb cs4 loop 1 addr 0x11 precharge+MRS ??? (100MHz) */
udelay
(
200
);
...
...
board/freescale/mpc8540ads/mpc8540ads.c
View file @
8ed44d91
...
...
@@ -127,8 +127,8 @@ local_bus_init(void)
* Errata LBC11.
* Fix Local Bus clock glitch when DLL is enabled.
*
* If localbus freq is < 66M
h
z, DLL bypass mode must be used.
* If localbus freq is > 133M
h
z, DLL can be safely enabled.
* If localbus freq is < 66M
H
z, DLL bypass mode must be used.
* If localbus freq is > 133M
H
z, DLL can be safely enabled.
* Between 66 and 133, the DLL is enabled with an override workaround.
*/
...
...
board/freescale/mpc8541cds/mpc8541cds.c
View file @
8ed44d91
...
...
@@ -302,8 +302,8 @@ local_bus_init(void)
* Errata LBC11.
* Fix Local Bus clock glitch when DLL is enabled.
*
* If localbus freq is < 66M
h
z, DLL bypass mode must be used.
* If localbus freq is > 133M
h
z, DLL can be safely enabled.
* If localbus freq is < 66M
H
z, DLL bypass mode must be used.
* If localbus freq is > 133M
H
z, DLL can be safely enabled.
* Between 66 and 133, the DLL is enabled with an override workaround.
*/
...
...
board/freescale/mpc8555cds/mpc8555cds.c
View file @
8ed44d91
...
...
@@ -302,8 +302,8 @@ local_bus_init(void)
* Errata LBC11.
* Fix Local Bus clock glitch when DLL is enabled.
*
* If localbus freq is < 66M
h
z, DLL bypass mode must be used.
* If localbus freq is > 133M
h
z, DLL can be safely enabled.
* If localbus freq is < 66M
H
z, DLL bypass mode must be used.
* If localbus freq is > 133M
H
z, DLL can be safely enabled.
* Between 66 and 133, the DLL is enabled with an override workaround.
*/
...
...
board/freescale/mpc8560ads/mpc8560ads.c
View file @
8ed44d91
...
...
@@ -331,8 +331,8 @@ local_bus_init(void)
* Errata LBC11.
* Fix Local Bus clock glitch when DLL is enabled.
*
* If localbus freq is < 66M
h
z, DLL bypass mode must be used.
* If localbus freq is > 133M
h
z, DLL can be safely enabled.
* If localbus freq is < 66M
H
z, DLL bypass mode must be used.
* If localbus freq is > 133M
H
z, DLL can be safely enabled.
* Between 66 and 133, the DLL is enabled with an override workaround.
*/
...
...
board/gen860t/beeper.c
View file @
8ed44d91
...
...
@@ -36,7 +36,7 @@
/*
* Initialize beeper-related hardware. Initialize timer 1 for use with
* the beeper. Use 66 M
h
z internal clock with prescale of 33 to get
* the beeper. Use 66 M
H
z internal clock with prescale of 33 to get
* 1 uS period per count.
* FIXME: we should really compute the prescale based on the reported
* core clock frequency.
...
...
board/idmr/idmr.c
View file @
8ed44d91
...
...
@@ -78,7 +78,7 @@ phys_size_t initdram (int board_type) {
MCF_GPIO_SDRAM_SDCS_01
);
/*
* Wait 100us. We run the bus at 50M
h
z, one cycle is 20ns. So 5
* Wait 100us. We run the bus at 50M
H
z, one cycle is 20ns. So 5
* iterations will do, but we do 10 just to be safe.
*/
for
(
i
=
0
;
i
<
10
;
++
i
)
...
...
board/motionpro/motionpro.c
View file @
8ed44d91
...
...
@@ -5,7 +5,7 @@
* modified for Promess PRO - by Andy Joseph, andy@promessdev.com
* modified for Promess PRO-Motion - by Robert McCullough, rob@promessdev.com
* modified by Chris M. Tumas 6/20/06 Change CAS latency to 2 from 3
* Also changed the refresh for 100M
h
z operation
* Also changed the refresh for 100M
H
z operation
*
* See file CREDITS for list of people who contributed to this
* project.
...
...
board/mpc8540eval/mpc8540eval.c
View file @
8ed44d91
...
...
@@ -100,7 +100,7 @@ phys_size_t initdram (int board_type)
#if !defined(CONFIG_RAM_AS_FLASH)
/* LocalBus is not emulating flash */
get_sys_info
(
&
sysinfo
);
/* if localbus freq is less than 66M
h
z,we use bypass mode,otherwise use DLL */
/* if localbus freq is less than 66M
H
z,we use bypass mode,otherwise use DLL */
if
(
sysinfo
.
freqSystemBus
/
(
CONFIG_SYS_LBC_LCRR
&
0x0f
)
<
66000000
)
{
lbc
->
lcrr
=
(
CONFIG_SYS_LBC_LCRR
&
0x0fffffff
)
|
0x80000000
;
}
else
{
...
...
board/mpl/pip405/pip405.c
View file @
8ed44d91
...
...
@@ -252,7 +252,7 @@ int board_early_init_f (void)
(
datain
[
2
]
!=
0x04
)
||
/* if not SDRAM */
(
!
((
datain
[
6
]
==
0x40
)
||
(
datain
[
6
]
==
0x48
)))
||
/* or not (64 Bit or 72 Bit) */
(
datain
[
7
]
!=
0x00
)
||
(
datain
[
8
]
!=
0x01
)
||
/* or not LVTTL signal levels */
(
datain
[
126
]
==
0x66
))
/* or a 66M
h
z modules */
(
datain
[
126
]
==
0x66
))
/* or a 66M
H
z modules */
SDRAM_err
(
"unsupported SDRAM"
);
#ifdef SDRAM_DEBUG
serial_puts
(
"SDRAM sanity ok
\n
"
);
...
...
board/pm854/pm854.c
View file @
8ed44d91
...
...
@@ -144,8 +144,8 @@ local_bus_init(void)
* Errata LBC11.
* Fix Local Bus clock glitch when DLL is enabled.
*
* If localbus freq is < 66M
h
z, DLL bypass mode must be used.
* If localbus freq is > 133M
h
z, DLL can be safely enabled.
* If localbus freq is < 66M
H
z, DLL bypass mode must be used.
* If localbus freq is > 133M
H
z, DLL can be safely enabled.
* Between 66 and 133, the DLL is enabled with an override workaround.
*/
...
...
Prev
1
2
3
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment