
On Mon, Apr 18, 2016 at 8:37 PM, Tom Rini trini@konsulko.com wrote:
On Fri, Apr 15, 2016 at 05:40:56PM +0300, Sam Protsenko wrote:
During Kconfig migrating process we missed to check some gadget options for SPL_BUILD. Do it now to properly disable gadget in SPL build for those platforms that disabled it before migrating options to Kconfig.
Signed-off-by: Sam Protsenko semen.protsenko@linaro.org
include/configs/am43xx_evm.h | 1 + include/configs/mx6sabre_common.h | 11 +++++++++++ include/configs/siemens-am33x-common.h | 10 ++++++++++ include/configs/smartweb.h | 9 +++++++++ include/configs/tegra-common-usb-gadget.h | 11 +++++++++++ 5 files changed, 42 insertions(+)
I don't quite understand why we need to do this. For SPL, if we build stuff we don't need it will get discarded at link time.
Didn't know that. Strange, why did we have those #ifdef CONFIG_SPL_BUILD in the first place. Anyway, I think we can drop this patch then. Thanks for explanation, Tom.
-- Tom