Re: [U-Boot] [RFC PATCH v2 11/15] main: Use autoconf in command line reading

2013-02-25 Thread Simon Glass
Hi Joe, On Sun, Feb 24, 2013 at 12:56 PM, Joe Hershberger wrote: > Hi Simon, > > On Sun, Feb 24, 2013 at 11:26 AM, Simon Glass wrote: >> Remove #ifdefs in favour of autoconf for this code. This involves removing >> a few unnecessary #ifdefs in headers also. >> >> We have two versions of the code

Re: [U-Boot] [RFC PATCH v2 11/15] main: Use autoconf in command line reading

2013-02-24 Thread Joe Hershberger
Hi Simon, On Sun, Feb 24, 2013 at 11:26 AM, Simon Glass wrote: > Remove #ifdefs in favour of autoconf for this code. This involves removing > a few unnecessary #ifdefs in headers also. > > We have two versions of the code - one that handles command line editing and > one that is just a simple imp

[U-Boot] [RFC PATCH v2 11/15] main: Use autoconf in command line reading

2013-02-24 Thread Simon Glass
Remove #ifdefs in favour of autoconf for this code. This involves removing a few unnecessary #ifdefs in headers also. We have two versions of the code - one that handles command line editing and one that is just a simple implementation. Create a new function called readline_into_buffer() which cal