summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/mach-types.h
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel@ziswiler.com>2014-09-05 10:18:38 +0200
committerTom Warren <twarren@nvidia.com>2014-10-22 09:30:54 -0700
commitbf78b2717d3279e8dc74fa3bb69096ced7d8afda (patch)
tree99d39f7674b4b265d723de5a85da700a20847dba /arch/arm/include/asm/mach-types.h
parent606f5bc812bea30427e03deafca4771c9eb7396c (diff)
downloadtalos-obmc-uboot-bf78b2717d3279e8dc74fa3bb69096ced7d8afda.tar.gz
talos-obmc-uboot-bf78b2717d3279e8dc74fa3bb69096ced7d8afda.zip
arm: tegra: initial support for apalis t30
This patch adds board support for the Toradex Apalis T30 a computer on module which can be used on different carrier boards. For the sake of ease of use we do not distinguish between different carrier boards for now as the base module features are deemed sufficient enough for regular booting. The following functionality is working so far: - eMMC boot and environment storage - Gigabit Ethernet (once Thierry's PCIe as well as my E1000 resp. i210 fixes hit mainline) - MMC/SD cards (both 8-bit as well as 4-bit slot) - USB client/host (dual role port as client e.g. for DFU/UMS, other two ports as host) Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/include/asm/mach-types.h')
-rw-r--r--arch/arm/include/asm/mach-types.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mach-types.h b/arch/arm/include/asm/mach-types.h
index 560924e83f..d4a447b2b8 100644
--- a/arch/arm/include/asm/mach-types.h
+++ b/arch/arm/include/asm/mach-types.h
@@ -1107,6 +1107,7 @@ extern unsigned int __machine_arch_type;
#define MACH_TYPE_ARMADILLO_800EVA 3863
#define MACH_TYPE_KZM9G 4140
#define MACH_TYPE_COLIBRI_T30 4493
+#define MACH_TYPE_APALIS_T30 4513
#ifdef CONFIG_ARCH_EBSA110
# ifdef machine_arch_type
@@ -14248,6 +14249,18 @@ extern unsigned int __machine_arch_type;
# define machine_is_colibri_t30() (0)
#endif
+#ifdef CONFIG_MACH_APALIS_T30
+# ifdef machine_arch_type
+# undef machine_arch_type
+# define machine_arch_type __machine_arch_type
+# else
+# define machine_arch_type MACH_TYPE_APALIS_T30
+# endif
+# define machine_is_apalis_t30() (machine_arch_type == MACH_TYPE_APALIS_T30)
+#else
+# define machine_is_apalis_t30() (0)
+#endif
+
/*
* These have not yet been registered
*/
OpenPOWER on IntegriCloud