[U-Boot] [PATCH] Fix typo: commmand -> command.

2015-11-24 Thread Vagrant Cascadian
Signed-off-by: Vagrant Cascadian --- doc/README.nand | 2 +- doc/README.update| 2 +- drivers/block/ahci.c | 4 ++-- drivers/block/fsl_sata.c | 2 +- include/configs/astro_mcf5373l.h | 2 +- 5 files changed, 6

[U-Boot] [PATCH] Fix typo: firstly -> first.

2015-11-24 Thread Vagrant Cascadian
Signed-off-by: Vagrant Cascadian --- drivers/block/ahci.c | 4 ++-- drivers/mtd/nand/pxa3xx_nand.c | 2 +- drivers/serial/serial.c| 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/block/ahci.c b/drivers/block/ahci.c index

Re: [U-Boot] [PATCH] Fix typo: commmand -> command.

2015-11-24 Thread Joe Hershberger
On Tue, Nov 24, 2015 at 4:45 PM, Vagrant Cascadian wrote: > Signed-off-by: Vagrant Cascadian Reviewed-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] Fix typo: firstly -> first.

2015-11-24 Thread Marek Vasut
On Tuesday, November 24, 2015 at 11:46:24 PM, Vagrant Cascadian wrote: > Signed-off-by: Vagrant Cascadian > --- > > drivers/block/ahci.c | 4 ++-- > drivers/mtd/nand/pxa3xx_nand.c | 2 +- > drivers/serial/serial.c| 2 +- > 3 files changed, 4 insertions(+),

[U-Boot] [PATCH] arm: novena: Fix EEPROM i2c configuration

2015-11-24 Thread Marek Vasut
On Novena, the DRAM SPD is connected to i2c1 while the Utility EEPROM is connected to i2c3. Now that the EEPROM handling in U-Boot is fixed, also fix this bit on Novena. Signed-off-by: Marek Vasut Cc: Sean Cross Cc: Stefano Babic ---

[U-Boot] [PATCH] eeprom: Zap CONFIG_SYS_I2C_MULTI_EEPROMS

2015-11-24 Thread Marek Vasut
This symbol is no longer used anywhere, remove it. Signed-off-by: Marek Vasut Cc: Heiko Schocher Cc: Tom Rini --- include/configs/am335x_sl50.h| 1 - include/configs/baltos.h | 1 - include/configs/bav335x.h| 1 -

Re: [U-Boot] [PATCH V2] arm: novena: Switch novena to config_distro_bootcmd

2015-11-24 Thread Marek Vasut
On Tuesday, November 24, 2015 at 02:13:14 AM, Vagrant Cascadian wrote: > On 2015-11-10, Marek Vasut wrote: > > Switch Novena to distro bootcmd, so it can be used with debian easily. > > ... > > > diff --git a/include/configs/novena.h b/include/configs/novena.h > > index 718989f..3bb406d 100644 >

[U-Boot] [PATCH V2] arm: novena: Switch novena to config_distro_bootcmd

2015-11-24 Thread Marek Vasut
From: Vagrant Cascadian Switch Novena to distro bootcmd, so it can be used with debian easily. Signed-off-by: Vagrant Cascadian Signed-off-by: Marek Vasut Cc: Sean Cross Cc: Stefano Babic ---

Re: [U-Boot] [PATCH V2] arm: novena: Switch novena to config_distro_bootcmd

2015-11-24 Thread Marek Vasut
On Monday, November 23, 2015 at 09:02:36 PM, Vagrant Cascadian wrote: > On 2015-11-10, Marek Vasut wrote: > > Switch Novena to distro bootcmd, so it can be used with debian easily. > > > > diff --git a/include/configs/novena.h b/include/configs/novena.h > > index 718989f..3bb406d 100644 > > ---

Re: [U-Boot] [PATCH] common: image-fdt: correct fdt_blob for IMAGE_FORMAT_LEGACY

2015-11-24 Thread Peng Fan
Hi Simon, On Tue, Nov 24, 2015 at 12:04:56PM -0700, Simon Glass wrote: >Hi Peng, > >On 24 November 2015 at 01:54, Peng Fan wrote: >> If condition of "(load == image_start || load == image_data)" is true, >> should use "fdt_addr = load;", but not "fdt_blob = (char

Re: [U-Boot] [PATCH v3 05/11] dm: timer: Support 64-bit counter

2015-11-24 Thread Bin Meng
Hi Simon, On Wed, Nov 25, 2015 at 4:31 AM, Simon Glass wrote: > From: Bin Meng > > There are timers with a 64-bit counter value but current timer > uclass driver assumes a 32-bit one. Modify timer_get_count() > to ask timer driver to always return a 64-bit

Re: [U-Boot] [PATCH] common: miiphyutil: no need to check name of mii_dev

2015-11-24 Thread Bin Meng
On Tue, Nov 24, 2015 at 5:03 PM, Peng Fan wrote: > The entry name of mii_dev is an array not pointer, so > no need to check. > > Signed-off-by: Peng Fan > Cc: Joe Hershberger > Cc: Simon Glass > Cc: Bin

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-11-24 Thread Huan Wang
> On 11/23/2015 11:19 PM, Alexander Stein wrote: > > On Monday 23 November 2015 10:51:49, York Sun wrote: > >> On 11/04/2015 12:19 AM, Alexander Stein wrote: > >>> When reading a large blob. e.g. a linux kernel (several MiBs) a > >>> watchdog timeout might occur meanwhile. So pet the watchdog

Re: [U-Boot] [PATCH v3 05/11] dm: timer: Support 64-bit counter

2015-11-24 Thread Thomas Chou
Hi Simon, On 2015年11月25日 02:23, Simon Glass wrote: Please try u-boot-dm/testing. This seems to be a different problem: avr32: + grasshopper +lib/time.c:20: warning: register used for two global register variables I am using the avr32 toolchain from kernel.org, and couldn't see the

Re: [U-Boot] [PATCH v3 1/3] cmd_sf: add 'release' command

2015-11-24 Thread Stefan Roese
Hi Valentine, On 24.11.2015 17:02, Valentin Longchamp wrote: Does your board use driver model from SPI and SPI flash? If not I think that should be the first step. No we don't. Could you please elaborate on how this would cover this use case and should be the first step ? I am open to

[U-Boot] [PATCH] driver: net: ldpaa: Update the lane number to DPMAC mapping

2015-11-24 Thread Prabhakar Kushwaha
As of patch "http://patchwork.ozlabs.org/patch/539748/;, serdes_init() is passing correct DPMAC id. So Update the lane to DPMAC mapping. Signed-off-by: Prabhakar Kushwaha --- drivers/net/ldpaa_eth/ldpaa_wriop.c | 17 - 1 file changed, 8 insertions(+), 9

Re: [U-Boot] [PATCH] eeprom: Zap CONFIG_SYS_I2C_MULTI_EEPROMS

2015-11-24 Thread Heiko Schocher
Hello Marek, Am 25.11.2015 um 00:37 schrieb Marek Vasut: This symbol is no longer used anywhere, remove it. Signed-off-by: Marek Vasut Cc: Heiko Schocher Cc: Tom Rini --- include/configs/am335x_sl50.h| 1 - include/configs/baltos.h

[U-Boot] [PATCH] i2c: Fix the comment to match the function described

2015-11-24 Thread Stefan Roese
Use the correct function name in the function description. Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Heiko Schocher --- include/i2c.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/i2c.h b/include/i2c.h index

Re: [U-Boot] [PATCH v3 05/11] dm: timer: Support 64-bit counter

2015-11-24 Thread Bin Meng
On Wed, Nov 25, 2015 at 11:20 AM, Thomas Chou wrote: > Hi Simon, > > On 2015年11月25日 02:23, Simon Glass wrote: >> >> >> Please try u-boot-dm/testing. This seems to be a different problem: >> >> avr32: + grasshopper >> +lib/time.c:20: warning: register used for two

[U-Boot] [PATCH v2] PPC4xx: Create "liebherr" vendor directory

2015-11-24 Thread Wolfgang Denk
In preparation of some new Liebherr boards to be added soon, a new "liebherr" vendor directory gets created, and the "lwmon5" board directory is moved into this new vendor directory. cc: Stefan Roese Signed-off-by: Wolfgang Denk --- Changes v2: Fix directory name

Re: [U-Boot] [PATCH 2/2] PPC4xx: Create "liebherr" vendor directory

2015-11-24 Thread Wolfgang Denk
Dear Stefan, In message <5654652c.6000...@denx.de> you wrote: > > You missed to change the location of bsp files in the MAINTAINERS > file: > > LWMON5 BOARD > M: Stefan Roese > S: Maintained > F: board/lwmon5/ Indeed. Fixed in v2. Thanks! Best regards, Wolfgang

Re: [U-Boot] [PATCH] common: miiphyutil: no need to check name of mii_dev

2015-11-24 Thread Joe Hershberger
Hi Peng, On Tue, Nov 24, 2015 at 3:03 AM, Peng Fan wrote: > The entry name of mii_dev is an array not pointer, so > no need to check. > > Signed-off-by: Peng Fan > Cc: Joe Hershberger > Cc: Simon Glass

[U-Boot] [PATCH v3 05/11] dm: timer: Support 64-bit counter

2015-11-24 Thread Simon Glass
From: Bin Meng There are timers with a 64-bit counter value but current timer uclass driver assumes a 32-bit one. Modify timer_get_count() to ask timer driver to always return a 64-bit counter value, and provide an inline helper function timer_conv_64() to handle the

Re: [U-Boot] [PATCH v3 05/11] dm: timer: Support 64-bit counter

2015-11-24 Thread Simon Glass
Hi, On 24 November 2015 at 11:23, Simon Glass wrote: > Hi Thomas, > > On 24 November 2015 at 07:01, Thomas Chou wrote: >> Hi Simon, >> >> On 2015年11月24日 18:09, Simon Glass wrote: >>> >>> >>> Unfortunately this causes build errors for a few avr32 boards -

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-11-24 Thread York Sun
On 11/23/2015 11:19 PM, Alexander Stein wrote: > On Monday 23 November 2015 10:51:49, York Sun wrote: >> On 11/04/2015 12:19 AM, Alexander Stein wrote: >>> When reading a large blob. e.g. a linux kernel (several MiBs) a watchdog >>> timeout might occur meanwhile. So pet the watchdog while

Re: [U-Boot] [PATCH] Implement pytest-based test infrastructure

