summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/mach-mxs.c
diff options
context:
space:
mode:
authorMichael Heimpold <michael.heimpold@i2se.com>2017-04-10 11:08:55 +0200
committerShawn Guo <shawnguo@kernel.org>2017-04-10 21:25:50 +0800
commitff8abc2839bfab9185978f3c27b5e3b744262efd (patch)
tree997b6c873d03842fc27e1c9f9883830c20aaf365 /arch/arm/mach-mxs/mach-mxs.c
parent24bb244e02a6bead5b854d842002df0d38ae7b7b (diff)
downloadop-kernel-dev-ff8abc2839bfab9185978f3c27b5e3b744262efd.zip
op-kernel-dev-ff8abc2839bfab9185978f3c27b5e3b744262efd.tar.gz
ARM: mxs: add support for I2SE Duckbill 2 boards
The Duckbill devices are small, pen-drive sized boards based on NXP's i.MX28 SoC. While the initial variants (Duckbill series) were equipped with a micro SD card slot only, the latest generation (Duckbill 2 series) have an additional internal eMMC onboard. To distinguish between both generations, a new device tree compatible string was introduced. To get the MAC address fixup applied, we need to check for this new string here, too. Signed-off-by: Michael Heimpold <michael.heimpold@i2se.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/mach-mxs/mach-mxs.c')
-rw-r--r--arch/arm/mach-mxs/mach-mxs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-mxs/mach-mxs.c b/arch/arm/mach-mxs/mach-mxs.c
index e4f2108..1c6062d 100644
--- a/arch/arm/mach-mxs/mach-mxs.c
+++ b/arch/arm/mach-mxs/mach-mxs.c
@@ -419,7 +419,8 @@ static void __init mxs_machine_init(void)
crystalfontz_init();
else if (of_machine_is_compatible("eukrea,mbmx283lc"))
eukrea_mbmx283lc_init();
- else if (of_machine_is_compatible("i2se,duckbill"))
+ else if (of_machine_is_compatible("i2se,duckbill") ||
+ of_machine_is_compatible("i2se,duckbill-2"))
duckbill_init();
else if (of_machine_is_compatible("msr,m28cu3"))
m28cu3_init();
OpenPOWER on IntegriCloud