[U-Boot] [PATCH] Support for the Calao TNY-A9260/TNY-A9G20 boards

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Mon Aug 17 23:41:06 CEST 2009


> +
> +#ifndef __CONFIG_H
> +#define __CONFIG_H
> +
> +#if defined(CONFIG_tny_a9260) || defined(CONFIG_tny_a9260_nandflash) || defined(CONFIG_tny_a9260_eeprom)
too long
and define must be upper case
> +#define CONFIG_TNY_A9260
> +#define CONFIG_AT91SAM9260
> +#elif defined(CONFIG_tny_a9g20) || defined(CONFIG_tny_a9g20_nandflash) || defined(CONFIG_tny_a9g20_eeprom)
ditto
> +#define CONFIG_TNY_A9G20
> +#define CONFIG_AT91SAM9G20
> +#else
> +#error "Unknown board"
> +#endif
> +
> +#if defined(CONFIG_tny_a9260_nandflash) || defined(CONFIG_tny_a9g20_nandflash)
> +#define CONFIG_ENV_IS_IN_NAND
> +#else
> +#define CONFIG_ENV_IS_IN_EEPROM
> +#endif
> +
Best Regards,
J.


More information about the U-Boot mailing list