[U-Boot] [PATCH v2] usbh/ehci: Increase timeout for enumeration

2012-12-07 Thread Vipin Kumar
The current logic reads the port status just once after usb_hub_power_on and expects the portstatus and portchange to report the connection status immediately and correctly. Few pen drives are not able to report both of them immediately ie. those pens report the connection change but not the conne

Re: [U-Boot] [PATCH 0/5 v2] Add DT based ethernet driver for SMDK5250

2012-12-07 Thread Minkyu Kang
Dear Hatim On 06/11/12 19:13, Hatim Ali wrote: > This patch series enables the DT support on SMDK5250. > Ethernet is the first driver whose discovery is based on DT node. > More DT based drivers to be added subsequently > > Changes since v1: > - Renamed the smdk5250.h file to exynos5250-dt.

Re: [U-Boot] [PATCH v4 0/7] gpt: GUID Partition Table (GPT) restoration

2012-12-07 Thread Piotr Wilczek
Dear Tom, -- Samsung Poland R&D Center | Linux Platform Group > -Original Message- > From: Tom Rini [mailto:tom.r...@gmail.com] On Behalf Of Tom Rini > Sent: Thursday, December 06, 2012 9:41 PM > To: Piotr Wilczek > Cc: u-boot@lists.denx.de; Stephen Warren; Kyungmin Park > Subject: Re: [U

Re: [U-Boot] [PATCH resend] misc/crypto: Add support for C3

2012-12-07 Thread Vipin Kumar
On 12/6/2012 5:26 PM, Stefan Roese wrote: On 12/06/2012 10:15 AM, Vipin Kumar wrote: C3 is a cryptographic controller which is used by the SPL when DDR ECC support is enabled. Basically, the DDR ECC feature requires the initialization of ECC values before the DDR can actually be used. To accomp

Re: [U-Boot] [PATCH 3/4] cfi_flash: Enable PPB protection for all AMD cmdset flash chips

2012-12-07 Thread Holger Brunck
Hi Stefan, On 12/06/2012 03:44 PM, Stefan Roese wrote: > Not only Spansion supports the Persistent Protection Bits (PPB) locking. > Other devices like the Micron JS28F512M29EWx also support this type > of locking/unlocking. Detection of support is done in the same way as > done for the Spansion ch

Re: [U-Boot] [PATCH 2/4 v2] cfi_flash: Read PPB sector protection from device for AMD/Spansion chips

2012-12-07 Thread Holger Brunck
Hi Stefan, On 12/06/2012 03:44 PM, Stefan Roese wrote: > Patch 66863b05 [cfi_flash: add support for Spansion flash PPB sector > protection] introduced the PPB (Persistent Protection Bit) locking for > Spansion chips. But right now the sector protection status (locked vs > unlocked) is set to unloc

Re: [U-Boot] [PATCH 4/4] cfi_flash: Report Advanced Sector Protection (PPB) with flinfo cmd

2012-12-07 Thread Holger Brunck
Hi Stefan, On 12/06/2012 03:44 PM, Stefan Roese wrote: > Report the usage of the Advanced Sector Protection (PPB) to the user > upon 'flinfo' command. E.g: > > Bank # 1: CFI conformant flash (16 x 16) Size: 64 MB in 512 Sectors > AMD Standard command set, Manufacturer ID: 0x01, Device ID: 0x22

Re: [U-Boot] [PATCH resend] misc/crypto: Add support for C3

2012-12-07 Thread Stefan Roese
On 12/07/2012 10:11 AM, Vipin Kumar wrote: >> I'm not so sure about the name of this "driver" and its location in >> drivers/misc. Is "C3" a generic crypto IP name? On which devices/SoC's >> is it currently implemented? Perhaps the name should be a little less > > It is an ST peripheral and is use

Re: [U-Boot] [PATCH resend 2/2] arm/boards: Define a new config option CONFIG_BOOT_PARAMS_P

2012-12-07 Thread Vipin Kumar
On 12/6/2012 4:56 PM, Stefan Roese wrote: On 12/06/2012 10:56 AM, Vipin Kumar wrote: +#ifdef CONFIG_BOOT_PARAMS_P + /* Boot params passed to Linux */ + gd->bd->bi_boot_params = CONFIG_BOOT_PARAMS_P; +#endif Again an ugly #ifdef. Why not something like this instead: Define a def

Re: [U-Boot] [PATCH resend 1/2] u-boot/spl: Add u-boot-spl.img to u-boot targets

2012-12-07 Thread Vipin Kumar
On 12/6/2012 5:38 PM, Stefan Roese wrote: On 12/06/2012 10:29 AM, Vipin Kumar wrote: Signed-off-by: Vipin Kumar Is this new build target really needed? Please take a look at the recently added/renamed targets (e.g. u-boot-with-spl.bin or u-boot-img.bin). Hmm, this is an mkimage version of s

Re: [U-Boot] [PATCH 0/6] EXYNOS: Add support for Exynos4x10

2012-12-07 Thread Minkyu Kang
2012년 10월 13일 토요일에 Piotr Wilczek님이 작성: > This patch series adds Register base addresses, clock, gpio, power > and system structures for Exynos4x10. > > Piotr Wilczek (6): > Exynos: Exynos4x10: Add base addresses for Exynos4x10 > Exynos: Exynos4x10: Add clock structure for exynos4x10 > Exynos

Re: [U-Boot] [PATCH v2] usbh/ehci: Increase timeout for enumeration

2012-12-07 Thread Igor Grinberg
On 12/07/12 10:58, Vipin Kumar wrote: > The current logic reads the port status just once after usb_hub_power_on and > expects the portstatus and portchange to report the connection status > immediately and correctly. > > Few pen drives are not able to report both of them immediately ie. those pen

Re: [U-Boot] [PATCH v2] usbh/ehci: Increase timeout for enumeration

2012-12-07 Thread Igor Grinberg
On 12/07/12 12:03, Igor Grinberg wrote: > On 12/07/12 10:58, Vipin Kumar wrote: >> The current logic reads the port status just once after usb_hub_power_on and >> expects the portstatus and portchange to report the connection status >> immediately and correctly. >> >> Few pen drives are not able

[U-Boot] [Resend Patch v2 0/3] EXYNOS: Add support for Exynos4x12

2012-12-07 Thread Chander Kashyap
This patch series popultes Register addresses, clock structure and gpio structure for Exynos4x12. Rebase to latest u-boot-samsung tree. Chander Kashyap (3): EXYNOS: EXYNOS4X12: Populate Exynos4x12 register addresses EXYNOS: EXYNOS4X12: Add clock structure for EXYNOS4X12 EXYNOS: EXYNOS4X12: A

[U-Boot] [Resend Patch v2 1/3] EXYNOS: EXYNOS4X12: Populate Exynos4x12 register addresses

2012-12-07 Thread Chander Kashyap
This patch populates base addresses of Exynos4x12 registers. Signed-off-by: Chander Kashyap --- arch/arm/include/asm/arch-exynos/cpu.h | 48 +++- 1 file changed, 41 insertions(+), 7 deletions(-) diff --git a/arch/arm/include/asm/arch-exynos/cpu.h b/arch/arm/includ

[U-Boot] [Resend Patch v2 2/3] EXYNOS: EXYNOS4X12: Add clock structure for EXYNOS4X12

2012-12-07 Thread Chander Kashyap
This patch adds clock structure for Exynos4x12. Signed-off-by: Chander Kashyap --- arch/arm/include/asm/arch-exynos/clock.h | 276 ++ 1 file changed, 276 insertions(+) diff --git a/arch/arm/include/asm/arch-exynos/clock.h b/arch/arm/include/asm/arch-exynos/clock.h

[U-Boot] [Resend Patch v2 3/3] EXYNOS: EXYNOS4X12: Add gpio structure for EXYNOS4X12

2012-12-07 Thread Chander Kashyap
This patch adds gpio structure for Exynos4x12. Signed-off-by: Chander Kashyap --- arch/arm/include/asm/arch-exynos/gpio.h | 85 +++ 1 file changed, 85 insertions(+) diff --git a/arch/arm/include/asm/arch-exynos/gpio.h b/arch/arm/include/asm/arch-exynos/gpio.h inde

Re: [U-Boot] [PATCH v2] usbh/ehci: Increase timeout for enumeration

2012-12-07 Thread Vipin Kumar
On 12/7/2012 3:48 PM, Igor Grinberg wrote: On 12/07/12 12:03, Igor Grinberg wrote: On 12/07/12 10:58, Vipin Kumar wrote: The current logic reads the port status just once after usb_hub_power_on and expects the portstatus and portchange to report the connection status immediately and correctly

Re: [U-Boot] [PATCH resend 1/2] u-boot/spl: Add u-boot-spl.img to u-boot targets

2012-12-07 Thread Stefan Roese
On 12/07/2012 10:47 AM, Vipin Kumar wrote: > On 12/6/2012 5:38 PM, Stefan Roese wrote: >> On 12/06/2012 10:29 AM, Vipin Kumar wrote: >>> Signed-off-by: Vipin Kumar >> >> Is this new build target really needed? Please take a look at the >> recently added/renamed targets (e.g. u-boot-with-spl.bin or

Re: [U-Boot] [PATCH 01/14] smdk6400: Move smdk6400 board from Makefile to boards.cfg

2012-12-07 Thread Minkyu Kang
On 15/08/12 22:48, Zhong Hongbo wrote: > From: Zhong Hongbo > > Signed-off-by: Zhong Hongbo > --- > Change for V4: > - None. > Change for V3: > - None. > Change for V2: > - None. > --- > Makefile | 20 > board/samsung/smdk6400/con

Re: [U-Boot] [PATCH 03/14] S3C64XX: Use readl/writel to operate uart

2012-12-07 Thread Minkyu Kang
On 15/08/12 22:48, Zhong Hongbo wrote: > From: Zhong Hongbo > > Signed-off-by: Zhong Hongbo > --- > Change for V4: > - None. > Change for v3: > - None. > Change for V2: > - Change the type of the return value from unsinged int > to unsinged long for s3c64xx_get_base_ua

Re: [U-Boot] [PATCH 05/14] S3C64XX: reference s5p cpu time system for s3c64xx timer

2012-12-07 Thread Minkyu Kang
On 15/08/12 22:48, Zhong Hongbo wrote: > From: Zhong Hongbo > > The old s3c64xx timer is not work normal, Adopt s5p time design, > It work perfect. > > Signed-off-by: Zhong Hongbo > --- > Change for V4: > - None. > Change for V3: > - None. > Change for V2: > - Delete const key

Re: [U-Boot] [PATCH 09/14] S3C64XX: Change SROM init to use read/write operation

2012-12-07 Thread Minkyu Kang
On 15/08/12 22:48, Zhong Hongbo wrote: > From: Zhong Hongbo > > Signed-off-by: Zhong Hongbo > --- > Change for V4: > - None. > Change for V3: > - None. > Change for V2: > - Change the type of return for s3c64xx_get_base_sromc function. > --- > arch/arm/cpu/arm1176/s3c64xx/Make

Re: [U-Boot] [PATCH 2/4] env_nand.c: support falling back to redundant env when writing

2012-12-07 Thread Phil Sutter
Scott, On Thu, Dec 06, 2012 at 12:18:39PM -0600, Scott Wood wrote: > On 11/28/2012 03:06:00 PM, Phil Sutter wrote: > > Hi, > > > > On Tue, Nov 27, 2012 at 04:04:15PM -0600, Scott Wood wrote: > > > On 11/21/2012 06:59:19 AM, Phil Sutter wrote: > > > > Without this patch, when the currently chosen

Re: [U-Boot] [PATCH resend 1/2] u-boot/spl: Add u-boot-spl.img to u-boot targets

2012-12-07 Thread Vipin Kumar
On 12/7/2012 4:14 PM, Stefan Roese wrote: On 12/07/2012 10:47 AM, Vipin Kumar wrote: On 12/6/2012 5:38 PM, Stefan Roese wrote: On 12/06/2012 10:29 AM, Vipin Kumar wrote: Signed-off-by: Vipin Kumar Is this new build target really needed? Please take a look at the recently added/renamed target

Re: [U-Boot] [PATCH resend 1/2] u-boot/spl: Add u-boot-spl.img to u-boot targets

2012-12-07 Thread Stefan Roese
On 12/07/2012 12:55 PM, Vipin Kumar wrote: >> Or does your patch "only" introduce the mkimage SPL image version? >> > > Yes, it introduces only mkimage SPL image version. This is necessary for > a few booting options where we absolutely require a different SPL binary > with an mkimage header >

Re: [U-Boot] [PATCH] mxs: SPL: Generalize memory initialization

2012-12-07 Thread Stefano Babic
On 04/12/2012 14:15, Otavio Salvador wrote: > Use a generic 'dram_vals[]' array that has the full initialization > sequence and rename the initialization method so it doesn't has a > frequency on its name. > > Signed-off-by: Otavio Salvador > --- Applied to u-boot-imx, thanks. Best regards, Ste

Re: [U-Boot] [PATCH v3 1/3] apf27: add missing constant to mx27

2012-12-07 Thread Stefano Babic
On 01/12/2012 11:44, Philippe Reynes wrote: > Add some missing constant (chip select, ...), and > a file mxc_nand.h with the NFC constant. > > Signed-off-by: Philippe Reynes > Signed-off-by: Eric Jarrige > --- Hi Philippe, > arch/arm/cpu/arm926ejs/mx27/asm-offsets.c | 34 > arc

Re: [U-Boot] [PATCH resend 2/2] arm/boards: Define a new config option CONFIG_BOOT_PARAMS_P

2012-12-07 Thread Wolfgang Denk
Dear Vipin Kumar, In message <50c1b9a6.1020...@st.com> you wrote: > > Can you please suggest what is the best way here. Wolfgang, Albert ? I don't like this patch at all. It introduces yet more architecture specific stuff to lib/board.c, while we actually should be working on coming up with a c

Re: [U-Boot] [PATCH v2 2/3] apf27: add support for the armadeus APF27 board

2012-12-07 Thread Stefano Babic
On 01/12/2012 11:44, Philippe Reynes wrote: > Signed-off-by: Philippe Reynes > Signed-off-by: Eric Jarrige > Signed-off-by: Nicolas Colombain > --- > MAINTAINERS |5 + > board/armadeus/apf27/Makefile | 48 +++ > board/armadeus/apf27/apf27.c| 347

Re: [U-Boot] [U-Boot,1/3] lzma: update to lzma sdk 9.20

2012-12-07 Thread Tom Rini
On Sat, Nov 03, 2012 at 11:45:19AM -, Simon Glass wrote: > From: Stefan Reinauer > > Updated code taken from latest lzma sdk release 9.20 at > http://downloads.sourceforge.net/sevenzip/lzma920.tar.bz2 > > This generates quite a lot of checkpatch warnings, but I guess we > need to keep the c

Re: [U-Boot] Allow CONFIG_BOARD_SIZE_LIMIT to be specified in hex

2012-12-07 Thread Tom Rini
On Thu, Nov 08, 2012 at 10:19:09AM -, Joe Hershberger wrote: > Use the printf command to convert the number in any valid format into > the expected decimal format. The resulting errors should be printed to > stderr. > > Signed-off-by: Joe Hershberger Applied to u-boot/master, thanks! --

Re: [U-Boot] MAINTAINERS: Add a pointer to the custodians page.

2012-12-07 Thread Tom Rini
On Sat, Nov 24, 2012 at 02:24:19AM -, Robert P. J. Day wrote: > Since there's no obvious mention, add a brief reference to the > custodians page at www.denx.de > > Signed-off-by: Robert P. J. Day Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] cmd_led.c: Standardize format of help and usage info.

2012-12-07 Thread Tom Rini
On Sun, Nov 11, 2012 at 10:39:07AM -, Robert P. J. Day wrote: > Current "led" help and usage info has redundancy and extraneous > newlines, tweak it to be consistent with other commands. > > Signed-off-by: Robert P. J. Day Applied to u-boot/master, thanks! -- Tom signature.asc Descripti

Re: [U-Boot] [U-Boot,v2] add include/u-boot.lst to .gitignore

2012-12-07 Thread Tom Rini
On Sat, Nov 17, 2012 at 08:22:47AM -, Luka Perkov wrote: > u-boot.lst is located in include directory. Update .gitignore file > accordingly. > > Signed-off-by: Luka Perkov Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH 1/2] MAKEALL: Fix kill_children

2012-12-07 Thread Tom Rini
On Tue, Oct 30, 2012 at 08:55:20PM -0500, Joe Hershberger wrote: > When building in parallel, make sure that we look up the children > based on the the actual process group id instead of just assuming > that the MAKEALL pid is the process group id. > > Also ensure that logs from incomplete builds

Re: [U-Boot] [PATCH 2/2] MAKEALL: Add options for incremental building

2012-12-07 Thread Tom Rini
On Tue, Oct 30, 2012 at 08:55:21PM -0500, Joe Hershberger wrote: > --continue will allow you to the MAKEALL and pick up where > you left off. > > --rebuild-errors will allow you to rebuild only those boards which > had trouble on the last run of MAKEALL, allowing you to quickly test > a simple f

Re: [U-Boot] [PATCH v2 1/2] cbfs: Remove mention of CREDITS files

2012-12-07 Thread Tom Rini
On Mon, Nov 05, 2012 at 02:16:24PM -0800, Simon Glass wrote: > As requested by Wolfgang, remove references to CREDITS in the CBFS > files. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH v2 2/2] cbfs: Add docbook template

2012-12-07 Thread Tom Rini
On Mon, Nov 05, 2012 at 02:16:25PM -0800, Simon Glass wrote: > This adds a docbook template for fs, and makes CBFS use it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-B

Re: [U-Boot] serial_pl011: Set RTS during initialization

2012-12-07 Thread Tom Rini
On Sun, Dec 02, 2012 at 05:09:26PM -, Rob Herring wrote: > From: Joshua Housh > > If the pl011 is connected to another device which has hardware > flow-control on, characters are never received by the pl011. > Asserting RTS when flow-control is off will have no effect. > > This is in line w

Re: [U-Boot] Change e-mail address of Luka Perkov

2012-12-07 Thread Tom Rini
On Mon, Dec 03, 2012 at 03:24:15AM -, Luka Perkov wrote: > Change e-mail address of Luka Perkov. > > Signed-off-by: Luka Perkov > CC: Luka Perkov Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot

Re: [U-Boot] [RESEND 0/4] fs:ext4:fix: Fixes for ext4write command

2012-12-07 Thread Tom Rini
On Wed, Dec 05, 2012 at 07:06:36PM +0100, Lukasz Majewski wrote: > Several fixes for ext4write command including: > - compiler warnings suppress > - lldiv() and do_div() instead of "plain" / and % operands for 64-32 bits > - Proper initialization of dev_desc > - Proper definition of cache aligned

