From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Tue, 4 Aug 2009 21:45:20 +0200 Subject: [U-Boot] [PATCH] Support for the Calao TNY-A9260/TNY-A9G20 boards In-Reply-To: <20090803075416.GA5002@laptop> References: <20090721174039.B0079832E416@gemini.denx.de> <1248424321-29411-1-git-send-email-albin.tonnerre@free-electrons.com> <20090801141532.GC19785@game.jcrosoft.org> <20090803075416.GA5002@laptop> Message-ID: <20090804194520.GB4638@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09:54 Mon 03 Aug , Albin Tonnerre wrote: > 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 . 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 ??? all other at91 board do it > > 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 ? this is for hardware chip select which we do not use as we use gpio instead Best Regards, J.