From: Jagan Teki <jagannadh.teki@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/5] configs: mx6ul: Move SPI/SPI-FLASH configs to defconfig
Date: Sat, 3 Sep 2016 13:52:56 +0530 [thread overview]
Message-ID: <1472890977-7377-4-git-send-email-jagan@amarulasolutions.com> (raw)
In-Reply-To: <1472890977-7377-1-git-send-email-jagan@amarulasolutions.com>
Moved SPI/SPI-FLASH configs from mx6ul.h into respective
used defconfigs.
- CONFIG_FSL_QSPI
- CONFIG_SPI_FLASH
- CONFIG_SPI_FLASH_BAR
- CONFIG_SPI_FLASH_STMICRO
Cc: Stefano Babic <sbabic@denx.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
configs/mx6ul_14x14_evk_defconfig | 4 ++++
configs/mx6ul_9x9_evk_defconfig | 4 ++++
include/configs/mx6ul.h | 4 ----
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/configs/mx6ul_14x14_evk_defconfig b/configs/mx6ul_14x14_evk_defconfig
index c65bdbf..4c9e19a 100644
--- a/configs/mx6ul_14x14_evk_defconfig
+++ b/configs/mx6ul_14x14_evk_defconfig
@@ -22,3 +22,7 @@ CONFIG_CMD_EXT4_WRITE=y
CONFIG_CMD_FAT=y
CONFIG_CMD_FS_GENERIC=y
CONFIG_OF_LIBFDT=y
+CONFIG_FSL_QSPI=y
+CONFIG_SPI_FLASH=y
+CONFIG_SPI_FLASH_BAR=y
+CONFIG_SPI_FLASH_STMICRO=y
diff --git a/configs/mx6ul_9x9_evk_defconfig b/configs/mx6ul_9x9_evk_defconfig
index caf2477..da1997b 100644
--- a/configs/mx6ul_9x9_evk_defconfig
+++ b/configs/mx6ul_9x9_evk_defconfig
@@ -22,3 +22,7 @@ CONFIG_CMD_EXT4_WRITE=y
CONFIG_CMD_FAT=y
CONFIG_CMD_FS_GENERIC=y
CONFIG_OF_LIBFDT=y
+CONFIG_FSL_QSPI=y
+CONFIG_SPI_FLASH=y
+CONFIG_SPI_FLASH_BAR=y
+CONFIG_SPI_FLASH_STMICRO=y
diff --git a/include/configs/mx6ul.h b/include/configs/mx6ul.h
index 77707c9..f5bdb40 100644
--- a/include/configs/mx6ul.h
+++ b/include/configs/mx6ul.h
@@ -188,15 +188,11 @@
#ifndef CONFIG_SYS_DCACHE_OFF
#endif
-#define CONFIG_FSL_QSPI
#ifdef CONFIG_FSL_QSPI
-#define CONFIG_SPI_FLASH
-#define CONFIG_SPI_FLASH_BAR
#define CONFIG_SF_DEFAULT_BUS 0
#define CONFIG_SF_DEFAULT_CS 0
#define CONFIG_SF_DEFAULT_SPEED 40000000
#define CONFIG_SF_DEFAULT_MODE SPI_MODE_0
-#define CONFIG_SPI_FLASH_STMICRO
#define FSL_QSPI_FLASH_NUM 1
#define FSL_QSPI_FLASH_SIZE SZ_32M
#endif
--
2.7.4
next prev parent reply other threads:[~2016-09-03 8:22 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-03 8:22 [U-Boot] [PATCH 1/5] imx: mx6ul: Refactor common code as mx6ul Jagan Teki
2016-09-03 8:22 ` [U-Boot] [PATCH 2/5] configs: mx6ul: Update comment in license notes Jagan Teki
2016-09-03 8:22 ` [U-Boot] [PATCH 3/5] spi: Kconfig: Move FSL_QSPI entry to non-dm place Jagan Teki
2016-09-03 8:22 ` Jagan Teki [this message]
2016-09-03 8:22 ` [U-Boot] [PATCH RFC 5/5] imx: mx6ul: Add initial board support for Engicam GEAM6UL Jagan Teki
2016-09-03 10:08 ` Peng Fan
2016-09-03 12:48 ` Jagan Teki
2016-09-04 1:26 ` Fabio Estevam
2016-09-04 2:22 ` Jagan Teki
2016-09-04 2:23 ` Fabio Estevam
2016-09-04 2:27 ` Jagan Teki
2016-09-04 13:08 ` Fabio Estevam
2016-09-04 13:10 ` Michael Trimarchi
2016-09-04 13:32 ` Jagan Teki
2016-09-04 14:47 ` Fabio Estevam
2016-09-06 12:03 ` Tom Rini
2016-09-04 2:27 ` [U-Boot] [PATCH 1/5] imx: mx6ul: Refactor common code as mx6ul Fabio Estevam
2016-09-04 2:30 ` 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=1472890977-7377-4-git-send-email-jagan@amarulasolutions.com \
--to=jagannadh.teki@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