to a known state. Previously a sequence of
> > 64-bit stores was used.
> >
> > Signed-off-by: Peter Tyser
> > ---
> > cpu/mpc83xx/spd_sdram.c | 57
> > +++--
> > drivers/dma/fsl_dma.c| 16 +
On Sat, 2009-07-11 at 09:03 +0900, Shinya Kuribayashi wrote:
> Hi,
>
> Peter Tyser wrote:
> > This series moves api_examples to api/examples and moves all
> > lib* directories into a common lib/ directory. It also
> > moves the _config.mk files into their corr
t; > CONFIG_SYS_INIT_RAM_LOCK defined
> > to unlock their data cache during U-Boot's initialization. This
> > improves U-Boot performance and provides a common cache state when
> > booting to different OSes.
> >
> > Signed-off-by: Peter Tyser
> > ---
improves U-Boot performance and provides a common cache state when
booting to different OSes.
Signed-off-by: Peter Tyser
---
I've tested this on 86xx boards, it'd be great if someone could test on
83xx and 74xx/7xx. 85xx boards should not be affected by this change.
This change assume
On Sat, 2009-07-11 at 01:07 +0200, Wolfgang Denk wrote:
> Dear Peter Tyser,
>
> In message <1247259105.32367.22.ca...@localhost.localdomain> you wrote:
> >
> > The only platforms the define unlock_ram_in_cache() are 83xx, 85xx,
> > 86xx, and 74xx_7xx.
> >
On Fri, 2009-07-10 at 22:37 +0200, Wolfgang Denk wrote:
> Dear Kumar Gala,
>
> In message <4b5a7126-fcdf-4eb0-9181-fb1be571c...@kernel.crashing.org> you
> wrote:
> >
> > On May 22, 2009, at 10:26 AM, Peter Tyser wrote:
> >
> > > Previously, it wa
Signed-off-by: Peter Tyser
---
Makefile|4 ++--
{api_examples => examples/api}/.gitignore |0
{api_examples => examples/api}/Makefile |8
{api_examples => examples/api}/crt0.S |0
{api_examples => examples
The current files in examples are all standalone application examples,
so put them in their own subdirectory for organizational purposes
Signed-off-by: Peter Tyser
---
Makefile | 16 ++--
examples/{ => standalone}/.gitign
Signed-off-by: Peter Tyser
---
Makefile |2 +-
{libfdt => lib/libfdt}/Makefile |0
{libfdt => lib/libfdt}/README|0
{libfdt => lib/libfdt}/fdt.c |0
{libfdt => lib/libfdt}/fdt_ro.c |0
{l
.mail-archive.com/u-boot@lists.denx.de/msg16032.html
Peter Tyser (6):
Move architecture specific config.mk files into subdirs
Move lib_ directories to lib/
Move lib_generic to lib/generic
Move libfdt to lib/libfdt
Move examples/ to examples/standalone
Move api_examples to example
This cleans up U-Boot's toplevel directory a bit and makes the
architecture 'config.mk' file naming and location similar to board and
cpu 'config.mk' files
Signed-off-by: Peter Tyser
---
config.mk|2 +-
arm_confi
On Thu, 2009-07-09 at 22:20 +0200, Wolfgang Denk wrote:
> Dear Peter Tyser,
>
> In message <1247167919.905.50.ca...@localhost.localdomain> you wrote:
> >
> > Without the -M option the patches were hundreds of KB, with -M and only
> > 2 lines of context they are s
On Thu, 2009-07-09 at 15:15 -0400, Mike Frysinger wrote:
> On Thursday 09 July 2009 14:49:07 Peter Tyser wrote:
> > > > Move lib_ppc to lib/ppc
> > > > Move lib_arm to lib/arm
> > > > Move lib_i386 to lib/i386
> > > > Move lib_m6
> > Move lib_ppc to lib/ppc
> > Move lib_arm to lib/arm
> > Move lib_i386 to lib/i386
> > Move lib_m68k to lib/m68k
> > Move remaining lib_ to lib/
>
> why is ppc/arm/i386/m68k special ? seems like it'd make more sense to either
> have one patch for every arch or squash them altogethe
Hi Rafal,
On Thu, 2009-07-09 at 18:22 +0200, Rafal Jaworowski wrote:
> On 2009-07-09, at 17:08, Peter Tyser wrote:
>
> > Signed-off-by: Peter Tyser
> > ---
> > Makefile|4 ++--
> > {api_examples => api/examples}/.gitignore
Signed-off-by: Peter Tyser
---
Makefile|4 ++--
{api_examples => api/examples}/.gitignore |0
{api_examples => api/examples}/Makefile |8
{api_examples => api/examples}/crt0.S |0
{api_examples => api/exam
Signed-off-by: Peter Tyser
---
Makefile |2 +-
{libfdt => lib/libfdt}/Makefile |0
{libfdt => lib/libfdt}/README|0
{libfdt => lib/libfdt}/fdt.c |0
{libfdt => lib/libfdt}/fdt_ro.c |0
{l
Signed-off-by: Peter Tyser
---
README |2 +-
doc/TODO-i386|2 +-
include/asm-i386/interrupt.h |2 +-
include/asm-i386/u-boot-i386.h |4 ++--
{lib_i386 => lib/i386}/Makefile |
Signed-off-by: Peter Tyser
---
Makefile |8 ++--
README | 12 ++--
config.mk|1 -
doc/README.nios |2 +-
include/common.h
Signed-off-by: Peter Tyser
---
README |2 +-
board/cobra5272/u-boot.lds |2 +-
board/esd/tasreg/u-boot.lds |2 +-
board/freescale/m52277evb/u-boot.spa |2 +-
board/freescale/m5235evb/u-boot.16 |4 ++--
board/freescale
Signed-off-by: Peter Tyser
---
Makefile |4
README|4 ++--
api_examples/Makefile |4 ++--
board/LEOX/elpt860/u-boot.lds | 10 +-
board/RPXClassic/u
y had some time to reorganize:)
I compile tested on all PPC boards and verified an out of
tree build.
This series needs the api_examples Make cleanup applied:
http://www.mail-archive.com/u-boot@lists.denx.de/msg16032.html
Peter Tyser (9):
Move architecture specific config.mk files into subdirs
Signed-off-by: Peter Tyser
---
README |2 +-
board/actux1/u-boot.lds|2 +-
board/actux2/u-boot.lds|2 +-
board/actux3/u-boot.lds|2 +-
board/freescale/mx31ads/u-boot.lds |2 +-
board/trab/Makefile
This cleans up U-Boot's toplevel directory a bit and makes the
architecture 'config.mk' file naming and location similar to board and
cpu 'config.mk' files
Signed-off-by: Peter Tyser
---
config.mk|2 +-
arm_confi
On Thu, 2009-07-09 at 08:24 +0800, Liu Dave-R63238 wrote:
> > When SDRAM ECC is enabled and CONFIG_ECC_INIT_VIA_DDRCONTROLLER is not
> > defined use DMA to set SDRAM to a known state. Previously a
> > sequence of
> > 64-bit stores was used.
>
> IIRC, the DMA init SDRAM is slower than the 64bit s
The initial SDRAM value was being hardcoded to CONFIG_MEM_INIT_VALUE
instead of the value passed in 'val'.
Signed-off-by: Peter Tyser
---
drivers/dma/fsl_dma.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/dma/fsl_dma.c b/drivers/dma/fsl_dma.c
ind
When SDRAM ECC is enabled and CONFIG_ECC_INIT_VIA_DDRCONTROLLER is not
defined use DMA to set SDRAM to a known state. Previously a sequence of
64-bit stores was used.
Signed-off-by: Peter Tyser
---
cpu/mpc83xx/spd_sdram.c | 57 +++--
drivers/dma
Signed-off-by: Peter Tyser
---
cpu/mpc83xx/spd_sdram.c |2 +-
include/configs/MPC8349EMDS.h |1 +
include/configs/MPC8360EMDS.h |1 +
include/configs/MPC8360ERDK.h |1 +
include/configs/MPC837XEMDS.h |1 +
include/configs/MPC837XERDB.h |1 +
include/configs
reescale boards with CONFIG_ECC.
Peter Tyser (3):
83xx: Default to using DMA to initialize SDRAM
83xx: Added CONFIG_MEM_INIT_VALUE for boards with ECC
fsl_dma: Fix SDRAM initial value
cpu/mpc83xx/spd_sdram.c | 57 +++--
drivers/dma/fsl_dma.c
On Wed, 2009-07-08 at 16:13 -0700, Ira W. Snyder wrote:
> On Wed, Jul 08, 2009 at 05:59:33PM -0500, Peter Tyser wrote:
> > On Wed, 2009-07-08 at 15:31 -0700, Ira W. Snyder wrote:
> > > On Wed, Jul 08, 2009 at 02:28:39PM -0500, Peter Tyser wrote:
> > > > These ch
On Wed, 2009-07-08 at 15:31 -0700, Ira W. Snyder wrote:
> On Wed, Jul 08, 2009 at 02:28:39PM -0500, Peter Tyser wrote:
> > These changes bring the 83xx SDRAM ECC initialization in line
> > with the 85xx/86xx boards and also fixes a minor bug in fsl_dma.c.
> >
> > I do
The initial SDRAM value was being hardcoded to CONFIG_MEM_INIT_VALUE
instead of the value passed in 'val'.
Signed-off-by: Peter Tyser
---
drivers/dma/fsl_dma.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/dma/fsl_dma.c b/drivers/dma/fsl_dma.c
ind
When SDRAM ECC is enabled and CONFIG_ECC_INIT_VIA_DDRCONTROLLER is not
defined use DMA to set SDRAM to a known state. Previously a sequence of
64-bit stores was used.
Signed-off-by: Peter Tyser
---
cpu/mpc83xx/spd_sdram.c | 57 +++--
drivers/dma
Signed-off-by: Peter Tyser
---
cpu/mpc83xx/spd_sdram.c |2 +-
include/configs/MPC8349EMDS.h |1 +
include/configs/MPC8360EMDS.h |1 +
include/configs/MPC8360ERDK.h |1 +
include/configs/MPC837XEMDS.h |1 +
include/configs/MPC837XERDB.h |1 +
include/configs
e if SDRAM could be initialized via the DDR controller
with CONFIG_ECC_INIT_VIA_DDRCONTROLLER on the 83xx platform too,
but I'm not going to tackle it:)
The patches also resolve the compile error Stefan brought up with
non-freescale boards with CONFIG_ECC.
Peter Tyser (3):
83xx: Default
On Wed, 2009-07-08 at 10:52 -0500, Kumar Gala wrote:
> On Jul 7, 2009, at 5:38 PM, Peter Tyser wrote:
>
> > On Tue, 2009-07-07 at 17:24 -0500, Kumar Gala wrote:
> >> On Jul 7, 2009, at 5:13 PM, Peter Tyser wrote:
> >>
> >>> On Tue, 2009-07-07 at 16:5
On Wed, 2009-07-08 at 09:07 -0500, Kumar Gala wrote:
> Peter,
>
> Also, I'm not seeing anyone defining CONFIG_DDR_ECC_INIT_VIA_DMA for
> 83xx. I don't see any reason not to use DMA on 83xx.
When I submitted the original patch I didn't see any 83xx boards using
either CONFIG_ECC_INIT_VIA_DDRCON
Hi Stefan,
> > +++ b/include/asm-ppc/config.h
> > @@ -30,8 +30,9 @@
> > #endif
> >
> > #ifndef CONFIG_FSL_DMA
> > -#if defined(CONFIG_DDR_ECC) && !defined(CONFIG_ECC_INIT_VIA_DDRCONTROLLER)
> > && \ - (defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx))
> > +#if ((!defined CONFIG_MPC83xx &&
Robin Getz wrote:
> On Wed 8 Jul 2009 01:58, Mike Frysinger pondered:
>> On Tuesday 07 July 2009 18:24:56 Kumar Gala wrote:
>>> On Jul 7, 2009, at 3:25 PM, Scott Wood wrote:
Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 15:02 Tue 07 Jul , Scott Wood wrote:
>> Kumar Gala wrote:
>
On Tue, 2009-07-07 at 17:24 -0500, Kumar Gala wrote:
> On Jul 7, 2009, at 5:13 PM, Peter Tyser wrote:
>
> > On Tue, 2009-07-07 at 16:59 -0500, Kumar Gala wrote:
> >> On Jul 7, 2009, at 1:43 PM, Peter Tyser wrote:
> >>
> >>> Previously, boot page tra
On Tue, 2009-07-07 at 16:59 -0500, Kumar Gala wrote:
> On Jul 7, 2009, at 1:43 PM, Peter Tyser wrote:
>
> > Previously, boot page translation was enabled while U-Boot executed.
> > This resulted in the address range 0xf000 - 0x being
> > translated to SDRAM w
cores
have been initialized which allows the 0xfxxx address space to be
properly accessed.
Signed-off-by: Peter Tyser
---
This was tested on the XPedite5370 which has flash mapped in the
0xfxxx adddress space. I verified the flash was accessible
as expected and Linux properly brought up 2
Hi Nikhil,
> We need to buy a MPC8572 development board for application prototyping.
> We are located in the US. From what I've found the following companies
> sell an MPC8572 board:
>
> 1) Micetek
> 2) Embeddedplanet.com
> 3) Freescale
> 4) Xes-inc
>
> Are there any other companies that sell
On Thu, 2009-07-02 at 16:15 +0530, Poonam Aggrwal wrote:
> Instead the num of cores is determined dynamically by reading the SVR values.
> This can help to use the same u-boot image across the platforms.
>
> Added CONFIG_MAX_CPUS value 8.
>
> Also revamped and corrected few Freescale Copyright me
Hi Richard,
> -#if !(defined(CONFIG_EP8248) || defined(CONFIG_EP82XXM))
> - volatile ioport_t *iop = ioport_addr ((immap_t *) CONFIG_SYS_IMMR,
> MDIO_PORT);
> +#if !(defined(CONFIG_EP8248) || defined(CONFIG_EP82XXM)) \
> + && !defined(CONFIG_MPC83XX)
> + volatile gpio_n_t *iop = iopor
On Thu, 2009-05-21 at 12:21 -0500, Peter Tyser wrote:
> This series tries to add a DMA memory test to the mtest tests. The
> DMA test performs bursts to SDRAM which can be useful in stressing memory
> and can be difficult to produce reliably in certain circumstances (eg
> running with
Initial support for Extreme Engineering Solutions XPedite5170 -
a MPC8640-based 3U VPX single board computer with a PMC/XMC
site.
Signed-off-by: Peter Tyser
---
changes since v1:
- Removed enabling of FSL DMA driver and DMA memory test
MAINTAINERS |1 +
MAKEALL
Signed-off-by: Peter Tyser
---
drivers/dma/fsl_dma.c | 12 +-
include/asm-ppc/fsl_dma.h | 46 +
2 files changed, 52 insertions(+), 6 deletions(-)
diff --git a/drivers/dma/fsl_dma.c b/drivers/dma/fsl_dma.c
index a9989ee..baf2942 100644
The Channel Start (CS) bit in the Mode Register (MR) should actually be
cleared as the comment in the code suggests. Previously, CS was being
set, not cleared.
Assuming normal operation of the DMA engine, this change shouldn't have
any real affect.
Signed-off-by: Peter Tyser
---
driver
Signed-off-by: Peter Tyser
---
drivers/dma/fsl_dma.c | 32 ++--
1 files changed, 18 insertions(+), 14 deletions(-)
diff --git a/drivers/dma/fsl_dma.c b/drivers/dma/fsl_dma.c
index baf2942..33ea828 100644
--- a/drivers/dma/fsl_dma.c
+++ b/drivers/dma/fsl_dma.c
Signed-off-by: Peter Tyser
---
board/mpc8540eval/mpc8540eval.c |2 +-
board/sbc8560/sbc8560.c |2 +-
cpu/mpc85xx/cpu_init.c |4 +++-
cpu/mpc85xx/ddr-gen1.c |2 --
cpu/mpc86xx/cpu_init.c |3 +++
5 files changed, 8 insertions(+), 5 deletions
Signed-off-by: Peter Tyser
---
board/mpc8540eval/mpc8540eval.c | 32 +---
board/sbc8560/sbc8560.c | 32 +---
cpu/mpc85xx/ddr-gen1.c | 26 +-
drivers/dma/fsl_dma.c | 32
Update 83xx architecture's CONFIG_ECC_INIT_VIA_DDRC references to
CONFIG_ECC_INIT_VIA_DDRCONTROLLER, which other Freescale architectures
use
Signed-off-by: Peter Tyser
---
board/freescale/mpc8360emds/mpc8360emds.c |4 ++--
board/freescale/mpc8360erdk/mpc8360erdk.c |4 ++--
Signed-off-by: Peter Tyser
Reviewed-by: Ira W. Snyder
Tested-by: Ira W. Snyder
---
cpu/mpc83xx/cpu.c| 85 --
cpu/mpc83xx/spd_sdram.c | 40 ++--
drivers/dma/fsl_dma.c| 64
Signed-off-by: Peter Tyser
---
cpu/mpc85xx/ddr-gen1.c|4
include/asm-ppc/fsl_dma.h |5 +
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/cpu/mpc85xx/ddr-gen1.c b/cpu/mpc85xx/ddr-gen1.c
index b188906..9fc498e 100644
--- a/cpu/mpc85xx/ddr-gen1.c
+++ b/cpu
Make DMA transactions snoopable so that CPUs can keep caches up-to-date.
This allows dma transactions to be used for operations such as memory
copies without any additional cache control operations.
Signed-off-by: Peter Tyser
---
drivers/dma/fsl_dma.c |4 ++--
1 files changed, 2 insertions
DMA support is now enabled via the CONFIG_FSL_DMA define instead of the
previous CONFIG_DDR_ECC
Signed-off-by: Peter Tyser
---
cpu/mpc85xx/cpu.c| 47 ---
cpu/mpc86xx/cpu.c| 55 ---
drivers/dma/Makefile |1 +
drivers/dma
Also update dmacpy()'s argument order to match memcpy's and use
phys_addr_t/phy_size_t for address/size arguments
Signed-off-by: Peter Tyser
---
board/mpc8540eval/mpc8540eval.c | 25 -
board/sbc8560/sbc8560.c | 25 -
cpu/mpc
Support DMA transfers larger than the DMA controller's limit of
(2 ^ 26 - 1) bytes
Signed-off-by: Peter Tyser
---
drivers/dma/fsl_dma.c | 40
1 files changed, 28 insertions(+), 12 deletions(-)
diff --git a/drivers/dma/fsl_dma.c b/drivers/dma/fsl_
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 s
Hi Kumar,
> >> #ifdef protection here seems kinda pointless
> >
> > Most boards won't have CONFIG_FSL_DMA defined, but this file will
> > still
> > be used in the immap_86xx.h files for padding immap_t. I figured most
> > users won't have dma_init() or dmacpy() so the protection wouldn't
> >
Hi Kumar,
> > diff --git a/include/asm-ppc/fsl_dma.h b/include/asm-ppc/fsl_dma.h
> > index c9ec6b5..06ecdcd 100644
> > --- a/include/asm-ppc/fsl_dma.h
> > +++ b/include/asm-ppc/fsl_dma.h
> > @@ -94,4 +94,9 @@ typedef struct fsl_dma {
> > charres4[56];
> > } fsl_dma_t;
> >
> > +#ifdef CONFI
/api_examples/.depend', needed by `_depend'. Stop.
make[1]: Leaving directory `/home/wd/git/u-boot/work/api_examples'
make: *** [depend] Error 2
Since symlinked source files are no longer used, this bug no longer
exists.
Signed-off-by: Peter Tyser
---
Makefile
Combining the two rules cleans up the Makefile a bit
Signed-off-by: Peter Tyser
---
api_examples/Makefile | 21 -
1 files changed, 8 insertions(+), 13 deletions(-)
diff --git a/api_examples/Makefile b/api_examples/Makefile
index be0b462..98506a0 100644
--- a/api_examples
Signed-off-by: Peter Tyser
---
api_examples/Makefile | 15 +--
1 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/api_examples/Makefile b/api_examples/Makefile
index 98506a0..a85fd9c 100644
--- a/api_examples/Makefile
+++ b/api_examples/Makefile
@@ -44,7 +44,6
This cleans up the Makefile a bit and simplifies future changes
Signed-off-by: Peter Tyser
---
These are some similar changes to the ones I made to the tools
directory recently. It gets rid of symlinking source files which
has the side benefit of resolving the out of tree build error
for the
On Mon, 2009-06-22 at 16:31 +0100, Mark Jackson wrote:
> Haavard Skinnemoen wrote:
> > Mark Jackson wrote:
> >> User-Agent: Thunderbird 2.0.0.21 (X11/20090409)
> >
> > (...)
> >
> >> My patch has been mangled ... there's an extra space at the start of each
> >> "unchanged" patch line.
> >
> > R
On Wed, 2009-06-10 at 11:16 -0500, Menon, Nishanth wrote:
> > -Original Message-
> > From: Dirk Behme [mailto:dirk.be...@googlemail.com]
> > Sent: Wednesday, June 10, 2009 10:44 AM
> > >>> --- a/drivers/i2c/twl4030_i2c.c
> > >> All other drivers in drivers/i2c are host adapter drivers. Ie
Hi Tom,
> diff --git a/drivers/i2c/twl4030_i2c.c b/drivers/i2c/twl4030_i2c.c
> index 774f813..549f974 100644
> --- a/drivers/i2c/twl4030_i2c.c
> +++ b/drivers/i2c/twl4030_i2c.c
> @@ -35,3 +35,25 @@ static inline int twl4030_i2c_read_u8(u8 chip_no, u8 *val,
> u8 reg)
> return i2c_read(chip_n
On Tue, 2009-06-02 at 09:42 -0700, David Hawkins wrote:
> > I am unable to reproduce the corruption on my MPC8349EMDS eval board,
> > but I'm running out of ideas to try and find the source of this problem.
>
> One more piece of info: the MPC8349E-MDS board contains the
> MPC8349E processor, where
Hi Steven,
On Mon, 2009-06-01 at 08:03 -0700, Steven Zedeck wrote:
> I guess thats good news. I looked inside the cmd_ping code a bit. I bet
> there's a "while" loop somewhere that is waiting for something and may not
> have a timeout loop. Any ideas?
>
> Thanks,
> Steve
Please don't top post, i
On Sun, 2009-05-24 at 14:00 -0500, Kim Phillips wrote:
> On Fri, 22 May 2009 17:23:24 -0500
> Peter Tyser wrote:
>
> > Use the standard lowercase "xx" capitalization that other Freescale
> > architectures use for CPU defines to prevent confusion and errors
>
Use the standard lowercase "xx" capitalization that other Freescale
architectures use for CPU defines to prevent confusion and errors
Signed-off-by: Peter Tyser
---
api/api_platform-ppc.c|2 +-
board/freescale/mpc8349emds/mpc8349emds.c |2 +-
board/sbc8349
Use the standard lowercase "x" capitalization that other Freescale
architectures use for CPU defines to prevent confusion and errors
Signed-off-by: Peter Tyser
---
cpu/mpc83xx/cpu_init.c|2 +-
cpu/mpc83xx/speed.c | 66 ---
Signed-off-by: Peter Tyser
---
I don't have any 83xx boards to try this on, but I verified the dma code
still works on an 86xx board. An easy way to test this change (Ira?)
would be to enable CONFIG_FSL_DMA and CONFIG_SYS_DMA_MEMTEST after the
"85xx/86xx dma updates" and &q
Initial support for Extreme Engineering Solutions XPedite5170 -
a MPC8640-based 3U VPX single board computer with a PMC/XMC
site.
Signed-off-by: Peter Tyser
---
MAINTAINERS |1 +
MAKEALL |1 +
Makefile|3
Signed-off-by: Peter Tyser
---
board/xes/common/Makefile |2 +-
.../xes/common/{fsl_85xx_pci.c => fsl_8xxx_pci.c} | 81 +--
2 files changed, 73 insertions(+), 10 deletions(-)
rename board/xes/common/{fsl_85xx_pci.c => fsl_8xxx_pci.c} (79%)
Signed-off-by: Peter Tyser
---
board/xes/common/Makefile |3 ++-
.../xes/common/{fsl_8572_clk.c => fsl_8xxx_clk.c} |8
2 files changed, 10 insertions(+), 1 deletions(-)
rename board/xes/common/{fsl_8572_clk.c => fsl_8xxx_clk.c} (86%)
diff -
From: Zach LeRoy
Signed-off-by: Zach LeRoy
---
drivers/net/tsec.c | 41 +
include/tsec.h |2 ++
2 files changed, 43 insertions(+), 0 deletions(-)
diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c
index 399116f..63fc02e 100644
--- a/drivers/n
Signed-off-by: Peter Tyser
---
board/xes/common/Makefile |2 +-
.../xes/common/{fsl_85xx_ddr.c => fsl_8xxx_ddr.c} |8 +++-
2 files changed, 8 insertions(+), 2 deletions(-)
rename board/xes/common/{fsl_85xx_ddr.c => fsl_8xxx_ddr.c} (92%)
diff --git a
Previously, it was only unlocked when Linux was executed using the
"bootm" command. Unlocking it unconditionally improves U-Boot
performance and provides a common cache state when booting OSes.
Signed-off-by: Peter Tyser
---
lib_ppc/board.c |8 +---
lib_ppc/bootm.c |3 ++
Add defines similar to those already used for the the 86xx architecture.
This will ease sharing of PCI code between the 85xx and 86xx
architectures.
Signed-off-by: Peter Tyser
---
include/asm-ppc/immap_85xx.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/asm
Initial support for Extreme Engineering Solutions XPedite5170 -
a MPC8640-based 3U VPX single board computer with a PMC/XMC
site.
http://www.xes-inc.com/Products/XPedite5170/XPedite5170.html
Peter Tyser (6):
85xx: Add PORBMSR and PORDEVSR shift defines
86xx: Unlock l1 cache unconditionally
On Thu, 2009-05-21 at 12:37 -0700, Ira Snyder wrote:
> On Thu, May 21, 2009 at 12:09:58PM -0500, Peter Tyser wrote:
> > This patch series attempts to clean up the DMA implementation for the
> > 85xx and 86xx architectures. The changes include:
> > - consolidate 85xx and 86x
On Thu, 2009-05-21 at 12:46 -0500, Scott Wood wrote:
> On Thu, May 21, 2009 at 12:10:06PM -0500, Peter Tyser wrote:
> > -int dma_xfer(void *dest, uint count, void *src) {
> > +int dmacpy(void *dest, const void *src, size_t n) {
>
> While we're changing this, perhaps
T and
CONFIG_SYS_DMA_MEMTEST are defined and requires dmacpy() to be
implemented.
Signed-off-by: Peter Tyser
---
common/cmd_mem.c | 65 ++
1 files changed, 65 insertions(+), 0 deletions(-)
diff --git a/common/cmd_mem.c b/common/cmd_mem.c
index 2d
defining CONFIG_FSL_DMA,
CONFIG_SYS_ALT_MEMTEST, and CONFIG_SYS_DMA_MEMTEST.
Other platforms will need to support the dmacpy() function in order to
enable the DMA memory test.
Peter Tyser (3):
fsl_dma: Make DMA transactions snoopable
mtest: Add optional support for DMA memory test
XPedite5200
Enable the Freescale DMA driver and DMA portion of mtest for the
XPedite5200 and XPedite5370 boards
Signed-off-by: Peter Tyser
---
include/configs/XPEDITE5200.h |4 +++-
include/configs/XPEDITE5370.h |2 ++
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/include/configs
Make DMA transactions snoopable so that CPUs can keep caches up-to-date.
This allows dma transactions to be used for operations such as memory
copies without any additional cache control operations.
Signed-off-by: Peter Tyser
---
drivers/dma/fsl_dma.c |4 ++--
1 files changed, 2 insertions
Signed-off-by: Peter Tyser
---
board/mpc8540eval/mpc8540eval.c |2 +-
board/sbc8560/sbc8560.c |2 +-
cpu/mpc85xx/cpu_init.c |4 +++-
cpu/mpc85xx/ddr-gen1.c |2 --
cpu/mpc86xx/cpu_init.c |3 +++
5 files changed, 8 insertions(+), 5 deletions
Also update dmacpy()'s argument order and type to match memcpy's for
clarity
Signed-off-by: Peter Tyser
---
board/mpc8540eval/mpc8540eval.c | 22 +++---
board/sbc8560/sbc8560.c | 22 +++---
cpu/mpc83xx/cpu.c |4 ++--
c
r the channel start bit in the DMA mode register after a transfer
Signed-off-by: Peter Tyser
---
cpu/mpc85xx/cpu.c|8
cpu/mpc86xx/cpu.c| 14 --
include/asm-ppc/immap_86xx.h |2 ++
3 files changed, 14 insertions(+), 10 deletions(-)
diff --
Support DMA transfers larger than the DMA controller's limit of
(2 ^ 26 - 1) bytes
Signed-off-by: Peter Tyser
---
drivers/dma/fsl_dma.c | 42 ++
1 files changed, 30 insertions(+), 12 deletions(-)
diff --git a/drivers/dma/fsl_dma.c b/driver
DMA support is now enabled via the CONFIG_FSL_DMA define instead of the
previous CONFIG_DDR_ECC
Signed-off-by: Peter Tyser
---
cpu/mpc85xx/cpu.c | 47
cpu/mpc86xx/cpu.c | 55
drivers/dma/Makefile|1 +
drivers/dma
Signed-off-by: Peter Tyser
---
board/mpc8540eval/mpc8540eval.c | 33 +
board/sbc8560/sbc8560.c | 33 +
cpu/mpc85xx/ddr-gen1.c | 27 +--
drivers/dma/fsl_dma.c | 32
Signed-off-by: Peter Tyser
---
cpu/mpc85xx/ddr-gen1.c|4
include/asm-ppc/fsl_dma.h |5 +
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/cpu/mpc85xx/ddr-gen1.c b/cpu/mpc85xx/ddr-gen1.c
index 7c7a458..6e628bd 100644
--- a/cpu/mpc85xx/ddr-gen1.c
+++ b/cpu
The Channel Start (CS) bit in the Mode Register (MR) should actually be
cleared as the comment in the code suggests. Previously, CS was being
set, not cleared.
Assuming normal operation of the DMA engine, this change shouldn't have
any real affect.
Signed-off-by: Peter Tyser
---
driver
Signed-off-by: Peter Tyser
---
drivers/dma/fsl_dma.c | 32 ++--
1 files changed, 18 insertions(+), 14 deletions(-)
diff --git a/drivers/dma/fsl_dma.c b/drivers/dma/fsl_dma.c
index baf2942..33ea828 100644
--- a/drivers/dma/fsl_dma.c
+++ b/drivers/dma/fsl_dma.c
Break out DMA structures for the Freescale MPC85xx and MPC86xx cpus to
reduce a large amount of code duplication
Signed-off-by: Peter Tyser
---
cpu/mpc85xx/cpu.c| 31 +
cpu/mpc86xx/cpu.c| 27 ---
include/asm-ppc/fsl_dma.h| 51
iver could be extended to support it
with some ifdeffery.
Peter Tyser (11):
fsl: Create common fsl_dma.h for 85xx and 86xx cpus
85xx, 86xx: Sync up DMA code
85xx, 86xx: Break out DMA code to a common file
fsl_dma: Add bitfield definitions for common registers
fsl_dma: Update to use prop
601 - 700 of 989 matches
Mail list logo