summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2015-03-30 08:38:18 +0000
committerandrew <andrew@FreeBSD.org>2015-03-30 08:38:18 +0000
commit38c739d81c2eb0d3a4ba59e6d424cd5c3b556cd4 (patch)
treec68bd7f2b25a7fef96816dec5bee1e167e44821a /sys/arm
parentbf43ef311866e6ed8db4478c6f68041a14187ef8 (diff)
downloadFreeBSD-src-38c739d81c2eb0d3a4ba59e6d424cd5c3b556cd4.zip
FreeBSD-src-38c739d81c2eb0d3a4ba59e6d424cd5c3b556cd4.tar.gz
Remove support for CPU_FA626TE. It's unused by any of our kernel configs.
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/arm/cpufunc.c14
-rw-r--r--sys/arm/arm/elf_trampoline.c2
-rw-r--r--sys/arm/include/cpuconf.h7
-rw-r--r--sys/arm/include/cpufunc.h4
4 files changed, 12 insertions, 15 deletions
diff --git a/sys/arm/arm/cpufunc.c b/sys/arm/arm/cpufunc.c
index 9d9dc2d..4f73dcb 100644
--- a/sys/arm/arm/cpufunc.c
+++ b/sys/arm/arm/cpufunc.c
@@ -494,7 +494,7 @@ struct cpu_functions xscalec3_cpufuncs = {
#endif /* CPU_XSCALE_81342 */
-#if defined(CPU_FA526) || defined(CPU_FA626TE)
+#if defined(CPU_FA526)
struct cpu_functions fa526_cpufuncs = {
/* CPU functions */
@@ -555,7 +555,7 @@ struct cpu_functions fa526_cpufuncs = {
fa526_setup /* cpu setup */
};
-#endif /* CPU_FA526 || CPU_FA626TE */
+#endif /* CPU_FA526 */
#if defined(CPU_ARM1176)
struct cpu_functions arm1176_cpufuncs = {
@@ -705,7 +705,7 @@ u_int cpu_reset_needs_v4_MMU_disable; /* flag used in locore.s */
defined (CPU_ARM9E) || \
defined(CPU_ARM1176) || defined(CPU_XSCALE_80200) || defined(CPU_XSCALE_80321) || \
defined(CPU_XSCALE_PXA2X0) || defined(CPU_XSCALE_IXP425) || \
- defined(CPU_FA526) || defined(CPU_FA626TE) || defined(CPU_MV_PJ4B) || \
+ defined(CPU_FA526) || defined(CPU_MV_PJ4B) || \
defined(CPU_XSCALE_80219) || defined(CPU_XSCALE_81342) || \
defined(CPU_CORTEXA) || defined(CPU_KRAIT)
@@ -943,7 +943,7 @@ set_cpufuncs()
}
#endif /* CPU_MV_PJ4B */
-#if defined(CPU_FA526) || defined(CPU_FA626TE)
+#if defined(CPU_FA526)
if (cputype == CPU_ID_FA526 || cputype == CPU_ID_FA626TE) {
cpufuncs = fa526_cpufuncs;
cpu_reset_needs_v4_MMU_disable = 1; /* SA needs it */
@@ -955,7 +955,7 @@ set_cpufuncs()
goto out;
}
-#endif /* CPU_FA526 || CPU_FA626TE */
+#endif /* CPU_FA526 */
#ifdef CPU_XSCALE_80200
if (cputype == CPU_ID_80200) {
@@ -1378,7 +1378,7 @@ cortexa_setup(void)
}
#endif /* CPU_CORTEXA */
-#if defined(CPU_FA526) || defined(CPU_FA626TE)
+#if defined(CPU_FA526)
void
fa526_setup(void)
{
@@ -1415,7 +1415,7 @@ fa526_setup(void)
ctrl = cpuctrl;
cpu_control(0xffffffff, cpuctrl);
}
-#endif /* CPU_FA526 || CPU_FA626TE */
+#endif /* CPU_FA526 */
#if defined(CPU_XSCALE_80200) || defined(CPU_XSCALE_80321) || \
defined(CPU_XSCALE_PXA2X0) || defined(CPU_XSCALE_IXP425) || \
diff --git a/sys/arm/arm/elf_trampoline.c b/sys/arm/arm/elf_trampoline.c
index a651ae0..029d653 100644
--- a/sys/arm/arm/elf_trampoline.c
+++ b/sys/arm/arm/elf_trampoline.c
@@ -59,7 +59,7 @@ extern void do_call(void *, void *, void *, int);
#if defined(CPU_ARM9)
#define cpu_idcache_wbinv_all arm9_idcache_wbinv_all
extern void arm9_idcache_wbinv_all(void);
-#elif defined(CPU_FA526) || defined(CPU_FA626TE)
+#elif defined(CPU_FA526)
#define cpu_idcache_wbinv_all fa526_idcache_wbinv_all
extern void fa526_idcache_wbinv_all(void);
#elif defined(CPU_ARM9E)
diff --git a/sys/arm/include/cpuconf.h b/sys/arm/include/cpuconf.h
index 2015e6e..3a84c4c 100644
--- a/sys/arm/include/cpuconf.h
+++ b/sys/arm/include/cpuconf.h
@@ -57,7 +57,6 @@
defined(CPU_XSCALE_80321) + \
defined(CPU_XSCALE_PXA2X0) + \
defined(CPU_FA526) + \
- defined(CPU_FA626TE) + \
defined(CPU_XSCALE_IXP425)) + \
defined(CPU_CORTEXA) + \
defined(CPU_KRAIT) + \
@@ -75,8 +74,7 @@
#if (defined(CPU_ARM9E) || defined(CPU_ARM10) || \
defined(CPU_XSCALE_80200) || defined(CPU_XSCALE_80321) || \
defined(CPU_XSCALE_80219) || defined(CPU_XSCALE_81342) || \
- defined(CPU_XSCALE_PXA2X0) || defined(CPU_XSCALE_IXP425) || \
- defined(CPU_FA626TE))
+ defined(CPU_XSCALE_PXA2X0) || defined(CPU_XSCALE_IXP425))
#define ARM_ARCH_5 1
#else
#define ARM_ARCH_5 0
@@ -149,8 +147,7 @@
* require different PTE layout to use.
*/
#if (defined(CPU_ARM9) || defined(CPU_ARM9E) || \
- defined(CPU_ARM10) || defined(CPU_FA526) || \
- defined(CPU_FA626TE))
+ defined(CPU_ARM10) || defined(CPU_FA526))
#define ARM_MMU_GENERIC 1
#else
#define ARM_MMU_GENERIC 0
diff --git a/sys/arm/include/cpufunc.h b/sys/arm/include/cpufunc.h
index be1ac7f..ad297ee 100644
--- a/sys/arm/include/cpufunc.h
+++ b/sys/arm/include/cpufunc.h
@@ -286,7 +286,7 @@ u_int cpufunc_faultstatus (void);
u_int cpufunc_faultaddress (void);
u_int cpu_pfr (int);
-#if defined(CPU_FA526) || defined(CPU_FA626TE)
+#if defined(CPU_FA526)
void fa526_setup (void);
void fa526_setttb (u_int ttb);
void fa526_context_switch (void);
@@ -434,7 +434,7 @@ void armv5_ec_idcache_wbinv_range(vm_offset_t, vm_size_t);
#if defined(CPU_ARM9) || defined(CPU_ARM9E) || \
defined(CPU_XSCALE_80200) || defined(CPU_XSCALE_80321) || \
- defined(CPU_FA526) || defined(CPU_FA626TE) || \
+ defined(CPU_FA526) || \
defined(CPU_XSCALE_PXA2X0) || defined(CPU_XSCALE_IXP425) || \
defined(CPU_XSCALE_80219) || defined(CPU_XSCALE_81342)
OpenPOWER on IntegriCloud