mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-30 19:11:37 +00:00
ppc4xx: Fix sys_get_info() for 405GP(r)
This patch assigns the correct EBC clock for 405GP(r) CPUs to PPC4xx_SYS_INFO structure. Without this patch U-Boot uses an uninitialized EBC clock in its startup message. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
This commit is contained in:
parent
499e7831e1
commit
e1d09680f6
1 changed files with 2 additions and 0 deletions
|
@ -165,6 +165,8 @@ void get_sys_info (PPC4xx_SYS_INFO * sysInfo)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sysInfo->freqEBC = sysInfo->freqPLB / sysInfo->pllExtBusDiv;
|
||||||
|
|
||||||
sysInfo->freqUART = sysInfo->freqProcessor;
|
sysInfo->freqUART = sysInfo->freqProcessor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue