Re: [U-Boot] [PATCH v4 1/7] arm: add MMU/D-Cache support for Faraday cores

2013-06-13 Thread Kuo-Jung Su
2013/6/11 Albert ARIBAUD : > Hi Kuo-Jung, > > On Tue, 11 Jun 2013 11:09:57 +0800, Kuo-Jung Su > wrote: > >> 2013/6/11 Albert ARIBAUD : >> > Hi Kuo-Jung, >> > >> > On Tue, 7 May 2013 14:25:07 +0800, Kuo-Jung Su >> > wrote: >> > >> >> diff --git a/arch/arm/include/asm/dma-mapping.h >> >> b/arch/a

Re: [U-Boot] [PATCH v4 1/7] arm: add MMU/D-Cache support for Faraday cores

2013-06-11 Thread Albert ARIBAUD
Hi Kuo-Jung, On Tue, 11 Jun 2013 11:09:57 +0800, Kuo-Jung Su wrote: > 2013/6/11 Albert ARIBAUD : > > Hi Kuo-Jung, > > > > On Tue, 7 May 2013 14:25:07 +0800, Kuo-Jung Su > > wrote: > > > >> diff --git a/arch/arm/include/asm/dma-mapping.h > >> b/arch/arm/include/asm/dma-mapping.h > >> index 5bb

Re: [U-Boot] [PATCH v4 1/7] arm: add MMU/D-Cache support for Faraday cores

2013-06-10 Thread Kuo-Jung Su
2013/6/11 Albert ARIBAUD : > Hi Kuo-Jung, > > On Tue, 7 May 2013 14:25:07 +0800, Kuo-Jung Su > wrote: > >> diff --git a/arch/arm/include/asm/dma-mapping.h >> b/arch/arm/include/asm/dma-mapping.h >> index 5bbb0a0..5a13af5 100644 >> --- a/arch/arm/include/asm/dma-mapping.h >> +++ b/arch/arm/includ

Re: [U-Boot] [PATCH v4 1/7] arm: add MMU/D-Cache support for Faraday cores

2013-06-10 Thread Albert ARIBAUD
Hi Kuo-Jung, On Tue, 7 May 2013 14:25:07 +0800, Kuo-Jung Su wrote: > diff --git a/arch/arm/include/asm/dma-mapping.h > b/arch/arm/include/asm/dma-mapping.h > index 5bbb0a0..5a13af5 100644 > --- a/arch/arm/include/asm/dma-mapping.h > +++ b/arch/arm/include/asm/dma-mapping.h > @@ -3,6 +3,9 @@ >

[U-Boot] [PATCH v4 1/7] arm: add MMU/D-Cache support for Faraday cores

2013-05-06 Thread Kuo-Jung Su
From: Kuo-Jung Su This patch updates the map_physmem()/unmap_physmem(), and use them to implement dma_alloc_coherent(), dma_free_coherent(). It uses 1MB section for each mapping, and thus waste lots of address space, however this should still be good enough for tiny systems (i.e. u-boot). Signe