aboutsummaryrefslogtreecommitdiff
path: root/sys/arm/amlogic
diff options
context:
space:
mode:
authorMichal Meloun <mmel@FreeBSD.org>2016-02-05 14:57:41 +0000
committerMichal Meloun <mmel@FreeBSD.org>2016-02-05 14:57:41 +0000
commita89156f53f87f2b4f5b731adb0c3840fcd177ceb (patch)
tree6130734e3c63fce61c81af1c7daaa057a0ec3c6c /sys/arm/amlogic
parent3af1c2aae2211e301a41f6526976f2f277cf283b (diff)
downloadsrc-a89156f53f87f2b4f5b731adb0c3840fcd177ceb.tar.gz
src-a89156f53f87f2b4f5b731adb0c3840fcd177ceb.zip
ARM: Use new ARMv6 naming conventions for cache and TLB functions
in all but ARMv4 specific files. Expand ARMv6 compatibility stubs in cpu-v4.h. Use physical address in L2 cache functions if ARM_L2_PIPT is defined.
Notes
Notes: svn path=/head/; revision=295319
Diffstat (limited to 'sys/arm/amlogic')
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_mp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arm/amlogic/aml8726/aml8726_mp.c b/sys/arm/amlogic/aml8726/aml8726_mp.c
index 779a793e3008..c5081350df09 100644
--- a/sys/arm/amlogic/aml8726/aml8726_mp.c
+++ b/sys/arm/amlogic/aml8726/aml8726_mp.c
@@ -53,6 +53,7 @@ __FBSDID("$FreeBSD$");
#include <vm/vm.h>
#include <vm/pmap.h>
+#include <machine/cpu.h>
#include <machine/bus.h>
#include <machine/smp.h>
#include <machine/fdt.h>
@@ -485,7 +486,7 @@ platform_mp_start_ap(void)
value |= AML_SCU_CONTROL_ENABLE;
SCU_WRITE_4(AML_SCU_CONTROL_REG, value);
SCU_BARRIER(AML_SCU_CONTROL_REG);
- cpu_idcache_wbinv_all();
+ dcache_wbinv_poc_all();
/* Set the boot address and power on each AP. */
paddr = pmap_kextract((vm_offset_t)mpentry);