2015-11-24 Thread Stephen Warren
On 11/24/2015 12:04 PM, Simon Glass wrote: Hi Stephen, On 23 November 2015 at 21:44, Stephen Warren wrote: On 11/23/2015 06:45 PM, Simon Glass wrote: On 22 November 2015 at 10:30, Stephen Warren wrote: On 11/21/2015 09:49 AM, Simon Glass wrote:

Re: [U-Boot] [PATCH v3 1/3] cmd_sf: add 'release' command

2015-11-24 Thread Valentin Longchamp
On 25/11/2015 04:52, Stefan Roese wrote: > Hi Valentine, > > On 24.11.2015 17:02, Valentin Longchamp wrote: > > > > Does your board use driver model from SPI and SPI flash? If not I > think that should be the first step. > No we don't. Could you please elaborate on how

Re: [U-Boot] [PATCH v3 05/11] dm: timer: Support 64-bit counter

2015-11-24 Thread Simon Glass
Hi Thomas, On 24 November 2015 at 07:01, Thomas Chou wrote: > Hi Simon, > > On 2015年11月24日 18:09, Simon Glass wrote: >> >> >> Unfortunately this causes build errors for a few avr32 boards - e.g. >> grasshopper. >> >> I think the problem is the gd declaration in the timer.h

Re: [U-Boot] [U-Boot, v2, 4/5] gpt: part: Definition and declaration of GPT verification functions

2015-11-24 Thread Tom Rini
On Tue, Nov 24, 2015 at 10:56:41AM +0100, Przemyslaw Marczak wrote: > Hello Tom, > > On 11/23/2015 11:44 PM, Tom Rini wrote: > >On Fri, Nov 20, 2015 at 08:06:16AM +0100, Lukasz Majewski wrote: > > > >>This commit provides definition and declaration of GPT verification > >>functions - namely

Re: [U-Boot] [PATCH 5/6] LS102XA:workaround:disable priorities within DDR

2015-11-24 Thread Sinan Akman
Hi Yuan On 24/11/15 05:45 AM, Yuan Yao wrote: Erratum number: ERR008514 EDDRTQCFG Registers are Integration Strap values which controls performance parameters for DDR Controller. The bit 25 is used to disable priorities within DDR since DDR are connected backwards on Rev2.0 silicon for

[U-Boot] powerpc, tqm5200s: fails with current head

2015-11-24 Thread Heiko Schocher
Hello Simon, I just tried current mainline on the tqm5200s board, and it fails. git bisect showed: f05ad9ba4c22b5c5929406394a0889791c2778da is the first bad commit commit f05ad9ba4c22b5c5929406394a0889791c2778da Author: Simon Glass Date: Tue Aug 4 12:33:39 2015 -0600 Add

Re: [U-Boot] [PATCH] common: bootm: check return value of strict_strtoul

2015-11-24 Thread Simon Glass
On 24 November 2015 at 01:54, Peng Fan wrote: > Before continue, check return value of strict_strtoul. > > Signed-off-by: Peng Fan > Cc: Albert Aribaud > Cc: Simon Glass > Cc: Jan Kiszka

Re: [U-Boot] [PATCH] Implement pytest-based test infrastructure

2015-11-24 Thread Simon Glass
Hi Stephen, On 23 November 2015 at 21:44, Stephen Warren wrote: > On 11/23/2015 06:45 PM, Simon Glass wrote: >> Hi Stephen, >> >> On 22 November 2015 at 10:30, Stephen Warren wrote: >>> On 11/21/2015 09:49 AM, Simon Glass wrote: Hi Stephen,

Re: [U-Boot] [PATCH] common: miiphyutil: no need to check name of mii_dev

2015-11-24 Thread Simon Glass
On 24 November 2015 at 02:03, Peng Fan wrote: > The entry name of mii_dev is an array not pointer, so > no need to check. > > Signed-off-by: Peng Fan > Cc: Joe Hershberger > Cc: Simon Glass > Cc: Bin

Re: [U-Boot] powerpc, tqm5200s: fails with current head

2015-11-24 Thread Simon Glass
Hi Heiko, On 24 November 2015 at 09:10, Heiko Schocher wrote: > Hello Simon, > > I just tried current mainline on the tqm5200s board, and it fails. > git bisect showed: > > f05ad9ba4c22b5c5929406394a0889791c2778da is the first bad commit > commit

Re: [U-Boot] [PATCH] common: image-fdt: correct fdt_blob for IMAGE_FORMAT_LEGACY

2015-11-24 Thread Simon Glass
Hi Peng, On 24 November 2015 at 01:54, Peng Fan wrote: > If condition of "(load == image_start || load == image_data)" is true, > should use "fdt_addr = load;", but not "fdt_blob = (char *)image_data;", > or fdt_blob will be overridden by "fdt_blob = map_sysmem(fdt_addr,

Re: [U-Boot] [RFC] common: cli_hush: avoid dead code

2015-11-24 Thread Simon Glass
On 24 November 2015 at 01:54, Peng Fan wrote: > Condition "(value == NULL && ++value == NULL)" actully will > always return false. > > Instead, use condition "(value == NULL || *(value + 1) == 0)" to detect > such expression "c=". To "c=", *(value + 1) is 0, so directly

Re: [U-Boot] [PATCH 0/5] tools: env: simplify argument parsing

