From: Jean-Jacques Hiblot Date: Tue, 20 Nov 2018 10:19:04 +0100 Subject: [U-Boot] [PATCH v2 4/4] usb: am335x_evm: Disable CONFIG_SPL_DM_USB In-Reply-To: <070c7cbf-1151-1326-fb11-9bce5b926d4b@ti.com> References: <7d84aadf-880f-57ee-acf4-e3df4a067b90@denx.de> <1e9af0254f37b98331a63ecfd0f1539b91be704d.1542457210.git.sven@svenschwermer.de> <2cef4696-21b0-454e-fbd4-6845909172da@denx.de> <20181118141559.GQ11247@bill-the-cat> <514EAC65-86F6-4690-B9DA-2CB08D15F57E@svenschwermer.de> <20181118204651.GR11247@bill-the-cat> <070c7cbf-1151-1326-fb11-9bce5b926d4b@ti.com> Message-ID: <857fd79e-dffd-a43e-a9bb-19d88bcaa1ec@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On 20/11/2018 10:09, Jean-Jacques Hiblot wrote: > Hi Sven, > > On 18/11/2018 21:46, Tom Rini wrote: >> On Sun, Nov 18, 2018 at 08:05:11PM +0100, 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 >>>>> How many other boards will need such a patch ? >>>> In this case, "all" am335x boards should as only am43xx and later >>>> offer >>>> ROM loads SPL from a USB mass storage device (rather than showing >>>> up as >>>> a CDC ethernet device). >>> I actually tested this patch series on Travis CI and this was the >>> only “offender”. See >>> https://travis-ci.org/svenschwermer/u-boot/builds/456335517 >>> >>> Are the other boards not checked in Travis? If so, I’d go through >>> them manually. >> I mean functionally.  But if you can confirm that it's not being enabled >> on other platforms, that would be good, thanks! > > FYI I posted a series a few weeks ago that adds a tool to automate > this kind of job. check out "[RFC PATCH v3 0/3] python tools to > inspect configs" > > Command lines would be: > > "tools/configs2csv.py --rebuild -"  to build the database > > and then > > "tools/configs2csv.py CONFIG_SPL_DM_USB CONFIG_DM_USB > dm_usb_usage.csv" more accurate (because some board don't use the same config for u-boot, spl and tpl)  and more readable (since we are interested only in the boards that activate the options) would be: "tools/configs2csv.py CONFIG_SPL_DM_USB CONFIG_DM_USB --u-boot --spl --tpl --discard-empty > dm_usb_usage.csv" > > JJ > >> >> _______________________________________________ >> U-Boot mailing list >> U-Boot at lists.denx.de >> https://lists.denx.de/listinfo/u-boot > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > https://lists.denx.de/listinfo/u-boot