Re: [U-Boot] part: check each variable for capability calculation

2012-12-07 Thread Tom Rini
On Tue, Nov 06, 2012 at 03:33:12PM -, Jerry Huang wrote: > From: Jerry Huang > > In order to calculate the capability, we use the below expression to check: > ((dev_desc->lba * dev_desc->blksz)>0L) > If the capability is greater than 4GB (e.g. 8GB = 8 * 1024 * 104 * 1024), > the result will

Re: [U-Boot] README: Explain how to generate the CHANGELOG file.

2012-12-07 Thread Tom Rini
On Wed, Nov 14, 2012 at 02:03:20AM -, Robert P. J. Day wrote: > Since the top-level README file refers the reader to the CHANGELOG, > it's worth mentioning how to generate it. > > Signed-off-by: Robert P. J. Day Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] Please pull u-boot-x86.git

2012-12-07 Thread Tom Rini
On Thu, Dec 06, 2012 at 02:39:37PM -0800, Simon Glass wrote: > Hi Tom, > > I have included a config change 'Fix coreboot config to boot on > Chromebook' as I found after all this work that it did not actually > boot correctly without this. I hope that is ok. This should be the > final pull reques

Re: [U-Boot] [PATCH 2/4] env_nand.c: support falling back to redundant env when writing

