Re: [U-Boot] [PATCH] sf:eon: Add support for EN25S64

2013-09-06 Thread Jagan Teki
Hi, On Thu, Sep 5, 2013 at 12:49 PM, Priyanka Jain wrote: > Add support for EON EN25S64 SPI flash memory > Features: 64Mb size, 1.8V, 4KB sector > > Signed-off-by: Priyanka Jain > --- > drivers/mtd/spi/eon.c |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/drive

Re: [U-Boot] NAND write error with HW ECC on OMAP3

2013-09-06 Thread Ash Charles
Dear Andreas, Thanks for your responses. Based on a little more testing, I found this: with 'nandecc hw', NAND_HAS_SUBPAGE_READ must be false otherwise data is not written correct to NAND. My hardware (a Micron flash chip) supports subpage reads and behaves correctly with 'nandecc sw'. On boot,

Re: [U-Boot] Pull request: u-boot-nios/master

2013-09-06 Thread Tom Rini
On Fri, Sep 06, 2013 at 11:27:44AM +0800, Thomas Chou wrote: > The following changes since commit 315c0ace7c220591a9b220ab7698e85624b430c0: > > bootm: allow correct bounds-check of destination (2013-09-03 13:30:26 -0600) > > are available in the git repository at: > > git://git.denx.de/u-bo

[U-Boot] [PATCH 1/1] m28evk board config

2013-09-06 Thread lothar
From 24b6381162b4569ab86b481b8714d81877231f22 Mon Sep 17 00:00:00 2001 From: Lothar Rubusch Date: Fri, 6 Sep 2013 15:01:39 +0200 Subject: [PATCH] m28evk board specific configurations for setup with ext boot partition and separate ext rootfs Signed-off-by: Lothar Rubusch --- include/configs

[U-Boot] [PATCH 0/1] m53evk board config

2013-09-06 Thread lothar
Hi, And now, to something completely different... board config for the m53evk as it will be used by the ELDK / Yocto build scripts. Supporting sdcard images having uImage / FDT on a boot partition (ext) and rootfs on a separate partition (ext). Best, Lothar Rubusch ___

[U-Boot] Pull request: u-boot-arm/master

2013-09-06 Thread Albert ARIBAUD
Hello Tom, The following changes since commit fb18fa95a14ae875ef0a5421cd9fecc00c7c3a4c: Prepare v2013.10-rc2 (2013-09-02 14:20:36 -0400) are available in the git repository at: git://git.denx.de/u-boot-arm master for you to fetch changes up to 68e1747f9c0506159e8ecc9a4feb58e9c65a7b39: s

Re: [U-Boot] [PATCH v2 09/11] fsl/mpc85xx: introduce fsl_print_rcw function

2013-09-06 Thread York Sun
On 08/28/2013 07:04 AM, Valentin Longchamp wrote: > The RCW gets printed on a lot of FSL 85xx devices and it is always done > the same way. > > The fsl_print_rcw function performs this exact same task. > > Signed-off-by: Valentin Longchamp > --- > Changes in v2: None > > arch/powerpc/cpu/mpc85

Re: [U-Boot] mail: Fix email address

2013-09-06 Thread Tom Rini
On Tue, Aug 27, 2013 at 11:32:11PM +0200, Marek Vasut wrote: > Fix my email address. > > Signed-off-by: Marek Vasut > Cc: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boo

Re: [U-Boot] standalone-examples: support custom GCC lib

2013-09-06 Thread Tom Rini
On Tue, Jul 16, 2013 at 02:44:23PM +0100, Jack Mitchell wrote: > From: Jack Mitchell > > Add support for defining the gcc lib in standalone examples as is > done in the main u-boot Makefile > > Signed-off-by: Jack Mitchell Applied to u-boot/master, thanks! -- Tom signature.asc Description

Re: [U-Boot] [U-Boot, v2] Always build u-boot.img when using CONFIG_SPL_FRAMEWORK

2013-09-06 Thread Tom Rini
On Tue, Aug 27, 2013 at 12:37:22AM +0200, Henrik Nordstr??m wrote: > Use of uImage formatted u-boot have long been preferred, and recent > changes to better support Falcon mode on MMC now enforces it on MMC. > > Signed-off-by: Henrik Nordstrom Applied to u-boot/master, thanks! -- Tom signat

