[U-Boot] [PATCH 2/3 V3] ZOOM2 detect the version of the zoom2 board at runtime.

Tom Tom.Rix at windriver.com
Wed Jun 3 21:05:15 CEST 2009


Jean-Christophe PLAGNIOL-VILLARD wrote:
> From: Tom Rix <Tom.Rix at windriver.com>
>
>   
<snip>
> This has been tested on the beta and production boards.
>
> Signed-off-by: Tom Rix <Tom.Rix at windriver.com>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---
> <snip>
>  
> +typedef enum {
> +	ZOOM2_REVISION_UNKNOWN = 0,
> +	ZOOM2_REVISION_ALPHA,
> +	ZOOM2_REVISION_BETA,
> +	ZOOM2_REVISION_PRODUCTION
> +} zoom2_revision;
> +
> +zoom2_revision zoom2_get_revision(void);
> +
>   
Looks fine.
Thanks!
Tom

>  /*
>   * IEN	- Input Enable
>   * IDIS	- Input Disable
>   



More information about the U-Boot mailing list