Re: [U-Boot] Pull request u-boot-blackfin.git (sf branch)

2012-07-19 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1342759406-23526-1-git-send-email-vap...@gentoo.org> you wrote: > The following changes since commit 66714b1a6df0a5a9f1656a6d4e6eea3c7ecdf7ae: > > Merge branch 'next' of git://git.denx.de/u-boot-video (2012-07-18 10:47:03 > +0200) > > are available in the git

Re: [U-Boot] Pull request: u-boot-net.git master

2012-07-19 Thread Wolfgang Denk
Dear Joe Hershberger, In message you wrote: > The following changes since commit 66714b1a6df0a5a9f1656a6d4e6eea3c7ecdf7ae: > Wolfgang Denk (1): > Merge branch 'next' of git://git.denx.de/u-boot-video > > are available in the git repository at: > > git://git.denx.de/u-boot-net.git m

Re: [U-Boot] [PATCH] tools: clean up mingw ifdefs

2012-07-19 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1342666785-23439-1-git-send-email-vap...@gentoo.org> you wrote: > We have a header file specifically for mingw cruft, so keep it there > to avoid crap spreading into the main tools. This lets our devs just > worry about *nix systems. > > Signed-off-by: Mike Frysi

Re: [U-Boot] Wrong identify on u-boot-arm/next

2012-07-19 Thread Albert ARIBAUD
(cc:ing the list so ARM-based tree custodians know it too and force fetch and rebase if need be) Hi Otavio, On Thu, 19 Jul 2012 21:07:25 -0300, Otavio Salvador wrote: > Hi, > > I did a fetch on your u-boot-arm/next branch and noticed your revert > has been done with wrong git identity setup. P

Re: [U-Boot] Pull request u-boot-blackfin.git (master branch)

2012-07-19 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1342671695-27038-1-git-send-email-vap...@gentoo.org> you wrote: > The following changes since commit 66714b1a6df0a5a9f1656a6d4e6eea3c7ecdf7ae: > > Merge branch 'next' of git://git.denx.de/u-boot-video (2012-07-18 10:47:03 > +0200) > > are available in the git

[U-Boot] [PATCH v5 0/1] zfs: Add ZFS filesystem support

2012-07-19 Thread Jorgen Lundman
Took a few hours to go back and start from GPL2 versions, but in the end we got rid of the grub_ defines as a bonus. Patch to add ZFS filesystem support to u-boot, based on GRUB sources. Thank you for your patience. Jorgen Lundman (1): Add ZFS support Makefile |2 +- c

Re: [U-Boot] [PATCH v2 2/2] km_arm: enable SDRAM window size fixup

2012-07-19 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot- > boun...@lists.denx.de] On Behalf Of Gerlando Falauto > Sent: 06 July 2012 17:20 > To: u-boot@lists.denx.de > Cc: Valentin Longchamp; Holger Brunck; Gerlando Falauto > Subject: [U-Boot] [PATCH v2 2/2] km_arm: enabl

Re: [U-Boot] [PATCH v2 1/2] kirkwood: implement kw_sdram_bs_set()

2012-07-19 Thread Prafulla Wadaskar
> -Original Message- > From: Gerlando Falauto [mailto:gerlando.fala...@keymile.com] > Sent: 06 July 2012 17:20 > To: u-boot@lists.denx.de > Cc: Gerlando Falauto; Prafulla Wadaskar; Wolfgang Denk; Valentin > Longchamp; Holger Brunck > Subject: [PATCH v2 1/2] kirkwood: implement kw_sdram_bs

Re: [U-Boot] [PATCH v2] kirkwood: add support for Iomega iConnect board

2012-07-19 Thread Prafulla Wadaskar
> -Original Message- > From: Luka Perkov [mailto:ub...@lukaperkov.net] > Sent: 19 July 2012 20:45 > To: u-boot@lists.denx.de > Cc: wojciech.dubo...@neratec.com; t...@night-shade.org.uk; Prafulla > Wadaskar > Subject: [PATCH v2] kirkwood: add support for Iomega iConnect board > > Add supp

Re: [U-Boot] [PATCH V2] i.MX: fsl_esdhc: allow use with cache enabled.

2012-07-19 Thread Dirk Behme
On 20.07.2012 04:32, Marek Vasut wrote: Dear Dirk Behme, [...] I'm not likely to have any time until after FTF next week. Any chance that a PPC maintainer can chime in here? I think WD applied the cache stub patch already. Can you try now please? Ping ;) Thanks Dirk I just noticed this

[U-Boot] [PATCH 3/3] mmc: s5p_sdhci: add the set_mmc_clk for cmu control

2012-07-19 Thread Jaehoon Chung
Samsung SoC use the cmu control to set clock. Signed-off-by: Jaehoon Chung Signed-off-by: Kyungmin Park --- drivers/mmc/s5p_sdhci.c |3 +++ drivers/mmc/sdhci.c |3 +++ include/sdhci.h |2 ++ 3 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/s5p_s

[U-Boot] [PATCH 1/3] mmc: s5p_sdhci: set the SDHCI_QUIRK_BROKEN_R1B

2012-07-19 Thread Jaehoon Chung
Samsung SoC is broken busy waiting for R1b type. And clk dealy control value is modified the previosuly value. (that value used at the s5p_mmc.c) Signed-off-by: Jaehoon Chung Signed-off-by: Kyungmin Park --- drivers/mmc/s5p_sdhci.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)

[U-Boot] [PATCH 2/3] mmc: s5p_mmc: fixed wrong function argument

2012-07-19 Thread Jaehoon Chung
Useless code is removed, and get buswidth value. Signed-off-by: Jaehoon Chung Signed-off-by: Kyungmin Park --- arch/arm/include/asm/arch-exynos/mmc.h |4 ++-- arch/arm/include/asm/arch-s5pc1xx/mmc.h |4 ++-- drivers/mmc/s5p_sdhci.c |9 - 3 files changed, 8

