> + > +#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. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] Support for the Calao TNY-A9260/TNY-A9G20 boards
Jean-Christophe PLAGNIOL-VILLARD Mon, 17 Aug 2009 14:49:12 -0700
- [U-Boot] [PATCH 2/2] Support for the Cala... Albin Tonnerre
- Re: [U-Boot] [PATCH 2/2] Support for the ... Jean-Christophe PLAGNIOL-VILLARD
- Re: [U-Boot] [PATCH 2/2] Support for the ... Albin Tonnerre
- Re: [U-Boot] [PATCH 2/2] Support for the ... Jean-Christophe PLAGNIOL-VILLARD
- [U-Boot] [PATCH 1/2] Add driver for the S... Albin Tonnerre
- [U-Boot] [PATCH 2/2] Support for the Cala... Albin Tonnerre
- Re: [U-Boot] [PATCH 2/2] Support for the ... Jean-Christophe PLAGNIOL-VILLARD
- Re: [U-Boot] [PATCH 2/2] Support for the ... Wolfgang Denk
- Re: [U-Boot] [PATCH 2/2] Support for the ... Albin Tonnerre
- [U-Boot] [PATCH] Support for the Calao TN... Albin Tonnerre
- Re: [U-Boot] [PATCH] Support for the Cala... Jean-Christophe PLAGNIOL-VILLARD
- Re: [U-Boot] [PATCH] Support for the Cala... Albin Tonnerre
- Re: [U-Boot] [PATCH] Support for the Cala... Jean-Christophe PLAGNIOL-VILLARD
- Re: [U-Boot] [PATCH] Support for the Cala... Albin Tonnerre
- [U-Boot] [PATCH] Support for the Calao TN... Albin Tonnerre
- Re: [U-Boot] [PATCH] Support for the Cala... Jean-Christophe PLAGNIOL-VILLARD
- Re: [U-Boot] [PATCH] Support for the Cala... Albin Tonnerre
- Re: [U-Boot] [PATCH] Support for the Cala... Jean-Christophe PLAGNIOL-VILLARD
- [U-Boot] [PATCH v8] Support for the Calao... Albin Tonnerre
- Re: [U-Boot] [PATCH v8] Support for the C... Jean-Christophe PLAGNIOL-VILLARD
- Re: [U-Boot] [PATCH 1/2] Add driver for t... Jean-Christophe PLAGNIOL-VILLARD