Re: [U-Boot] [PATCH] mx6: fsl_esdhc: Fix waiting for DMA operation completion

2013-04-02 Thread Gabbasov, Andrew
> From: Eric Nelson [eric.nel...@boundarydevices.com] > Sent: Wednesday, April 03, 2013 01:38 > To: Gabbasov, Andrew > Cc: u-boot@lists.denx.de; Behme, Dirk - Bosch > Subject: Re: [U-Boot] [PATCH] mx6: fsl_esdhc: Fix waiting for DMA operation > completion > > Thanks Andrew, > > On 04/02/2013 11:

Re: [U-Boot] [PATCH v9 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-02 Thread Benoît Thébaudeau
Hi Albert, On Monday, April 1, 2013 5:53:55 PM, Albert ARIBAUD wrote: > Hi Benoît, > > On Mon, 1 Apr 2013 15:13:05 +0200 (CEST), Benoît Thébaudeau > wrote: > > > OK, then it's probably better if I send v10 ASAP. I may not have access to > > my > > repo before this date, and I have not kept my v

[U-Boot] [PATCH 3/4] smdk5250: enable support for tmu throttling

2013-04-02 Thread Akshay Saraswat
Adding tmu throttling support to smdk5250. Signed-off-by: Akshay Saraswat --- board/samsung/smdk5250/smdk5250.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/board/samsung/smdk5250/smdk5250.c b/board/samsung/smdk5250/smdk5250.c index 8b09e1d..301dcf8 100644 --- a/boar

[U-Boot] [PATCH 4/4] Exynos5: config: enable cpu freq

2013-04-02 Thread Akshay Saraswat
This patch enables cpu freq support for exynos5 by adding config for it. Signed-off-by: Akshay Saraswat --- include/configs/exynos5250-dt.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h index 496a194..18d3e04 100644 --- a

[U-Boot] [PATCH 2/4] Exynos5: cpufreq: Implement frequency scaling for exynos5

2013-04-02 Thread Akshay Saraswat
Exynos5 currently runs at full speed i.e. 1.7 GHz everytime. Scaling down the clock speed in certain situations, may help in reducing the ARM temperature and power consumption. Signed-off-by: Akshay Saraswat --- arch/arm/include/asm/arch-exynos/cpufreq.h | 54 ++ drivers/power/Makefile

[U-Boot] [PATCH 1/4] pmic: max77686: add pmic_set_voltage api for max77686

2013-04-02 Thread Akshay Saraswat
This patch adds pmic_set_voltage api in max77686. As the name suggests, this api is required for switching voltage from one level to another. Signed-off-by: Akshay Saraswat --- drivers/power/pmic/pmic_max77686.c | 61 ++ include/power/max77686_pmic.h | 12

[U-Boot] [PATCH 0/4] Exynos5: Add cpu freq and tmu throttling

2013-04-02 Thread Akshay Saraswat
This patch set adds cpu frequency scaling and tmu throttling for exynos5. Akshay Saraswat (4): pmic: max77686: add pmic_set_voltage api for max77686 Exynos5: cpufreq: Implement frequency scaling for exynos5 smdk5250: enable support for tmu throttling Exynos5: config: enable cpu freq arch

[U-Boot] [PATCH v10 25/30] arm: Remove support for smdk6400

2013-04-02 Thread Benoît Thébaudeau
The migration of boards from Makefile to boards.cfg was due for v2012.03, but smdk6400 did not follow, and it does not build, so move it to scrapyard. It will still be possible to restore it from the Git history before fixing it. Signed-off-by: Benoît Thébaudeau --- Changes in v10: - Rebase on c

[U-Boot] [PATCH v10 30/30] arm: Make all linker scripts compatible with per-symbol sections

2013-04-02 Thread Benoît Thébaudeau
Let all ARM linker scripts handle properly -ffunction-sections and -fdata-sections. This will be useful for future changes in order to create symbol-specific sections in common .S files. Signed-off-by: Benoît Thébaudeau --- Changes in v10: - Rebase on current u-boot-arm/master. Changes in v9:

[U-Boot] [PATCH v10 29/30] arm1176: Remove unused MMU setup from start.S

2013-04-02 Thread Benoît Thébaudeau
Following the removal of the smdk6400 board, the MMU setup code in arm1176/start.S becomes unused, so remove it. It will still be possible to restore it later from the Git history if necessary, in which case it should be moved out of the relocate_code() function. Signed-off-by: Benoît Thébaudeau

[U-Boot] [PATCH v10 24/30] imx: Add u-boot-with-nand-spl.imx make target

2013-04-02 Thread Benoît Thébaudeau
This image combines the SPL with the i.MX header, the FCB and U-Boot. For i.MX25/35/51, the FCB is ignored by the boot ROM, so this image is just useful because it can be programmed on a NAND Flash page boundary. For i.MX53, the FCB is required by the boot ROM. This does not support i.MX6 so far

[U-Boot] [PATCH v10 26/30] Revert "mkconfig: start deprecating Makefile config targets"

2013-04-02 Thread Benoît Thébaudeau
This reverts commit 1285a2808a254f3d1a809c1a541f0c0f746e03d7 since the migration of boards from Makefile to boards.cfg is now complete. Signed-off-by: Benoît Thébaudeau --- Changes in v10: None Changes in v9: None Changes in v8: - New patch. Changes in v7: None Changes in v6: None Changes in v5

[U-Boot] [PATCH v10 21/30] Makefile: Move SHELL setup to config.mk

2013-04-02 Thread Benoît Thébaudeau
make never uses the SHELL variable from the environment. Instead, it uses /bin/sh, or the value assigned to the SHELL variable by the Makefile. This makes the export of the SHELL variable useless for sub-makes (but still useful for the environment of recipes). However, we want all makes to use the

[U-Boot] [PATCH v10 23/30] imx: Add u-boot-with-spl.imx make target

2013-04-02 Thread Benoît Thébaudeau
This image combines the SPL with the i.MX header and U-Boot. This is a convenient way of having a single image to program on some boot devices. The i.MX header has to be added to the SPL before appending U-Boot, so that the boot ROM loads only the SPL. Signed-off-by: Benoît Thébaudeau --- Change

[U-Boot] [PATCH v10 28/30] arm: Remove deprecated and now unused NAND SPL

2013-04-02 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v10: None Changes in v9: None Changes in v8: - New patch. Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/config.mk |2 -- arch/arm/cpu/arm1176/start.S

[U-Boot] [PATCH v10 22/30] .gitignore: Add /SPL

2013-04-02 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v10: None Changes in v9: None Changes in v8: - New patch. Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None .gitignore |1 + 1 file changed, 1 insertion(+) diff --git a/.g

[U-Boot] [PATCH v10 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-02 Thread Benoît Thébaudeau
This also fixes support for mx31pdk and tx25, which had been broken by commit e05e5de7fae5bec79617e113916dac6631251156. Signed-off-by: Benoît Thébaudeau Acked-by: Scott Wood Tested-by: Fabio Estevam --- Changes in v10: - Rebase on current u-boot-arm/master, especially following commits 3ebd1cb

[U-Boot] [PATCH v10 19/30] arm926ejs: Remove deprecated and now unused NAND SPL

2013-04-02 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v10: - Rebase on current u-boot-arm/master. Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: - New patch. Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/cpu/arm926ejs/start.S |

[U-Boot] [PATCH v10 20/30] arm: Remove unused relocate_code() parameters

2013-04-02 Thread Benoît Thébaudeau
Commit e05e5de7fae5bec79617e113916dac6631251156 made the 2 1st parameters of ARM's relocate_code() useless since it moved the code handling them to crt0.S. So, drop these parameters. Signed-off-by: Benoît Thébaudeau --- Changes in v10: None Changes in v9: None Changes in v8: - Update the functio

[U-Boot] [PATCH v10 17/30] imx: Fix automatic make targets for imx images

2013-04-02 Thread Benoît Thébaudeau
Automatically build the 'u-boot.imx' (i.e. imx header + u-boot.bin) and 'SPL' (i.e. imx header + u-boot-spl.bin) make targets for all imx processors supporting this header, so for arm926ejs, arm1136 and armv7. Some combinations were missing. At the same time, fix the build of SPL targets not suppo

[U-Boot] [PATCH v10 16/30] Makefile: Change CONFIG_SPL_PAD_TO to image offset

2013-04-02 Thread Benoît Thébaudeau
Change CONFIG_SPL_PAD_TO from a link address to an image offset since this is more handy and closer to the purpose of this config. Automatically define CONFIG_SPL_PAD_TO to CONFIG_SPL_MAX_SIZE (or 0 without CONFIG_SPL_MAX_SIZE). Test that CONFIG_SPL_PAD_TO >= CONFIG_SPL_MAX_SIZE if CONFIG_SPL_PAD

[U-Boot] [PATCH v10 15/30] autoconfig.mk: Make it possible to define configs from other configs

2013-04-02 Thread Benoît Thébaudeau
Give more flexibility to define configs that can be interpreted by make, e.g. to define fallback values of configs like in the example below. Before this change, the config lines: #define CONFIG_SPL_MAX_SIZE2048 #define CONFIG_SPL_PAD_TO CONFIG_SPL_MAX_SIZE would have been changed in au

[U-Boot] [PATCH v10 13/30] arm: relocate_code(): Use __image_copy_end for end of relocation

2013-04-02 Thread Benoît Thébaudeau
Use __image_copy_end instead of __bss_start for the end of the image to relocate. This is the same as commit 033ca72, but applied to all ARM start.S. This is a more appropriate symbol naming for an image copy & relocate feature, and this also saves a useless copy of data put between __image_copy_e

[U-Boot] [PATCH v10 14/30] arm: crt0.S: Remove bogus .globl

2013-04-02 Thread Benoît Thébaudeau
The purpose of .globl is to export symbols for ld, not to declare external symbols. By the way, use the ENTRY() and ENDPROC() macros to define functions rather than using .global directly. Signed-off-by: Benoît Thébaudeau --- Changes in v10: - Rebase on current u-boot-arm/master. Changes in v9

[U-Boot] [PATCH v10 12/30] arm: relocate_code(): Remove useless relocation offset computation

2013-04-02 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v10: None Changes in v9: None Changes in v8: - Make sure that r9 is initialized in all cases because it may be used after relocate_code(). Changes in v7: None Changes in v6: - New patch. Changes in v5: None Changes in v4: None Changes in v3: N

[U-Boot] [PATCH v10 09/30] arm: start.S: Fix _TEXT_BASE for SPL

2013-04-02 Thread Benoît Thébaudeau
_TEXT_BASE must be set to CONFIG_SPL_TEXT_BASE for generic SPL, and to CONFIG_SYS_TEXT_BASE for non-SPL builds. Signed-off-by: Benoît Thébaudeau Reviewed-by: Tom Rini --- Changes in v10: None Changes in v9: None Changes in v8: - Apply to mxs SPL too. Changes in v7: None Changes in v6: - New p

[U-Boot] [PATCH v10 08/30] nand: mxc: Use appropriate page number in syndrome functions

2013-04-02 Thread Benoît Thébaudeau
The syndrome functions should use the page number passed as argument instead of the page number saved upon NAND_CMD_READ0. This does not make any difference if the NAND_NO_AUTOINCR option is set, but otherwise this fixes accesses to the wrong pages. Signed-off-by: Benoît Thébaudeau Acked-by: Sco

[U-Boot] [PATCH v10 10/30] arm: relocate_code() is no longer noreturn

2013-04-02 Thread Benoît Thébaudeau
Commit e05e5de7fae5bec79617e113916dac6631251156 made ARM's relocate_code() return to its caller, but it did not update its declaration accordingly. Fixing this function declaration fixes dropped C code following calls to relocate_code(). Signed-off-by: Benoît Thébaudeau --- Changes in v10: None

[U-Boot] [PATCH v10 11/30] arm1136: Remove redundant relocate_code() return

2013-04-02 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: - New patch, extracted from "nand: mxc: Switch NAND SPL to generic SPL". Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm

[U-Boot] [PATCH v10 04/30] nand: mxc: Add support for i.MX5

2013-04-02 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau Acked-by: Scott Wood Tested-by: Fabio Estevam --- Changes in v10: None Changes in v9: - Drop the now unused SRC register definitions. Changes in v8: - Rebase on Fabio's patches using CONFIG_SYS_NAND_BUSWIDTH_16BIT instead of NAND Flash boot config pins to d

[U-Boot] [PATCH v10 06/30] imx: mx53ard: Add support for NAND Flash

2013-04-02 Thread Benoît Thébaudeau
Add support for the Samsung K9LAG08U0M NAND Flash (2-GiB MLC NAND Flash, 2-kiB pages, 256-kiB blocks, 30-ns R/W cycles, 1 CS) on mx53ard. eNFC_CLK_ROOT is set up with a cycle time of 37.5 ns (400 MHz / 3 / 5) for this board, which satisfies the 30-ns NF R/W cycle requirement. Signed-off-by: Benoî

[U-Boot] [PATCH v10 07/30] nand: mxc: Fix debug trace in mxc_nand_read_oob_syndrome()

2013-04-02 Thread Benoît Thébaudeau
The page number indicated in the debug trace of mxc_nand_read_oob_syndrome() did not match the page being worked on. By the way, replace the GCC-specific __FUNCTION__ with __func__. Signed-off-by: Benoît Thébaudeau Acked-by: Scott Wood --- Changes in v10: None Changes in v9: None Changes in v8:

[U-Boot] [PATCH v10 03/30] nand: mxc: Prepare to add support for i.MX5

2013-04-02 Thread Benoît Thébaudeau
Add some abstraction to NFC definitions so that some parts of the current code can also be used for future i.MX5 code. Clean up a few things by the way. Signed-off-by: Benoît Thébaudeau Acked-by: Scott Wood Tested-by: Fabio Estevam --- Changes in v10: None Changes in v9: None Changes in v8: No

[U-Boot] [PATCH v10 05/30] imx: mx5: lowlevel_init: Simplify code

2013-04-02 Thread Benoît Thébaudeau
Don't use several instructions to build constant values. Signed-off-by: Benoît Thébaudeau Acked-by: Stefano Babic --- Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - New patch. Changes

[U-Boot] [PATCH v10 02/30] mtd: nand: mxc_nand: Fix is_16bit_nand()

2013-04-02 Thread Benoît Thébaudeau
From: Fabio Estevam Currently is_16bit_nand() is a per SoC function and it decides the bus nand width by reading some boot related registers. This method works when NAND is the boot medium, but does not work if another boot medium is used. For example: booting from a SD card and then using NAND

[U-Boot] [PATCH v10 01/30] mtd: nand: Introduce CONFIG_SYS_NAND_BUSWIDTH_16BIT

2013-04-02 Thread Benoît Thébaudeau
From: Fabio Estevam Introduce CONFIG_SYS_NAND_BUSWIDTH_16BIT option so that other NAND controller drivers could use it when a 16-bit NAND is deployed. drivers/mtd/nand/ndfc has CONFIG_SYS_NDFC_16BIT, so just rename it, so that other NAND drivers could reuse the same symbol. Signed-off-by: Fabio

Re: [U-Boot] OMAP (4) boot_params

2013-04-02 Thread Albert ARIBAUD
Hi Michael, (please wrap your line around 70 chars max) I won't comment on the 'u-boot' part of your message as it is quite SPL-vs-U-Boot- and OMAP-specific, and I prefer to leave this to people better suited for this. However, on the low level init front: On Tue, 2 Apr 2013 18:39:17 -0400, Mich

Re: [U-Boot] [PATCH] doc/feature-removal-schedule.txt: Add CONFIG_SYS_(CLOCKS|PADS)_ENABLE_ALL

2013-04-02 Thread Michael Cashwell
On Apr 2, 2013, at 2:56 PM, Tom Rini wrote: > On 04/02/2013 02:41 PM, Michael Cashwell wrote: > >> I'm currently using 3.0.8. That version most assuredly fails miserably >> without defining CONFIG_SYS_(CLOCKS|PADS)_ENABLE_ALL in >> u-boot. That kernel is part of the 3.0.x longterm lineage whic

Re: [U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-04-02 Thread Stefan Roese
On 02.04.2013 23:48, txcotrader wrote: > Hello, > > I'm looking for some direction. I'm trying to update my version of u-boot > for a custom board based off of the PPC460SX. I'm struggling to understand > why I cannot get past reading the I2C on the DIMM. I'm receiving this error: > > CPU: AMCC

[U-Boot] [PATCH] cfi_flash: Use uintptr_t for casts from u32 to void *

2013-04-02 Thread Stefan Roese
This fixes this build warning: Configuring for qemu_mips64 - Board: qemu-mips64, Options: SYS_BIG_ENDIAN textdata bss dec hex filename 215344 13082 218720 447146 6d2aa qemu_mips64/u-boot cfi_flash.c: In function 'flash_map': cfi_flash.c:217:9: warning: cast to pointer fro

Re: [U-Boot] [PATCH v7] mtd: cfi_flash: Fix CFI flash driver for 8-bit bus support

2013-04-02 Thread Aaron Williams
Thanks, I'll be glad to finally see this patch applied. -Aaron On 04/02/2013 05:34 AM, Stefan Roese wrote: On 27.03.2013 11:22, Jagannadha Sutradharudu Teki wrote: Hi, Any update on this. I'll apply this patch shortly. Sorry for the delay. Thanks, Stefan -- Aaron Williams Software Engi

[U-Boot] OMAP (4) boot_params

2013-04-02 Thread Michael Cashwell
Greetings, I've been fighting with SPL passing not boot_params properly to u-boot on OMAP4. There are many layers to this onion but I've tracked the bulk of the problem down to the following issues. --- SPL --- arch/arm/cpu/armv7/omap-common/hwinit-common.c sets a pointer to the SPL's &boot_p

Re: [U-Boot] [PATCH] mx6: fsl_esdhc: Fix waiting for DMA operation completion

2013-04-02 Thread Eric Nelson
Thanks Dirk, On 04/02/2013 11:10 AM, Dirk Behme wrote: Am 02.04.2013 17:49, schrieb Eric Nelson: Thanks Andrew, On 04/02/2013 03:04 AM, Andrew Gabbasov wrote: On iMX6 sometimes the Transfer Complete interrupt occurs earlier than the DMA part completes its operation. If immediately after that

[U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-04-02 Thread txcotrader
Hello, I'm looking for some direction. I'm trying to update my version of u-boot for a custom board based off of the PPC460SX. I'm struggling to understand why I cannot get past reading the I2C on the DIMM. I'm receiving this error: CPU: AMCC PowerPC 460SX Rev. A at 231.291 MHz (PLB=33 OPB=16 E

Re: [U-Boot] [PATCH] mx6: fsl_esdhc: Fix waiting for DMA operation completion

2013-04-02 Thread Eric Nelson
Thanks Andrew, On 04/02/2013 11:21 AM, Gabbasov, Andrew wrote: From: Eric Nelson [eric.nel...@boundarydevices.com] Sent: Tuesday, April 02, 2013 19:49 To: Gabbasov, Andrew Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH] mx6: fsl_esdhc: Fix waiting for DMA operation completion Thanks And

Re: [U-Boot] [PATCH] Tegra: Split tegra_get_chip_type() into _soc and _sku functions

2013-04-02 Thread Stephen Warren
On 04/02/2013 02:55 PM, Tom Warren wrote: > As suggested by Stephen Warren, use tegra_get_soc_type() to return > the pure CHIPID for a Tegra SoC (i.e. 0x20 for Tegra20, 0x30 for > Tegra30, etc.) and rename tegra_get_chip_type() to reflect its true > function, i.e. tegra_get_soc_sku(), which returns

Re: [U-Boot] [PATCH v2 5/6] omap_gpmc: add support for hw assisted BCH8

2013-04-02 Thread Tom Rini
On Tue, Apr 02, 2013 at 06:05:57PM +0200, Andreas Bie??mann wrote: > The BCH for OMAP3 is implemented as the linux kernel in > 0e618ef0a6a33cf7ef96c2c824402088dd8ef48c does. > > The kernel states: > > ---8<--- > The OMAP3 GPMC hardware BCH engine computes remainder polynomials, it does not > pro

Re: [U-Boot] [PATCH v2 4/6] omap_gpmc: change nandecc command

2013-04-02 Thread Tom Rini
On Tue, Apr 02, 2013 at 06:05:56PM +0200, Andreas Bie??mann wrote: > With uppcoming BCH support on OMAP devices we need to decide between differnt > algorithms when switching the ECC engine. Currently we support 1-bit hammign > and 8-bit BCH on HW backend. > > In order to switch between differne

Re: [U-Boot] [PATCH v2 3/6] omap3/omap_gpmc.h: add ooblayout for BCH8 as in kernel

2013-04-02 Thread Tom Rini
On Tue, Apr 02, 2013 at 06:05:55PM +0200, Andreas Bie??mann wrote: > This patch adds BCH8 ooblayout for NAND as provided by > 0e618ef0a6a33cf7ef96c2c824402088dd8ef48c in linux kernel. This Layout is > currently only provided for 64 byte OOB. > > Signed-off-by: Andreas Bie??mann > Cc: Tom Rini >

Re: [U-Boot] [PATCH v2 2/6] asm/omap_gpmc.h: consolidate common defines

2013-04-02 Thread Tom Rini
On Tue, Apr 02, 2013 at 06:05:54PM +0200, Andreas Bie??mann wrote: > arch/arm/include/asm/arch-am33xx/omap_gpmc.h and > arch/arm/include/asm/arch-omap3/omap_gpmc.h are almost the same, consolidate > the common parts into a new header. > > Introduce a new asm/omap_gpmc.h which defines the command

Re: [U-Boot] [PATCH v2 1/6] omap3/cpu.h: add BCH support

2013-04-02 Thread Tom Rini
On Tue, Apr 02, 2013 at 06:05:53PM +0200, Andreas Bie??mann wrote: > This patch adds the BCH result registers to register mapping for OMAP3 gpmc. > > Signed-off-by: Andreas Bie??mann > Cc: Tom Rini > Cc: Ilya Yanok > Cc: Scott Wood Reviewed-by: Tom Rini -- Tom signature.asc Description:

[U-Boot] [PATCH] Tegra: Split tegra_get_chip_type() into _soc and _sku functions

2013-04-02 Thread Tom Warren
As suggested by Stephen Warren, use tegra_get_soc_type() to return the pure CHIPID for a Tegra SoC (i.e. 0x20 for Tegra20, 0x30 for Tegra30, etc.) and rename tegra_get_chip_type() to reflect its true function, i.e. tegra_get_soc_sku(), which returns an ID like TEGRA_SOC_T25, TEGRA_SOC_T33, etc. Si

Re: [U-Boot] [PATCH 2/2] OMAP4/5: I2C: New I2C driver files added

2013-04-02 Thread Tom Rini
On Fri, Mar 29, 2013 at 06:36:40PM +0200, Lubomir Popov wrote: > New I2C driver that fixes read-related issues with some types > of I2C chips. The i2c_read function now performs bulk read of > the requested number of bytes in a single transaction and > completes much faster. Whether to use Stop-St

Re: [U-Boot] [Patch v8] Consolidate bool type

2013-04-02 Thread Tom Rini
On Mon, Apr 01, 2013 at 11:29:11AM -0700, York Sun wrote: > 'bool' is defined in random places. This patch consolidates them into a > single header file include/linux/types.h, using stdbool.h introduced in C99. > > All other #define, typedef and enum are removed. They are all consistent with > tr

Re: [U-Boot] [PATCH] doc/feature-removal-schedule.txt: Add CONFIG_SYS_(CLOCKS|PADS)_ENABLE_ALL

2013-04-02 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/02/2013 02:41 PM, Michael Cashwell wrote: > On Apr 2, 2013, at 1:39 PM, Tom Rini wrote: > >> We shall remove these OMAP4/5-specific options in v2013.07, >> barring insufficient progress on the kernel side. ... +Our >> expectation is that by v20

Re: [U-Boot] [PATCH] doc/feature-removal-schedule.txt: Add CONFIG_SYS_(CLOCKS|PADS)_ENABLE_ALL

2013-04-02 Thread Michael Cashwell
On Apr 2, 2013, at 1:39 PM, Tom Rini wrote: > We shall remove these OMAP4/5-specific options in v2013.07, barring > insufficient progress on the kernel side. > ... > +Our expectation is that by v2013.07 a suitable kernel shall exist that > does not need these options set for a reasonable I

Re: [U-Boot] [PATCH v2 3/6] ubi: ubifs: Turn off verbose prints

2013-04-02 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/02/2013 06:46 AM, Stefan Roese wrote: > Hi Joe, > > On 26.03.2013 22:53, Joe Hershberger wrote: >> The prints are out of control. SILENCE! >> >> Signed-off-by: Joe Hershberger --- >> Changes in v2: - Cleaned up the msg print silencing > > T

Re: [U-Boot] [PATCH] mx6: fsl_esdhc: Fix waiting for DMA operation completion

2013-04-02 Thread Gabbasov, Andrew
> From: Eric Nelson [eric.nel...@boundarydevices.com] > Sent: Tuesday, April 02, 2013 19:49 > To: Gabbasov, Andrew > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH] mx6: fsl_esdhc: Fix waiting for DMA operation > completion > > Thanks Andrew, > > On 04/02/2013 03:04 AM, Andrew Gabbasov

Re: [U-Boot] Please pull u-boot-cfi-flash/master

2013-04-02 Thread Tom Rini
On Tue, Apr 02, 2013 at 04:41:24PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the following patches which have been queued for some time > (sorry for the delay): > > > The following changes since commit 5644369450635fa5c2967bee55b1ac41f6e988d0: > > Merge branch 'ag...@denx.de' of g

Re: [U-Boot] [PATCH] mx6: fsl_esdhc: Fix waiting for DMA operation completion

2013-04-02 Thread Dirk Behme
Am 02.04.2013 17:49, schrieb Eric Nelson: Thanks Andrew, On 04/02/2013 03:04 AM, Andrew Gabbasov wrote: On iMX6 sometimes the Transfer Complete interrupt occurs earlier than the DMA part completes its operation. If immediately after that the read data is used for some data verification, those o

[U-Boot] [PATCH] doc/feature-removal-schedule.txt: Add CONFIG_SYS_(CLOCKS|PADS)_ENABLE_ALL

2013-04-02 Thread Tom Rini
We shall remove these OMAP4/5-specific options in v2013.07, barring insufficient progress on the kernel side. Cc: Sricharan R Signed-off-by: Tom Rini --- doc/feature-removal-schedule.txt | 16 1 file changed, 16 insertions(+) diff --git a/doc/feature-removal-schedule.txt b/d

Re: [U-Boot] Potential issue with recent OMAP PRCM struct unification

2013-04-02 Thread Sricharan R
On Tuesday 02 April 2013 10:12 PM, Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 04/02/2013 11:55 AM, Sricharan R wrote: >> On Tuesday 02 April 2013 08:47 PM, Tom Rini wrote: >>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >>> >>> On 04/02/2013 11:06 AM, Sricharan R wr

Re: [U-Boot] [PATCH v11 2/2] Enable btrfs support in mx53loco config

2013-04-02 Thread Adnan Ali
On 02/04/13 18:03, Tom Rini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/02/2013 11:52 AM, Robert Nelson wrote: On Tue, Apr 2, 2013 at 10:38 AM, Adnan Ali wrote: On 02/04/13 16:19, Robert Nelson wrote: On Tue, Apr 2, 2013 at 9:17 AM, Adnan Ali wrote: Enable btrfs support in m

Re: [U-Boot] [PATCH v11 2/2] Enable btrfs support in mx53loco config

2013-04-02 Thread Adnan Ali
On 02/04/13 17:41, Otavio Salvador wrote: On Tue, Apr 2, 2013 at 12:38 PM, Adnan Ali wrote: On 02/04/13 16:19, Robert Nelson wrote: On Tue, Apr 2, 2013 at 9:17 AM, Adnan Ali wrote: Enable btrfs support in mx53loco config Signed-off-by: Adnan Ali --- include/configs/mx53loco.h |4 +++

Re: [U-Boot] AM3517_EVM, MLO not booting

2013-04-02 Thread James Chandler
Manfred & Albert, The patch did work. Thanks, James P.S. Unfortunately my MUA is OWA, and I cannot change the line length myself. From: Manfred Huber [man.hu...@arcor.de] Sent: Tuesday, April 02, 2013 1:25 AM To: James Chandler Cc: u-boot@lists.denx.de; S

Re: [U-Boot] [PATCH V4 4/5] ARM: OMAP4/5: Change the default boot command to work with device tree

2013-04-02 Thread Sricharan R
On Tuesday 02 April 2013 09:43 PM, Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 04/02/2013 11:33 AM, Sricharan R wrote: >> Hi Tom, >> >> On Tuesday 02 April 2013 12:50 AM, Tom Rini wrote: >>> On Mon, Apr 01, 2013 at 09:22:41PM +0530, Sricharan R wrote: >>> Now with

Re: [U-Boot] [PATCH v11 2/2] Enable btrfs support in mx53loco config

2013-04-02 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/02/2013 11:52 AM, Robert Nelson wrote: > On Tue, Apr 2, 2013 at 10:38 AM, Adnan Ali > wrote: >> On 02/04/13 16:19, Robert Nelson wrote: >>> >>> On Tue, Apr 2, 2013 at 9:17 AM, Adnan Ali >>> wrote: Enable btrfs support in mx53loco co

Re: [U-Boot] Potential issue with recent OMAP PRCM struct unification

2013-04-02 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/02/2013 11:55 AM, Sricharan R wrote: > On Tuesday 02 April 2013 08:47 PM, Tom Rini wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> On 04/02/2013 11:06 AM, Sricharan R wrote: >>> On Tuesday 02 April 2013 05:59 PM, Michael Cashwell w

Re: [U-Boot] [PATCH v11 2/2] Enable btrfs support in mx53loco config

2013-04-02 Thread Otavio Salvador
On Tue, Apr 2, 2013 at 12:38 PM, Adnan Ali wrote: > On 02/04/13 16:19, Robert Nelson wrote: >> >> On Tue, Apr 2, 2013 at 9:17 AM, Adnan Ali >> wrote: >>> >>> Enable btrfs support in mx53loco config >>> >>> Signed-off-by: Adnan Ali >>> --- >>> include/configs/mx53loco.h |4 +++- >>> 1 file

Re: [U-Boot] [PATCH v11 2/2] Enable btrfs support in mx53loco config

2013-04-02 Thread Otavio Salvador
On Tue, Apr 2, 2013 at 11:17 AM, Adnan Ali wrote: > Enable btrfs support in mx53loco config > > Signed-off-by: Adnan Ali NACK! This break current uses. -- Otavio Salvador O.S. Systems E-mail: ota...@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7

[U-Boot] [PATCH] ARMv7: start.S: stay in HYP mode if u-boot is entered in it

2013-04-02 Thread Andre Przywara
The KVM and Xen hypervisors for the Cortex-A15 virtualization implementation need to be entered in HYP mode. Should the primary board firmware already enter HYP mode (Calxeda firmware does that), we should not deliberately drop back to SVC mode. Since U-boot does not use the MMU, running in HYP mod

Re: [U-Boot] [RFC/PATCH 0/4] BCH8 support for OMAP3

2013-04-02 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/02/2013 04:49 AM, Andreas Bießmann wrote: > Dear Tom Rini, > > On 03/28/2013 03:21 PM, Tom Rini wrote: >> On Thu, Mar 28, 2013 at 11:49:54AM +0100, Andreas Bie??mann >> wrote: >> >>> On 11/23/2012 04:14 PM, Andreas Bie??mann wrote: This RF

Re: [U-Boot] [PATCH V4 4/5] ARM: OMAP4/5: Change the default boot command to work with device tree

2013-04-02 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/02/2013 11:33 AM, Sricharan R wrote: > Hi Tom, > > On Tuesday 02 April 2013 12:50 AM, Tom Rini wrote: >> On Mon, Apr 01, 2013 at 09:22:41PM +0530, Sricharan R wrote: >> >>> Now with kernel moving to all device tree, the default boot >>> command

[U-Boot] [PATCH v2 6/6] tricorder: enable hw assisted BCH8 in SPL and u-boot

2013-04-02 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann Cc: Tom Rini Cc: Thomas Weber Cc: Ilya Yanok Cc: Scott Wood --- since v1: * reduce SPL stack size (increase code segment) include/configs/tricorder.h | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/include/configs/tricorder

[U-Boot] [PATCH v2 5/6] omap_gpmc: add support for hw assisted BCH8

2013-04-02 Thread Andreas Bießmann
The BCH for OMAP3 is implemented as the linux kernel in 0e618ef0a6a33cf7ef96c2c824402088dd8ef48c does. The kernel states: ---8<--- The OMAP3 GPMC hardware BCH engine computes remainder polynomials, it does not provide automatic error location and correction: this step is implemented using the BCH

[U-Boot] [PATCH v2 4/6] omap_gpmc: change nandecc command

2013-04-02 Thread Andreas Bießmann
With uppcoming BCH support on OMAP devices we need to decide between differnt algorithms when switching the ECC engine. Currently we support 1-bit hammign and 8-bit BCH on HW backend. In order to switch between differnet ECC algorithms we need to change the interface of omap_nand_switch_ecc() als

[U-Boot] [PATCH v2 3/6] omap3/omap_gpmc.h: add ooblayout for BCH8 as in kernel

2013-04-02 Thread Andreas Bießmann
This patch adds BCH8 ooblayout for NAND as provided by 0e618ef0a6a33cf7ef96c2c824402088dd8ef48c in linux kernel. This Layout is currently only provided for 64 byte OOB. Signed-off-by: Andreas Bießmann Cc: Tom Rini Cc: Ilya Yanok Cc: Scott Wood --- since v1: * minor comment changes arch/arm/

[U-Boot] [PATCH v2 2/6] asm/omap_gpmc.h: consolidate common defines

2013-04-02 Thread Andreas Bießmann
arch/arm/include/asm/arch-am33xx/omap_gpmc.h and arch/arm/include/asm/arch-omap3/omap_gpmc.h are almost the same, consolidate the common parts into a new header. Introduce a new asm/omap_gpmc.h which defines the command part and pulls in the architecture specific one. Signed-off-by: Andreas Bießm

[U-Boot] [PATCH v2 1/6] omap3/cpu.h: add BCH support

2013-04-02 Thread Andreas Bießmann
This patch adds the BCH result registers to register mapping for OMAP3 gpmc. Signed-off-by: Andreas Bießmann Cc: Tom Rini Cc: Ilya Yanok Cc: Scott Wood --- since v1: unchanged arch/arm/include/asm/arch-omap3/cpu.h |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/include/

Re: [U-Boot] Potential issue with recent OMAP PRCM struct unification

2013-04-02 Thread Sricharan R
On Tuesday 02 April 2013 08:47 PM, Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 04/02/2013 11:06 AM, Sricharan R wrote: >> On Tuesday 02 April 2013 05:59 PM, Michael Cashwell wrote: >>> On Apr 2, 2013, at 5:32 AM, Sricharan R >>> wrote: > [snip] Also why are you

Re: [U-Boot] [PATCH v11 2/2] Enable btrfs support in mx53loco config

2013-04-02 Thread Robert Nelson
On Tue, Apr 2, 2013 at 10:38 AM, Adnan Ali wrote: > On 02/04/13 16:19, Robert Nelson wrote: >> >> On Tue, Apr 2, 2013 at 9:17 AM, Adnan Ali >> wrote: >>> >>> Enable btrfs support in mx53loco config >>> >>> Signed-off-by: Adnan Ali >>> --- >>> include/configs/mx53loco.h |4 +++- >>> 1 file

Re: [U-Boot] [PATCH] mx6: fsl_esdhc: Fix waiting for DMA operation completion

2013-04-02 Thread Eric Nelson
Thanks Andrew, On 04/02/2013 03:04 AM, Andrew Gabbasov wrote: On iMX6 sometimes the Transfer Complete interrupt occurs earlier than the DMA part completes its operation. If immediately after that the read data is used for some data verification, those obtained data may be incomplete, which cause

Re: [U-Boot] [PATCH v11 2/2] Enable btrfs support in mx53loco config

2013-04-02 Thread Robert Nelson
On Tue, Apr 2, 2013 at 9:17 AM, Adnan Ali wrote: > Enable btrfs support in mx53loco config > > Signed-off-by: Adnan Ali > --- > include/configs/mx53loco.h |4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h > inde

Re: [U-Boot] [PATCH v11 2/2] Enable btrfs support in mx53loco config

2013-04-02 Thread Adnan Ali
On 02/04/13 16:19, Robert Nelson wrote: On Tue, Apr 2, 2013 at 9:17 AM, Adnan Ali wrote: Enable btrfs support in mx53loco config Signed-off-by: Adnan Ali --- include/configs/mx53loco.h |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/configs/mx53loco.h b/in

Re: [U-Boot] [PATCH V4 4/5] ARM: OMAP4/5: Change the default boot command to work with device tree

2013-04-02 Thread Sricharan R
Hi Tom, On Tuesday 02 April 2013 12:50 AM, Tom Rini wrote: > On Mon, Apr 01, 2013 at 09:22:41PM +0530, Sricharan R wrote: > >> Now with kernel moving to all device tree, the default >> boot command is changed to pass the device tree blob. >> Also, adding the findfdt command to get the dt-blob >>

Re: [U-Boot] Potential issue with recent OMAP PRCM struct unification

2013-04-02 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/02/2013 11:06 AM, Sricharan R wrote: > On Tuesday 02 April 2013 05:59 PM, Michael Cashwell wrote: >> On Apr 2, 2013, at 5:32 AM, Sricharan R >> wrote: [snip] >>> Also why are you enabling the non-essential clocks ? >> >> Because I must be able

Re: [U-Boot] Potential issue with recent OMAP PRCM struct unification

2013-04-02 Thread Sricharan R
On Tuesday 02 April 2013 05:59 PM, Michael Cashwell wrote: > On Apr 2, 2013, at 5:32 AM, Sricharan R wrote: > >>> On first blush, it looks like having both cm_l3instr_intrconn_wp1_clkct and >>> cm_l3instr_intrconn_wp1_clkctrl is a mistake. >> >> First, on which board are you testing ?. I tested

[U-Boot] Please pull u-boot-cfi-flash/master

2013-04-02 Thread Stefan Roese
Hi Tom, please pull the following patches which have been queued for some time (sorry for the delay): The following changes since commit 5644369450635fa5c2967bee55b1ac41f6e988d0: Merge branch 'ag...@denx.de' of git://git.denx.de/u-boot-staging (2013-03-31 08:43:12 -0400) are available in th

Re: [U-Boot] [PATCH v7] mtd: cfi_flash: Fix CFI flash driver for 8-bit bus support

2013-04-02 Thread Stefan Roese
On 03.03.2013 12:15, Jagannadha Sutradharudu Teki wrote: > From: aaron.willi...@caviumnetworks.com > > This commit is based on that patch from aaron.willi...@caviumnetworks.com > with same commit title. pulled the same code changes into current u-boot tree. > > http://patchwork.ozlabs.org/patch/1

Re: [U-Boot] [PATCH] mtd: cfi_flash: Write buffer size adjustment for M29EW Numonyx devices

2013-04-02 Thread Stefan Roese
On 01.03.2013 12:24, Jagannadha Sutradharudu Teki wrote: > This patch addjusted the write buffer size for M29EW devices those > are operated in 8-bit mode. > > The M29EW devices seem to report the CFI information wrong when > it's in 8 bit mode. > > There's an app note from Numonyx on this issue

[U-Boot] [PATCH v11 1/2] Introduced btrfs file-system with btrload command

2013-04-02 Thread Adnan Ali
Introduces btrfs file-system to read file from volume/sub-volumes with btrload command. This implementation has read-only support. This btrfs implementation is based on syslinux btrfs code, commit 269ebc845ebc8b46ef4b0be7fa0005c7fdb95b8d. v11: Mirro super block check. v10: patch problem re

[U-Boot] [PATCH v11 2/2] Enable btrfs support in mx53loco config

2013-04-02 Thread Adnan Ali
Enable btrfs support in mx53loco config Signed-off-by: Adnan Ali --- include/configs/mx53loco.h |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h index a4b610f..62e9a76 100644 --- a/include/configs/mx53loco.h +++ b/i

Re: [U-Boot] [PATCH V3 00/10] OMAP3-5: TWL[46]03[05]: cleanup register access and misc minimal cleanups

2013-04-02 Thread Nishanth Menon
On 09:47-20130327, Sricharan R wrote: > On Tuesday 26 March 2013 08:50 PM, Nishanth Menon wrote: > > This series helps standardize register parameters for TWL4030, 6030 and 6035 > > used in various OMAP3,4,5 based platforms. [..] > > Acked-by: R Sricharan for the series Gentle ping on this serie

Re: [U-Boot] [PATCH 1/3] arm:goni: Adjustment of configuration for goni target

2013-04-02 Thread Arkadiusz Wlodarczyk
Dear Minkyu Kang, As I understood, you marked that adding of the void board_usb_init(void) function implementation to the board/samsung/goni/goni.c file is unrelated to the subject of the patch. I would like to explain, that I added the board_usb_init implementation because the function is used by

Re: [U-Boot] [PATCH 5/7] usb: hub: Increase device enumeration timeout for broken drives

2013-04-02 Thread Vivek Gautam
Hi Marek, On Thu, Mar 28, 2013 at 8:02 PM, Marek Vasut wrote: > Dear Vivek Gautam, > >> Few broken usb mass storage devices can take some time to set >> Current Connect Status (CCS) and Connect Status Change (CSC) in >> Port status register after an attach. >> So increasing some timeout when bot

Re: [U-Boot] [RFC] Bootcount improvements

2013-04-02 Thread Alexandre Dilly
Hi, > Dear Alexandre, > > > > > In fact I would like to keep the bootcount value after a shutdown > > to handle update failures. Some embedded systems have only network > > access for administration and if you install an updated system with > > a > > misconfiguration of the network interface, you

[U-Boot] [PATCH, v1] arm:trats: change auto-booting to boot kernel with separate device tree blob

2013-04-02 Thread a . wlodarczyk
From: Arkadiusz Wlodarczyk Signed-off-by: Arkadiusz Wlodarczyk Signed-off-by: Kyungmin Park Tested-by: Arkadiusz Wlodarczyk Cc: Minkyu Kang --- Changes: Modify autoboot scripts that are included in environment variables of default environment in order to load device tree to memory prior to bo

Re: [U-Boot] [PATCH v7] mtd: cfi_flash: Fix CFI flash driver for 8-bit bus support

2013-04-02 Thread Stefan Roese
On 27.03.2013 11:22, Jagannadha Sutradharudu Teki wrote: > Hi, > > Any update on this. I'll apply this patch shortly. Sorry for the delay. Thanks, Stefan ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] mx6: fsl_esdhc: Fix waiting for DMA operation completion

2013-04-02 Thread Andrew Gabbasov
On iMX6 sometimes the Transfer Complete interrupt occurs earlier than the DMA part completes its operation. If immediately after that the read data is used for some data verification, those obtained data may be incomplete, which causes intermittent verification failures. For example, when the defa

Re: [U-Boot] Potential issue with recent OMAP PRCM struct unification

2013-04-02 Thread Michael Cashwell
On Apr 2, 2013, at 5:32 AM, Sricharan R wrote: >> On first blush, it looks like having both cm_l3instr_intrconn_wp1_clkct and >> cm_l3instr_intrconn_wp1_clkctrl is a mistake. > > First, on which board are you testing ?. I tested the mainline on my 4460 > ES1.1 PANDA and it booted. One custom

  1   2   >