[U-Boot] [PATCH 0/3] mmc: sdhci: fixed some problems for Exynos

2012-07-19 Thread Jaehoon Chung
To use SDHCI for Samsung-SoC, Some problem is fixed. See the below mmcinfo message: 1. eMMC card: Device: SAMSUNG SDHCI Manufacturer ID: 15 OEM: 100 Name: VYL00 Tran Speed: 2500 Rd Block Len: 512 MMC version 4.0 High Capacity: Yes Capacity: 14.7 GiB Bus Width: 4-bit 2. SD-card Device: SAMSUNG

Re: [U-Boot] [PATCH v2] video: support exynos fimd driver for various exynos series

2012-07-19 Thread Minkyu Kang
On 19 July 2012 10:30, Donghwa Lee wrote: > This patch support exynos fimd driver for various exynos series different from > existing it supports only exynos4 chip. > > Signed-off-by: Donghwa Lee > Signed-off-by: Kyungmin Park > --- > Changes for v1: > - moves exynos_fimd_get_base_offset

[U-Boot] Pull request u-boot-blackfin.git (sf branch)

2012-07-19 Thread Mike Frysinger
The following changes since commit 66714b1a6df0a5a9f1656a6d4e6eea3c7ecdf7ae: Merge branch 'next' of git://git.denx.de/u-boot-video (2012-07-18 10:47:03 +0200) are available in the git repository at: git://www.denx.de/git/u-boot-blackfin.git sf for you to fetch changes up to 7d72b80a903f647

Re: [U-Boot] [PATCH 2/7] sf: winbond: Add support for the Winbond W25Q80BL

2012-07-19 Thread Mike Frysinger
On Thursday 24 May 2012 17:38:34 Stephen Warren wrote: > From: Stephen Warren > > This chip is present on the Compulab TrimSlice. > > Signed-off-by: Stephen Warren thanks, merged into my sf branch -mike signature.asc Description: This is a digitally signed message part. _

Re: [U-Boot] [PATCH 3/7] dfu: DFU backend implementation

2012-07-19 Thread Mike Frysinger
On Tuesday 03 July 2012 05:38:07 Lukasz Majewski wrote: > + puts("UPLOAD ... done\n"); > + puts("Ctrl+C to exit ...\n"); combine into a single puts() ? > +static int dfu_fill_entity(struct dfu_entity *dfu, char* s, int alt, > + char *interface, int

Re: [U-Boot] [PATCH 4/7] dfu: MMC specific routines for DFU operation

2012-07-19 Thread Mike Frysinger
On Tuesday 03 July 2012 20:13:37 Marek Vasut wrote: > Dear Tom Rini, > > On Wed, Jul 04, 2012 at 12:31:14AM +0200, Marek Vasut wrote: > > > Dear Tom Rini, > > > > > > > > + debug("%s: %s 0x%p\n", __func__, cmd_buf, cmd_buf); > > > > > > > > + run_command(cmd_buf, 0); > > > > > > > > >

Re: [U-Boot] [PATCH 5/7] dfu:cmd: Support for DFU u-boot command

2012-07-19 Thread Mike Frysinger
On Wednesday 04 July 2012 10:39:20 Marek Vasut wrote: > > Putting there the __func__ name would improve structure and speed up > > finding right place. > > And if you want to use even __LINE__, look up __stringify patch in the ML > archives ;-) ugh, no, let's not use __LINE__ anywhere other than

Re: [U-Boot] [PATCH 5/7] dfu:cmd: Support for DFU u-boot command

