Re: [PATCH v2] soc: imx: Add generic i.MX8 SoC driver

From: Fabio Estevam
Date: Tue Feb 26 2019 - 08:38:41 EST


On Tue, Feb 26, 2019 at 10:37 AM Fabio Estevam <festevam@xxxxxxxxx> wrote:
>
> On Tue, Feb 26, 2019 at 7:53 AM Abel Vesa <abel.vesa@xxxxxxx> wrote:
>
> > + magic = readl_relaxed(ocotp_base + IMX8MQ_SW_INFO_B1);
> > + if (magic == IMX8MQ_SW_MAGIC_B1)
> > + rev = REV_B1;
>
> Don't you mean rev == REV_B1; ?

Ops, was looking at the wrong line, sorry :-)