diff mbox

[U-Boot,11/13] am43xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl

Message ID 1445944388-14207-12-git-send-email-mugunthanvnm@ti.com
State Accepted
Commit 49f85b671a4c02941246fa9f36c8aca9d0e8969c
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Commit Message

Mugunthan V N Oct. 27, 2015, 11:13 a.m. UTC
Since spl doesn't support DM currently, do not define DM_SPI and
DM_SPI_FLASH for spl build.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
---
 include/configs/am43xx_evm.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Simon Glass Oct. 29, 2015, 5:18 p.m. UTC | #1
Hi Mugunthan,

On 27 October 2015 at 05:13, Mugunthan V N <mugunthanvnm@ti.com> wrote:
> Since spl doesn't support DM currently, do not define DM_SPI and
> DM_SPI_FLASH for spl build.
>
> Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
> ---
>  include/configs/am43xx_evm.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
> index d93e3e7..1258492 100644
> --- a/include/configs/am43xx_evm.h
> +++ b/include/configs/am43xx_evm.h
> @@ -146,6 +146,8 @@
>   */
>  #ifdef CONFIG_SPL_BUILD
>  #undef CONFIG_DM_MMC
> +#undef CONFIG_DM_SPI
> +#undef CONFIG_DM_SPI_FLASH
>  #endif
>

I'm hoping you can avoid this change.

>  #ifndef CONFIG_SPL_BUILD
> --
> 2.6.2.280.g74301d6
>

Regards,
Simon
diff mbox

Patch

diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index d93e3e7..1258492 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -146,6 +146,8 @@ 
  */
 #ifdef CONFIG_SPL_BUILD
 #undef CONFIG_DM_MMC
+#undef CONFIG_DM_SPI
+#undef CONFIG_DM_SPI_FLASH
 #endif
 
 #ifndef CONFIG_SPL_BUILD