From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Singer Date: Tue, 27 May 2003 13:30:43 -0700 Subject: [U-Boot-Users] New x86 board booted...now the hard part In-Reply-To: <20030527200817.4003EC6162@atlas.denx.de> References: <20030527173633.GA7367@buici.com> <20030527200817.4003EC6162@atlas.denx.de> Message-ID: <20030527203043.GA10981@buici.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, May 27, 2003 at 10:08:12PM +0200, Wolfgang Denk wrote: > Dear Marc, > > in message <20030527173633.GA7367@buici.com> you wrote: > > > > > 2) If there is no such memory, you can probably lock some parts (or > > > all of) the cache and (mis-) use this as memory. > > > > This may be possible, but it seems to me to be a lot of work just so > > we can 'call' the routine that performs the SDRAM controller setup. > > There is little choice. If you want to use C, you will have to stick > to the ABI, and you will have to provide a working stack. For a > stack, you need some memory. Hey, I want a stack as much as the next guy. > > Then how about making this single function a configuration definition > > and fixing the lib_i386 to use that constant. > > > > include/configs/thisboard > > > > #define MEM_INIT mem_init_sc520 > > > > lib-i386/board.c > > > > ... > #ifdef MEM_INIT > > MEM_INIT() > #endif > > ... > > OK with me. Excellent. That's what I'll do. Thanks.