From: Peter Tyser <ptyser@xes-inc.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 00/12] 8xxx dma updates
Date: Tue, 30 Jun 2009 17:15:39 -0500 [thread overview]
Message-ID: <cover.1246398582.git.ptyser@xes-inc.com> (raw)
This patch series attempts to clean up the DMA implementation for the
83xx, 85xx, and 86xx architectures. The changes include:
- consolidate 83xx, 85xx, and 86xx structures and code
- add defines for bitfields
- use proper IO accessors
- add support for arbitrarily large transfer sizes
- rename dma_xfer() to dmacpy() and make dmacpy's prototype similar
to memcpy()
Changes since v1:
- Add 83xx patches, these were previously submitted as an RFC
- Add a CONFIG_FSL_DMA check to include/asm-ppc/config.h
- Use phys_addr_t and phys_size_t arguments to dmacpy()
I've tested the code on MPC8572 and MPC8640-based boards. Ira Snyder
tested on an 83xx-based board. I compile-tested all 8xxx boards.
Peter Tyser (12):
85xx, 86xx: Break out DMA code to a common file
fsl_dma: Add bitfield definitions for common registers
fsl_dma: Use proper I/O access functions
fsl_dma: Add support for arbitrarily large transfers
fsl_dma: Fix Channel Start bug in dma_check()
8xxx: Rename dma_xfer() to dmacpy()
fsl_dma: Move dma function prototypes to common header file
85xx, 86xx: Move dma_init() call to common code
fsl_dma: Break out common memory initialization function
fsl_dma: Make DMA transactions snoopable
83xx: Replace CONFIG_ECC_INIT_VIA_DDRC references
83xx: Add support for fsl_dma driver
board/freescale/mpc8360emds/mpc8360emds.c | 4 +-
board/freescale/mpc8360erdk/mpc8360erdk.c | 4 +-
board/freescale/mpc837xemds/mpc837xemds.c | 4 +-
board/freescale/mpc837xerdb/mpc837xerdb.c | 4 +-
board/keymile/kmeter1/kmeter1.c | 4 +-
board/mpc8540eval/mpc8540eval.c | 35 +------
board/sbc8560/sbc8560.c | 33 +-----
cpu/mpc83xx/cpu.c | 85 --------------
cpu/mpc83xx/spd_sdram.c | 43 +------
cpu/mpc85xx/cpu.c | 47 --------
cpu/mpc85xx/cpu_init.c | 4 +-
cpu/mpc85xx/ddr-gen1.c | 33 +-----
cpu/mpc86xx/cpu.c | 55 ---------
cpu/mpc86xx/cpu_init.c | 3 +
drivers/dma/Makefile | 1 +
drivers/dma/fsl_dma.c | 178 +++++++++++++++++++++++++++++
include/asm-ppc/config.h | 8 ++
include/asm-ppc/fsl_dma.h | 90 +++++++++++++++
include/asm-ppc/immap_83xx.h | 49 +-------
include/configs/PM854.h | 1 +
include/configs/PM856.h | 1 +
include/mpc83xx.h | 16 ---
22 files changed, 308 insertions(+), 394 deletions(-)
create mode 100644 drivers/dma/fsl_dma.c
next reply other threads:[~2009-06-30 22:15 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-30 22:15 Peter Tyser [this message]
2009-06-30 22:15 ` [U-Boot] [PATCH v2 01/12] 85xx, 86xx: Break out DMA code to a common file Peter Tyser
2009-07-02 4:04 ` Kumar Gala
2009-06-30 22:15 ` [U-Boot] [PATCH v2 02/12] fsl_dma: Add bitfield definitions for common registers Peter Tyser
2009-07-02 4:04 ` Kumar Gala
2009-06-30 22:15 ` [U-Boot] [PATCH v2 03/12] fsl_dma: Use proper I/O access functions Peter Tyser
2009-07-02 4:04 ` Kumar Gala
2009-06-30 22:15 ` [U-Boot] [PATCH v2 04/12] fsl_dma: Add support for arbitrarily large transfers Peter Tyser
2009-07-02 4:07 ` Kumar Gala
2009-06-30 22:15 ` [U-Boot] [PATCH v2 05/12] fsl_dma: Fix Channel Start bug in dma_check() Peter Tyser
2009-07-02 4:08 ` Kumar Gala
2009-06-30 22:15 ` [U-Boot] [PATCH v2 06/12] 8xxx: Rename dma_xfer() to dmacpy() Peter Tyser
2009-07-02 4:08 ` Kumar Gala
2009-06-30 22:15 ` [U-Boot] [PATCH v2 07/12] fsl_dma: Move dma function prototypes to common header file Peter Tyser
2009-07-02 4:13 ` Kumar Gala
2009-06-30 22:15 ` [U-Boot] [PATCH v2 08/12] 85xx, 86xx: Move dma_init() call to common code Peter Tyser
2009-07-02 4:13 ` Kumar Gala
2009-06-30 22:15 ` [U-Boot] [PATCH v2 09/12] fsl_dma: Break out common memory initialization function Peter Tyser
2009-07-02 4:13 ` Kumar Gala
2009-06-30 22:15 ` [U-Boot] [PATCH v2 10/12] fsl_dma: Make DMA transactions snoopable Peter Tyser
2009-07-02 4:13 ` Kumar Gala
2009-06-30 22:15 ` [U-Boot] [PATCH v2 11/12] 83xx: Replace CONFIG_ECC_INIT_VIA_DDRC references Peter Tyser
2009-07-02 4:12 ` Kumar Gala
2009-07-02 15:25 ` Kim Phillips
2009-07-02 16:17 ` Kumar Gala
2009-06-30 22:15 ` [U-Boot] [PATCH v2 12/12] 83xx: Add support for fsl_dma driver Peter Tyser
2009-07-02 16:17 ` Kumar Gala
2009-07-08 9:13 ` Stefan Roese
2009-07-08 14:07 ` Kumar Gala
2009-07-08 14:30 ` Peter Tyser
2009-07-08 14:36 ` Kumar Gala
2009-07-08 15:24 ` Ira Snyder
2009-07-08 14:13 ` Peter Tyser
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=cover.1246398582.git.ptyser@xes-inc.com \
--to=ptyser@xes-inc.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