From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 21 May 2013 12:54:59 +0200 Subject: [U-Boot] [PATCH] arm: pxa: PXA270 D-Cache as ram In-Reply-To: <1369132962.20319.3.camel@host5.omatika.ru> References: <1369087586-1344-1-git-send-email-ynvich@gmail.com> <201305211239.52671.marex@denx.de> <1369132962.20319.3.camel@host5.omatika.ru> Message-ID: <201305211254.59982.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 Sergey Yanovich, > Dear Marek Vasut, > > On Tue, 2013-05-21 at 12:39 +0200, Marek Vasut wrote: > > > 2.2.5.2 of Marvell PXA27x Processor Family Developers Manual says: > > > "The PXA27x processor cache configuration is identical to that of > > > the PXA255 processor." > > > > > > As a result, it is perfectly legitimate to use PXA25X > > > 'lock_cache_for_stack' on PXA27X as well. > > > > Why would you need this on PXA27x ? Is SRAM not enough? > > SRAM is battery-backup. SRAM is just the in-CPU bit of fast RAM. What do you mean by "battery-backup" ? > It can be used as a ultra-fast persistent > storage in OS. Wasting a quater of it just to boot the system isn't the > best choice. The SRAM is used for stack in U-Boot until you leave board_init_f, then the stack is relocated to DRAM. The OS can use SRAM as needed, U-Boot is no longer operational once you load subsequent OS. What's the problem? Best regards, Marek Vasut