public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jagan Teki <jagan@amarulasolutions.com>
To: u-boot@lists.denx.de
Subject: [PATCH 02/16] cm_fx6: Switch to full DM-aware
Date: Sat, 13 Jun 2020 19:24:41 +0530	[thread overview]
Message-ID: <20200613135455.181483-3-jagan@amarulasolutions.com> (raw)
In-Reply-To: <20200613135455.181483-1-jagan@amarulasolutions.com>

Enable DM_SPI/DM_SPI_FLASH with a related config option.

Build fine, but not tested.

Patch-cc: Nikita Kiryanov <nikita@compulab.co.il>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 configs/cm_fx6_defconfig | 3 +++
 include/configs/cm_fx6.h | 7 -------
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/configs/cm_fx6_defconfig b/configs/cm_fx6_defconfig
index edaa8e24a5..a55a021a75 100644
--- a/configs/cm_fx6_defconfig
+++ b/configs/cm_fx6_defconfig
@@ -53,10 +53,12 @@ CONFIG_CMD_MTDPARTS=y
 CONFIG_MTDIDS_DEFAULT="nor0=spi0.0"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=spi0.0:768k(uboot),256k(uboot-environment),-(reserved)"
 CONFIG_OF_CONTROL=y
+CONFIG_SPL_OF_CONTROL=y
 CONFIG_DEFAULT_DEVICE_TREE="imx6q-cm-fx6"
 CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
+CONFIG_SPL_DM=y
 CONFIG_DWC_AHSATA=y
 # CONFIG_DWC_AHSATA_AHCI is not set
 CONFIG_DM_KEYBOARD=y
@@ -83,6 +85,7 @@ CONFIG_DM_ETH=y
 CONFIG_MII=y
 CONFIG_DM_PMIC=y
 CONFIG_DM_REGULATOR=y
+CONFIG_SPECIFY_CONSOLE_INDEX=y
 CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_MXC_SPI=y
diff --git a/include/configs/cm_fx6.h b/include/configs/cm_fx6.h
index 302907dcfb..55761450b1 100644
--- a/include/configs/cm_fx6.h
+++ b/include/configs/cm_fx6.h
@@ -151,13 +151,6 @@
 /* APBH DMA is required for NAND support */
 #endif
 
-/* SPI Flash Configs */
-#if defined(CONFIG_SPL_BUILD)
-#undef CONFIG_DM_SPI
-#undef CONFIG_DM_SPI_FLASH
-#undef CONFIG_SPI_FLASH_MTD
-#endif
-
 /* Ethernet */
 #define CONFIG_FEC_MXC
 #define CONFIG_FEC_MXC_PHYADDR		0
-- 
2.25.1

  parent reply	other threads:[~2020-06-13 13:54 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-13 13:54 [PATCH 00/16] spi: dm-conversion (part3) Jagan Teki
2020-06-13 13:54 ` [PATCH 01/16] cl-som-imx7: Switch to DM_SPI/DM_SPI_FLASH Jagan Teki
2020-10-23  8:28   ` Jagan Teki
2020-06-13 13:54 ` Jagan Teki [this message]
2020-10-23  8:28   ` [PATCH 02/16] cm_fx6: Switch to full DM-aware Jagan Teki
2020-06-13 13:54 ` [PATCH 03/16] dh_imx6: " Jagan Teki
2020-06-13 13:54 ` [PATCH 04/16] arm: Remove mx51evk board Jagan Teki
2020-06-13 13:54 ` [PATCH 05/16] arm: Remove ts4800 board Jagan Teki
2020-07-08 12:53   ` Jagan Teki
2020-06-13 13:54 ` [PATCH 06/16] arm: Remove tqma6s_wru4_mmc_defconfig Jagan Teki
2020-07-08 12:54   ` Jagan Teki
2020-06-13 13:54 ` [PATCH 07/16] arm: Remove pfla02 board Jagan Teki
2020-07-08 12:55   ` Jagan Teki
2020-06-13 13:54 ` [PATCH 08/16] arm: Remove pcm058 board Jagan Teki
2020-06-13 13:54 ` [PATCH 09/16] arm: Remove riotboard board Jagan Teki
2020-07-08 12:58   ` Jagan Teki
2020-06-13 13:54 ` [PATCH 10/16] arm: Remove zc5202/zc5601 board Jagan Teki
2020-07-08 12:59   ` Jagan Teki
2020-06-13 13:54 ` [PATCH 11/16] arm: Remove cgtqmx6eval board Jagan Teki
2020-07-08 13:00   ` Jagan Teki
2020-06-13 13:54 ` [PATCH 12/16] arm: Remove ot1200 board Jagan Teki
2020-07-08 13:00   ` Jagan Teki
2020-06-13 13:54 ` [PATCH 13/16] arm: Remove dms-ba16 board Jagan Teki
2020-07-08 13:01   ` Jagan Teki
2020-06-13 13:54 ` [PATCH 14/16] arm: Remove configs/mx35pdk_defconfig board Jagan Teki
2020-07-08 13:02   ` Jagan Teki
2020-06-13 13:54 ` [PATCH 15/16] arm: Remove flea3_defconfig board Jagan Teki
2020-07-08 13:03   ` Jagan Teki
2020-06-13 13:54 ` [PATCH 16/16] arm: Remove mx31pdk_defconfig board Jagan Teki
2020-07-08 13:04   ` Jagan Teki
2020-07-08 18:49     ` Magnus Lilja
2020-06-13 15:41 ` [PATCH 00/16] spi: dm-conversion (part3) Tom Rini
2020-07-08 11:40   ` Jagan Teki
2020-07-08 12:24     ` Fabio Estevam
2020-07-08 12:54     ` Stefano Babic
2020-07-08 18:48       ` Magnus Lilja
2020-07-11 16:53       ` Jagan Teki
2020-10-23 18:22         ` Jagan Teki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200613135455.181483-3-jagan@amarulasolutions.com \
    --to=jagan@amarulasolutions.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox