mx6memcal: spl: Also take i.MX6ULL into account
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 3 Jan 2018 14:55:35 +0000 (12:55 -0200)
committerStefano Babic <sbabic@denx.de>
Fri, 12 Jan 2018 13:28:04 +0000 (14:28 +0100)
i.MX6ULL also does not support 64-bit DDR bus, so add it to the
check logic.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
board/freescale/mx6memcal/spl.c

index 8ee89ff1161103a53141709d27ffaee00e62ab7d..e8b992c2b6cc3a090fbf7754145f30fe11a09a88 100644 (file)
@@ -419,6 +419,7 @@ void board_init_f(ulong dummy)
        if (sysinfo.dsize != 1) {
                if (is_cpu_type(MXC_CPU_MX6SX) ||
                    is_cpu_type(MXC_CPU_MX6UL) ||
+                   is_cpu_type(MXC_CPU_MX6ULL) ||
                    is_cpu_type(MXC_CPU_MX6SL)) {
                        printf("cpu type 0x%x doesn't support 64-bit bus\n",
                               get_cpu_type());