Re: [U-Boot] [U-Boot,v2,1/2] config.mk: Delete unnecessary code

2013-09-06 Thread Tom Rini
On Sun, Sep 01, 2013 at 03:04:26PM +0900, Masahiro Yamada wrote: > Currently no makefiles (board-specific config.mk) > set the following variables: > > CONFIG_SPL_TEXT_BASE > CONFIG_UBOOT_PAD_TO > CONFIG_RESET_VECTOR_ADDRESS > CONFIG_TPL_PAD_TO > > For all target boards using above macros > they

Re: [U-Boot] [U-Boot, v2, 1/2] fw_env: add redundant env support for MTD_ABSENT

2013-09-06 Thread Tom Rini
On Fri, Aug 30, 2013 at 12:56:01AM +0200, Luka Perkov wrote: > From: Oliver Metz > > Signed-off-by: Oliver Metz > Tested-by: Luka Perkov Applied to u-boot/master along with 2/2, thanks! -- Tom signature.asc Description: Digital signature ___ U-B

Re: [U-Boot] [U-Boot, v2, 1/8] ahci: use ports implemented map instead of num_ports

2013-09-06 Thread Tom Rini
On Sat, Aug 24, 2013 at 10:10:47AM -0500, Rob Herring wrote: > From: Richard Gibbs > > The AHCI driver was incorrectly using the Capabilities register NP (number > of ports) field to determine which ports to activate. This commit changes > it to correctly use the PORTS_IMPL register as a port map

Re: [U-Boot] [U-Boot, 1/1] compiler_gcc: do not redefine __gnu_attributes

2013-09-06 Thread Tom Rini
On Sat, Aug 10, 2013 at 05:16:50PM +0200, Jeroen Hofstee wrote: > gcc allows extensions to be non compiler specific by defining > __* macros for the attributes supported by gcc. Having a > different definition causes many warnings during the build > (cdefs.h on FreeBSD uses __attribute((__pure__))

Re: [U-Boot] fs: fat: don't call disk_write with zero sector num

2013-09-06 Thread Tom Rini
On Wed, Jul 24, 2013 at 05:55:30PM +0800, Wu, Josh wrote: > In the set_cluster() function, it will convert the buffer size to sector > numbers. Then call disk_write() to write by sector. > For remaining buffer, the size is less than a sector, call disk_write() > again to write them in one sector.

Re: [U-Boot] git-mailrc: Update MMC custodian

2013-09-06 Thread Tom Rini
On Thu, Aug 08, 2013 at 07:15:47PM +0300, Pantelis Antoniou wrote: > Update git-mailrc with my nick and replace afleming as mmc custodian. > > Signed-off-by: Pantelis Antoniou Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

[U-Boot] [PATCH 0/1] m28evk board config

2013-09-06 Thread lothar
Hi, Following, an update for the m28evk board config, in order to support a standard setup for sdcards having an uImage and FDT files on boot partition (ext), and a rootfs partition (ext), as it will be used by the latest ELDK and its yocto build recipes. Best, Lothar Rubusch ___

Re: [U-Boot] [PATCH v2 06/11] mpc8xxx: set x2 DDR3 refresh rate if SPD config requires it

2013-09-06 Thread York Sun
On 08/28/2013 07:04 AM, Valentin Longchamp wrote: > If the DDR3 module supports industrial temperature range and requires > the x2 refresh rate for that temp range, the refresh period must be > 3.9us instead of 7.8 us. > > Signed-off-by: Valentin Longchamp > > --- > Can you add a line in commi

Re: [U-Boot] [PATCH v5 1/4] core support of arm64

2013-09-06 Thread Scott Wood
On Sat, 2013-08-24 at 09:06 +0800, feng...@phytium.com.cn wrote: > From: David Feng > > Signed-off-by: David Feng > --- > Changeds for v4: > - Replace __ARMEB__ with __AARCH64EB__ in byteorder.h and unaligned.h, > gcc for aarch64 use __AARCH64EB__ and __AARCH64EL__ to identify endian. >

Re: [U-Boot] [PATCH v2 11/11] mpc85xx: introduce the kmp204x reference design support

2013-09-06 Thread York Sun
On 08/28/2013 07:04 AM, Valentin Longchamp wrote: > This patch introduces the support for Keymile's kmp204x reference > design. This design is based on Freescale's P2040/P2041 SoC. > > The peripherals used by this design are: > - DDR3 RAM with SPD support > - SPI NOR Flash as boot medium > - NAND

Re: [U-Boot] [PATCH] am33xx: Enable D-CACHE on !CONFIG_SYS_DCACHE_OFF

2013-09-06 Thread Tom Rini
On Mon, Sep 02, 2013 at 09:22:34AM +0530, Lokesh Vutla wrote: > Hi Tom, > On Saturday 31 August 2013 02:43 AM, Tom Rini wrote: > > On Fri, Aug 30, 2013 at 05:07:17PM -0400, Tom Rini wrote: > > > >> -BEGIN PGP SIGNED MESSAGE- > >> Hash: SHA1 > >> > >> On 08/30/2013 12:50 AM, Sricharan R wro

[U-Boot] [PATCH 1/1] m53evk board config

2013-09-06 Thread lothar
From 3fc44426556b98ee4cc022d99ff541682b961d33 Mon Sep 17 00:00:00 2001 From: Lothar Rubusch Date: Fri, 6 Sep 2013 15:07:09 +0200 Subject: [PATCH] m53evk board specific configuration for setup with boot partition (ext) and separate rootfs partition (ext) Signed-off-by: Lothar Rubusch --- incl

Re: [U-Boot] [PATCH 1/1] m28evk board config

2013-09-06 Thread Fabio Estevam
On Fri, Sep 6, 2013 at 3:10 PM, wrote: > From 24b6381162b4569ab86b481b8714d81877231f22 Mon Sep 17 00:00:00 2001 > From: Lothar Rubusch > Date: Fri, 6 Sep 2013 15:01:39 +0200 > Subject: [PATCH] m28evk board specific configurations for setup with ext > boot > partition and separate ext rootfs Qu

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

2013-09-06 Thread Philippe Reynes
Signed-off-by: Philippe Reynes Signed-off-by: Eric Jarrige Signed-off-by: Nicolas Colombain --- MAINTAINERS |5 + board/armadeus/apf27/Makefile| 30 ++ board/armadeus/apf27/apf27.c | 258 ++ board/armadeus/apf27/apf27.h |

[U-Boot] [PATCH v6 1/3] mx27: add missing constant for mx27

2013-09-06 Thread Philippe Reynes
Add some missing constant (chip select, ...) Signed-off-by: Philippe Reynes Signed-off-by: Eric Jarrige Acked-by: Stefano Babic --- arch/arm/cpu/arm926ejs/mx27/asm-offsets.c |5 + arch/arm/include/asm/arch-mx27/imx-regs.h |6 +- 2 files changed, 10 insertions(+), 1 deletions(-)

Re: [U-Boot] [PATCH] mmc:sdhci: Fix card ready status timeout.

2013-09-06 Thread Pantelis Antoniou
Hi there, On Sep 6, 2013, at 6:23 PM, Przemyslaw Marczak wrote: > Hello Pantelis, > > > On 09/06/2013 03:24 PM, Pantelis Antoniou wrote: >> Hi there, >> >> Can we have a config option for these two values instead of magic numbers? >> >> With the defaults being set at 10 & 200 ms. >> >> Regard

[U-Boot] [PATCH v6 3/3] apf27: add FPGA support for the apf27 board

2013-09-06 Thread Philippe Reynes
Signed-off-by: Philippe Reynes Signed-off-by: Eric Jarrige Acked-by: Stefano Babic --- board/armadeus/apf27/Makefile |3 + board/armadeus/apf27/apf27.c |5 + board/armadeus/apf27/fpga.c | 224 + board/armadeus/apf27/fpga.h | 25 + incl

[U-Boot] [PATCH v6 0/3] apf27: add support of armadeus apf27

2013-09-06 Thread Philippe Reynes
Difference between v6 and v5: - use generic board framework - add fpga name Difference between v5 and v4: - use spl framework - use script - use SPDX-License-Identifier - use u-boot-with-spl.bin (instead of u-boot-nand.bin) - fix some comments format issue Difference between v4 and v3: - use stan

Re: [U-Boot] [PATCH] mmc:sdhci: Fix card ready status timeout.

2013-09-06 Thread Przemyslaw Marczak
Hello Pantelis, > On 09/06/2013 03:24 PM, Pantelis Antoniou wrote: Hi there, Can we have a config option for these two values instead of magic numbers? With the defaults being set at 10 & 200 ms. Regards -- Pantelis I'm not sure that this option is needed. Some cards I/O errors can be avo

Re: [U-Boot] [PATCH] Enable the DIU for P1022DS board.

2013-09-06 Thread Timur Tabi
On Fri, Sep 6, 2013 at 4:21 AM, Jason Jin wrote: > > #ifndef CONFIG_FSL_DIU_FB > +#define CONFIG_ATI > #endif Is this really necessary? If the DIU is disabled, why would someone use a PCI video controller? ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH v5 4/5] mtd: nand: omap: optimized chip->ecc.correct() for H/W ECC schemes

2013-09-06 Thread Pekon Gupta
chip->ecc.correct() is used for detecting and correcting bit-flips during read operations. In omap-nand driver it implemented as: (a) omap_correct_data(): for h/w based ECC_HAM1 scheme (b) omap_correct_data_bch() + CONFIG_NAND_OMAP_ECC_BCH8_CODE_HW_DETECTION_SW for ECC_BCH8 scheme using GPM

[U-Boot] [PATCH v5 1/5] mtd: nand: omap: enable BCH ECC scheme using ELM for generic platform

2013-09-06 Thread Pekon Gupta
BCH8_ECC scheme implemented in omap_gpmc.c driver has following favours +---+-+-+ |ECC Scheme | ECC Calculation | Error Detection | +---+-+-+ |OMAP

[U-Boot] [PATCH v5 3/5] mtd: nand: omap: optimize chip->ecc.calculate() for H/W ECC schemes

2013-09-06 Thread Pekon Gupta
chip->ecc.calculate() is used for calculating and fetching of ECC syndrome by processing the data passed during Read/Write accesses. All H/W based ECC schemes use GPMC controller to calculate ECC syndrome. But each BCHx_ECC scheme has its own implemetation of post-processing and fetching ECC syndr

[U-Boot] [PATCH v5 5/5] board/ti/am335x/README: update for NAND boot

2013-09-06 Thread Pekon Gupta
NAND boot mode on AM335x EVM has been verified, and steps to use it has been documented and update in this README Signed-off-by: Pekon Gupta Acked-by: Peter Korsgaard --- board/ti/am335x/README | 59 +++--- 1 file changed, 42 insertions(+), 17 deletio

[U-Boot] [PATCH v5 2/5] mtd: nand: omap: optimize chip->ecc.hwctl() for H/W ECC schemes

2013-09-06 Thread Pekon Gupta
chip->ecc.hwctl() is used for preparing the H/W controller before read/write NAND accesses (like assigning data-buf, enabling ECC scheme configs, etc.) Though all ECC schemes in OMAP NAND driver use GPMC controller for generating ECC syndrome (for both Read/Write accesses). But but in current code

[U-Boot] [PATCH v5 0/5] mtd: nand: omap: optimize and clean-up of OMAP NAND driver

2013-09-06 Thread Pekon Gupta
*changes in v5* This version of patch is tested on am335x-evm with x8 NAND device, and boots SPL and u-boot from NAND [PATCH 1/5] - re-added omap_read_page_bch(): needed proper sequence of while reading DATA and ECC from NAND page, so that calc_ecc generated from GPMC is und

Re: [U-Boot] [PATCH v2] mmc: don't support write & erase for SPL builds

2013-09-06 Thread Pantelis Antoniou
Hi Paul, On Sep 6, 2013, at 4:43 PM, Paul Burton wrote: > For SPL builds this is just dead code since we'll only need to read. > Eliminating it results in a significant size reduction for the SPL > binary, which may be critical for certain platforms where the binary > size is highly constrained.

[U-Boot] [PATCH v2] mmc: don't support write & erase for SPL builds

2013-09-06 Thread Paul Burton
For SPL builds this is just dead code since we'll only need to read. Eliminating it results in a significant size reduction for the SPL binary, which may be critical for certain platforms where the binary size is highly constrained. Signed-off-by: Paul Burton --- Changes in v2: - Move the mmc_b

Re: [U-Boot] [PATCH] mmc:sdhci: Fix card ready status timeout.

2013-09-06 Thread Pantelis Antoniou
Hi there, On Sep 3, 2013, at 3:50 PM, Przemyslaw Marczak wrote: > According to JEDEC eMMC specification, after data transfer > (multiple or single block) host must wait for card ready > status. This is done by waiting for command and data lines > to be at idle state after transfer. JEDEC does not

[U-Boot] [PATCH 13/13] tricorder: support 256MiB SDRAM on revision > D

2013-09-06 Thread Andreas Bießmann
From: Andreas Bießmann Signed-off-by: Andreas Bießmann --- board/corscience/tricorder/tricorder.c | 45 +++- include/configs/tricorder.h|2 +- 2 files changed, 39 insertions(+), 8 deletions(-) diff --git a/board/corscience/tricorder/tricorder.c b/

[U-Boot] [PATCH 12/13] tricorder: read kernel directly from NAND

2013-09-06 Thread Andreas Bießmann
From: Andreas Bießmann Signed-off-by: Andreas Bießmann --- include/configs/tricorder.h |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h index e2bbebb..7eff448 100644 --- a/include/configs/tricorder.h +++ b/include

[U-Boot] [PATCH 11/13] tricorder: switch to alternative memtest

2013-09-06 Thread Andreas Bießmann
From: Thomas Weber Increase the tested memory region for mtest and define CONFIG_SYS_MEMTEST_SCRATCH for CONFIG_SYS_ALT_MEMTEST Signed-off-by: Thomas Weber Signed-off-by: Andreas Bießmann --- include/configs/tricorder.h |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --gi

[U-Boot] [PATCH 09/13] tricorder: add led support

2013-09-06 Thread Andreas Bießmann
From: Andreas Bießmann Signed-off-by: Andreas Bießmann --- board/corscience/tricorder/Makefile|2 +- board/corscience/tricorder/led.c | 80 board/corscience/tricorder/tricorder.c |6 +-- board/corscience/tricorder/tricorder.h |4 +- inclu

[U-Boot] [PATCH 10/13] tricorder: Make u-boot faster

2013-09-06 Thread Andreas Bießmann
From: Thomas Weber Silent u-boot and no bootdelay Signed-off-by: Thomas Weber Signed-off-by: Andreas Bießmann --- include/configs/tricorder.h |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h index 1cd5faa..e16

[U-Boot] [PATCH 06/13] tricorder: add mtdparts to environment

2013-09-06 Thread Andreas Bießmann
From: Andreas Bießmann Before we always ran 'mtdparts default' which also set the mtdparts and mtdids environment. But if we changed that values by intention we will overwrite them with our default values. This is obviously bad! Signed-off-by: Andreas Bießmann --- include/configs/tricorder.h |

[U-Boot] [PATCH 07/13] tricorder: add tricordereeprom command

2013-09-06 Thread Andreas Bießmann
From: Andreas Bießmann The new tricordereeprom command can read and write the eeprom for hardware detection on tricorder devices. Signed-off-by: Andreas Bießmann --- board/corscience/tricorder/Makefile |2 +- board/corscience/tricorder/tricorder-eeprom.c | 251 ++

[U-Boot] [PATCH 08/13] tricorder: panic() on unknown board

2013-09-06 Thread Andreas Bießmann
From: Andreas Bießmann Also hang() the board on panic(). Signed-off-by: Andreas Bießmann --- board/corscience/tricorder/tricorder.c | 77 include/configs/tricorder.h|7 +++ 2 files changed, 84 insertions(+) diff --git a/board/corscience/trico

[U-Boot] [PATCH 05/13] tricorder: add cmdline history

2013-09-06 Thread Andreas Bießmann
From: Andreas Bießmann Signed-off-by: Andreas Bießmann --- include/configs/tricorder.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h index 220dbdc..b2642a4 100644 --- a/include/configs/tricorder.h +++ b/include/configs/tricorder

[U-Boot] [PATCH 02/13] tricorder: update flash partitioning

2013-09-06 Thread Andreas Bießmann
From: Andreas Bießmann The new flash layout respects posible bad blocks in sectors reserved for e.g. SPL, u-boot, kernel, env a.s.o. Additionally this patch prepares for U-Boot Falcon mode for boot time saving. Signed-off-by: Andreas Bießmann --- include/configs/tricorder.h | 40 +++

[U-Boot] [PATCH 01/13] tricorder: remove lcdmode from bootargs

2013-09-06 Thread Andreas Bießmann
From: Thomas Weber Signed-off-by: Thomas Weber Signed-off-by: Andreas Bießmann --- include/configs/tricorder.h |5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h index a9b2714..1291a08 100644 --- a/include/config

[U-Boot] [PATCH 04/13] tricorder: add configuration for a flashcard u-boot

2013-09-06 Thread Andreas Bießmann
From: Andreas Bießmann The 'flashcard' u-boot configuration has a readonly environment and boots a bare kernel/initrd to program the device from an clean environment. Signed-off-by: Andreas Bießmann --- boards.cfg |1 + include/configs/tricorder.h | 71 ++

[U-Boot] [PATCH 03/13] tricorder: use generic provided loadaddr

2013-09-06 Thread Andreas Bießmann
From: Andreas Bießmann Signed-off-by: Andreas Bießmann --- include/configs/tricorder.h |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h index 72341a2..249ee72 100644 --- a/include/configs/tricorder.h +++ b/inclu

Re: [U-Boot] [PATCH 5/5] mmc: don't support write & erase for SPL builds

2013-09-06 Thread Pantelis Antoniou
Hi Paul, On Sep 4, 2013, at 6:14 PM, Paul Burton wrote: > For SPL builds this is just dead code since we'll only need to read. > Eliminating it results in a significant size reduction for the SPL > binary. > > Signed-off-by: Paul Burton > --- I understand what you're trying to do, but I don't

Re: [U-Boot] [PATCH 3/5] mmc: don't call *printf or puts when SPL & !CONFIG_SPL_LIBCOMMON_SUPPORT

2013-09-06 Thread Pantelis Antoniou
Hi Paul On Sep 6, 2013, at 3:51 PM, Paul Burton wrote: > > On 06/09/13 13:48, Pantelis Antoniou wrote: >> Hi Paul >> >> On Sep 4, 2013, at 6:12 PM, Paul Burton wrote: >> >>> If we don't have CONFIG_SPL_LIBCOMMON_SUPPORT defined then stdio >>> & *printf functions are unavailable & calling them

Re: [U-Boot] [PATCH] at91: add support for CDU9G25 board

2013-09-06 Thread Wolfgang Denk
Dear Jiri Prchal, In message <1378465417-18082-1-git-send-email-jiri.prc...@aksignal.cz> you wrote: > This patch adds support for our companies board CDU9G25 with Atmel > AT91SAM9G25, 128MB DDR2, 256MB NAND. > > Signed-off-by: Jiri Prchal > --- > board/cdu9g25/Makefile| 48 ++ >

Re: [U-Boot] [PATCH 3/5] mmc: don't call *printf or puts when SPL & !CONFIG_SPL_LIBCOMMON_SUPPORT

2013-09-06 Thread Paul Burton
On 06/09/13 13:48, Pantelis Antoniou wrote: Hi Paul On Sep 4, 2013, at 6:12 PM, Paul Burton wrote: If we don't have CONFIG_SPL_LIBCOMMON_SUPPORT defined then stdio & *printf functions are unavailable & calling them will cause a link failure. Signed-off-by: Paul Burton --- drivers/mmc/mmc.c

Re: [U-Boot] [PATCH 3/5] mmc: don't call *printf or puts when SPL & !CONFIG_SPL_LIBCOMMON_SUPPORT

2013-09-06 Thread Pantelis Antoniou
Hi Paul On Sep 4, 2013, at 6:12 PM, Paul Burton wrote: > If we don't have CONFIG_SPL_LIBCOMMON_SUPPORT defined then stdio > & *printf functions are unavailable & calling them will cause a link > failure. > > Signed-off-by: Paul Burton > --- > drivers/mmc/mmc.c | 36

[U-Boot] [PATCH] at91: add support for CDU9G25 board

2013-09-06 Thread Jiri Prchal
This patch adds support for our companies board CDU9G25 with Atmel AT91SAM9G25, 128MB DDR2, 256MB NAND. Signed-off-by: Jiri Prchal --- board/cdu9g25/Makefile| 48 ++ board/cdu9g25/cdu9g25.c | 129 +++ board/cdu9g25/config.mk |1 + boards.cfg

Re: [U-Boot] [PATCH v3] usb: new board-specific USB init interface

2013-09-06 Thread Mateusz Zalega
On 09/06/13 13:40, Marek Vasut wrote: >>> Moreover, the 'int index' should likely be unsigned int and the >>> special value to init all controllers at once should probably then >>> be 0x >> >> Despite our greatest ambitions, I don't think we're likely to use more >>

Re: [U-Boot] [PATCH] mmc: Initialize mmc_devices list statically

2013-09-06 Thread Pantelis Antoniou
Hi Taras, What are you doing that makes you call any of the mmc_devices list functions before calling mmc_initialize() Which board has this problem; this looks like a board problem to me. Regards -- Pantelis On Aug 6, 2013, at 7:41 PM, Taras Kondratiuk wrote: > Currently mmc_device list is

Re: [U-Boot] [PATCH v3] usb: new board-specific USB init interface

2013-09-06 Thread Marek Vasut
Dear Mateusz Zalega, > On 09/06/13 13:24, Marek Vasut wrote: > > Moreover, the 'int index' should likely be unsigned int and the > > special value to init all controllers at once should probably then > > be 0x > > Despite our greatest ambitions, I don't think we're l

Re: [U-Boot] [u-boot][RFC v1] omap_hsmmc: omap4+/am335x: modify MMC controller internal fsm reset func

2013-09-06 Thread Pantelis Antoniou
Hi Oleksandr On Aug 6, 2013, at 1:44 PM, Oleksandr Tyshchenko wrote: > "mmc_send_cmd: timeout: No status update" error sometimes happens in > omap_hsmmc driver func mmc_send_cmd() when the MMC controller card > identification and selection sequence is executed for eMMC on OMAP4 > boards. > > It

Re: [U-Boot] [u-boot][RFC v1] mmc: Remove unused variable backup from mmc_send_cmd()

2013-09-06 Thread Pantelis Antoniou
Hi Oleksandr, On Aug 6, 2013, at 1:50 PM, Oleksandr Tyshchenko wrote: > Do not call a memset for unused variable backup every time. > Remove unused variable from function. > > Signed-off-by: Oleksandr Tyshchenko Acked-by: Pantelis Antoniou Thanks ___

Re: [U-Boot] [PATCH v3] usb: new board-specific USB init interface

2013-09-06 Thread Mateusz Zalega
On 09/06/13 13:24, Marek Vasut wrote: > Moreover, the 'int index' should likely be unsigned int and the special > value to init all controllers at once should probably then be > 0x Despite our greatest ambitions, I don't think we're likely to use more than 2^31-1

Re: [U-Boot] [PATCH] mmc/dw_mmc: Fix DMA descriptor corruption

2013-09-06 Thread Pantelis Antoniou
Hi Mischa, On Jul 26, 2013, at 3:08 PM, Mischa Jonker wrote: > In dwmci_prepare_data, the descriptors are allocated for DMA transfer. > These are allocated using the ALLOC_CACHE_ALIGN_BUFFER. This macro uses > the stack to allocate these descriptors. This becomes a problem if the > DMA transfer c

Re: [U-Boot] [PATCH v3] usb: new board-specific USB init interface

2013-09-06 Thread Marek Vasut
Dear Mateusz Zalega, > On 09/05/13 19:51, Marek Vasut wrote: > >>> Why not wrap board_usb_init() and board_usb_init_fail() into single > >>> call. You now pass some flags to board_usb_init() already, so just add > >>> another for the fail case. How does it sound to you? > >> > >> Like overenginee

Re: [U-Boot] [PATCH v3] usb: new board-specific USB init interface

2013-09-06 Thread Mateusz Zalega
On 09/05/13 19:51, Marek Vasut wrote: >>> Why not wrap board_usb_init() and board_usb_init_fail() into single call. >>> You now pass some flags to board_usb_init() already, so just add another >>> for the fail case. How does it sound to you? >> >> Like overengineering. It would lead to "board_usb_i

[U-Boot] [PATCH 3/3] powerpc: p1_p2_rdb_pc: add TPL for p1_p2_rdb_pc nand boot

2013-09-06 Thread ying.zhang
From: Ying Zhang Enable TPL for p1_p2_rdb_pc nand boot. Signed-off-by: Ying Zhang --- board/freescale/p1_p2_rdb_pc/spl.c | 15 + board/freescale/p1_p2_rdb_pc/spl_minimal.c | 83 ++-- board/freescale/p1_p2_rdb_pc/tlb.c |8 ++- include/configs/

[U-Boot] [PATCH 2/3] powerpc : p1_p2_rdb_pc : Enable p1_p2_rdb_pc to start from eSPI with SPL

2013-09-06 Thread ying.zhang
From: Ying Zhang Enable p1_p2_rdb_pc to start from eSPI with SPL. Signed-off-by: Ying Zhang --- board/freescale/p1_p2_rdb_pc/spl.c |9 + include/configs/p1_p2_rdb_pc.h | 36 +--- 2 files changed, 38 insertions(+), 7 deletions(-) diff --git a/b

[U-Boot] [PATCH 1/3] powerpc: p1_p2_rdb_pc: Enable p1_p2_rdb_pc to boot from SD Card with SPL

2013-09-06 Thread ying.zhang
From: Ying Zhang Enable p1_p2_rdb_pc to start from eSDHC with SPL. Signed-off-by: Ying Zhang --- board/freescale/p1_p2_rdb_pc/Makefile |3 + board/freescale/p1_p2_rdb_pc/spl.c| 98 + board/freescale/p1_p2_rdb_pc/tlb.c| 21 +++ include/configs

[U-Boot] [PATCH] bootm: use BOOTM_STATE_OS_CMDLINE flag for plain bootm

2013-09-06 Thread Paul Burton
A plain bootm used to call the architecture specific boot function with no flags, but was modified by commit 35fc84fa "Refactor the bootm command to reduce code duplication" to call the architecture specific boot function multiple times with various flags in sequence. The BOOTM_STATE_OS_CMDLINE fla

Re: [U-Boot] [PATCH v6 1/1] socfpga: Creating driver for Reset Manager

2013-09-06 Thread Albert ARIBAUD
Hi Chin, On Wed, 7 Aug 2013 10:08:03 -0500, Chin Liang See wrote: > Consolidating reset code into reset_manager.c. Also > separating reset configuration for virtual target and > real hardware Cyclone V development kit > > Signed-off-by: Chin Liang See > Reviewed-by: Pavel Machek > Cc: Wolfgan

Re: [U-Boot] [PATCH v6 1/1] socfpga: Adding configuration for development kit

2013-09-06 Thread Albert ARIBAUD
Hi Chin, On Wed, 7 Aug 2013 10:06:56 -0500, Chin Liang See wrote: > Separating the configuration file for Virtual > Target and real hardware Cyclone V development kit > > Signed-off-by: Chin Liang See > Reviewed-by: Pavel Machek > Cc: Wolfgang Denk > Cc: Pavel Machek > Cc: Dinh Nguyen > Cc

[U-Boot] [PATCH] Enable the DIU for P1022DS board.

2013-09-06 Thread Jason Jin
The DIU of P1022DS was disabled by commit: dfe64e2c89731a3f9950d7acd8681b68df2bae03 to verify the u-boot MTD subsystem. The local bus and DIU is multiplex on P1022, but the DIU will not be enabled if there is no video-mode environment. The NAND still can be used with DIU enabled in the configurati

Re: [U-Boot] [PATCH] arm: lds: Remove libgcc eabi exception handling tables

2013-09-06 Thread Michal Simek
On 09/05/2013 09:16 PM, Albert ARIBAUD wrote: > Hi Michal, > > On Thu, 25 Jul 2013 16:16:46 +0200, Michal Simek > wrote: > >> Remove ARM eabi exception handling tables (for frame unwinding). >> AFAICT, u-boot stubs away the frame unwiding routines, so the tables will >> more or less just consume

Re: [U-Boot] [PATCH] arm: lds: Remove libgcc eabi exception handling tables

2013-09-06 Thread Michal Simek
Hi, On 09/05/2013 06:05 PM, Albert ARIBAUD wrote: > Hi Michal, > > On Thu, 05 Sep 2013 17:30:54 +0200, Michal Simek > wrote: > >> Hi Albert, >> >> On 09/05/2013 03:03 PM, Albert ARIBAUD wrote: >>> Hi Michal, >>> >>> On Thu, 25 Jul 2013 16:16:46 +0200, Michal Simek >>> wrote: >>> Remove AR