il.com [mailto:vben...@gmail.com] On Behalf Of Vadim
> Bendebury
> Sent: Tuesday, October 15, 2013 10:09 AM
> To: Lei Wen
> Cc: Prafulla Wadaskar; aflem...@gmail.com; Rob Herring; u-
> b...@lists.denx.de; Yu Tang; Prabhanjan Sarnaik; Ashish Karkare; Andy
> Fleming
> Subject: Re: [U-Boo
Signed-off-by: Lei Wen
---
Changelog:
No change
include/common.h |7 +++
lib/Makefile |1 +
lib/gzip.c | 142 ++
3 files changed, 150 insertions(+), 0 deletions(-)
create mode 100644 lib/gzip.c
diff --git a/include
Add a new config CONFIG_GZIP_ENABLED, if enabled, the uboot bin would
include zlib's deflate method which could be used for compressing.
Signed-off-by: Lei Wen
---
Changelog:
No change
include/u-boot/zlib.h | 40 +++-
lib/zlib/trees.c |
Hi Tom,
> > If the patch is generally accepted, I would update with another
> > version with the README update included.
>
> Yes, please v2 things with an updated README. Thanks.
>
>
I have updated the patch set, please help re-check it.
Thanks,
Lei
_
Signed-off-by: Lei Wen
---
Changelog:
Add README description for new added zip command
README |6 +
common/Makefile |1 +
common/cmd_zip.c | 60 ++
3 files changed, 67 insertions(+), 0 deletions(-)
create mode 100644
compression.
Signed-off-by: Lei Wen
---
Changelog:
No change
lib/zlib/deflate.c |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/lib/zlib/deflate.c b/lib/zlib/deflate.c
index 5c4022f..9a20b70 100644
--- a/lib/zlib/deflate.c
+++ b/lib/zlib/deflate.c
@@ -592,9 +592,7 @@ int
Signed-off-by: Lei Wen
---
Changelog:
No change
lib/zlib/trees.c | 1244 ++
lib/zlib/trees.h | 128 ++
2 files changed, 1372 insertions(+), 0 deletions(-)
create mode 100644 lib/zlib/trees.c
create mode 100644 lib/zlib/trees.h
diff
in uboot environment.
The fourth patch make us could zip the memory from 0 in the address space.
The latter fifth and sixth patch does the adding gzip lib function exporting
and zip command support.
Patch set test with zip&unzip and compared with original memory content.
Lei Wen (6):
lib:
Hi Marek,
On Wed, Sep 26, 2012 at 11:34 PM, Marek Vasut wrote:
> Dear Lei Wen,
>
> > On Thu, Sep 6, 2012 at 6:49 PM, Marek Vasut wrote:
> > > Dear Lukasz Majewski,
> > >
> > > [...]
> > >
> > > > > Ok, that means we can make use
Hi Tom,
On Thu, Sep 27, 2012 at 12:20 AM, Tom Rini wrote:
> On Wed, Sep 26, 2012 at 05:34:25PM +0200, Marek Vasut wrote:
> > Dear Lei Wen,
> >
> > > On Thu, Sep 6, 2012 at 6:49 PM, Marek Vasut wrote:
> > > > Dear Lukasz Majewski,
> > > >
> &g
On Thu, Sep 6, 2012 at 6:49 PM, Marek Vasut wrote:
> Dear Lukasz Majewski,
>
> [...]
>
> > > Ok, that means we can make use of this command ?
> >
> > I cannot promise, that I will provide the "zip" support straightaway in
> > the DFU.
> >
> > On the one hand if DFU is the only user of this comman
Hi Marek,
On Thu, Sep 6, 2012 at 12:18 PM, Marek Vasut wrote:
> Dear adrian.w...@gmail.com,
>
>> From: Lei Wen
>
> Lei? Long time no see :)
Long time no see. :)
>
>> This patch set add zip command support for uboot.
>> The first two patches import deflate an
On Wed, Apr 11, 2012 at 9:24 AM, Lei Wen wrote:
> Hi Mike,
>
> On Wed, Apr 11, 2012 at 6:11 AM, Mike Frysinger wrote:
>> On Tuesday 10 April 2012 01:05:13 Lei Wen wrote:
>>> Hi Mike,
>>>
>>> On Tue, Apr 10, 2012 at 12:37 PM, Mike Frysinger wrote:
>&
Hi Lukasz,
On Fri, Apr 20, 2012 at 3:09 PM, Lukasz Majewski wrote:
> Hi, Lei
>
>> I'm concerning with this adding init here.
>> Since not every platform mount with emmc as boot device, and what they
>> need is booting fast.
>
> If I remember correctly, u-boot policy is to not initialize the mmc
>
.h
> @@ -47,6 +47,9 @@
> #define MMC_MODE_SPI 0x400
> #define MMC_MODE_HC 0x800
>
> +#define MMC_MODE_MASK_WIDTH_BITS (MMC_MODE_4BIT | MMC_MODE_8BIT)
> +#define MMC_MODE_WIDTH_BITS_SHIFT 8
> +
> #define SD_DATA_4BIT 0x0004
>
> #define IS_S
Hi Lukasz,
On Thu, Apr 19, 2012 at 8:39 PM, Lukasz Majewski wrote:
> This code adds call to mmc_init(), for partition related commands (e.g.
> fatls, fatinfo etc.).
>
> It is safe to call mmc_init() multiple times since mmc->has_init flag
> prevents from multiple initialization.
>
> The FAT relat
vers/mmc/s5p_sdhci.c
> ___
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
Ack to this series.
Acked-by: Lei Wen
Thanks,
Lei
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi Mike,
On Wed, Apr 11, 2012 at 6:11 AM, Mike Frysinger wrote:
> On Tuesday 10 April 2012 01:05:13 Lei Wen wrote:
>> Hi Mike,
>>
>> On Tue, Apr 10, 2012 at 12:37 PM, Mike Frysinger wrote:
>> > On Tuesday 03 April 2012 05:31:09 Lei Wen wrote:
>> >> Hi
Hi Mike,
On Tue, Apr 10, 2012 at 12:37 PM, Mike Frysinger wrote:
> On Tuesday 03 April 2012 05:31:09 Lei Wen wrote:
>> Hi Mike,
>>
>> On Tue, Apr 3, 2012 at 3:17 AM, Mike Frysinger wrote:
>> > On Tue, Mar 27, 2012 at 04:04, Lei Wen wrote:
>> >>
Hi Mike,
On Tue, Apr 3, 2012 at 3:17 AM, Mike Frysinger wrote:
> On Tue, Mar 27, 2012 at 04:04, Lei Wen wrote:
>> On Sun, Mar 25, 2012 at 11:53 PM, wrote:
>>> From: Lei Wen
>>>
>>> This patch set add zip command support for uboot.
>>> The first t
Dear Wolfgang,
On Wed, Mar 28, 2012 at 10:23 AM, Lei Wen wrote:
> Hi Tom,
>
> On Wed, Mar 28, 2012 at 2:12 AM, Tom Rini wrote:
>> On Tue, Mar 27, 2012 at 04:04:29PM +0800, Lei Wen wrote:
>>> Hi,
>>>
>>> On Sun, Mar 25, 2012 at 11:53 PM, wrote:
>&
Hi Jaehoon,
On Sat, Mar 31, 2012 at 2:55 PM, Jae hoon Chung wrote:
> Hi Lei.
>
> I will try to test with your opinion.
> Just wondering..If apply with my patch, is it something problem?
First, you patch limit the original mask which could be extend to
other flag to only
SDHCI_INT_RESPONSE | SD
Hi Jaehoon,
On Fri, Mar 30, 2012 at 2:23 PM, Jaehoon Chung wrote:
> On 03/30/2012 02:24 PM, Lei Wen wrote:
>
>> Hi Jaehoon,
>>
>> On Fri, Mar 30, 2012 at 12:36 PM, Jaehoon Chung
>> wrote:
>>> Hi Lei.
>>>
>>> First, thanks for implemented
Hi Jaehoon,
On Fri, Mar 30, 2012 at 12:36 PM, Jaehoon Chung wrote:
> Hi Lei.
>
> First, thanks for implemented the generic sdhci controller.
It is my pleasure to share this common code, and I'm glad that it is
used for other platforms now. :)
>
> On 03/30/2012 12:33 PM, Le
Hi Jaehoon,
On Fri, Mar 30, 2012 at 10:39 AM, Jaehoon Chung wrote:
> When response type is R1b, mask value is added the SDHCI_INT_DAT_END.
> but in while(), didn't check that flag.
> So sdhci controller didn't work fine.
> CMD6 didn't always complete.
Could you elaborate it more in details?
Hi Tom,
On Wed, Mar 28, 2012 at 2:12 AM, Tom Rini wrote:
> On Tue, Mar 27, 2012 at 04:04:29PM +0800, Lei Wen wrote:
>> Hi,
>>
>> On Sun, Mar 25, 2012 at 11:53 PM, wrote:
>> > From: Lei Wen
>> >
>> > This patch set add zip command support for
Hi,
On Sun, Mar 25, 2012 at 11:53 PM, wrote:
> From: Lei Wen
>
> This patch set add zip command support for uboot.
> The first two patches import deflate and trees functions from zlib 1.2.5
> without any change. While the third patch did the necessary change to
> make the im
Hi Wolfgang,
On Thu, Mar 8, 2012 at 4:13 PM, Wolfgang Denk wrote:
> Dear Lei Wen,
>
> In message
> you
> wrote:
>>
>> > I wonder which benefits we get for this price we are paying?
>>
>> The main reason I'd like to introduce this upgrade is for
Hi Wolfgang,
On Wed, Mar 7, 2012 at 10:30 PM, Wolfgang Denk wrote:
> Dear Lei Wen,
>
> In message
> you
> wrote:
>>
>> I miss add the zconf.h into the patch...
>> V2 patch is attached...
>
> Argh. Please NEVER send patches as attachments. Always send
Hi Mike,
On Wed, Mar 7, 2012 at 12:15 AM, Mike Frysinger wrote:
> On Tuesday 06 March 2012 03:55:19 Lei Wen wrote:
>> In this patch, I update the current zlib from 1.2.5 to 1.2.6.
>>
>> There is a lot of warnings when using checkpatch script, I don't know
>>
On Sat, Jan 21, 2012 at 4:46 AM, Scott Wood wrote:
> On 01/20/2012 12:17 AM, Kassey Lee wrote:
>> hi, Lei, Scott:
>> I think this is correct,
>> do you have some comments ?
>
> Looks right.
>
> -Scott
Also looks fine to me.
Acke
NULL [-Waddress]
>
> Signed-off-by: Anatolij Gustschin
> Cc: Lei Wen
> Cc: Andy Fleming
> ---
> drivers/mmc/mv_sdhci.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mmc/mv_sdhci.c b/drivers/mmc/mv_sdhci.c
> index 1501974..2
retry > 0 && err);
> -
> - if (err)
> - return err;
> + err = mmc_send_if_cond(mmc);
>
> /* Now try to get the SD card's operating condition */
> err = sd_send_op_cond(mmc);
> --
> 1.7.3.5
>
>
Acked-by: Lei Wen
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi Macpaul,
On Tue, Nov 15, 2011 at 11:34 AM, Macpaul Lin wrote:
> HI Lei Wen,
>
> 2011/11/14 Lei Wen :
>> Hi Macpaul,
>>
>>>> It seems some socs always treat cmd8 as failed...?
>>>> I think it is reasonable to add a quirk configuration surround t
Hi Macpaul,
On Mon, Nov 14, 2011 at 2:36 PM, Macpaul Lin wrote:
> Hi Lei Wen,
>
> 2011/11/14 Lei Wen :
>> Hi Macpaul,
>>
>> I see...
>> It seems some socs always treat cmd8 as failed...?
>> I think it is reasonable to add a quirk configuration surround the
Hi Macpaul,
On Mon, Nov 14, 2011 at 2:14 PM, Macpaul Lin wrote:
> HI Lei Wen,
>
> 2011/11/12 Macpaul Lin :
>> Hi Lei Wen,
>>
>> 2011/11/12 Lei Wen :
>>> Hi Pali,
>>>
>> I have got 3 times retry fail on CMD8 also with FTSDC010 in recent, too.
Hi Pali,
On Sat, Nov 12, 2011 at 7:17 AM, Pali Rohár wrote:
> Hello,
>
> after commit 02f3029f1810b99869254d0cf0a71946a008a728 mmc: retry the cmd8 to
> meet 74 clocks requirement in the spec
>
> internal eMMC memory on Nokia N900 in u-boot not working. If I comment code
> "if (err) return err;" a
Hi Andy,
On Tue, Oct 18, 2011 at 10:58 PM, Lei Wen wrote:
> Hi Andy,
>
> On Sat, Oct 8, 2011 at 10:14 PM, Lei Wen wrote:
>> This seris fix several issue like flush cache and build warning. And
>> give this generic driver enhancement for timeout when transferring data
>&g
Hi Ajay,
On Tue, Nov 1, 2011 at 5:39 PM, Ajay Bhargav
wrote:
> sdhci_readw does not work for host version read in Armada100 series
> SoCs. This patch fix this issue by making a sdhci_readl call to get host
> version.
>
> Signed-off-by: Ajay Bhargav
> ---
> drivers/mmc/mv_sdhci.c | 6 ++
>
'get_partition_info_efi':
part_efi.c:172: warning: passing argument 3 of 'is_gpt_valid' from
incompatible pointer type
part_efi.c:95: note: expected 'struct gpt_header *' but argument is of
type 'struct gpt_header **'
Signed-off-by: Lei Wen
---
disk/part_e
By default, on Armada100 SoC DCache Lnd ICache line
lengths are 32 bytes long
Signed-off-by: Lei Wen
---
arch/arm/include/asm/arch-armada100/config.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/include/asm/arch-armada100/config.h
b/arch/arm/include/asm
By default, on Pantheon SoC DCache Lnd ICache line
lengths are 32 bytes long
Signed-off-by: Lei Wen
---
arch/arm/include/asm/arch-pantheon/config.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/include/asm/arch-pantheon/config.h
b/arch/arm/include/asm/arch
For the CONFIG_SYS_CACHELINE_SIZE is required to be defined defaultly.
Add it to pantheon and armada100 accordingly.
Lei Wen (2):
pantheon: define CONFIG_SYS_CACHELINE_SIZE
armada100: define CONFIG_SYS_CACHELINE_SIZE
arch/arm/include/asm/arch-armada100/config.h |2 ++
arch/arm/include
Hi Albert,
On Tue, Oct 25, 2011 at 2:25 PM, Albert ARIBAUD
wrote:
> Le 25/10/2011 08:15, Albert ARIBAUD a écrit :
>>
>> Hi Lei Wen,
>>
>> Le 25/10/2011 03:21, Lei Wen a écrit :
>>>
>>> Hi Albert,
>>>
>>> On Tue, Oct 25, 201
Hi Prafulla,
On Thu, Oct 27, 2011 at 5:02 PM, Prafulla Wadaskar wrote:
>
>
>> -Original Message-----
>> From: Lei Wen [mailto:lei...@marvell.com]
>> Sent: Wednesday, October 26, 2011 7:52 AM
>> To: Wolfgang Denk; Albert ARIBAUD; Prafulla Wadaskar; u-
>> b
Hi Wolfgang,
On Wed, Oct 26, 2011 at 2:50 AM, Wolfgang Denk wrote:
> Dear Lei Wen,
>
> In message
> you
> wrote:
>>
>> >> +#include
>> >
>> > I don't like this.
>> >
>> >
>> > Board config files MUST NOT d
.
Signed-off-by: Lei Wen
---
Changelog:
V2: seperate orion5x define structure as kirkwood and armada does
arch/arm/cpu/arm926ejs/orion5x/cpu.c|2 +
arch/arm/cpu/arm926ejs/orion5x/dram.c |1 +
arch/arm/cpu/arm926ejs/orion5x/timer.c |1 +
arch/arm/include/asm/arch
Hi Wolfgang,
On Wed, Oct 26, 2011 at 2:51 AM, Wolfgang Denk wrote:
> Dear Lei Wen,
>
> In message
> you
> wrote:
>>
>> >> Actually, I have post another fixing series before this, so if it got
>> >> be applied before this merged,
>> >>
Hi Wolfgang,
On Tue, Oct 25, 2011 at 3:38 PM, Wolfgang Denk wrote:
> Dear Lei Wen,
>
> In message
> you
> wrote:
>>
>> Actually, I have post another fixing series before this, so if it got
>> be applied before this merged,
>> the warning would be d
Hi Wolfgang,
On Tue, Oct 25, 2011 at 3:43 PM, Wolfgang Denk wrote:
> Dear Lei Wen,
>
> In message <1319509652-5648-1-git-send-email-lei...@marvell.com> you wrote:
>> For files like the drivers/serial/serial.c, it must include the
>> platform file, as the CONFIG_SYS_NS1
.
Signed-off-by: Lei Wen
---
arch/arm/cpu/arm926ejs/orion5x/cpu.c|3 ++-
arch/arm/cpu/arm926ejs/orion5x/dram.c |2 +-
arch/arm/cpu/arm926ejs/orion5x/timer.c |2 +-
arch/arm/include/asm/arch-orion5x/orion5x.h |6 --
common/cmd_ide.c
Hi Albert,
On Tue, Oct 25, 2011 at 12:46 AM, Albert ARIBAUD
wrote:
> Hi all,
>
> Le 02/10/2011 16:16, Lei Wen a écrit :
>>
>> Build pass with following config:
>> dkb_config
>> aspenite_config
>> edminiv2_config
>> openrd_ultimate_config
&
Hi Albert,
On Tue, Oct 25, 2011 at 1:20 AM, Albert ARIBAUD
wrote:
> Hi Lei Wen,
>
> Le 04/10/2011 08:33, Lei Wen a écrit :
>> This patch seris add the mmc support for the pantheon platform.
>> Also give platform like dkb and aspenite a workaround when enabling
>> the
Hi Ulrich,
On Fri, Oct 21, 2011 at 5:53 AM, Ulrich Prinz
wrote:
> Hi all!
>
> Is there any support for (e)MMC PARTITION handling in U-Boot anywhere?
> I have an eMMC supporting Version 4.41 of JEDEC MMC specification and
> I'd like to have PARTITION support to protect some of the MMCs areas
> aga
Hi Prafulla,
On Sat, Oct 8, 2011 at 9:59 PM, Lei Wen wrote:
> This patch seris use Marvell its own special op code to flush the dcache
>
> Lei Wen (3):
> ARM: add special dcache flush op code for 88SV331xV5
> ARM: pantheon: enable dcache by default
> ARM: armada100: enable
Hi Andy,
On Sat, Oct 8, 2011 at 10:14 PM, Lei Wen wrote:
> This seris fix several issue like flush cache and build warning. And
> give this generic driver enhancement for timeout when transferring data
> and additional structure member to access in platform self driver.
>
> Change
Hi Wolfgang,
On Sat, Oct 15, 2011 at 4:36 AM, Wolfgang Denk wrote:
> Dear Lei Wen,
>
> In message
> you
> wrote:
>>
>> > And both the "index" and "value" arguments are never used in I/O
>> > context, i. e. they are actual plain intege
Hi Prafulla,
On Fri, Oct 14, 2011 at 6:19 PM, Prafulla Wadaskar wrote:
> Dear Lei
>
> I was pulling this patch series.
> I found certain patches could not be applied, I had resolved them since
> gplugd are in.
> But I found certain warnings and errors if I build with aspenite_config
>
> May you
Build pass with following config:
dkb_config
aspenite_config
Signed-off-by: Lei Wen
---
Changelog:
V2: no change
drivers/gpio/mvmfp.c |7 ---
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/drivers/gpio/mvmfp.c b/drivers/gpio/mvmfp.c
index e7830c6..f56c037 100644
--- a
Build pass with following config:
dkb_config
aspenite_config
edminiv2_config
openrd_ultimate_config
sheevaplug_config
mv88f6281gtw_ge_config
rd6281a_config
guruplug_config
km_kirkwood_config
Signed-off-by: Lei Wen
Acked-by: Wolfgang Denk
---
Changelog:
V2: no change
drivers/serial/serial.c
.
Signed-off-by: Lei Wen
---
Changelog:
V2: no change
arch/arm/cpu/arm926ejs/kirkwood/cpu.c |2 ++
arch/arm/cpu/arm926ejs/kirkwood/dram.c |2 ++
arch/arm/cpu/arm926ejs/kirkwood/mpp.c |2 ++
arch/arm/cpu/arm926ejs/kirkwood/timer.c |1 +
arch/arm
.
Signed-off-by: Lei Wen
---
Changelog:
V2: no change
arch/arm/cpu/arm926ejs/armada100/cpu.c |2 +-
arch/arm/cpu/arm926ejs/armada100/dram.c |1 +
arch/arm/cpu/arm926ejs/armada100/timer.c|1 +
arch/arm/include/asm/arch-armada100/armada100.h | 131
.
Signed-off-by: Lei Wen
---
Changelog:
V2: no change
arch/arm/cpu/arm926ejs/pantheon/cpu.c |2 +-
arch/arm/cpu/arm926ejs/pantheon/dram.c|1 +
arch/arm/cpu/arm926ejs/pantheon/timer.c |1 +
arch/arm/include/asm/arch-pantheon/config.h |2 ++
arch/arm/include
Changelog:
V2: rebase over latest u-boot-marvell.git
Lei Wen (5):
ARM: pantheon: reduce dependence of including platform file
ARM: armada100: reduce dependence of including platform file
ARM: kirkwood: reduce dependence of including platform file
serial: reduce include platform file for
Hi Wolfgang,
On Fri, Oct 14, 2011 at 4:09 AM, Wolfgang Denk wrote:
> Dear Lei Wen,
>
> In message
> Graeme
> Russ wrote:
>>
>> > So do you means I should keep the EXT_CSD_HS_TIMING? Or I change like
>> > below?
>> >
>> &g
Hi Graeme,
On Tue, Oct 11, 2011 at 9:09 AM, Graeme Russ wrote:
> Hi Lei Wen,
>
> On Tue, Oct 11, 2011 at 11:48 AM, Lei Wen wrote:
>> Hi Wolfgang,
>>
>> On Tue, Oct 11, 2011 at 1:33 AM, Wolfgang Denk wrote:
>>> Dear Lei Wen,
>>>
>>> In m
Hi Wolfgang,
On Tue, Oct 11, 2011 at 1:33 AM, Wolfgang Denk wrote:
> Dear Lei Wen,
>
> In message
> you
> wrote:
>>
>> >> So macro may looks more concise and could parse from its meaning easily
>> >> eno=
>> >> ugh.
>> >
&g
Hi Wolfgang,
On Fri, Oct 7, 2011 at 1:39 AM, Wolfgang Denk wrote:
> Dear Lei Wen,
>
> In message
> you
> wrote:
>>
>> The ext_csd current usage in mmc.c is not too much, here I mean only few of
>> the fields of the ext_csd is used, also fully definition of
SDHCI spec need to reset the sdma base address while the software
try to accorss the 512k bytes address boundary. When meet such
accross behavior, sdhci controller would generate a interrupt
automatically, and software need handle this.
Signed-off-by: Lei Wen
---
Changelog:
V2: no change
V3: new
Signed-off-by: Lei Wen
---
Changelog:
V2: no change
V3: no change
V4: no change
drivers/mmc/sdhci.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c
index 31c738e..77a9e70 100644
--- a/drivers/mmc/sdhci.c
+++ b/drivers
Only flush the memory range needed.
Signed-off-by: Lei Wen
---
Changelog:
V2: no change
V3: no change
V4: no change
drivers/mmc/sdhci.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c
index 9ebd33d..4a92453 100644
--- a
So that sdhci host would tell in the driver that the mmc current
attributes.
Signed-off-by: Lei Wen
---
Changelog:
V2: no change
V3: no change
V4: add empty line after mmc.h include
drivers/mmc/sdhci.c |1 +
include/sdhci.h |3 +++
2 files changed, 4 insertions(+), 0 deletions
this series
V4: minor code style change
Lei Wen (5):
mmc: sdhci: fix cache flush
mmc: sdhci: fix build warning
mmc: sdhci: add mmc structure for host
mmc: sdhci: add timeout for data transfer
mmc: sdhci: fix sdma bug for large file transfer
drivers/mmc/sdhci.c | 14
ing: 'struct sdhci_host' declared inside
parameter list
include/sdhci.h:229: warning: 'struct sdhci_host' declared inside
parameter list
Signed-off-by: Lei Wen
---
Changelog:
V2: code style change
V2.1: delete "Change-Id"
V3: no change
V4: no change
include/sdhci.h |
Hi Sergei,
On Sat, Oct 8, 2011 at 9:52 PM, Sergei Shtylyov wrote:
> Hello.
>
> On 08-10-2011 17:47, Lei Wen wrote:
>
>> So that sdhci host would tell in the driver that the mmc current
>> attributes.
>
>> Signed-off-by: Lei Wen
> [...]
>
>> diff --git
Hi Prafulla,
On Fri, Oct 7, 2011 at 11:53 AM, Prafulla Wadaskar wrote:
>
>
>> -Original Message-----
>> From: Lei Wen [mailto:lei...@marvell.com]
>> Sent: Wednesday, October 05, 2011 8:43 PM
>> To: Prafulla Wadaskar; u-boot@lists.denx.de
>> Subject: [PA
Signed-off-by: Lei Wen
---
arch/arm/cpu/arm926ejs/pantheon/cpu.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/cpu/arm926ejs/pantheon/cpu.c
b/arch/arm/cpu/arm926ejs/pantheon/cpu.c
index 8b2eafa..18da1c1 100644
--- a/arch/arm/cpu/arm926ejs/pantheon
Signed-off-by: Lei Wen
---
arch/arm/cpu/arm926ejs/armada100/cpu.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/cpu/arm926ejs/armada100/cpu.c
b/arch/arm/cpu/arm926ejs/armada100/cpu.c
index c21938e..47b764d 100644
--- a/arch/arm/cpu/arm926ejs/armada100
This patch seris use Marvell its own special op code to flush the dcache
Lei Wen (3):
ARM: add special dcache flush op code for 88SV331xV5
ARM: pantheon: enable dcache by default
ARM: armada100: enable dcache by default
arch/arm/cpu/arm926ejs/armada100/cpu.c |8
arch/arm/cpu
Marvell 88SV331xV5 has its specific arm cp15 opcode, which could
flush out whole dcache by only one line of asm code.
Signed-off-by: Lei Wen
---
arch/arm/lib/cache.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/arch/arm/lib/cache.c b/arch/arm/lib/cache.c
index
Signed-off-by: Lei Wen
---
Changelog:
V2: no change
V3: no change
drivers/mmc/sdhci.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c
index 31c738e..77a9e70 100644
--- a/drivers/mmc/sdhci.c
+++ b/drivers/mmc/sdhci.c
SDHCI spec need to reset the sdma base address while the software
try to accorss the 512k bytes address boundary. When meet such
accross behavior, sdhci controller would generate a interrupt
automatically, and software need handle this.
Signed-off-by: Lei Wen
---
Changelog:
V2: no change
V3: new
So that sdhci host would tell in the driver that the mmc current
attributes.
Signed-off-by: Lei Wen
---
Changelog:
V2: no change
V3: no change
drivers/mmc/sdhci.c |1 +
include/sdhci.h |2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/sdhci.c b
ing: 'struct sdhci_host' declared inside
parameter list
include/sdhci.h:229: warning: 'struct sdhci_host' declared inside
parameter list
Signed-off-by: Lei Wen
---
Changelog:
V2: code style change
V2.1: delete "Change-Id"
V3: no change
include/sdhci.h |3 +++
1 files ch
Only flush the memory range needed.
Signed-off-by: Lei Wen
---
Changelog:
V2: no change
V3: no change
drivers/mmc/sdhci.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c
index 9ebd33d..4a92453 100644
--- a/drivers/mmc/sdhci.c
this series
Lei Wen (5):
mmc: sdhci: fix cache flush
mmc: sdhci: fix build warning
mmc: sdhci: add mmc structure for host
mmc: sdhci: add timeout for data transfer
mmc: sdhci: fix sdma bug for large file transfer
drivers/mmc/sdhci.c | 14 +++---
include/sdhci.h |5
On Fri, Oct 7, 2011 at 4:36 PM, Prafulla Wadaskar wrote:
>
>
>> -Original Message-
>> From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de]
>> On Behalf Of Lei Wen
>> Sent: Thursday, October 06, 2011 8:41 PM
>> To: Marek Vasut
>&g
Hi Marek,
On Tue, Oct 4, 2011 at 8:07 PM, Marek Vasut wrote:
> On Tuesday, October 04, 2011 08:35:10 AM Lei Wen wrote:
>> Previous magic number is hard to parse its meaning, change it to
>> respective macro definition
>>
>> Signed-off-by: Lei Wen
>
> [..]
Marvell 88SV331xV5 has its specific arm cp15 opcode, which could
flush out whole dcache by only one line of asm code.
Signed-off-by: Lei Wen
---
arch/arm/cpu/arm926ejs/pantheon/cpu.c | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/arch/arm/cpu/arm926ejs
Signed-off-by: Lei Wen
---
drivers/usb/gadget/Makefile |1 +
drivers/usb/gadget/gadget_chips.h |7 +
drivers/usb/gadget/mv_udc.c | 499 +
include/usb/mv_udc.h | 151 +++
4 files changed, 658 insertions(+), 0 deletions
Hi,
On Fri, Sep 30, 2011 at 9:45 AM, Lei Wen wrote:
> On Fri, Sep 30, 2011 at 12:16 AM, Marek Vasut wrote:
>> On Thursday, September 29, 2011 04:14:40 AM Lei Wen wrote:
>>> Hi Wolfgang,
>>>
>>> On Thu, Sep 8, 2011 at 12:11 PM, Lei Wen wrote:
>>>
ing: 'struct sdhci_host' declared inside
parameter list
include/sdhci.h:229: warning: 'struct sdhci_host' declared inside
parameter list
Signed-off-by: Lei Wen
---
Changelog:
V2: code style change
V2.1: delete "Change-Id"
include/sdhci.h |3 +++
1 files changed, 3
function into seperated patch
Lei Wen (4):
ARM: pantheon: add mmc definition
Marvell: dkb: add mmc support
dkb: make mmc command as default enabled
mmc: mv_sdhci: fix 8bus width access for 88SV331xV5
arch/arm/cpu/arm926ejs/pantheon/cpu.c | 11 ++
arch/arm/include/asm/arch
Signed-off-by: Lei Wen
---
Changelog:
V2: no change
arch/arm/cpu/arm926ejs/pantheon/cpu.c | 11 +++
arch/arm/include/asm/arch-pantheon/config.h | 18 ++
arch/arm/include/asm/arch-pantheon/cpu.h | 12
arch/arm/include/asm/arch-pantheon
Signed-off-by: Lei Wen
---
Changelog:
V2: no change
drivers/mmc/sdhci.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c
index 31c738e..77a9e70 100644
--- a/drivers/mmc/sdhci.c
+++ b/drivers/mmc/sdhci.c
@@ -81,8 +81,9
For we don't know mmc bus width from reading registers, the only way
to check is to test.
Current compare offset is:
EXT_CSD_PARTITIONING_SUPPORT
EXT_CSD_ERASE_GROUP_DEF
EXT_CSD_REV
EXT_CSD_HC_ERASE_GRP_SIZE
EXT_CSD_SEC_CNT
Signed-off-by: Lei Wen
---
Changelog:
V2: change all magic numbe
Previous magic number is hard to parse its meaning, change it to
respective macro definition
Signed-off-by: Lei Wen
---
Changelog:
V2: change all magic number for ext_csd to macro definition
drivers/mmc/mmc.c | 21 -
include/mmc.h | 16 +---
2 files
Changelog:
V2: Clean up mmc.c to change all magic number for ext_csd to the macro
definition
Lei Wen (2):
mmc: change magic number to macro define
mmc: test mmc bus width on startup
drivers/mmc/mmc.c | 66 ++--
include/mmc.h | 16
ister
if it find the driver is going to switch to the 8bit mode.
Signed-off-by: Lei Wen
---
Changelog:
V2: no change
drivers/mmc/mv_sdhci.c | 33 +
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/mv_sdhci.c b/drivers/mmc/mv_sdhci.c
Signed-off-by: Lei Wen
---
Changelog:
V2: remove enable mmc function into seperated patch
include/configs/dkb.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/configs/dkb.h b/include/configs/dkb.h
index 3d27c58..fb02d92 100644
--- a/include/configs/dkb.h
+++ b
1 - 100 of 454 matches
Mail list logo