get_bus_freq()
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1204 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
		| @@ -171,3 +171,11 @@ unsigned long get_clock_speed(void) | ||||
| 	get_sys_info(&sys_info); | ||||
| 	return sys_info.freqProcessor; | ||||
| } | ||||
|  | ||||
| unsigned long get_bus_freq(void) | ||||
| { | ||||
| 	struct ppc4xx_sys_info sys_info; | ||||
|  | ||||
| 	get_sys_info(&sys_info); | ||||
| 	return sys_info.freqPLB; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user