Add mtrr support for pentium m cpus
For cache to work the x86_setup_mtrrs() must be called. Closes #61 Signed-off-by: Jon Dufresne <jon.dufresne@gmail.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2522 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
0fac1e56d7
commit
a522df039b
|
@ -24,6 +24,7 @@ static void model_69x_init(device_t dev)
|
||||||
{
|
{
|
||||||
/* Turn on caching if we haven't already */
|
/* Turn on caching if we haven't already */
|
||||||
x86_enable_cache();
|
x86_enable_cache();
|
||||||
|
x86_setup_mtrrs(36);
|
||||||
x86_mtrr_check();
|
x86_mtrr_check();
|
||||||
|
|
||||||
/* Update the microcode */
|
/* Update the microcode */
|
||||||
|
|
|
@ -24,6 +24,7 @@ static void model_6dx_init(device_t dev)
|
||||||
{
|
{
|
||||||
/* Turn on caching if we haven't already */
|
/* Turn on caching if we haven't already */
|
||||||
x86_enable_cache();
|
x86_enable_cache();
|
||||||
|
x86_setup_mtrrs(36);
|
||||||
x86_mtrr_check();
|
x86_mtrr_check();
|
||||||
|
|
||||||
/* Update the microcode */
|
/* Update the microcode */
|
||||||
|
|
|
@ -30,6 +30,7 @@ static void model_6xx_init(device_t dev)
|
||||||
{
|
{
|
||||||
/* Turn on caching if we haven't already */
|
/* Turn on caching if we haven't already */
|
||||||
x86_enable_cache();
|
x86_enable_cache();
|
||||||
|
x86_setup_mtrrs(36);
|
||||||
x86_mtrr_check();
|
x86_mtrr_check();
|
||||||
|
|
||||||
/* Update the microcode */
|
/* Update the microcode */
|
||||||
|
|
Loading…
Reference in New Issue