All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 11/13] at91: move dataflash spi driver to drivers/spi
Date: Fri, 27 Mar 2009 23:30:24 +0100	[thread overview]
Message-ID: <1238193026-12564-11-git-send-email-plagnioj@jcrosoft.com> (raw)
In-Reply-To: <1238193026-12564-10-git-send-email-plagnioj@jcrosoft.com>

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 cpu/arm926ejs/at91/Makefile                        |    1 -
 drivers/spi/Makefile                               |    1 +
 .../spi.c => drivers/spi/atmel_dataflash_spi.c     |    0
 include/configs/afeb9260.h                         |    1 +
 include/configs/at91cap9adk.h                      |    1 +
 include/configs/at91sam9260ek.h                    |    1 +
 include/configs/at91sam9261ek.h                    |    1 +
 include/configs/at91sam9263ek.h                    |    1 +
 include/configs/at91sam9rlek.h                     |    1 +
 9 files changed, 7 insertions(+), 1 deletions(-)
 rename cpu/arm926ejs/at91/spi.c => drivers/spi/atmel_dataflash_spi.c (100%)

diff --git a/cpu/arm926ejs/at91/Makefile b/cpu/arm926ejs/at91/Makefile
index d0d47e6..34e7461 100644
--- a/cpu/arm926ejs/at91/Makefile
+++ b/cpu/arm926ejs/at91/Makefile
@@ -55,7 +55,6 @@ COBJS-y				+= at91sam9rl_serial.o
 COBJS-$(CONFIG_HAS_DATAFLASH)	+= at91sam9rl_spi.o
 endif
 COBJS-$(CONFIG_AT91_LED)	+= led.o
-COBJS-$(CONFIG_HAS_DATAFLASH)	+= spi.o
 COBJS-y	+= timer.o
 SOBJS	= lowlevel_init.o
 
diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
index 6e2c121..1350f3e 100644
--- a/drivers/spi/Makefile
+++ b/drivers/spi/Makefile
@@ -25,6 +25,7 @@ include $(TOPDIR)/config.mk
 
 LIB	:= $(obj)libspi.a
 
+COBJS-$(CONFIG_ATMEL_DATAFLASH_SPI) += atmel_dataflash_spi.o
 COBJS-$(CONFIG_ATMEL_SPI) += atmel_spi.o
 COBJS-$(CONFIG_BFIN_SPI) += bfin_spi.o
 COBJS-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o
diff --git a/cpu/arm926ejs/at91/spi.c b/drivers/spi/atmel_dataflash_spi.c
similarity index 100%
rename from cpu/arm926ejs/at91/spi.c
rename to drivers/spi/atmel_dataflash_spi.c
diff --git a/include/configs/afeb9260.h b/include/configs/afeb9260.h
index 3a51e60..bcd8d35 100644
--- a/include/configs/afeb9260.h
+++ b/include/configs/afeb9260.h
@@ -87,6 +87,7 @@
 #define PHYS_SDRAM_SIZE			0x04000000	/* 64 megs */
 
 /* DataFlash */
+#define CONFIG_ATMEL_DATAFLASH_SPI
 #define CONFIG_HAS_DATAFLASH		1
 #define CONFIG_SYS_SPI_WRITE_TOUT		(5 * CONFIG_SYS_HZ)
 #define CONFIG_SYS_MAX_DATAFLASH_BANKS		2
diff --git a/include/configs/at91cap9adk.h b/include/configs/at91cap9adk.h
index 45af688..af81f1d 100644
--- a/include/configs/at91cap9adk.h
+++ b/include/configs/at91cap9adk.h
@@ -107,6 +107,7 @@
 #define PHYS_SDRAM_SIZE			0x04000000	/* 64 megs */
 
 /* DataFlash */
+#define CONFIG_ATMEL_DATAFLASH_SPI
 #define CONFIG_HAS_DATAFLASH		1
 #define CONFIG_SYS_SPI_WRITE_TOUT		(5*CONFIG_SYS_HZ)
 #define CONFIG_SYS_MAX_DATAFLASH_BANKS		1
diff --git a/include/configs/at91sam9260ek.h b/include/configs/at91sam9260ek.h
index 18c81f6..ac58f27 100644
--- a/include/configs/at91sam9260ek.h
+++ b/include/configs/at91sam9260ek.h
@@ -103,6 +103,7 @@
 #define PHYS_SDRAM_SIZE			0x04000000	/* 64 megs */
 
 /* DataFlash */
+#define CONFIG_ATMEL_DATAFLASH_SPI
 #define CONFIG_HAS_DATAFLASH		1
 #define CONFIG_SYS_SPI_WRITE_TOUT		(5*CONFIG_SYS_HZ)
 #define CONFIG_SYS_MAX_DATAFLASH_BANKS		2
diff --git a/include/configs/at91sam9261ek.h b/include/configs/at91sam9261ek.h
index 5c94407..57bb9fa 100644
--- a/include/configs/at91sam9261ek.h
+++ b/include/configs/at91sam9261ek.h
@@ -107,6 +107,7 @@
 #define PHYS_SDRAM_SIZE			0x04000000	/* 64 megs */
 
 /* DataFlash */
+#define CONFIG_ATMEL_DATAFLASH_SPI
 #define CONFIG_HAS_DATAFLASH		1
 #define CONFIG_SYS_SPI_WRITE_TOUT		(5*CONFIG_SYS_HZ)
 #define CONFIG_SYS_MAX_DATAFLASH_BANKS		2
diff --git a/include/configs/at91sam9263ek.h b/include/configs/at91sam9263ek.h
index d77a780..dd0d552 100644
--- a/include/configs/at91sam9263ek.h
+++ b/include/configs/at91sam9263ek.h
@@ -108,6 +108,7 @@
 #define PHYS_SDRAM_SIZE			0x04000000	/* 64 megs */
 
 /* DataFlash */
+#define CONFIG_ATMEL_DATAFLASH_SPI
 #define CONFIG_HAS_DATAFLASH		1
 #define CONFIG_SYS_SPI_WRITE_TOUT		(5*CONFIG_SYS_HZ)
 #define CONFIG_SYS_MAX_DATAFLASH_BANKS		1
diff --git a/include/configs/at91sam9rlek.h b/include/configs/at91sam9rlek.h
index 7a4039c..cef98e4 100644
--- a/include/configs/at91sam9rlek.h
+++ b/include/configs/at91sam9rlek.h
@@ -98,6 +98,7 @@
 #define PHYS_SDRAM_SIZE			0x04000000	/* 64 megs */
 
 /* DataFlash */
+#define CONFIG_ATMEL_DATAFLASH_SPI
 #define CONFIG_HAS_DATAFLASH		1
 #define CONFIG_SYS_SPI_WRITE_TOUT		(5*CONFIG_SYS_HZ)
 #define CONFIG_SYS_MAX_DATAFLASH_BANKS		1
-- 
1.6.2.1

  reply	other threads:[~2009-03-27 22:30 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-27 22:30 [U-Boot] [PATCH 01/13 V2] at91sam9/at91cap: spi init add hardware chip select support Jean-Christophe PLAGNIOL-VILLARD
2009-03-27 22:30 ` [U-Boot] [PATCH 02/13 V2] at91sam9: add watchdog support Jean-Christophe PLAGNIOL-VILLARD
2009-03-27 22:30   ` [U-Boot] [PATCH 03/13] at91: rename DATAFLASH_MMC_SELECT to CONFIG_DATAFLASH_MMC_SELECT Jean-Christophe PLAGNIOL-VILLARD
2009-03-27 22:30     ` [U-Boot] [PATCH 04/13] at91rm9200dk: Move conditional compilation to Makefile Jean-Christophe PLAGNIOL-VILLARD
2009-03-27 22:30       ` [U-Boot] [PATCH 05/13] add dataflash mmc mux missing support Jean-Christophe PLAGNIOL-VILLARD
2009-03-27 22:30         ` [U-Boot] [PATCH 06/13] Add support for the AT91RM9200EK Board Jean-Christophe PLAGNIOL-VILLARD
2009-03-27 22:30           ` [U-Boot] [PATCH 07/13] at91rm9200: move serial driver to drivers/serial Jean-Christophe PLAGNIOL-VILLARD
2009-03-27 22:30             ` [U-Boot] [PATCH 08/13] at91rm9200: move serial shutdown code to serial drivers Jean-Christophe PLAGNIOL-VILLARD
2009-03-27 22:30               ` [U-Boot] [PATCH 09/13] at91rm9200: Reset update Jean-Christophe PLAGNIOL-VILLARD
2009-03-27 22:30                 ` [U-Boot] [PATCH 10/13] at91: move usb driver to drivers/usb Jean-Christophe PLAGNIOL-VILLARD
2009-03-27 22:30                   ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2009-03-27 22:30                     ` [U-Boot] [PATCH 12/13] at91: add hardware i2c drivers Jean-Christophe PLAGNIOL-VILLARD
2009-03-27 22:30                       ` [U-Boot] [PATCH 13/13] at91sam9263ek: active hush and auto compelete support Jean-Christophe PLAGNIOL-VILLARD
2009-03-31 20:35                         ` Wolfgang Denk
2009-03-31 22:42                           ` Stelian Pop
2009-03-30  5:53                       ` [U-Boot] [PATCH 12/13] at91: add hardware i2c drivers Heiko Schocher
2009-03-30  7:24                         ` Jean-Christophe PLAGNIOL-VILLARD
2009-03-30  8:26                           ` Heiko Schocher
2009-03-30  8:50                             ` Jean-Christophe PLAGNIOL-VILLARD
2009-03-30 10:43                               ` Wolfgang Denk
2009-03-30 11:55                                 ` Jean-Christophe PLAGNIOL-VILLARD
2009-03-31 20:40                         ` Wolfgang Denk
2009-05-14  6:06                       ` Daniel Gorsulowski
2009-03-31 18:28                   ` [U-Boot] [PATCH 10/13] at91: move usb driver to drivers/usb Remy Bohmer
2009-03-31 19:21                     ` Jean-Christophe PLAGNIOL-VILLARD
2009-03-31 20:38                       ` Wolfgang Denk
2009-03-31 21:55                         ` Jean-Christophe PLAGNIOL-VILLARD
2009-04-01  6:55                         ` Stefan Roese
2009-04-01  7:25                           ` Remy Bohmer
2009-04-01  7:22                             ` Jean-Christophe PLAGNIOL-VILLARD
2009-04-01  7:57                               ` Remy Bohmer
2009-04-01  8:01                                 ` Jean-Christophe PLAGNIOL-VILLARD
2009-04-01  9:07                                   ` Wolfgang Denk
2009-04-01  8:13                                 ` Jean-Christophe PLAGNIOL-VILLARD
2009-04-01  8:59                                   ` Michael Trimarchi
2009-04-01  9:27                                     ` Stefan Roese
2009-04-01  9:44                                       ` Jean-Christophe PLAGNIOL-VILLARD
2009-04-01 12:19                                         ` Stefan Roese
2009-04-01 17:21                                           ` [U-Boot] [RFC PATCH] drivers/usb: regorganisation Jean-Christophe PLAGNIOL-VILLARD
2009-04-01 22:12                                             ` Wolfgang Denk
2009-04-02  5:22                                               ` Jean-Christophe PLAGNIOL-VILLARD
2009-04-02 15:26                                                 ` Remy Bohmer
2009-04-02 16:55                                                   ` [U-Boot] [RFC PATCH V2] " Jean-Christophe PLAGNIOL-VILLARD
2009-04-02 18:07                                                     ` Wolfgang Denk
2009-04-02 19:27                                                       ` Jean-Christophe PLAGNIOL-VILLARD
2009-04-02 23:06                                                         ` Wolfgang Denk
2009-04-03  5:10                                                           ` Jean-Christophe PLAGNIOL-VILLARD
2009-04-03 10:46                                                       ` [U-Boot] [PATCH] " Jean-Christophe PLAGNIOL-VILLARD
2009-04-03 11:19                                                         ` Remy Bohmer
2009-04-02 11:11                                             ` [U-Boot] [RFC PATCH] " Mike Frysinger
2009-04-01 15:56                                       ` [U-Boot] [PATCH 10/13] at91: move usb driver to drivers/usb ksi at koi8.net
2009-04-01 15:53                             ` ksi at koi8.net
2009-04-01 15:48                           ` ksi at koi8.net
2009-04-01 16:03                             ` Michael Trimarchi
2009-04-01 16:31                               ` Jean-Christophe PLAGNIOL-VILLARD
2009-04-01 16:28                             ` Jean-Christophe PLAGNIOL-VILLARD
2009-04-01 19:42                             ` Scott Wood
2009-03-31 21:22                       ` Remy Bohmer
2009-03-31 20:36                     ` Wolfgang Denk
2009-04-01 22:15               ` [U-Boot] [PATCH 08/13] at91rm9200: move serial shutdown code to serial drivers Wolfgang Denk
2009-04-01 22:14             ` [U-Boot] [PATCH 07/13] at91rm9200: move serial driver to drivers/serial Wolfgang Denk
2009-05-26 15:47           ` [U-Boot] [PATCH 06/13] Add support for the AT91RM9200EK Board Haavard Skinnemoen

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=1238193026-12564-11-git-send-email-plagnioj@jcrosoft.com \
    --to=plagnioj@jcrosoft.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.