From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sat, 21 Apr 2012 01:07:55 +0200 Subject: [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440 In-Reply-To: References: <20120416174633.GA7463@debian> <201204202203.33873.marex@denx.de> Message-ID: <201204210107.55926.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Ilya Averyanov, > 2012/4/21 Marek Vasut > > > Dear Vasily Khoruzhick, > > > > > 2012/4/20 Marek Vasut : > > > > Which doesn't matter, either way you need stack ... and you can have > > > > the > > > > > > stack in cache ;-) > > > > > > s3c24xx has 4kb of SRAM (steppingstone), you can use it for stack > > > > Oh, I didn't know that ... so there's no longer any problem. > > No have problem. > Available only if you boot from NOR flash. > If you boot from the NAND 4kb of SRAM (steppingstone) not available. So you'll have to lock cache lines then. If you dig in the ML archive, you'll find a lot of discussion on this memory matter, esp. /wrt relocation support. > > > Btw, using cache for stack looks like awful hack to me. > > > > It's fairy normal. > > I agree with Vasily Khoruzhick, it looks like a hack Please, bother to read the CPU manual and also the ARM Architecture reference manual before you start with such a wild accusations. > > > > Regards > > > Vasily > > > > Best regards, > > Marek Vasut Best regards, Marek Vasut