From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vipin Kumar Date: Thu, 13 Dec 2012 11:21:02 +0530 Subject: [U-Boot] [PATCH v2] imls: Add support to list images in NAND device In-Reply-To: <20121212202412.16380200FD0@gemini.denx.de> References: <20121212202412.16380200FD0@gemini.denx.de> Message-ID: <50C96CC6.3080707@st.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 12/13/2012 1:54 AM, Wolfgang Denk wrote: > Dear Vipin Kumar, > > In message you wrote: >> imls does not list the images in NAND devices. This patch implements this >> support for legacy type images. > ... >> -static int do_imls(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) >> +static void do_imls_flash(void) > > Why is this void? Should we not return error codes? Or at least be > able to? > Yes, I agree. I would change this >> +static void do_imls_nand(void) > > Ditto. > > > Best regards, > > Wolfgang Denk >