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

Albin Tonnerre
2009-08-03T07:54:16Z

On Sat, Aug 01, 2009 at 04:15:32PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote :
> On 10:32 Fri 24 Jul , Albin Tonnerre wrote:
> > The Calao TNY-A9260 and TNY-9G20 are boards manufactured and sold by Calao
> > Systems <http://www.calao-systems.com>. Their components are very
> > similar to the AT91SAM9260EK board, so their configuration is based on
> > the configuration of this board. There are however some differences:
> > different clocks, no LCD, no ethernet. They also uses SPI EEPROM to store
> > the environment.
> eeprom for the env?
> why not in the same storage as u-boot

Storing the environment in the NAND is also an option, as you can see in the
board configuration.

> please add
> @mkdir $(obj)include
> otherwise the out of tree build will not work

So I guess all the other at91-based boards need fixing too ? They don't seem to
do that.

> > + at91_serial_hw_init();
> > + tny_a9260_nand_hw_init();
> > + at91_spi0_hw_init(1 << 5 | 1 << 1);
> you can remove the 1 << 1 as the dataflash driver is deprecated now

I'm not sure what you mean. There's no dataflash on this board. From what I can
see, 1 << 1 is required to set the PC5 pin on the B peripheral controller, and
PC5 happens to be the chip select pin for the on-board SPI EEPROM. Am I missing
something here ?

Regards,
--
Albin Tonnerre, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.