]> git.ipfire.org Git - thirdparty/u-boot.git/commit
usb: Don't enable CONFIG_SPL_DM_USB for non-DM SPL
authorMartyn Welch <martyn@welchs.me.uk>
Mon, 10 Dec 2018 11:05:16 +0000 (11:05 +0000)
committerMarek Vasut <marex@denx.de>
Fri, 14 Dec 2018 16:59:08 +0000 (17:59 +0100)
commit16ecb295b3834d8017d922ae46eedbbf6fd6c99b
treefb2477fef9ed7dca01c68ca50690d30e7de43b9a
parent916fa097997a5e1b70768ce944de28e038d4bebf
usb: Don't enable CONFIG_SPL_DM_USB for non-DM SPL

When CONFIG_SPL_DM_USB was added, it was added defaulted on without
protection to ensure it didn't get set for non-DM SPL builds.

This leads to unexpected and confusing failures when building a DM based
U-Boot but with a non-DM SPL, as the defconfig is unlikely to have
CONFIG_SPL_DM_USB actively disabled.

Tweak the Kconfig to not enable this setting unless CONFIG_SPL_DM is set.

Signed-off-by: Martyn Welch <martyn.welch@collabora.com>
drivers/usb/Kconfig