]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00173869-3: i.mx6: add the cpu_is_mx6dl() support
authorJason Liu <r64343@freescale.com>
Tue, 7 Feb 2012 06:00:21 +0000 (14:00 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:10:48 +0000 (14:10 +0200)
commit4c3fa98085cfd57a7bcef14bd11c32ae86cbc153
tree69fa6426dc872cec0e1f3f7df24f5ef50256e4c9
parent8ffce8f7d2c07f376ecf90191aa8db006d83c4f7
ENGR00173869-3: i.mx6: add the cpu_is_mx6dl() support

In order to support one image for i.mx6q and i.mx6dl, we introduce
the below functions by diff the value reading from ANATOP ID register.
cpu_is_mx6q() and cpu_is_mx6dl()

The layout for the register defines:
               Major  Minor
i.MX6Q1.1:       6300     01
i.MX6Q1.0:       6300     00
i.MX6DL1.0:      6100     00

For the common bits shared across all i.mx6 ports, we can use:
cpu_is_mx6() for it.

Signed-off-by: Jason Liu <r64343@freescale.com>
arch/arm/mach-mx6/mm.c
arch/arm/plat-mxc/include/mach/mxc.h