Hi Marek, On 18 February 2015 at 14:36, Marek Vasut <ma...@denx.de> wrote: > Enable DM in case these two drivers are enabled, since these > two drivers depend on DM. > > Signed-off-by: Marek Vasut <ma...@denx.de> > Cc: Simon Glass <s...@chromium.org> > Cc: Stefan Roese <s...@denx.de> > Cc: Tom Rini <tr...@ti.com> > --- > include/configs/socfpga_common.h | 4 ++++ > 1 file changed, 4 insertions(+)
This should use Kconfig now. > > diff --git a/include/configs/socfpga_common.h > b/include/configs/socfpga_common.h > index 6d93472..28fcbf3 100644 > --- a/include/configs/socfpga_common.h > +++ b/include/configs/socfpga_common.h > @@ -190,6 +190,8 @@ unsigned int cm_get_l4_sp_clk_hz(void); > */ > #ifdef CONFIG_OF_CONTROL /* QSPI is controlled via DT */ > #define CONFIG_CADENCE_QSPI > +#define CONFIG_DM > +#define CONFIG_DM_SPI > /* Enable multiple SPI NOR flash manufacturers */ > #define CONFIG_SPI_FLASH /* SPI flash subsystem */ > #define CONFIG_SPI_FLASH_STMICRO /* Micron/Numonyx flash */ > @@ -207,6 +209,8 @@ unsigned int cm_get_qspi_controller_clk_hz(void); > #ifdef CONFIG_OF_CONTROL /* DW SPI is controlled via DT */ > #define CONFIG_DESIGNWARE_SPI > #define CONFIG_CMD_SPI > +#define CONFIG_DM > +#define CONFIG_DM_SPI > #endif > > /* > -- > 2.1.3 > Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot