summaryrefslogtreecommitdiffstats
path: root/sys/arm/ti/ti_cpuid.h
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2014-10-13 15:35:08 +0000
committerandrew <andrew@FreeBSD.org>2014-10-13 15:35:08 +0000
commit119120fb7b6c76bee0e7c6288dc0b8a4ac61cf34 (patch)
tree737bc1cd96b573c694e26ab5d91646cd3eb101b6 /sys/arm/ti/ti_cpuid.h
parent7637dc1b940c58f14eeb121e66552cbaa7c8d9fe (diff)
downloadFreeBSD-src-119120fb7b6c76bee0e7c6288dc0b8a4ac61cf34.zip
FreeBSD-src-119120fb7b6c76bee0e7c6288dc0b8a4ac61cf34.tar.gz
Start removing the omap3 support. In base it was only ever a header and a
few changes to drivers, no kernel config was added. As the SoCs are quite old and the code is unmaintained start the process of removing support by deleting the header file and code that depends on it along with the macro SOC_OMAP3. Other Ti SoCs shouldn't be affected, other than for us to have less code to maintain. Differential Revision: https://reviews.freebsd.org/D936 Reviewed by: rpaulo, loos
Diffstat (limited to 'sys/arm/ti/ti_cpuid.h')
-rw-r--r--sys/arm/ti/ti_cpuid.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/arm/ti/ti_cpuid.h b/sys/arm/ti/ti_cpuid.h
index 6efbf32..86ac982 100644
--- a/sys/arm/ti/ti_cpuid.h
+++ b/sys/arm/ti/ti_cpuid.h
@@ -67,16 +67,13 @@
#define AM335X_DEVREV(x) ((x) >> 28)
-#define CHIP_OMAP_3 0
-#define CHIP_OMAP_4 1
-#define CHIP_AM335X 2
+#define CHIP_OMAP_4 0
+#define CHIP_AM335X 1
static __inline int ti_chip(void)
{
#if defined(SOC_OMAP4)
return CHIP_OMAP_4;
-#elif defined(SOC_OMAP3)
- return CHIP_OMAP_3;
#elif defined(SOC_TI_AM335X)
return CHIP_AM335X;
#else
OpenPOWER on IntegriCloud