* grub-core/kern/arm/cache.c (grub_arm_disable_caches_mmu): Use v6
algorithm on v5. Suggested by: Leif Lindholm.
This commit is contained in:
parent
77ec462a56
commit
adabfb5418
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2013-12-22 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/kern/arm/cache.c (grub_arm_disable_caches_mmu): Use v6
|
||||||
|
algorithm on v5.
|
||||||
|
|
||||||
|
Suggested by: Leif Lindholm.
|
||||||
|
|
||||||
2013-12-22 Andrey Borzenkov <arvidjaar@gmail.com>
|
2013-12-22 Andrey Borzenkov <arvidjaar@gmail.com>
|
||||||
|
|
||||||
* util/grub-mkconfig.in: Fix Xen platform conditions.
|
* util/grub-mkconfig.in: Fix Xen platform conditions.
|
||||||
|
|
|
@ -114,15 +114,13 @@ grub_arm_disable_caches_mmu (void)
|
||||||
probe_caches ();
|
probe_caches ();
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
|
case ARCH_ARMV5_WRITE_THROUGH:
|
||||||
case ARCH_ARMV6_UNIFIED:
|
case ARCH_ARMV6_UNIFIED:
|
||||||
case ARCH_ARMV6:
|
case ARCH_ARMV6:
|
||||||
grub_arm_disable_caches_mmu_armv6 ();
|
grub_arm_disable_caches_mmu_armv6 ();
|
||||||
break;
|
break;
|
||||||
case ARCH_ARMV7:
|
case ARCH_ARMV7:
|
||||||
grub_arm_disable_caches_mmu_armv7 ();
|
grub_arm_disable_caches_mmu_armv7 ();
|
||||||
break;
|
|
||||||
/* Nothing to do. */
|
|
||||||
case ARCH_ARMV5_WRITE_THROUGH:
|
|
||||||
break;
|
break;
|
||||||
/* Pacify GCC. */
|
/* Pacify GCC. */
|
||||||
case ARCH_UNKNOWN:
|
case ARCH_UNKNOWN:
|
||||||
|
|
Loading…
Reference in a new issue