2012-12-07 Thread Phil Sutter
Scott, On Fri, Dec 07, 2012 at 12:53:34PM +0100, Phil Sutter wrote: > On Thu, Dec 06, 2012 at 12:18:39PM -0600, Scott Wood wrote: > > On 11/28/2012 03:06:00 PM, Phil Sutter wrote: > > > Hi, > > > > > > On Tue, Nov 27, 2012 at 04:04:15PM -0600, Scott Wood wrote: > > > > On 11/21/2012 06:59:19 AM,

[U-Boot] [PULL] : Please pull u-boot-imx

2012-12-07 Thread Stefano Babic
Hi Albert, please pull from u-boot-imx, thanks ! The following changes since commit 1d4fd0dc3b45de7b7a706285845ef5b527422014: mx28: Fix typo in POWER_DCLIMITS_NEGLIMIT_OFFSET (2012-11-24 16:21:37 +0100) are available in the git repository at: git://www.denx.de/git/u-boot-imx.git master fo

Re: [U-Boot] [PATCH 2/4] env_nand.c: support falling back to redundant env when writing

2012-12-07 Thread Scott Wood
On 12/07/2012 10:58:53 AM, Phil Sutter wrote: Scott, On Fri, Dec 07, 2012 at 12:53:34PM +0100, Phil Sutter wrote: > On Thu, Dec 06, 2012 at 12:18:39PM -0600, Scott Wood wrote: > > On 11/28/2012 03:06:00 PM, Phil Sutter wrote: > > > Hi, > > > > > > On Tue, Nov 27, 2012 at 04:04:15PM -0600, Scott

Re: [U-Boot] [PATCH] fsmc: Skip BBT scan for bad block management

2012-12-07 Thread Scott Wood
On 12/06/2012 10:38:32 PM, Vipin Kumar wrote: On 12/7/2012 12:57 AM, Scott Wood wrote: On 12/06/2012 01:21:28 AM, Vipin Kumar wrote: This patch forces to read the bad block marker from location 0 in large page nand devices and location 5 in small page devices. Signed-off-by: Vipin Kumar Review