On 1/8/19 7:24 AM, Simon Goldschmidt wrote: > On Mon, Jan 7, 2019 at 11:58 PM Marek Vasut <ma...@denx.de> wrote: >> >> On 1/7/19 10:14 PM, Simon Goldschmidt wrote: >>> In order to build a smaller SPL, let's imply SPL_DM_RESET and >>> SPL_WATCHDOG_SUPPORT instead of selecting them, so they can be disabled >>> via defconfig. >>> >>> This also seems to be required to use OF_PLATDATA, as the reset drivers >>> don't seem to work with it. >> >> How do you un-reset IP blocks if you disable the reset controller ? > > Here again, socfpga seems to be another bad example. Taking > peripherals out of reset > is cluttered throughout the mach-socfpga code at least in SPL. By now > I know socfpga is > lacking support for clock and reset management via devicetree. And > this is bad, I know, > but can we keep this a seperate issue from OF_PLATDATA? > > That being said, drivers/reset/reset-uclass.c fails to compile with > OF_PLATDATA, so I > guess this has not been used with OF_PLATDATA before. And given that I > don't seem > to need it for socfpga either, I don't think this would be the right > series to fix that.
Don't you need it to unreset at least the DWMMC or CQSPI ? Anyway, I'd much prefer to start cleaning up the horrorshow that arch/arm/mach-socfpga is in terms of clock and reset, at least like A10. Would that be possible ? -- Best regards, Marek Vasut _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot