From: Jason Hobbs Date: Fri, 24 Jun 2011 15:25:11 -0500 Subject: [U-Boot] [PATCH v2 4/6] Add generic, reusable menu code In-Reply-To: <20110623200312.E3A8E200BF6@gemini.denx.de> References: <1308853655-12407-1-git-send-email-jason.hobbs@calxeda.com> <1308853655-12407-5-git-send-email-jason.hobbs@calxeda.com> <20110623200312.E3A8E200BF6@gemini.denx.de> Message-ID: <20110624202511.GA18667@jhobbs-laptop> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jun 23, 2011 at 10:03:12PM +0200, Wolfgang Denk wrote: > Dear "Jason Hobbs", > Is this all new code, or was it copied from some other project? If > so, reference would be needed. All new code. > Then, we need documentation how this is going to be used. Please add a > README with documentation of the interfaces and usage examples. Ok - I'll add this. > Also, I would like to know why you didn't adapt for example the menu > code from barebox - which specific advantages do you see in the code > you have chosen? I looked over barebox's menu code after you pointed it out, and it does have more functionality and a fancier interface than this implementation. Unfortunately, it appears that there aren't any menus defined to use it in the barebox codebase to provide a real example for it. The primary advantage of the implementation I've provided over the barebox implementation is simplicity.