From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Wed, 22 Apr 2009 20:17:55 +0200 Subject: [U-Boot] NAND on mpc8360erdk In-Reply-To: <49EF5847.1000802@ge.com> References: <49EF5847.1000802@ge.com> Message-ID: <49EF5F53.20302@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 Hi, Renaud barbier wrote: > I am in the middle of NAND debugging on a MPC8544 based system. > > In the following code for the mpc8360erdk, why is there > the instruction "out_8(upm->io_addr, 0x0);" in the for loop. it is a dummy write transaction step of the UPM RAM array programming algorithm to hit the relevant chip select. Take a look at section '10.4.4.2 Programming the UPMs' of the MPC8360E Reference Manual, the steps to write the UPM RAM array are described there. > Is that board specific? No. Anatolij