From: Marek Vasut Date: Tue, 20 Nov 2018 14:31:24 +0100 Subject: [U-Boot] [PATCH v3 2/5] usb: am335x_evm: Disable CONFIG_SPL_DM_USB In-Reply-To: References: <3fef3eb5-eccf-8343-a598-48cc63985f6b@denx.de> <21941C8C-1B49-4531-A20D-E0218B3E8691@svenschwermer.de> <2acfe532-00cc-f41d-351a-25bf48a0cda0@denx.de> Message-ID: <288743cd-de19-d4fe-0f58-bc9104f909f2@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On 11/20/2018 02:22 PM, Sven Schwermer wrote: >>>>> This configuration doesn't use USB in the SPL, so we need to disable >>>>> driver model for USB in the SPL. >>>>> >>>>> Signed-off-by: Sven Schwermer >>>> >>>> Is this also needed on other boards ? >>> >>> As per the cover letter, I have successfully run the Travis CI build for this patch series. Furthermore, I have manually verified that all AM33xx builds still succeed. So I don’t think, we need to change anything on other boards. If you want me to do more testing, let me know. >> >> I just want to know whether some boards now get CONFIG_SPL_DM_USB even >> though they didn't have it before, since the Kconfig option is default=y > > Well, since CONFIG_SPL_DM_USB depends on SPL_DM_USB, I don’t think that’s the case. Are you _sure_ ? Sorry if I'm being hard, but this affects a lot of users, so I have to be cautious. >> btw I don't think SPL_DM_USB should depend on DM_USB , one is for SPL >> and the other for U-Boot. > > Aha! There are two reasons I did this: > 1) I used CONFIG_SPL_DM_MMC as the inspiration for my changes. That one depends on CONFIG_DM_MMC. I don't think that's right. SPL and U-Boot are separate things. > 2) In order to not break a lot of configs, see above. > > If this is unacceptable for you, I guess, I’ll have to revisit this. That’d make this series a lot bigger I think. Tell me your preference. I don't mind bigger and better series, but let's just answer the question first. -- Best regards, Marek Vasut