* [U-Boot] [PATCH 1/3] configs: ls2085aqds: Enable DSPI flash support for LS2085AQDS
@ 2015-07-03 8:51 Haikun Wang
2015-07-03 8:51 ` [U-Boot] [PATCH 2/3] configs: ls2085ardb: Enable DSPI flash support for LS2085ARDB Haikun Wang
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Haikun Wang @ 2015-07-03 8:51 UTC (permalink / raw)
To: u-boot
From: Haikun Wang <Haikun.Wang@freescale.com>
Enable DSPI flash related configurations.
Signed-off-by: Haikun Wang <haikun.wang@freescale.com>
---
include/configs/ls2085aqds.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/include/configs/ls2085aqds.h b/include/configs/ls2085aqds.h
index e488ac8..bf5ea51 100644
--- a/include/configs/ls2085aqds.h
+++ b/include/configs/ls2085aqds.h
@@ -273,6 +273,15 @@ unsigned long get_board_ddr_clk(void);
/* I2C bus multiplexer */
#define I2C_MUX_CH_DEFAULT 0x8
+/* SPI */
+#ifdef CONFIG_FSL_DSPI
+#define CONFIG_CMD_SF
+#define CONFIG_SPI_FLASH
+#define CONFIG_SPI_FLASH_STMICRO
+#define CONFIG_SPI_FLASH_SST
+#define CONFIG_SPI_FLASH_EON
+#endif
+
/*
* MMC
*/
--
2.1.0.27.g96db324
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH 2/3] configs: ls2085ardb: Enable DSPI flash support for LS2085ARDB
2015-07-03 8:51 [U-Boot] [PATCH 1/3] configs: ls2085aqds: Enable DSPI flash support for LS2085AQDS Haikun Wang
@ 2015-07-03 8:51 ` Haikun Wang
2015-07-03 8:51 ` [U-Boot] [PATCH] defconfig: ls2085a: Enable FSL_DSPI, OF_CONTROL and DM support Haikun Wang
2015-07-20 21:20 ` [U-Boot] [PATCH 1/3] configs: ls2085aqds: Enable DSPI flash support for LS2085AQDS York Sun
2 siblings, 0 replies; 5+ messages in thread
From: Haikun Wang @ 2015-07-03 8:51 UTC (permalink / raw)
To: u-boot
From: Haikun Wang <Haikun.Wang@freescale.com>
Enable DSPI flash related configurations for LS2085ARDB.
Signed-off-by: Haikun Wang <haikun.wang@freescale.com>
---
include/configs/ls2085ardb.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/include/configs/ls2085ardb.h b/include/configs/ls2085ardb.h
index 600261e..8cd3bf7 100644
--- a/include/configs/ls2085ardb.h
+++ b/include/configs/ls2085ardb.h
@@ -245,6 +245,14 @@ unsigned long get_board_sys_clk(void);
/* I2C bus multiplexer */
#define I2C_MUX_CH_DEFAULT 0x8
+/* SPI */
+#ifdef CONFIG_FSL_DSPI
+#define CONFIG_CMD_SF
+#define CONFIG_SPI_FLASH
+#define CONFIG_SPI_FLASH_STMICRO
+#define CONFIG_SPI_FLASH_BAR
+#endif
+
/*
* RTC configuration
*/
--
2.1.0.27.g96db324
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH] defconfig: ls2085a: Enable FSL_DSPI, OF_CONTROL and DM support
2015-07-03 8:51 [U-Boot] [PATCH 1/3] configs: ls2085aqds: Enable DSPI flash support for LS2085AQDS Haikun Wang
2015-07-03 8:51 ` [U-Boot] [PATCH 2/3] configs: ls2085ardb: Enable DSPI flash support for LS2085ARDB Haikun Wang
@ 2015-07-03 8:51 ` Haikun Wang
2015-07-20 21:20 ` York Sun
2015-07-20 21:20 ` [U-Boot] [PATCH 1/3] configs: ls2085aqds: Enable DSPI flash support for LS2085AQDS York Sun
2 siblings, 1 reply; 5+ messages in thread
From: Haikun Wang @ 2015-07-03 8:51 UTC (permalink / raw)
To: u-boot
Freescale DSPI driver has been converted to Driver Model.
The new driver is depended on OF_CONTROL, DM, DM_SPI.
This patch enable FSL_DSPI and its dependence configure options.
Signed-off-by: Haikun Wang <haikun.wang@freescale.com>
---
configs/ls2085aqds_defconfig | 7 +++++++
configs/ls2085ardb_defconfig | 7 +++++++
2 files changed, 14 insertions(+)
diff --git a/configs/ls2085aqds_defconfig b/configs/ls2085aqds_defconfig
index fd208b18..00b062b 100644
--- a/configs/ls2085aqds_defconfig
+++ b/configs/ls2085aqds_defconfig
@@ -1,4 +1,11 @@
CONFIG_ARM=y
CONFIG_TARGET_LS2085AQDS=y
+CONFIG_DEFAULT_DEVICE_TREE="fsl-ls2085a-qds"
+# CONFIG_SYS_MALLOC_F is not set
CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4"
# CONFIG_CMD_SETEXPR is not set
+CONFIG_OF_CONTROL=y
+CONFIG_DM=y
+CONFIG_DM_SPI_FLASH=y
+CONFIG_DM_SPI=y
+CONFIG_FSL_DSPI=y
diff --git a/configs/ls2085ardb_defconfig b/configs/ls2085ardb_defconfig
index 308e935..c7dae4b 100644
--- a/configs/ls2085ardb_defconfig
+++ b/configs/ls2085ardb_defconfig
@@ -1,4 +1,11 @@
CONFIG_ARM=y
CONFIG_TARGET_LS2085ARDB=y
+CONFIG_DEFAULT_DEVICE_TREE="fsl-ls2085a-rdb"
+# CONFIG_SYS_MALLOC_F is not set
CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4"
# CONFIG_CMD_SETEXPR is not set
+CONFIG_OF_CONTROL=y
+CONFIG_DM=y
+CONFIG_DM_SPI_FLASH=y
+CONFIG_DM_SPI=y
+CONFIG_FSL_DSPI=y
--
2.1.0.27.g96db324
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH 1/3] configs: ls2085aqds: Enable DSPI flash support for LS2085AQDS
2015-07-03 8:51 [U-Boot] [PATCH 1/3] configs: ls2085aqds: Enable DSPI flash support for LS2085AQDS Haikun Wang
2015-07-03 8:51 ` [U-Boot] [PATCH 2/3] configs: ls2085ardb: Enable DSPI flash support for LS2085ARDB Haikun Wang
2015-07-03 8:51 ` [U-Boot] [PATCH] defconfig: ls2085a: Enable FSL_DSPI, OF_CONTROL and DM support Haikun Wang
@ 2015-07-20 21:20 ` York Sun
2 siblings, 0 replies; 5+ messages in thread
From: York Sun @ 2015-07-20 21:20 UTC (permalink / raw)
To: u-boot
On 07/03/2015 01:51 AM, Haikun Wang wrote:
> From: Haikun Wang <Haikun.Wang@freescale.com>
>
> Enable DSPI flash related configurations.
>
> Signed-off-by: Haikun Wang <haikun.wang@freescale.com>
> ---
This set is applied to u-boot-fsl-qoriq master branch with subject fix.
York
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH] defconfig: ls2085a: Enable FSL_DSPI, OF_CONTROL and DM support
2015-07-03 8:51 ` [U-Boot] [PATCH] defconfig: ls2085a: Enable FSL_DSPI, OF_CONTROL and DM support Haikun Wang
@ 2015-07-20 21:20 ` York Sun
0 siblings, 0 replies; 5+ messages in thread
From: York Sun @ 2015-07-20 21:20 UTC (permalink / raw)
To: u-boot
On 07/03/2015 01:51 AM, Haikun Wang wrote:
> Freescale DSPI driver has been converted to Driver Model.
> The new driver is depended on OF_CONTROL, DM, DM_SPI.
> This patch enable FSL_DSPI and its dependence configure options.
>
> Signed-off-by: Haikun Wang <haikun.wang@freescale.com>
> ---
Applied to u-boot-fsl-qoriq master branch with subject fix.
York
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-07-20 21:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-03 8:51 [U-Boot] [PATCH 1/3] configs: ls2085aqds: Enable DSPI flash support for LS2085AQDS Haikun Wang
2015-07-03 8:51 ` [U-Boot] [PATCH 2/3] configs: ls2085ardb: Enable DSPI flash support for LS2085ARDB Haikun Wang
2015-07-03 8:51 ` [U-Boot] [PATCH] defconfig: ls2085a: Enable FSL_DSPI, OF_CONTROL and DM support Haikun Wang
2015-07-20 21:20 ` York Sun
2015-07-20 21:20 ` [U-Boot] [PATCH 1/3] configs: ls2085aqds: Enable DSPI flash support for LS2085AQDS York Sun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox