mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-28 10:01:32 +00:00
MPC86xx: fix build warnings
Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
950309c643
commit
a9f3acbcd0
2 changed files with 1 additions and 3 deletions
|
@ -101,7 +101,7 @@ checkcpu(void)
|
||||||
if (sysinfo.freqLocalBus > LCRR_CLKDIV) {
|
if (sysinfo.freqLocalBus > LCRR_CLKDIV) {
|
||||||
printf("LBC:%4lu MHz\n", sysinfo.freqLocalBus / 1000000);
|
printf("LBC:%4lu MHz\n", sysinfo.freqLocalBus / 1000000);
|
||||||
} else {
|
} else {
|
||||||
printf("LBC: unknown (LCRR[CLKDIV] = 0x%02x)\n",
|
printf("LBC: unknown (LCRR[CLKDIV] = 0x%02lx)\n",
|
||||||
sysinfo.freqLocalBus);
|
sysinfo.freqLocalBus);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,6 @@
|
||||||
|
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
DECLARE_GLOBAL_DATA_PTR;
|
||||||
|
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
|
||||||
|
|
||||||
void ft_cpu_setup(void *blob, bd_t *bd)
|
void ft_cpu_setup(void *blob, bd_t *bd)
|
||||||
{
|
{
|
||||||
#if (CONFIG_NUM_CPUS > 1)
|
#if (CONFIG_NUM_CPUS > 1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue