]> 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)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:55 +0000 (08:33 +0200)
commitf560f3c34240a0e6c6a5b543f48bd77d2841d72c
tree69fa6426dc872cec0e1f3f7df24f5ef50256e4c9
parente381c552d5528b1b39affc8ddc5adb9de3bc7bc1
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