[U-Boot] [PATCH] mx51evk: Add CONFIG_REVISION_TAG

Fabio Estevam festevam at gmail.com
Tue Sep 18 16:19:29 CEST 2012


On Tue, Sep 18, 2012 at 11:16 AM, Greg Topmiller
<Greg.Topmiller at jdsu.com> wrote:
> So how about something like this in the board specific code?
>
> u32 get_board_rev(void)
> {
>     u32 myrev = get_cpu_rev();
>     myrev |= 0x100; /* BOARD_REV_2 */
>     return myrev;
> }

Looks good, Greg.

Regards,

Fabio Estevam


More information about the U-Boot mailing list