On Sat, Mar 4, 2017 at 3:36 PM, Peter Robinson <pbrobinson at gmail.com> wrote: > +#ifdef CONFIG_CMD_SATA > + /* Only mx6q/mx6q has SATA */ > + if (is_cpu_type(MXC_CPU_MX6Q) || is_cpu_type(MXC_CPU_MX6D)) Could you use if(is_mx6dq()) instead?