From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Fri, 18 Feb 2011 13:55:20 -0600 Subject: [U-Boot] Reading from NAND In-Reply-To: References: <20110218125458.62beea47@schlenkerla> Message-ID: <20110218135520.326a8ca3@schlenkerla> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 18 Feb 2011 14:48:13 -0500 D Kesselring wrote: > I understand about scripting. I am trying to implement some somewhat > involved logic that walks a table of valid images. I am not convinced > that the u-boot scripting is sufficient for it. This table is an array > of structs. I need a loop that looks at a struct and determine if it > is valid and then do a couple of setenv. If scripting is insufficient, then perhaps you could use platform code -- but it should go in your board directory, perhaps registering a command that triggers the functionality. > Nand is working fine. I can execute the nand commands from the command > line without problems. That means your nand_info[] array has been initialized. -Scott