2012-07-19 Thread Mike Frysinger
On Tuesday 03 July 2012 17:32:54 Marek Vasut wrote: > > +int do_dfu(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) > > +{ > > + char *str_env = NULL, *env_bkp = NULL; > > + static char *s = "dfu"; > > + int ret = 0; > > + > > + if (argc < 3) > > + return CMD_RET_USAGE;

Re: [U-Boot] [PATCH 5/7] dfu:cmd: Support for DFU u-boot command

2012-07-19 Thread Mike Frysinger
On Tuesday 03 July 2012 05:38:09 Lukasz Majewski wrote: > --- /dev/null > +++ b/common/cmd_dfu.c > > +int do_dfu(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) static > +{ > + char *str_env = NULL, *env_bkp = NULL; no need to assign NULL here. str_env should be const. > + s

Re: [U-Boot] [PATCH 1/7] dfu:usb: Support for g_dnl composite download gadget.

2012-07-19 Thread Mike Frysinger
On Tuesday 03 July 2012 05:38:05 Lukasz Majewski wrote: > --- /dev/null > +++ b/drivers/usb/gadget/g_dnl.c > > +static const char shortname[] = "usb_dnl_"; shortname -> gadget_name_prefix > +static void g_dnl_suspend(struct usb_composite_dev *cdev) > +{ > + if (cdev->gadget->speed == USB_SPEE

Re: [U-Boot] [PATCH 1/2] common.h: Introduce DEFINE_CACHE_ALIGN_BUFFER

2012-07-19 Thread Mike Frysinger
On Saturday 07 July 2012 23:08:14 Marek Vasut wrote: > +/* > + * DEFINE_CACHE_ALIGN_BUFFER() is similar to ALLOC_CACHE_ALIGN_BUFFER, but > it's > + * purpose is to allow allocating aligned buffers outside of function scope. > + * Usage of this macro shall be avoided or used with extreme care! > +

Re: [U-Boot] Notes from the U-Boot BOF Meeting in Geneva 2012/07/12

2012-07-19 Thread Mike Frysinger
On Wednesday 18 July 2012 03:41:39 Wolfgang Denk wrote: > Graeme Russ wrote: > > Also, if one (and only one) maintainer is Cc'd on a patch, it would be > > nice is it was automatically assigned to them. Same goes for tags in the > > patch subject - there should be a way to automatically assign a fa

Re: [U-Boot] [V2 04/15] S3C64XX: add pwm for s3c64xx support

2012-07-19 Thread Minkyu Kang
On 20 July 2012 07:04, Zhong Hongbo wrote: > Hi Minkyu, > > I notice this patch are delegated to you. But the patchwork miss the > patch 4. > > If you need me to do anything, Please let me know. > Hm, strange :( Anyway.. I'll review your patchset, asap. Let's think about it after review. Thanks.

Re: [U-Boot] [PATCH 7/7] FAT: Make it possible to read from any file position

2012-07-19 Thread Mike Frysinger
On Thursday 19 July 2012 19:17:31 Benoît Thébaudeau wrote: > On Friday 20 July 2012 00:44:52 Mike Frysinger wrote: > > On Thursday 19 July 2012 18:03:06 Benoît Thébaudeau wrote: > > > --- u-boot-66714b1.orig/fs/fat/fat.c > > > +++ u-boot-66714b1/fs/fat/fat.c > > > > > > +__u8 get_contents_vfatname

Re: [U-Boot] [PATCH V2] i.MX: fsl_esdhc: allow use with cache enabled.

2012-07-19 Thread Marek Vasut
Dear Dirk Behme, [...] > >> I'm not likely to have any time until after FTF next week. > >> > >> Any chance that a PPC maintainer can chime in here? > > > > I think WD applied the cache stub patch already. Can you try now please? > > Ping ;) > > Thanks > > Dirk I just noticed this with late

[U-Boot] [PATCH] arm: rmobile: kzm9g: Fix CONFIG_BAUDRATE setting

2012-07-19 Thread Tetsuyuki Kobayshi
From: Tetsuyuki Kobayashi The value of CONFIG_BAUDRATE is treated as string and put as initial value of environment variable. If it begin with '(', it is wrongly parsed to 0 in number. So I removed '(' and ')'. Signed-off-by: Tetsuyuki Kobayashi --- Hi, Iwamatsu-san This is a kind of regress

[U-Boot] [PATCH v3] arm: rmobile: Add support Renesas SH73A0

2012-07-19 Thread Nobuhiro Iwamatsu
Renesas SH73A0 is CPU with Cortex-A9. This supports the basic register definition and GPIO. Signed-off-by: Nobuhiro Iwamatsu Signed-off-by: Nobuhiro Iwamatsu --- v2: Remove volatile qualifiers. v3: Split PFC support code. arch/arm/cpu/armv7/rmobile/Makefile | 13 +- arch/arm/cp

Re: [U-Boot] [PATCH v4 4/7] arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt

2012-07-19 Thread Nobuhiro Iwamatsu
Hi, Sorry, I dropped volatile qualifiers from register struct. Please remove volatile qualifiers from your code. Best regards, Nobuhiro 2012/7/17 Tetsuyuki Kobayshi : > From: Tetsuyuki Kobayashi > > Add dummy member to struct sh73a0_rwdt in sh73a0.h. > Without this, initializing watch dog t

Re: [U-Boot] [PATCH v4 5/7] MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g

2012-07-19 Thread Nobuhiro Iwamatsu
Applied to my arm/rmobile branch. Thank you. Best regards, Nobuhiro 2012/7/17 Tetsuyuki Kobayshi : > From: Tetsuyuki Kobayashi > > > Signed-off-by: Tetsuyuki Kobayashi > --- > Changes for v2: > - New > Changes for v3: > - No change > Changes for v4: > - No change > > MAINTAINERS |1 +

Re: [U-Boot] [PATCH v4 6/7] arm: rmobile: kzm9g: Modify bus controller setting for CS4

2012-07-19 Thread Nobuhiro Iwamatsu
Applied to my arm/rmobile branch. Thank you. Best regards, Nobuhiro 2012/7/17 Tetsuyuki Kobayshi : > From: Tetsuyuki Kobayashi > > Problem: > Linux kernel hangs up when it write a file to NFS mounted directory. > Solution: > Modify bus controller setting for CS4, which connected smsc9221 ether

Re: [U-Boot] [PATCH v4 7/7] arm: rmobile: kzm9g: enable reset command

2012-07-19 Thread Nobuhiro Iwamatsu
Applied to my arm/rmobile branch. Thank you. Best regards, Nobuhiro 2012/7/17 Tetsuyuki Kobayshi : > From: Tetsuyuki Kobayashi > > Do soft power on reset in U-Boot reset command. > > Signed-off-by: Tetsuyuki Kobayashi > --- > Changes for v4: > - New > > arch/arm/include/asm/arch-rmobile/sh7

Re: [U-Boot] [PATCH v4 3/7] arm: rmobile: kzm9g: change prompt to board specific

2012-07-19 Thread Nobuhiro Iwamatsu
Applied to my arm/rmobile branch. Thanks, Nobuhiro 2012/7/17 Tetsuyuki Kobayshi : > From: Tetsuyuki Kobayashi > > Change U-Boot prompt to board specific one. > > Signed-off-by: Tetsuyuki Kobayashi > Signed-off-by: Nobuhiro Iwamatsu > --- > Changes for v2: > - No change. Just rebased. > Chan

Re: [U-Boot] [PATCH v4 1/7] arm: rmobile: kzm9g: Modify sdram area

2012-07-19 Thread Nobuhiro Iwamatsu
Applied to my arm/rmobile branch. Thanks, Nobuhiro 2012/7/17 Tetsuyuki Kobayshi : > From: Tetsuyuki Kobayashi > > Reserve first 16MB for RT-CPU (as same as kernel config). > > Signed-off-by: Tetsuyuki Kobayashi > Signed-off-by: Nobuhiro Iwamatsu > --- > Changes for v2: > - No change. Just r

[U-Boot] [PATCH v2] arm: rmobile: Support build with gcc-4.6 or later

2012-07-19 Thread Nobuhiro Iwamatsu
Latest rmobile code was tested by using old gcc (gcc-4.4). When we use gcc-4.6 (or later), the build is made, but does not work. This solves a problem not to work by add -march=armv5 to compiple option when we built in gcc-4.6 (or later). I tested by linaro's compiler version 2012.04-20120426. Sig

[U-Boot] [PATCH v2 3/3] Makefile: cosmetic: optimize usage of LIBS-y

2012-07-19 Thread daniel . schwierzeck
From: Daniel Schwierzeck Signed-off-by: Daniel Schwierzeck --- Changes for v2: - optimized HAVE_VENDOR_COMMON_LIB macro as suggested by Mike - optimized HAVE_VENDOR_COMMON_LIB macro also in spl/Makefile --- Makefile | 17 ++--- spl/Makefile | 3 +-- 2 files changed, 7 insertio

Re: [U-Boot] [PATCH 5/7] FAT: get_cluster: Add buffer bouncing

2012-07-19 Thread Benoît Thébaudeau
On Friday 20 July 2012 00:48:26 Mike Frysinger wrote: > On Thursday 19 July 2012 18:02:37 Benoît Thébaudeau wrote: > > + if ((unsigned long)buffer & (ARCH_DMA_MINALIGN - 1)) { > > ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size); > > > > + debug("FAT: Misaligned bu

Re: [U-Boot] [PATCH 7/7] FAT: Make it possible to read from any file position

2012-07-19 Thread Benoît Thébaudeau
On Friday 20 July 2012 00:44:52 Mike Frysinger wrote: > On Thursday 19 July 2012 18:03:06 Benoît Thébaudeau wrote: > > --- u-boot-66714b1.orig/fs/fat/fat.c > > +++ u-boot-66714b1/fs/fat/fat.c > > > > +__u8 get_contents_vfatname_block[MAX_CLUSTSIZE] > > + __aligned(ARCH_DMA_MINALIGN); > > is the

Re: [U-Boot] [PATCH] rmobile: kzm9g: Fix warnin in cmp_loop function

2012-07-19 Thread Nobuhiro Iwamatsu
Hi, 2012/7/6 Albert ARIBAUD : > Hi Nobuhiro, > > On Fri, 6 Jul 2012 09:07:30 +0900, Nobuhiro Iwamatsu > wrote: >> cmp_loop function was used from the structure of register. >> And for the member of this structure, volatile is defined. >> Since a volatile declaration of cmp_loop function is not m

Re: [U-Boot] [PATCH 5/7] FAT: get_cluster: Add buffer bouncing

2012-07-19 Thread Mike Frysinger
On Thursday 19 July 2012 18:02:37 Benoît Thébaudeau wrote: > + if ((unsigned long)buffer & (ARCH_DMA_MINALIGN - 1)) { > ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size); > > + debug("FAT: Misaligned buffer address (%p)\n", buffer); i'd suggest making this a

Re: [U-Boot] [PATCH 7/7] FAT: Make it possible to read from any file position

2012-07-19 Thread Mike Frysinger
On Thursday 19 July 2012 18:03:06 Benoît Thébaudeau wrote: > --- u-boot-66714b1.orig/fs/fat/fat.c > +++ u-boot-66714b1/fs/fat/fat.c > > +__u8 get_contents_vfatname_block[MAX_CLUSTSIZE] > + __aligned(ARCH_DMA_MINALIGN); is there any reason for this to be exported ? could you mark it static ?

Re: [U-Boot] [PATCH] arm: rmobile: Support build with gcc-4.6 or later

2012-07-19 Thread Nobuhiro Iwamatsu
Hi, Thnak you for your comment. 2012/7/6 Tetsuyuki Kobayashi : > Hello, Iwamatsu-san > > (2012/07/06 9:06), Nobuhiro Iwamatsu wrote: >> Latest rmobile code was tested by using old gcc (gcc-4.4). >> When we use gcc-4.6 (or later), the build is made, but does not work. >> This solves a problem not

Re: [U-Boot] [V2 04/15] S3C64XX: add pwm for s3c64xx support

2012-07-19 Thread Zhong Hongbo
Hi Minkyu, I notice this patch are delegated to you. But the patchwork miss the patch 4. If you need me to do anything, Please let me know. Thanks, hongbo On 07/14/2012 12:11 AM, Zhong Hongbo wrote: > From: Zhong Hongbo > > Signed-off-by: Zhong Hongbo > --- > Change for V2: > - Change

Re: [U-Boot] [PATCH v2] arm: cm4008, cm41xx: Fix ROM relocation

2012-07-19 Thread Yann Vernier
On Thursday 12 July 2012 21:37:10 you wrote: > Did not hear any answer to this. Do we get a V3 for this patch? > > Or should I assume that the pversions to pick are V2 for 1/3 and 2/3, > and V3 for 3/3? Sorry for the late reply. Let me just sort this out. We're talking about three patches: 1/3

[U-Boot] [PATCH 7/7] FAT: Make it possible to read from any file position

2012-07-19 Thread Benoît Thébaudeau
When storage devices contain files larger than the embedded RAM, it is useful to be able to read these files by chunks, e.g. for a software update to the embedded NAND Flash from an external storage device (USB stick, SD card, etc.). Hence, this patch makes it possible by adding a new FAT API to r

[U-Boot] [PATCH 6/7] FAT: Simplify get_contents

2012-07-19 Thread Benoît Thébaudeau
One call to get_cluster can be factorized with another, so avoid duplicating code. Signed-off-by: Benoît Thébaudeau Cc: Wolfgang Denk --- .../fs/fat/fat.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git u-boot-66714b1.orig/fs/

[U-Boot] [PATCH 5/7] FAT: get_cluster: Add buffer bouncing

2012-07-19 Thread Benoît Thébaudeau
Add a buffer bouncing mechanism to get_cluster. This can be useful for misaligned applicative buffers passed through get_contents. This is required for the following patches in the case of data aligned differently relatively to buffers and clusters. Signed-off-by: Benoît Thébaudeau Cc: Wolfgang D

[U-Boot] [PATCH 4/7] FAT: Fix file contents listed as directory

2012-07-19 Thread Benoît Thébaudeau
With: fatls mmc 0 /dir/file dir: regular directory file: regular file The previous code read the contents of file as if it were directory entries to list. This patch refuses to list file contents as if it were a folder. Signed-off-by: Benoît Thébaudeau Cc: Wolfgang Denk --- .../fs/fat/fat.c

[U-Boot] [PATCH 3/7] FAT: Fix redundant sector read

2012-07-19 Thread Benoît Thébaudeau
With the previous code, the remaining prefetched sectors were read again after each sector. With this patch, each sector is read only once, thus making the prefetch useful. Signed-off-by: Benoît Thébaudeau Cc: Wolfgang Denk --- .../fs/fat/fat.c | 59 +

[U-Boot] [PATCH 2/7] FAT: cosmetic: Remove useless assignment

2012-07-19 Thread Benoît Thébaudeau
fatlength is not used after this assignment, so it is useless and can be removed. Signed-off-by: Benoît Thébaudeau Cc: Wolfgang Denk --- .../fs/fat/fat.c |1 - 1 file changed, 1 deletion(-) diff --git u-boot-66714b1.orig/fs/fat/fat.c u-boot-66714b1/fs/fat/

[U-Boot] [PATCH 1/7] FAT: get_fatent: Fix FAT boundary check

2012-07-19 Thread Benoît Thébaudeau
startblock must be taken into account in order not to read past the end of the FAT. Signed-off-by: Benoît Thébaudeau Cc: Wolfgang Denk --- .../fs/fat/fat.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git u-boot-66714b1.orig/fs/fat/fat.c

Re: [U-Boot] [PATCH 1/5] ehci: cosmetic: Define the number of qt_buffers

2012-07-19 Thread Marek Vasut
Dear Benoît Thébaudeau, > Signed-off-by: Benoît Thébaudeau > Cc: Marek Vasut > Cc: Ilya Yanok > Cc: Stefan Herbrechtsmeier Now this is pretty crazy, therefore cool! ;-) I'll dig into these later. But please, if I don't respond within 7 days, prod prod and prod. My memory is bad, so I usuall

Re: [U-Boot] [PATCH 1/7 V5] EXYNOS: CLK: Add i2c clock

2012-07-19 Thread Simon Glass
Hi, On Thu, Jul 19, 2012 at 8:20 AM, Rajeshwari Birje wrote: > Hi Simon Glass, > > The warning messages are fixed in following patch: > "[PATCH] ARM: EXYNOS: fixed compiler warning message" > They are applied to u-boot today by Minkyu Kang. OK great, thank you. Regards, Simon > > Thanks and Re

Re: [U-Boot] CONFIG_OF_EMBED/CONFIG_OF_SEPARATE and fdtcontroladdr

2012-07-19 Thread Simon Glass
Hi Michal, On Wed, Jul 4, 2012 at 7:43 AM, Michal Simek wrote: > Hi Simon, > > I have create another thread because this can be discuss separately. > > In board file there is this code (We discussed fdtcontroladdr separately). > > #ifdef CONFIG_OF_EMBED > /* Get a pointer to the FDT */ >

Re: [U-Boot] [PATCH v5 00/13] split tegra20 arm7 code into separate SPL

2012-07-19 Thread Simon Glass
Hi Tom, On Tue, Jul 3, 2012 at 12:47 AM, Tom Warren wrote: > Wolfgang, > >> -Original Message- >> From: Allen Martin [mailto:amar...@nvidia.com] >> Sent: Monday, June 25, 2012 3:55 PM >> To: Tom Warren; swar...@wwwdotorg.org; s...@chromium.org; >> thierry.red...@avionic-design.de >> Cc: u

[U-Boot] [PATCH 5/5] usb_storage: Adjust time-outs

2012-07-19 Thread Benoît Thébaudeau
Adjust time-out value for the new EHCI mechanism. Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Ilya Yanok Cc: Stefan Herbrechtsmeier --- .../common/usb_storage.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git u-boot-usb-1b4bd0e.orig/comm

[U-Boot] [PATCH 4/5] usb_storage: Restore non-EHCI support

2012-07-19 Thread Benoît Thébaudeau
The commit 5dd95cf made the MSC driver EHCI-specific. This patch restores a basic support of non-EHCI HCDs, like before that commit. The fallback transfer size is certainly not optimal, but at least it should work like before. Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Ilya Yanok Cc:

[U-Boot] [PATCH 3/5] usb_storage: Remove EHCI constraints

2012-07-19 Thread Benoît Thébaudeau
Now that the EHCI driver allocates its qTDs from the heap, the MSC driver is only limited by the SCSI commands it uses. Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Ilya Yanok Cc: Stefan Herbrechtsmeier --- .../common/usb_storage.c | 31 +---

[U-Boot] [PATCH 2/5] ehci-hcd: Boost transfer speed

2012-07-19 Thread Benoît Thébaudeau
This patch takes advantage of the hardware EHCI qTD queuing mechanism to avoid software overhead and to make transfers as fast as possible. The only drawback is a call to memalign. However, this is fast compared to the transfer timings, and the heap size to allocate is small, e.g. a little bit mor

[U-Boot] [PATCH 1/5] ehci: cosmetic: Define the number of qt_buffers

2012-07-19 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Ilya Yanok Cc: Stefan Herbrechtsmeier --- .../drivers/usb/host/ehci-hcd.c|4 ++-- .../drivers/usb/host/ehci.h| 11 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git u-b

Re: [U-Boot] [PATCH v7 00/15] split tegra20 arm7 code into separate SPL

2012-07-19 Thread Simon Glass
Hi Tom / Allen, On Thu, Jul 19, 2012 at 4:37 PM, Tom Warren wrote: > Allen, > >> -Original Message- >> From: Allen Martin [mailto:amar...@nvidia.com] >> Sent: Wednesday, July 18, 2012 5:02 PM >> To: Tom Warren >> Cc: swar...@wwwdotorg.org; s...@chromium.org; thierry.reding@avionic- >> des

[U-Boot] [PATCH V3 16/25] mxc_i2c: add i2c_regs argument to i2c_imx_stop

2012-07-19 Thread Troy Kisky
This is prep work for CONFIG_I2C_MULTI_BUS. Signed-off-by: Troy Kisky Acked-by: Marek Vasut --- v2: add ack --- drivers/i2c/mxc_i2c.c | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index cbb0fff..44a04b5

[U-Boot] [PATCH V3 21/25] i.mx: iomux-v3.h: move to imx-common include directory

2012-07-19 Thread Troy Kisky
Signed-off-by: Troy Kisky --- v2: no change --- arch/arm/cpu/armv7/mx6/iomux-v3.c |2 +- arch/arm/include/asm/arch-mx6/mx6x_pins.h |2 +- .../asm/{arch-mx6 => imx-common}/iomux-v3.h|0 board/freescale/mx6qarm2/mx6qarm2.c|2 +- boa

[U-Boot] [PATCH V3 19/25] mxc_i2c: finish adding CONFIG_I2C_MULTI_BUS support

2012-07-19 Thread Troy Kisky
Signed-off-by: Troy Kisky --- v2: global data in sram section --- drivers/i2c/mxc_i2c.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index c00ead1..73d8958 100644 --- a/drivers/i2c/mxc_i2c.c +++ b/drivers/i2c/mxc_i2c.c @@

[U-Boot] [PATCH V3 17/25] mxc_i2c: prep work for multiple busses support

2012-07-19 Thread Troy Kisky
Signed-off-by: Troy Kisky --- v2: moved global data to static ram section available before ram is initialized and removed typedef as suggested by Marek Vasut and Heiko Schocher make toggle_fn return int. v3: rename toggle to idle_bus --- drivers/i2c/mxc_i2c.c | 125 +++

[U-Boot] [PATCH V3 12/25] mxc_i2c: don't disable controller after every transaction

2012-07-19 Thread Troy Kisky
This helps in a multiple bus master environment which is why I also added a wait for bus idle. Signed-off-by: Troy Kisky --- v2: no change --- drivers/i2c/mxc_i2c.c | 28 +--- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/drivers/i2c/mxc_i2c.c b/drive

[U-Boot] [PATCH V3 22/25] i.mx: iomux-v3.c: move to imx-common directory

2012-07-19 Thread Troy Kisky
Signed-off-by: Troy Kisky --- v2: no change --- arch/arm/cpu/armv7/imx-common/Makefile|2 +- arch/arm/cpu/armv7/{mx6 => imx-common}/iomux-v3.c |0 arch/arm/cpu/armv7/mx6/Makefile |2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename arch/arm/cpu

[U-Boot] [PATCH V3 14/25] mxc_i2c: check for arbitration lost

2012-07-19 Thread Troy Kisky
No need to continue waiting if arbitration lost. Signed-off-by: Troy Kisky Acked-by: Marek Vasut --- v2: add ack --- drivers/i2c/mxc_i2c.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index ba2aad3..093a73f 100644 --- a/drivers/i2c

[U-Boot] [PATCH V3 25/25] mx6qsabrelite: add i2c multi-bus support

2012-07-19 Thread Troy Kisky
This includes bus recovery support. Signed-off-by: Troy Kisky --- v2: no change --- board/freescale/mx6qsabrelite/mx6qsabrelite.c | 50 +++-- include/configs/mx6qsabrelite.h |6 +-- 2 files changed, 48 insertions(+), 8 deletions(-) diff --git a/board/fre

[U-Boot] [PATCH V3 11/25] mxc_i2c: place i2c_reset code inline

2012-07-19 Thread Troy Kisky
imx_reset is only referenced once so move to that location. Signed-off-by: Troy Kisky Acked-by: Marek Vasut --- v2: add ack --- drivers/i2c/mxc_i2c.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 9efa9

[U-Boot] [PATCH V3 20/25] iomux-v3: remove include of mx6x_pins.h

2012-07-19 Thread Troy Kisky
This include is not needed. Signed-off-by: Troy Kisky --- v2: no change --- arch/arm/cpu/armv7/mx6/iomux-v3.c |1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/cpu/armv7/mx6/iomux-v3.c b/arch/arm/cpu/armv7/mx6/iomux-v3.c index 8785532..a0c4b15 100644 --- a/arch/arm/cpu/armv7/mx6/i

[U-Boot] [PATCH V3 24/25] imx-common: add i2c.c for bus recovery support

2012-07-19 Thread Troy Kisky
Signed-off-by: Troy Kisky --- v2: do nothing if bus is already idle print failure message if appropriate change enable_i2c_clock to enable_i2c_clk clear non-idle bus before calling bus_i2c_init. wait .2 seconds for bus to clear before returning error fix compiler warnings v3:

Re: [U-Boot] [PATCH 8/8 V6] CONFIG: SMDK5250: I2C: Enable I2C

2012-07-19 Thread Simon Glass
On Thu, Jul 19, 2012 at 12:40 PM, Rajeshwari Shinde wrote: > This enables I2C support on smdk5250. > Pinmux setting moved to board file to avoid repeated setting of > gpio lines. > > Signed-off-by: Alim Akhtar > Signed-off-by: Doug Anderson > Signed-off-by: Rajeshwari Shinde > Acked-by: Simon G

Re: [U-Boot] [PATCH 6/8 V6] I2C: Modify the I2C driver for EXYNOS5

2012-07-19 Thread Simon Glass
On Thu, Jul 19, 2012 at 12:39 PM, Rajeshwari Shinde wrote: > This patch modifies the S3C I2C driver to suppport EXYNOS5. > The cahnges made to driver are as follows: > - I2C base address is passed as a parameter to many > functions to avoid multiple #ifdef > - Channel initi

Re: [U-Boot] [PATCH 3/8 V6] EXYNOS5: define EXYNOS5_I2C_SPACING

2012-07-19 Thread Simon Glass
On Thu, Jul 19, 2012 at 12:39 PM, Rajeshwari Shinde wrote: > This patch defined EXYNOS5_I2C_SPACING used to calculate I2C channel > base address. > > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass > --- > Changes in V6: > - New patch. > arch/arm/include/asm/arch-exynos/cpu.h |

[U-Boot] [PATCH V3 15/25] mxc_i2c: add retries

2012-07-19 Thread Troy Kisky
Retry unexpected hardware errors. This will not retry a received NAK. Signed-off-by: Troy Kisky --- v2: if i2c_init_transfer_ returns no error, then return 0 --- drivers/i2c/mxc_i2c.c | 36 +++- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/dri

[U-Boot] [PATCH V3 23/25] i.mx53: add definition for I2C3_BASE_ADDR

2012-07-19 Thread Troy Kisky
Signed-off-by: Troy Kisky --- v2: no change --- arch/arm/include/asm/arch-mx5/imx-regs.h |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-mx5/imx-regs.h b/arch/arm/include/asm/arch-mx5/imx-regs.h index 88fb7cb..10f0ced 100644 --- a/arch/arm/include/asm/arch-mx5/i

[U-Boot] [PATCH V3 07/25] mxc_i2c.c: code i2c_probe as a 0 length i2c_write

2012-07-19 Thread Troy Kisky
Signed-off-by: Troy Kisky Acked-by: Marek Vasut Acked-by: Stefano Babic --- v2: add acks change comment --- --- drivers/i2c/mxc_i2c.c | 25 - 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 55a688a..62

[U-Boot] [PATCH V3 18/25] mxc_i2c: add bus recovery support

2012-07-19 Thread Troy Kisky
Add support for calling a function that will toggle the SCL line to return the bus to idle condition. The actual toggling function is added in a later patch. Signed-off-by: Troy Kisky --- v2: commit log change, global data in sram section. make toggle_i2c return int v3: rename toggle to idle_b

[U-Boot] [PATCH V3 08/25] mxc_i2c: combine i2c_imx_bus_busy and i2c_imx_trx_complete into wait_for_sr_state

2012-07-19 Thread Troy Kisky
Not using udelay gives a more accurate timeout. The current implementation of udelay in imx-common does not seem to wait at all for a udelay(1). Signed-off-by: Troy Kisky Acked-by: Marek Vasut V2: Added WATCHDOG_RESET as suggested by Marek Vasut add error message when stop fails mxc_i2c:

[U-Boot] [PATCH V3 05/25] mxc_i2c: create i2c_init_transfer

2012-07-19 Thread Troy Kisky
Initial code of i2c_read and i2c_write is identical, move to subroutine. Signed-off-by: Troy Kisky Acked-by: Marek Vasut Acked-by: Stefano Babic --- v2: add ack --- drivers/i2c/mxc_i2c.c | 44 ++-- 1 file changed, 18 insertions(+), 26 deletions(-) di

Re: [U-Boot] [PATCH 1/8 V6] EXYNOS: CLK: Add i2c clock

2012-07-19 Thread Simon Glass
On Thu, Jul 19, 2012 at 12:39 PM, Rajeshwari Shinde wrote: > This adds i2c clock information for EXYNOS5. > > Signed-off-by: Alim Akhtar > Signed-off-by: Doug Anderson > Signed-off-by: Rajeshwari Shinde > Acked-by: Simon Glass Acked-by: Simon Glass > --- > changes in V2: > - Incorpo

[U-Boot] [PATCH V3 10/25] mxc_i2c: place imx_start code inline

2012-07-19 Thread Troy Kisky
imx_start is only referenced once so move to that location. Signed-off-by: Troy Kisky Acked-by: Marek Vasut --- v2: add ack --- drivers/i2c/mxc_i2c.c | 53 +++-- 1 file changed, 20 insertions(+), 33 deletions(-) diff --git a/drivers/i2c/mxc_i2c.c

[U-Boot] [PATCH V3 13/25] mxc_i2c: change slave addr if conflicts with destination.

2012-07-19 Thread Troy Kisky
The i2c controller cannot be both master and slave in the same transaction. Signed-off-by: Troy Kisky --- v2: no change --- drivers/i2c/mxc_i2c.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 1a5e379..ba2aad3 100644 --- a/drivers/i2

[U-Boot] [PATCH V3 04/25] mxc_i2c: clear i2sr before waiting for bit

2012-07-19 Thread Troy Kisky
Let's clear the sr register before waiting for bit to be set, instead of clearing it after hardware sets it. No real operational difference here, but allows combining of i2c_imx_trx_complete and i2c_imx_bus_busy in later patches. Signed-off-by: Troy Kisky Acked-by: Marek Vasut --- v2: add ack a

[U-Boot] [PATCH V3 09/25] mxc_i2c: remove redundant read

2012-07-19 Thread Troy Kisky
wait_for_sr_state returns i2sr on success so no need to read again. Signed-off-by: Troy Kisky Acked-by: Marek Vasut --- v2: add ack --- drivers/i2c/mxc_i2c.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 01a6408..83c2fab 100644 --- a/

[U-Boot] [PATCH V3 01/25] mxc_i2c: fix i2c_imx_stop

2012-07-19 Thread Troy Kisky
Instead of clearing 2 bits, all the other bits were set because '|=' was used instead of '&='. Signed-off-by: Troy Kisky Acked-by: Marek Vasut Acked-by: Stefano Babic --- V2: add acks V3: rename toggle to idle_bus in patches 17,18,24 and a rebase Heiko, can you take 1-19 if no comments St

[U-Boot] [PATCH V3 06/25] mxc_i2c: call i2c_imx_stop on error in i2c_read/i2c_write

2012-07-19 Thread Troy Kisky
Signed-off-by: Troy Kisky --- drivers/i2c/mxc_i2c.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 4ce695a..55a688a 100644 --- a/drivers/i2c/mxc_i2c.c +++ b/drivers/i2c/mxc_i2c.c @@ -337,8 +337,10 @@ int i2c_rea

[U-Boot] [PATCH V3 03/25] mxc_i2c: create tx_byte function

2012-07-19 Thread Troy Kisky
Use tx_byte function instead of having 3 copies of the code. Signed-off-by: Troy Kisky Acked-by: Marek Vasut --- v2: add ack change ret to integer from unsigned --- drivers/i2c/mxc_i2c.c | 82 +++-- 1 file changed, 24 insertions(+), 58 deletions(-)

[U-Boot] [PATCH V3 02/25] mxc_i2c: remove ifdef of CONFIG_HARD_I2C

2012-07-19 Thread Troy Kisky
This is always selected when CONFIG_I2C_MXC is selected, so it adds no value. Signed-off-by: Troy Kisky Acked-by: Marek Vasut --- v2: add ack --- drivers/i2c/mxc_i2c.c |6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c inde

Re: [U-Boot] [PATCH 2/2] net: fec_mxc: Fix MDC for xMII

2012-07-19 Thread Joe Hershberger
Hi Benoît, On Thu, Jul 19, 2012 at 7:12 AM, Benoît Thébaudeau wrote: > The MDC signal is available on all xMII (i.e. 'not 7-wire') interfaces, so > mii_speed has to be set for all these interfaces, and not only for MII. > > Signed-off-by: Benoît Thébaudeau > Cc: Joe Hershberger > Cc: Stefano Ba

Re: [U-Boot] [PATCH] net: bootp: fix build

2012-07-19 Thread Joe Hershberger
Hi Benoît, On Thu, Jul 19, 2012 at 6:23 AM, Benoît Thébaudeau wrote: > Fix NetSetState function name used with CONFIG_BOOTP_MAY_FAIL. > > Signed-off-by: Benoît Thébaudeau > Cc: Joe Hershberger > --- Applied, thanks. -Joe ___ U-Boot mailing list U-Bo

Re: [U-Boot] [PATCH] net: link_local: fix build

2012-07-19 Thread Joe Hershberger
Hi Benoît, On Thu, Jul 19, 2012 at 6:19 AM, Benoît Thébaudeau wrote: > Fix comment within comment build error. > > Signed-off-by: Benoît Thébaudeau > Cc: Joe Hershberger > --- Applied, thanks. -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http:/

[U-Boot] (no subject)

2012-07-19 Thread Gigin Jose
http://blog.eduangelis.com.br/wp-content/plugins/zefeeldfego/work.php?shinning213.jpeg___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/3] ARM: mx28: Remove CONFIG_ARCH_CPU_INIT

2012-07-19 Thread Marek Vasut
Dear Albert ARIBAUD, > Hi Fabio, > > On Thu, 1 Mar 2012 19:31:54 +0100, Marek Vasut wrote: > > > No need to define CONFIG_ARCH_CPU_INIT. > > > > > > All mx28 based boards should use arch_cpu_init(). > > > > Acked-by: Marek Vasut > > > > > Signed-off-by: Fabio Estevam > > > --- > > Applied

Re: [U-Boot] [PATCH] i.MX28: bug fixes in PMU configuration code

2012-07-19 Thread Marek Vasut
Dear Stathis Voukelatos, > Fixed some typos in the i.MX28 PMU code that sets up the VDDD > and VDDIO power rails. In addition the VDDD and VDDIO brownout > offset values should be divided by a step size before being > programmed to the corresponding registers. > > Signed-off-by: Stathis Voukelato

[U-Boot] Pull request: u-boot-net.git master

2012-07-19 Thread Joe Hershberger
The following changes since commit 66714b1a6df0a5a9f1656a6d4e6eea3c7ecdf7ae: Wolfgang Denk (1): Merge branch 'next' of git://git.denx.de/u-boot-video are available in the git repository at: git://git.denx.de/u-boot-net.git master benoit.thebaudeau@advans (2): net: bootp: fix bu

Re: [U-Boot] [PATCH v4 1/2] tools, config.mk: add binutils-version

2012-07-19 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/19/2012 09:43 AM, Mike Frysinger wrote: > On Thursday 19 July 2012 11:38:39 Tom Rini wrote: >> On 07/19/2012 08:21 AM, Mike Frysinger wrote: >>> On Thursday 19 July 2012 11:08:10 Tom Rini wrote: On 07/18/2012 08:11 PM, Mike Frysinger wrote:

  1   2   >