* 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:
Vladimir Serbinenko 2013-12-22 22:33:35 +01:00
parent 77ec462a56
commit adabfb5418
2 changed files with 8 additions and 3 deletions

View file

@ -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>
* util/grub-mkconfig.in: Fix Xen platform conditions.

View file

@ -114,15 +114,13 @@ grub_arm_disable_caches_mmu (void)
probe_caches ();
switch (type)
{
case ARCH_ARMV5_WRITE_THROUGH:
case ARCH_ARMV6_UNIFIED:
case ARCH_ARMV6:
grub_arm_disable_caches_mmu_armv6 ();
break;
case ARCH_ARMV7:
grub_arm_disable_caches_mmu_armv7 ();
break;
/* Nothing to do. */
case ARCH_ARMV5_WRITE_THROUGH:
break;
/* Pacify GCC. */
case ARCH_UNKNOWN: