From: Jean-Christophe PLAGNIOL-VILLARD Date: Sat, 17 Jan 2009 11:26:23 +0100 Subject: [U-Boot] User supplied lowlevel initialization code on at91 plattforms In-Reply-To: <49710440.1050408@nessie.de> References: <49710440.1050408@nessie.de> Message-ID: <20090117102623.GC32614@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 23:03 Fri 16 Jan , Michael Roth wrote: > Hello, > > I'm hacking U-Boot to a new at91sam9261 board and would like to include > a little bit low level init code (pll, sdram, etc.). > > Normally, in U-Boot it is assumed that on at91 plattforms the bootstrap > code lives in dataflash which do the job. > > On the board I'm hacking there isn't any dataflash but only nor flash > from that the board boots. > > So my question is: How can I supply an self written lowlevel_init.S in > my board directoy that get linked instead the default > cpu/arm926ejs/at91/lowlevel_init.S code? > > Are there any configuration variables to trick the U-Boot makefiles to > use my lowlevel_init.S? for the next release we will introduce a weak function that allow you to add your own init and example to board at91 from nor please search on the ML Ronetix patch Best Regards, J.