From: Angelo Dureghello <angelo@sysam.it>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v5 10/13] configs: remove CONFIG_SYS_DSPI_XX references
Date: Wed, 13 Mar 2019 21:46:50 +0100 [thread overview]
Message-ID: <20190313204653.9115-10-angelo@sysam.it> (raw)
In-Reply-To: <20190313204653.9115-1-angelo@sysam.it>
This patch removes CONFIG_SYS_DSPI_XX options from
include/configs "m68k" .h board files, since CTAR
registers are now set with default values in the cf_spi
driver initialization, and configurable by devicetree.
Note, these options cannot be totally removed from the
whitelist, since still used from boards using fsl_dspi.c
(mostly arm-based boards).
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Angelo Dureghello <angelo@sysam.it>
---
Changes for v2:
- new patch
Changes for v3:
- none
Changes for v4:
- none
Changes for v5:
- none
---
include/configs/M52277EVB.h | 11 -----------
include/configs/M54418TWR.h | 12 ------------
include/configs/M54451EVB.h | 12 ------------
include/configs/M54455EVB.h | 10 ----------
include/configs/stmark2.h | 11 -----------
5 files changed, 56 deletions(-)
diff --git a/include/configs/M52277EVB.h b/include/configs/M52277EVB.h
index 83d774527a..b0e9a0f526 100644
--- a/include/configs/M52277EVB.h
+++ b/include/configs/M52277EVB.h
@@ -103,17 +103,6 @@
/* DSPI and Serial Flash */
#define CONFIG_CF_DSPI
#define CONFIG_SYS_SBFHDR_SIZE 0x7
-#ifdef CONFIG_CMD_SPI
-# define CONFIG_SYS_DSPI_CS2
-
-# define CONFIG_SYS_DSPI_CTAR0 (DSPI_CTAR_TRSZ(7) | \
- DSPI_CTAR_PCSSCK_1CLK | \
- DSPI_CTAR_PASC(0) | \
- DSPI_CTAR_PDT(0) | \
- DSPI_CTAR_CSSCK(0) | \
- DSPI_CTAR_ASC(0) | \
- DSPI_CTAR_DT(1))
-#endif
/* Input, PCI, Flexbus, and VCO */
#define CONFIG_EXTRA_CLOCK
diff --git a/include/configs/M54418TWR.h b/include/configs/M54418TWR.h
index 4b8ef38c0b..1426492c23 100644
--- a/include/configs/M54418TWR.h
+++ b/include/configs/M54418TWR.h
@@ -152,18 +152,6 @@
#define CONFIG_CF_DSPI
#define CONFIG_SERIAL_FLASH
#define CONFIG_SYS_SBFHDR_SIZE 0x7
-#ifdef CONFIG_CMD_SPI
-
-# define CONFIG_SYS_DSPI_CTAR0 (DSPI_CTAR_TRSZ(7) | \
- DSPI_CTAR_PCSSCK_1CLK | \
- DSPI_CTAR_PASC(0) | \
- DSPI_CTAR_PDT(0) | \
- DSPI_CTAR_CSSCK(0) | \
- DSPI_CTAR_ASC(0) | \
- DSPI_CTAR_DT(1))
-# define CONFIG_SYS_DSPI_CTAR1 (CONFIG_SYS_DSPI_CTAR0)
-# define CONFIG_SYS_DSPI_CTAR2 (CONFIG_SYS_DSPI_CTAR0)
-#endif
/* Input, PCI, Flexbus, and VCO */
#define CONFIG_EXTRA_CLOCK
diff --git a/include/configs/M54451EVB.h b/include/configs/M54451EVB.h
index 87cdbae1db..44fd8072fc 100644
--- a/include/configs/M54451EVB.h
+++ b/include/configs/M54451EVB.h
@@ -117,18 +117,6 @@
#define CONFIG_CF_DSPI
#define CONFIG_SERIAL_FLASH
#define CONFIG_SYS_SBFHDR_SIZE 0x7
-#ifdef CONFIG_CMD_SPI
-
-# define CONFIG_SYS_DSPI_CTAR0 (DSPI_CTAR_TRSZ(7) | \
- DSPI_CTAR_PCSSCK_1CLK | \
- DSPI_CTAR_PASC(0) | \
- DSPI_CTAR_PDT(0) | \
- DSPI_CTAR_CSSCK(0) | \
- DSPI_CTAR_ASC(0) | \
- DSPI_CTAR_DT(1))
-# define CONFIG_SYS_DSPI_CTAR1 (CONFIG_SYS_DSPI_CTAR0)
-# define CONFIG_SYS_DSPI_CTAR2 (CONFIG_SYS_DSPI_CTAR0)
-#endif
/* Input, PCI, Flexbus, and VCO */
#define CONFIG_EXTRA_CLOCK
diff --git a/include/configs/M54455EVB.h b/include/configs/M54455EVB.h
index d41b7c4492..ea97188fe8 100644
--- a/include/configs/M54455EVB.h
+++ b/include/configs/M54455EVB.h
@@ -143,16 +143,6 @@
/* DSPI and Serial Flash */
#define CONFIG_CF_DSPI
#define CONFIG_SYS_SBFHDR_SIZE 0x13
-#ifdef CONFIG_CMD_SPI
-
-# define CONFIG_SYS_DSPI_CTAR0 (DSPI_CTAR_TRSZ(7) | \
- DSPI_CTAR_PCSSCK_1CLK | \
- DSPI_CTAR_PASC(0) | \
- DSPI_CTAR_PDT(0) | \
- DSPI_CTAR_CSSCK(0) | \
- DSPI_CTAR_ASC(0) | \
- DSPI_CTAR_DT(1))
-#endif
/* PCI */
#ifdef CONFIG_CMD_PCI
diff --git a/include/configs/stmark2.h b/include/configs/stmark2.h
index f49e79c824..d16ed8f253 100644
--- a/include/configs/stmark2.h
+++ b/include/configs/stmark2.h
@@ -78,17 +78,6 @@
#define CONFIG_SYS_SBFHDR_SIZE 0x7
-#define CONFIG_SYS_DSPI_CTAR0 (DSPI_CTAR_TRSZ(7) | \
- DSPI_CTAR_PCSSCK_1CLK | \
- DSPI_CTAR_PASC(0) | \
- DSPI_CTAR_PDT(0) | \
- DSPI_CTAR_CSSCK(0) | \
- DSPI_CTAR_ASC(0) | \
- DSPI_CTAR_DT(1) | \
- DSPI_CTAR_BR(6))
-#define CONFIG_SYS_DSPI_CTAR1 (CONFIG_SYS_DSPI_CTAR0)
-#define CONFIG_SYS_DSPI_CTAR2 (CONFIG_SYS_DSPI_CTAR0)
-
/* Input, PCI, Flexbus, and VCO */
#define CONFIG_EXTRA_CLOCK
--
2.20.1
next prev parent reply other threads:[~2019-03-13 20:46 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-13 20:46 [U-Boot] [PATCH v5 01/13] m68k: add basic set of devicetrees Angelo Dureghello
2019-03-13 20:46 ` [U-Boot] [PATCH v5 02/13] m68k: architecture changes to support fdt Angelo Dureghello
2019-05-26 10:49 ` Tom Rini
2019-03-13 20:46 ` [U-Boot] [PATCH v5 03/13] m68k: add initial dts files for all m68k boards Angelo Dureghello
2019-05-26 10:49 ` Tom Rini
2019-03-13 20:46 ` [U-Boot] [PATCH v5 04/13] m68k: enabling long jumps on mcf54x5 SoCs Angelo Dureghello
2019-05-26 10:49 ` Tom Rini
2019-03-13 20:46 ` [U-Boot] [PATCH v5 05/13] configs: enable use of DT for all m68k boards Angelo Dureghello
2019-05-26 10:49 ` Tom Rini
2019-03-13 20:46 ` [U-Boot] [PATCH v5 06/13] drivers: spi: cf_spi: add Kconfig option Angelo Dureghello
2019-05-26 10:49 ` Tom Rini
2019-03-13 20:46 ` [U-Boot] [PATCH v5 07/13] drivers: spi: cf_spi: convert to driver model Angelo Dureghello
2019-05-26 10:50 ` Tom Rini
2019-03-13 20:46 ` [U-Boot] [PATCH v5 08/13] configs: add DM_SPI config option Angelo Dureghello
2019-05-26 10:50 ` Tom Rini
2019-03-13 20:46 ` [U-Boot] [PATCH v5 09/13] drivers: serial: mcfuart: add DT support Angelo Dureghello
2019-05-26 10:50 ` Tom Rini
2019-03-13 20:46 ` Angelo Dureghello [this message]
2019-05-26 10:50 ` [U-Boot] [PATCH v5 10/13] configs: remove CONFIG_SYS_DSPI_XX references Tom Rini
2019-03-13 20:46 ` [U-Boot] [PATCH v5 11/13] m68k: add OF control support to m68k Angelo Dureghello
2019-05-26 10:50 ` Tom Rini
2019-03-13 20:46 ` [U-Boot] [PATCH v5 12/13] m68k: move dspi bus control functions into cf_spi.c driver Angelo Dureghello
2019-05-26 10:50 ` Tom Rini
2019-03-13 20:46 ` [U-Boot] [PATCH v5 13/13] m68k: add dspi chip-select support Angelo Dureghello
2019-05-26 10:50 ` Tom Rini
2019-04-19 6:40 ` [U-Boot] [PATCH v5 01/13] m68k: add basic set of devicetrees Jagan Teki
2019-04-22 14:06 ` Tom Rini
2019-04-26 15:27 ` Jagan Teki
2019-05-20 17:28 ` Jagan Teki
2019-05-20 17:44 ` Tom Rini
2019-05-26 10:49 ` Tom Rini
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=20190313204653.9115-10-angelo@sysam.it \
--to=angelo@sysam.it \
--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