Re: [U-Boot] [PATCH 7/9] Allow command code to compile to nothing

2016-03-02 Thread Simon Glass
Hi Stephen, On 29 February 2016 at 16:40, Stephen Warren wrote: > On 02/25/2016 09:00 PM, Simon Glass wrote: >> >> When CONFIG_CMDLINE is disabled we need to remove all the command-line >> code. Most can be removed by dropping the appropriate linker lists from >> the >> images, but sub-commands m

Re: [U-Boot] [PATCH 7/9] Allow command code to compile to nothing

2016-02-29 Thread Stephen Warren
On 02/25/2016 09:00 PM, Simon Glass wrote: When CONFIG_CMDLINE is disabled we need to remove all the command-line code. Most can be removed by dropping the appropriate linker lists from the images, but sub-commands must be dealt with specially. A simple mechanism is used to avoid 'unused static

Re: [U-Boot] [PATCH 7/9] Allow command code to compile to nothing

2016-02-26 Thread Tom Rini
On Thu, Feb 25, 2016 at 09:00:54PM -0700, Simon Glass wrote: > When CONFIG_CMDLINE is disabled we need to remove all the command-line > code. Most can be removed by dropping the appropriate linker lists from the > images, but sub-commands must be dealt with specially. > > A simple mechanism is us