2015-11-24 Thread Michael Heimpold
Hi Andreas, Am Tuesday 24 November 2015, 14:21:10 schrieb Andreas Fenkart: > I want to add -c config_file parameter to fw_setenv/fw_printenv, > so I can switch between old/new u-boot environment after u-boot > upgrade. for a similar use-case a patch was accepted/merged some days ago:

Re: [U-Boot] [PATCH v1] powerpc: Set PCIe MEM_BUS same as MEM_VIRT

2015-11-24 Thread York Sun
On 11/21/2015 04:34 PM, York Sun wrote: > For 36-bit addressing mode, PCIe virtual memory addresses have been > different from PCI bus addresses. This causes confusion when trying > to access the PCI address manually. Previously it was believed > overlapping PCI(e) controllers' space would leave

[U-Boot] [PATCH] tools/kwbimage.c: Make sure that the resulting image is 4-byte aligned

2015-11-24 Thread Stefan Roese
With the dtb added to the main U-Boot image, it can happen, that the resulting image is not 4-byte aligned. As the dtb tends to be unaligned. But the image needs to be 4-byte aligned. At least the Marvell hdrparser tool complains if its unaligned. By returning 1 here in kwbimage_generate(), called

[U-Boot] [PATCH] arm: mvebu: Configure ARP timeout and retry count

2015-11-24 Thread Stefan Roese
As some MVEBU platforms using the MVNETA driver seem to miss the first ARP packet, lets reduce the timeout and increase the retry count. This increases the speed for communication establishment. Signed-off-by: Stefan Roese Cc: Luka Perkov Cc: Dirk Eibach

[U-Boot] u-boot on Intrinsyc dragonboard 810.

2015-11-24 Thread sk.syed2
Hi I took dragonboard 410c source from https://github.com/hallor/u-boot/ and added support for Dragonboard 810 from Intrinsyc(msm8994 soc). Currently it boots to u-boot prompt after launching from little kernel(qcom boot loader). Intend to add more features. Just wondering should I post a

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-11-24 Thread Alexander Stein
On Monday 23 November 2015 10:51:49, York Sun wrote: > On 11/04/2015 12:19 AM, Alexander Stein wrote: > > When reading a large blob. e.g. a linux kernel (several MiBs) a watchdog > > timeout might occur meanwhile. So pet the watchdog while operating on > > the flash. > > Alexander, > > On which

[U-Boot] [PATCH 4/4] atmel_nand: use the definition: PMECC_OOB_RESERVED_BYTES instead magic number

2015-11-24 Thread Josh Wu
As atmel_nand_ecc.h is sync with v4.1 kernel, which adds the PMECC_OOB_RESERVED_BYTES. So use it in the driver. Signed-off-by: Josh Wu --- drivers/mtd/nand/atmel_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/atmel_nand.c

[U-Boot] [PATCH 1/4] atmel_nand: use nand ecc_{strength, step}_ds instead of our own function

2015-11-24 Thread Josh Wu
Since ecc_{strength,step}_ds is introduced in nand_chip structure for minimum ecc requirements. So we can use them directly and remove our own get_onfi_ecc_param function. Signed-off-by: Josh Wu --- drivers/mtd/nand/atmel_nand.c | 44

[U-Boot] [PATCH 3/4] atmel_nand: increase more delay to support MT29F32G08CBADA

2015-11-24 Thread Josh Wu
The tR is 100us in the datasheet section: Array Characteristics Signed-off-by: Josh Wu --- drivers/mtd/nand/atmel_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index 5226acf..266dfd9

[U-Boot] [PATCH 0/4] atmel_nand: misc update in atmel nandflash driver

2015-11-24 Thread Josh Wu
Since the nand driver is synced with v4.1 kernel, here is a update also for atmel_nand driver. which includes: 1. fix format and using definition not magic number. 2. use ecc_{strength, step}_ds instead of our own function. 3. add delay time to support MF29F32G08CBADA. Josh Wu (4):

[U-Boot] [PATCH 2/4] atmel_nand: add '\n' in the end of error message for better display

2015-11-24 Thread Josh Wu
Also align the open parenthesis. Signed-off-by: Josh Wu --- drivers/mtd/nand/atmel_nand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index e179f74..5226acf 100644 ---

[U-Boot] [PATCH] arm: spear: x600: Enable tiny-printf

2015-11-24 Thread Stefan Roese
Enabling the new tiny-printf function makes the SPL image fit again in the 8KiB restricted area. Signed-off-by: Stefan Roese Cc: Tom Rini --- configs/x600_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/x600_defconfig

[U-Boot] [PATCH 2/2] atmel_nand: Add 32 bit ecc support for sama5d2 chip

2015-11-24 Thread Josh Wu
Also if minimum ecc requirment is bigger then what we support, then just use our maxium pmecc support. But it is not safe, so we'll output a warning about this. Signed-off-by: Josh Wu --- drivers/mtd/nand/atmel_nand.c | 10 +- 1 file changed, 9 insertions(+), 1

[U-Boot] [PATCH 1/2] atmel_nand_ecc: update pmecc registers according to sama5d2 chip

2015-11-24 Thread Josh Wu
1. add the pmecc register mapping for sama5d2. 2. add the pmecc error location register mapping for sama5d2. 3. add some new field that is different from old ip. 4. add sama5d2 pmecc ip version number. Signed-off-by: Josh Wu --- drivers/mtd/nand/atmel_nand_ecc.h | 36

[U-Boot] [PATCH 0/2] atmel_nand: add sama5d2 chip support, which support up to 32bit pmecc

2015-11-24 Thread Josh Wu
This patch set will enable sama5d2 chip pmecc support, it includes: 1. update the pmecc registers and pmecc error location registers map. 2. add 32bit ecc support. Josh Wu (2): atmel_nand_ecc: update pmecc registers according to sama5d2 chip atmel_nand: Add 32 bit ecc support for sama5d2

Re: [U-Boot] [PATCHv2 1/2] ARM: socfpga: arria10: add base address map for Arria10

2015-11-24 Thread Chin Liang See
On Mon, 2015-11-23 at 17:27 -0600, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Add the base address map for Arria10. > > Signed-off-by: Dinh Nguyen > Reviewed-by: Marek Vasut > --- > v2: renamed

Re: [U-Boot] [PATCHv2 2/2] ARM: socfpga: rename the cyclone5 and arria5 base address file

2015-11-24 Thread Chin Liang See
On Mon, 2015-11-23 at 17:27 -0600, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > When adding support for the Arria10 platform, we're going to name the > file > base_addr_a10.h, so to be systematic about it, rename the > socfpga_base_addr.h > to be

[U-Boot] [PATCH] common: image-fdt: correct fdt_blob for IMAGE_FORMAT_LEGACY

2015-11-24 Thread Peng Fan
If condition of "(load == image_start || load == image_data)" is true, should use "fdt_addr = load;", but not "fdt_blob = (char *)image_data;", or fdt_blob will be overridden by "fdt_blob = map_sysmem(fdt_addr, 0);" at the end of the switch case. Signed-off-by: Peng Fan

[U-Boot] [RFC] common: cli_hush: avoid dead code

2015-11-24 Thread Peng Fan
Condition "(value == NULL && ++value == NULL)" actully will always return false. Instead, use condition "(value == NULL || *(value + 1) == 0)" to detect such expression "c=". To "c=", *(value + 1) is 0, so directly return -1, but not continue. Signed-off-by: Peng Fan Cc:

[U-Boot] [PATCH] common: bootm: check return value of strict_strtoul

2015-11-24 Thread Peng Fan
Before continue, check return value of strict_strtoul. Signed-off-by: Peng Fan Cc: Albert Aribaud Cc: Simon Glass Cc: Jan Kiszka Cc: Joe Hershberger Cc: Hans de Goede

[U-Boot] [PATCH] video: ipu: simplify if else code

2015-11-24 Thread Peng Fan
Simplify if/else code, since if channel equals to MEM_BG_SYNC or MEM_FG_SYNC, we have value 5 for 'dc_chan'. Signed-off-by: Peng Fan Cc: Anatolij Gustschin Cc: Stefano Babic --- drivers/video/ipu_disp.c | 4 +--- 1 file changed, 1

[U-Boot] [PATCH] common: miiphyutil: no need to check name of mii_dev

2015-11-24 Thread Peng Fan
The entry name of mii_dev is an array not pointer, so no need to check. Signed-off-by: Peng Fan Cc: Joe Hershberger Cc: Simon Glass Cc: Bin Meng --- common/miiphyutil.c | 2 +- 1 file changed, 1

Re: [U-Boot] Adding support for SPI-attached MR25H256 MRAM with Device Tree

2015-11-24 Thread Simon Falsig
>On 20 November 2015 at 19:13, Simon Falsig wrote: >> I have a custom board based on a TI AM3356 processor (quite similar to >> a BeagleBone) with an Everspin MR25H256 MRAM attached to the SPI bus, >> currently using U-Boot 2015.10 to boot a 3.18.9-rt5 Linux kernel. >> >> I'd

Re: [U-Boot] [PATCH] video: ipu: simplify if else code

2015-11-24 Thread Stefano Babic
On 24/11/2015 09:54, Peng Fan wrote: > Simplify if/else code, since if channel equals to MEM_BG_SYNC or > MEM_FG_SYNC, we have value 5 for 'dc_chan'. > > Signed-off-by: Peng Fan > Cc: Anatolij Gustschin > Cc: Stefano Babic > --- >

Re: [U-Boot] [PATCH v5] colibri_vf: Add board_usb_phy_mode function

2015-11-24 Thread Stefano Babic
On 24/11/2015 11:23, maitysancha...@gmail.com wrote: > Hello, > > Ping? > > Any further feedback? Is the patchset good to get accepted? I'll pick it up Best regards, Stefano Babic > > Thanks. > > Regards, > Sanchayan. > > On 15-11-12 11:47:35, Sanchayan Maity wrote: >> Add

Re: [U-Boot] [U-Boot, v2, 4/5] gpt: part: Definition and declaration of GPT verification functions

2015-11-24 Thread Przemyslaw Marczak
Hello Tom, On 11/23/2015 11:44 PM, Tom Rini wrote: On Fri, Nov 20, 2015 at 08:06:16AM +0100, Lukasz Majewski wrote: This commit provides definition and declaration of GPT verification functions - namely gpt_verify_headers() and gpt_verify_partitions(). The former is used to only check CRC32

Re: [U-Boot] [PATCH v3 05/11] dm: timer: Support 64-bit counter

2015-11-24 Thread Simon Glass
Hi, On 22 November 2015 at 09:21, Simon Glass wrote: > Hi, > > On 20 November 2015 at 17:41, Thomas Chou wrote: >> Hi Simon, >> >> >> On 2015年11月21日 05:10, Simon Glass wrote: >> >> @@ -35,10 +52,10 @@ struct timer_ops { >> * Get the

Re: [U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10

2015-11-24 Thread Marek Vasut
On Tuesday, November 24, 2015 at 04:17:34 AM, Chin Liang See wrote: > On Mon, 2015-11-23 at 17:25 -0600, Dinh Nguyen wrote: > > On 11/23/2015 05:20 PM, Marek Vasut wrote: > > > On Tuesday, November 24, 2015 at 12:04:10 AM, Dinh Nguyen wrote: > > > > On 11/23/2015 05:03 PM, Marek Vasut wrote: > > >

Re: [U-Boot] [PATCH v5] colibri_vf: Add board_usb_phy_mode function

2015-11-24 Thread maitysanchayan
On 15-11-24 11:37:59, Stefano Babic wrote: > On 24/11/2015 11:23, maitysancha...@gmail.com wrote: > > Hello, > > > > Ping? > > > > Any further feedback? Is the patchset good to get accepted? > > I'll pick it up Thanks. - Sanchayan. ___ U-Boot

Re: [U-Boot] [RFC PATCH v2 03/11] lib: net_utils: make string_to_ip stricter

2015-11-24 Thread Chris Packham
On Tue, Nov 24, 2015 at 2:06 PM, Joe Hershberger wrote: > On Mon, Nov 9, 2015 at 1:38 AM, Chris Packham wrote: >> Previously values greater than 255 were implicitly truncated. Add some >> stricter checking to reject addresses with components

Re: [U-Boot] [PATCH v5] colibri_vf: Add board_usb_phy_mode function

2015-11-24 Thread Marek Vasut
On Tuesday, November 24, 2015 at 11:23:04 AM, maitysancha...@gmail.com wrote: > Hello, > > Ping? > > Any further feedback? Is the patchset good to get accepted? Not from me. Stefano, this is borad-level stuff, so pick it up please. Best regards, Marek Vasut

Re: [U-Boot] [RFC PATCH v2 06/11] net: IPv6 skeleton and environment variables

2015-11-24 Thread Chris Packham
On Tue, Nov 24, 2015 at 2:06 PM, Joe Hershberger wrote: > Hi Chris, > > On Mon, Nov 9, 2015 at 1:38 AM, Chris Packham wrote: >> Create net6.c and add CONFIG_NET6 to Kconfig/Makefile. Also add >> support for the following environment variables:

Re: [U-Boot] [PATCH v5] colibri_vf: Add board_usb_phy_mode function

2015-11-24 Thread maitysanchayan
Hello, Ping? Any further feedback? Is the patchset good to get accepted? Thanks. Regards, Sanchayan. On 15-11-12 11:47:35, Sanchayan Maity wrote: > Add board_usb_phy_mode function for detecting whether a port is > being used as host or client using a GPIO. On Colibri Vybrid we > provide GPIO

[U-Boot] [PATCH 2/6] arm: ls102xa: enable all the snoop signal for masters.

2015-11-24 Thread Yuan Yao
Enable the IP feature's snoop signal to support hardware snoop for cache coherence. SNPCNFGCR contains the bits to drive snoop signal for various masters. Signed-off-by: Yuan Yao --- arch/arm/cpu/armv7/ls102xa/soc.c | 8

[U-Boot] [PATCH 4/6] armv7/fsl-ls102xa: Workaround for DDR erratum A008514

2015-11-24 Thread Yuan Yao
This is a workaround for hardware erratum. Write the value of 63b2_0002h to EDDRTQCFG will optimal the memory controller performance. The value: 63b2_0002h comes from the hardware team. Signed-off-by: Yuan Yao --- arch/arm/cpu/armv7/ls102xa/soc.c | 10

[U-Boot] [PATCH 1/6] arm: ls1021a: merge SoC specific code in a separate file

2015-11-24 Thread Yuan Yao
Create a soc.c file to put the code for soc special settings. Signed-off-by: Yuan Yao --- arch/arm/cpu/armv7/ls102xa/Makefile | 1 + arch/arm/cpu/armv7/ls102xa/soc.c| 66 +

[U-Boot] [PATCH 5/6] LS102XA:workaround:disable priorities within DDR

2015-11-24 Thread Yuan Yao
Erratum number: ERR008514 EDDRTQCFG Registers are Integration Strap values which controls performance parameters for DDR Controller. The bit 25 is used to disable priorities within DDR since DDR are connected backwards on Rev2.0 silicon for LS1021A. Signed-off-by: Yuan Yao

[U-Boot] [PATCH 3/6] ls102xa: Enable snoop and DVM message requests.

2015-11-24 Thread Yuan Yao
Signed-off-by: Yuan Yao --- arch/arm/cpu/armv7/ls102xa/soc.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/ls102xa/soc.c b/arch/arm/cpu/armv7/ls102xa/soc.c index 6036473..97ba6d5 100644 --- a/arch/arm/cpu/armv7/ls102xa/soc.c

[U-Boot] [PATCH 6/6] move the erratum_a008336_a008514 from general ddr file to soc file

2015-11-24 Thread Yuan Yao
Both of the erratum:A008336 and A008514 are not apply to all the soc like:LS1021A, LS1043A. So it seems better to move those erratum codes form the general ddr file to the private soc file. Signed-off-by: Yuan Yao --- arch/arm/cpu/armv8/fsl-layerscape/soc.c | 37

Re: [U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10

2015-11-24 Thread Marek Vasut
On Tuesday, November 24, 2015 at 03:01:09 PM, Pavel Machek wrote: > Hi! Hi! > > > > > > One of the nice thing of U-Boot over SPL is the console support > > > > > > and > > > > > > ability to troubleshoot. > > > > > > This is possible with Arria 10 SoC as we have larger OCRAM (256kB > > > > > >

Re: [U-Boot] Disabling/Enabling the Data Cache

2015-11-24 Thread Gary Bisson
Albert, Fabio, All, On Tue, Sep 22, 2015 at 09:21:37PM +0200, Albert ARIBAUD wrote: > Hi Fabio, > > Le Tue, 22 Sep 2015 16:01:05 -0300, Fabio Estevam > a ?crit : > > > Hi, > > > > On a mx6q (armv7) board when I disable and enable the Data Cache the > > following issue is observed: > > > > =>

Re: [U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10

2015-11-24 Thread Heiko Schocher
Hello Marek, Chin Liang See, Sorry for digging so late into this topic ... Am 24.11.2015 um 10:31 schrieb Marek Vasut: On Tuesday, November 24, 2015 at 04:17:34 AM, Chin Liang See wrote: On Mon, 2015-11-23 at 17:25 -0600, Dinh Nguyen wrote: On 11/23/2015 05:20 PM, Marek Vasut wrote: On

Re: [U-Boot] Disabling/Enabling the Data Cache

2015-11-24 Thread Fabio Estevam
Hi Gary, On Tue, Nov 24, 2015 at 9:38 AM, Gary Bisson wrote: >> Does anyone have an update on this issue? I just experienced the same >> problem with an i.MX6SX: >> Hit any key to stop autoboot: 0 >> => dcache off >> => dcache on >> data abort >> pc : []

Re: [U-Boot] Disabling/Enabling the Data Cache

2015-11-24 Thread Gary Bisson
Adding Albert (wrong address in first e-mail). Regards, Gary On Tue, Nov 24, 2015 at 12:35 PM, Gary Bisson wrote: > Albert, Fabio, All, > > On Tue, Sep 22, 2015 at 09:21:37PM +0200, Albert ARIBAUD wrote: >> Hi Fabio, >> >> Le Tue, 22 Sep 2015 16:01:05 -0300,

[U-Boot] [PATCH 1/2] mpc8xx: remove stale "lwmon" files

2015-11-24 Thread Wolfgang Denk
Commit acc2372d "mpc8xx: remove lwmon board support" removed support for the MPC823 based "lwmon" board, but left some board specific POST files. This patch cleans up and removes the now unused files. Signed-off-by: Wolfgang Denk --- post/board/lwmon/Makefile | 8 --

Re: [U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10

2015-11-24 Thread Chin Liang See
Hi Heiko, On Tue, 2015-11-24 at 13:29 +0100, Heiko Schocher wrote: > Hello Marek, Chin Liang See, > > Sorry for digging so late into this topic ... No worries as inputs are welcome any time. > > Am 24.11.2015 um 10:31 schrieb Marek Vasut: > > On Tuesday, November 24, 2015 at 04:17:34 AM, Chin

[U-Boot] IMX6SX clock fix gpmi

2015-11-24 Thread Bärtsch Peter
Hi, Here a imx6sx clock fix for using raw nand gpmi interface. Index: git/arch/arm/cpu/armv7/mx6/clock.c === --- git.orig/arch/arm/cpu/armv7/mx6/clock.c 2015-11-24 10:06:02.814884669 +0100 +++ git/arch/arm/cpu/armv7/mx6/clock.c

Re: [U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10

2015-11-24 Thread Chin Liang See
Hi Pavel, On Tue, 2015-11-24 at 14:31 +0100, Pavel Machek wrote: > Hi! > > > > > > So what do I do if I want to boot arria10 from NAND ? UBI and > > > > > UBIFS > > > > > won't > > > > > fit into 256kiB, so I think using SPL might be the sensible > > > > > thing > > > > > afterall, > > > > >

Re: [U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10

2015-11-24 Thread Marek Vasut
On Tuesday, November 24, 2015 at 02:36:13 PM, Chin Liang See wrote: > Hi Pavel, > > On Tue, 2015-11-24 at 14:31 +0100, Pavel Machek wrote: > > Hi! > > > > > > > > So what do I do if I want to boot arria10 from NAND ? UBI and > > > > > > UBIFS > > > > > > won't > > > > > > fit into 256kiB, so I

Re: [U-Boot] IMX6SX clock fix gpmi

2015-11-24 Thread Fabio Estevam
Hi Peter, On Tue, Nov 24, 2015 at 9:50 AM, Bärtsch Peter wrote: > Hi, > > Here a imx6sx clock fix for using raw nand gpmi interface. Thanks for sending your fix. You need to add your Signed-off-by tag to your patch and also a commit log explaining why this change is

Re: [U-Boot] [PATCH v3 05/11] dm: timer: Support 64-bit counter

2015-11-24 Thread Thomas Chou
Hi Simon, On 2015年11月24日 18:09, Simon Glass wrote: Unfortunately this causes build errors for a few avr32 boards - e.g. grasshopper. I think the problem is the gd declaration in the timer.h header file. I don't think that is a good idea. Can we move it to the C file? If you meant, "warning:

[U-Boot] [PATCH 2/2] PPC4xx: Create "liebherr" vendor directory

2015-11-24 Thread Wolfgang Denk
In preparation of some new Liebherr boards to be added soon, a new "liebherr" vendor directory gets created, and the "lwmon5" board directory is moved into this new vendor directory. cc: Stefan Roese Signed-off-by: Wolfgang Denk --- arch/powerpc/cpu/ppc4xx/Kconfig

[U-Boot] [PATCH 5/5] tools: env: shift optind arguments and fix argument indices

2015-11-24 Thread Andreas Fenkart
Signed-off-by: Andreas Fenkart --- tools/env/fw_env.c | 40 +++- tools/env/fw_env_main.c | 4 2 files changed, 15 insertions(+), 29 deletions(-) diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c index

Re: [U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10

2015-11-24 Thread Pavel Machek
Hi! > > > > So what do I do if I want to boot arria10 from NAND ? UBI and UBIFS > > > > won't > > > > fit into 256kiB, so I think using SPL might be the sensible thing > > > > afterall, > > > > since you would be able to use arbitrarily-sized U-Boot. > > > > > > I hope Chin Liang can chime here,

Re: [U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10

2015-11-24 Thread Marek Vasut
On Tuesday, November 24, 2015 at 02:34:11 PM, Chin Liang See wrote: > Hi Marek, [...] > > > For this support, user can use U-Boot to load arbitrarily-sized U > > > -Boot > > > that run on SDRAM. > > > > > > One of the nice thing of U-Boot over SPL is the console support and > > > ability to

Re: [U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10

2015-11-24 Thread Chin Liang See
Hi Heiko, On Tue, 2015-11-24 at 13:29 +0100, Heiko Schocher wrote: > Hello Marek, Chin Liang See, > > Sorry for digging so late into this topic ... No worries as inputs always appreciated. > > Am 24.11.2015 um 10:31 schrieb Marek Vasut: > > On Tuesday, November 24, 2015 at 04:17:34 AM, Chin

Re: [U-Boot] [PATCH 2/2] PPC4xx: Create "liebherr" vendor directory

2015-11-24 Thread Stefan Roese
Hi Wolfgang, On 24.11.2015 14:03, Wolfgang Denk wrote: In preparation of some new Liebherr boards to be added soon, a new "liebherr" vendor directory gets created, and the "lwmon5" board directory is moved into this new vendor directory. cc: Stefan Roese Signed-off-by: Wolfgang

[U-Boot] [PATCH 4/5] tools: env: parse aes key / suppress flag into argument struct

2015-11-24 Thread Andreas Fenkart
disabled original parsing, but not yet removed since the argument indexing needs to be fixed Signed-off-by: Andreas Fenkart --- tools/env/fw_env.c | 45 + tools/env/fw_env.h | 12

[U-Boot] [PATCH 3/5] tools: env: introduce setenv/printenv argument structs

2015-11-24 Thread Andreas Fenkart
goal is to use getopt for all argument parsing instead of adhoc parsing in fw_getenv/fw_setenv functions Signed-off-by: Andreas Fenkart --- tools/env/fw_env.h | 9 tools/env/fw_env_main.c | 111 +++- 2

[U-Boot] [PATCH 1/5] tools: env validate: pass values as 0-based array

2015-11-24 Thread Andreas Fenkart
passing argv/argc can produce off-by-one errors Signed-off-by: Andreas Fenkart --- common/env_flags.c | 14 +++--- include/env_flags.h | 2 +- tools/env/fw_env.c | 11 +++ 3 files changed, 15 insertions(+), 12 deletions(-) diff --git

[U-Boot] [PATCH 0/5] tools: env: simplify argument parsing

2015-11-24 Thread Andreas Fenkart
I want to add -c config_file parameter to fw_setenv/fw_printenv, so I can switch between old/new u-boot environment after u-boot upgrade. In it's current state paramter parsing is quite hard to understand since it happens in two places. One is using getopt at the beginning of main, the second is

[U-Boot] [PATCH 2/5] tools: env: make parse_aes_key stateless

2015-11-24 Thread Andreas Fenkart
Signed-off-by: Andreas Fenkart --- tools/env/fw_env.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c index bcf3756..f1dea8b 100644 --- a/tools/env/fw_env.c +++ b/tools/env/fw_env.c @@

Re: [U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10

2015-11-24 Thread Chin Liang See
Hi Marek, On Tue, 2015-11-24 at 10:31 +0100, Marek Vasut wrote: > On Tuesday, November 24, 2015 at 04:17:34 AM, Chin Liang See wrote: > > On Mon, 2015-11-23 at 17:25 -0600, Dinh Nguyen wrote: > > > On 11/23/2015 05:20 PM, Marek Vasut wrote: > > > > On Tuesday, November 24, 2015 at 12:04:10 AM,

  1   2   >