On Thu, Apr 13, 2017 at 3:10 AM, Peng Fan <peng....@nxp.com> wrote:

> +#define BOARD_REV_C  0x300
> +#define BOARD_REV_B  0x200
> +#define BOARD_REV_A  0x100
> +
> +static int mx7sabre_rev(void)
> +{
> +       /*
> +        * Get Board ID information from OCOTP_GP1[15:8]
> +        * i.MX7D SDB RevA: 0x41
> +        * i.MX7D SDB RevB: 0x42

Isn't this versioning scheme shared with other NXP boards? If so, it
would be better to put this in common code.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to