[U-Boot] [PATCH 2/2] arm: socfpga: Enable DM for Cadence and DW SPI

Simon Glass sjg at chromium.org
Thu Feb 19 02:07:13 CET 2015


Hi Marek,

On 18 February 2015 at 14:36, Marek Vasut <marex at denx.de> wrote:
> Enable DM in case these two drivers are enabled, since these
> two drivers depend on DM.
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Stefan Roese <sr at denx.de>
> Cc: Tom Rini <trini at 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


More information about the U-Boot mailing list