Re: [U-Boot] [PATCH] arm: socfpga: Guard commands with CONFIG_SPL_BUILD tests

2017-12-24 Thread Marek Vasut
On 12/24/2017 03:24 AM, Tom Rini wrote: > On Sun, Dec 24, 2017 at 01:40:31AM +0100, Marek Vasut wrote: >> On 12/22/2017 06:19 PM, Tom Rini wrote: >>> In order for these commands to not be included in SPL we need to guard >>> compilation with CONFIG_SPL_BUILD checks. Reorganize some sections of >>>

Re: [U-Boot] [PATCH] arm: socfpga: Guard commands with CONFIG_SPL_BUILD tests

2017-12-23 Thread Tom Rini
On Sun, Dec 24, 2017 at 01:40:31AM +0100, Marek Vasut wrote: > On 12/22/2017 06:19 PM, Tom Rini wrote: > > In order for these commands to not be included in SPL we need to guard > > compilation with CONFIG_SPL_BUILD checks. Reorganize some sections of > > code slightly in order to avoid new warnin

Re: [U-Boot] [PATCH] arm: socfpga: Guard commands with CONFIG_SPL_BUILD tests

2017-12-23 Thread Marek Vasut
On 12/22/2017 06:19 PM, Tom Rini wrote: > In order for these commands to not be included in SPL we need to guard > compilation with CONFIG_SPL_BUILD checks. Reorganize some sections of > code slightly in order to avoid new warnings and mark the command > functions as static as they should have bee

[U-Boot] [PATCH] arm: socfpga: Guard commands with CONFIG_SPL_BUILD tests

2017-12-22 Thread Tom Rini
In order for these commands to not be included in SPL we need to guard compilation with CONFIG_SPL_BUILD checks. Reorganize some sections of code slightly in order to avoid new warnings and mark the command functions as static as they should have been before. Cc: Marek Vasut Signed-off-by: Tom R