[U-Boot-Users] [PATCH 4/5] AT91CAP9 support : board/ files

Ladislav Michl ladis at linux-mips.org
Thu Jan 31 11:13:05 CET 2008


On Tue, Jan 29, 2008 at 08:49:24PM +0100, Stelian Pop wrote:
> --- /dev/null
> +++ b/include/configs/at91cap9adk.h
[snip]
> +#ifndef __ASSEMBLY__
> +/*-----------------------------------------------------------------------
> + * Board specific extension for bd_info
> + *
> + * This structure is embedded in the global bd_info (bd_t) structure
> + * and can be used by the board specific code (eg board/...)
> + */
> +
> +struct bd_info_ext {
> +	/* helper variable for board environment handling
> +	 *
> +	 * env_crc_valid == 0 => uninitialised
> +	 * env_crc_valid > 0  => environment crc in flash is valid
> +	 * env_crc_valid < 0  => environment crc in flash is invalid
> +	 */
> +	int env_crc_valid;
> +};
> +#endif

What is this board specific extension for bd_info used for?

Best regards,
	ladis




More information about the U-Boot mailing list