Re: [U-Boot] [RFC PATCH v2 04/15] main: Separate out the two abortboot() functions

2013-02-25 Thread Simon Glass
Hi Joe, On Sun, Feb 24, 2013 at 12:13 PM, Joe Hershberger wrote: > Hi Simon, > > On Sun, Feb 24, 2013 at 11:26 AM, Simon Glass wrote: >> There are two implementations of autoboot(). Turn these into two separate >> functions, and create a single autoboot() which calls either one or the >> other.

Re: [U-Boot] [RFC PATCH v2 04/15] main: Separate out the two abortboot() functions

2013-02-24 Thread Joe Hershberger
Hi Simon, On Sun, Feb 24, 2013 at 11:26 AM, Simon Glass wrote: > There are two implementations of autoboot(). Turn these into two separate > functions, and create a single autoboot() which calls either one or the > other. > > Also it seems that nothing uses autoboot() outside main, so make it sta

[U-Boot] [RFC PATCH v2 04/15] main: Separate out the two abortboot() functions

2013-02-24 Thread Simon Glass
There are two implementations of autoboot(). Turn these into two separate functions, and create a single autoboot() which calls either one or the other. Also it seems that nothing uses autoboot() outside main, so make it static. Signed-off-by: Simon Glass --- Changes in v2: None common/main.c