U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Packham <judge.packham@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/3] configs: kirkwood: dreamplug: Convert to DM_SPI
Date: Wed, 21 Nov 2018 22:22:23 +1300	[thread overview]
Message-ID: <20181121092223.8443-3-judge.packham@gmail.com> (raw)
In-Reply-To: <20181121092223.8443-1-judge.packham@gmail.com>

Enable CONFIG_DM_SPI=y and CONFIG_DM_SPI_FLASH=y in the defconfig.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
---

 configs/dreamplug_defconfig | 2 ++
 include/configs/dreamplug.h | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/configs/dreamplug_defconfig b/configs/dreamplug_defconfig
index 76c768006d35..d3263cf9cd3f 100644
--- a/configs/dreamplug_defconfig
+++ b/configs/dreamplug_defconfig
@@ -26,6 +26,7 @@ CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_DM=y
 CONFIG_MVSATA_IDE=y
 # CONFIG_MMC is not set
+CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_MVGBE=y
@@ -34,6 +35,7 @@ CONFIG_DM_RTC=y
 CONFIG_RTC_MV=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
+CONFIG_DM_SPI=y
 CONFIG_KIRKWOOD_SPI=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
diff --git a/include/configs/dreamplug.h b/include/configs/dreamplug.h
index 1c94bf9fa1bf..f4d717213ce1 100644
--- a/include/configs/dreamplug.h
+++ b/include/configs/dreamplug.h
@@ -35,7 +35,6 @@
 #endif
 
 #ifdef CONFIG_CMD_SF
-#define CONFIG_HARD_SPI			1
 #define CONFIG_ENV_SPI_BUS		0
 #define CONFIG_ENV_SPI_CS		0
 #define CONFIG_ENV_SPI_MAX_HZ		50000000 /* 50 MHz */
-- 
2.19.1

  parent reply	other threads:[~2018-11-21  9:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-21  9:22 [U-Boot] [PATCH 1/3] configs: kirkwood: Convert Allied Telesis boards to DM_SPI Chris Packham
2018-11-21  9:22 ` [U-Boot] [PATCH 2/3] configs: kirkwood: ds109: Convert " Chris Packham
2018-11-22  8:37   ` Stefan Roese
2018-11-30 14:39   ` Stefan Roese
2018-11-21  9:22 ` Chris Packham [this message]
2018-11-22  8:38   ` [U-Boot] [PATCH 3/3] configs: kirkwood: dreamplug: " Stefan Roese
2018-11-30 14:39   ` Stefan Roese
2018-11-22  8:37 ` [U-Boot] [PATCH 1/3] configs: kirkwood: Convert Allied Telesis boards " Stefan Roese
2018-11-30 14:38 ` Stefan Roese

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=20181121092223.8443-3-judge.packham@gmail.com \
    --to=judge.packham@gmail.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