mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
[POWERPC] 40x decrementer fixes
Allow generic_calibrate_decr to work for 40x platforms. Given that the hardware behavior is identical, this also changes the set_dec function to reload the PIT on 40x to match the behavior 44x currently has. Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
This commit is contained in:
parent
4d922c8dc3
commit
aab69292e4
2 changed files with 2 additions and 2 deletions
|
@ -866,7 +866,7 @@ void __init generic_calibrate_decr(void)
|
|||
"(not found)\n");
|
||||
}
|
||||
|
||||
#ifdef CONFIG_BOOKE
|
||||
#if defined(CONFIG_BOOKE) || defined(CONFIG_40x)
|
||||
/* Set the time base to zero */
|
||||
mtspr(SPRN_TBWL, 0);
|
||||
mtspr(SPRN_TBWU, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue