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

2013-04-03 Thread Benoît Thébaudeau
From: Fabio Estevam fabio.este...@freescale.com 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

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

2013-04-03 Thread Benoît Thébaudeau
From: Fabio Estevam fabio.este...@freescale.com 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

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

2013-04-03 Thread Benoît Thébaudeau
Don't use several instructions to build constant values. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Acked-by: Stefano Babic sba...@denx.de --- 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

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

2013-04-03 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 benoit.thebaud...@advansee.com Acked-by: Scott Wood scottw...@freescale.com Tested-by: Fabio Estevam

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

2013-04-03 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 benoit.thebaud...@advansee.com Acked-by: Scott Wood scottw...@freescale.com ---

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

2013-04-03 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:

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

2013-04-03 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Acked-by: Scott Wood scottw...@freescale.com Tested-by: Fabio Estevam fabio.este...@freescale.com --- Changes in v10: None Changes in v9: - Drop the now unused SRC register definitions. Changes in v8: - Rebase on Fabio's patches

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

2013-04-03 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- 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

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

2013-04-03 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

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

2013-04-03 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

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

2013-04-03 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 benoit.thebaud...@advansee.com Reviewed-by: Tom Rini tr...@ti.com --- Changes in v10: None Changes in v9: None Changes in v8: - Apply to mxs SPL too.

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

2013-04-03 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- 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

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

2013-04-03 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 benoit.thebaud...@advansee.com --- Changes in v10: - Rebase on current

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

2013-04-03 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

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

2013-04-03 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

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

2013-04-03 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

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

2013-04-03 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

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

2013-04-03 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 benoit.thebaud...@advansee.com --- Changes in v10: None Changes in v9: None

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

2013-04-03 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- 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

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

2013-04-03 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 benoit.thebaud...@advansee.com Acked-by: Scott Wood scottw...@freescale.com Tested-by: Fabio Estevam fabio.este...@freescale.com --- Changes in

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

2013-04-03 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- 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,

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

2013-04-03 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- 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

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

2013-04-03 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

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

2013-04-03 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 26/30] Revert mkconfig: start deprecating Makefile config targets

2013-04-03 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 benoit.thebaud...@advansee.com --- Changes in v10: None Changes in v9: None Changes in v8: - New patch. Changes in v7: None

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

2013-04-03 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

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

2013-04-03 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 30/30] arm: Make all linker scripts compatible with per-symbol sections

2013-04-03 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 benoit.thebaud...@advansee.com --- Changes in v10: - Rebase on current

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

2013-04-03 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 benoit.thebaud...@advansee.com ---

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

2013-04-03 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

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

2013-04-03 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 aksha...@samsung.com --- drivers/power/pmic/pmic_max77686.c | 61 ++

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

2013-04-03 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 aksha...@samsung.com --- arch/arm/include/asm/arch-exynos/cpufreq.h | 54 ++

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

2013-04-03 Thread Akshay Saraswat
This patch enables cpu freq support for exynos5 by adding config for it. Signed-off-by: Akshay Saraswat aksha...@samsung.com --- 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

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

2013-04-03 Thread Akshay Saraswat
Adding tmu throttling support to smdk5250. Signed-off-by: Akshay Saraswat aksha...@samsung.com --- 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

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

2013-04-03 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 benoit.thebaud...@advansee.com wrote: OK, then it's probably better if I send v10 ASAP. I may not have access to my repo before this date, and

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

2013-04-03 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:21 AM,

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

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

[U-Boot] [PATCH] Makefile: fix clobber target

2013-04-03 Thread Andreas Bießmann
Remove the $(CONFIG_SPL_TARGET) from ALL-y if not set. This prevents following warning: ---8--- abiessmann@punisher % ./MAKEALL -a arm -s omap3 rm: cannot remove `/tmp/build_test/eco5pk/': Is a directory make: *** [clobber] Error 1 rm: cannot remove `/tmp/build_test/omap3_overo/': Is a directory

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

2013-04-03 Thread Albert ARIBAUD
Hi Benoît, On Wed, 3 Apr 2013 08:30:12 +0200 (CEST), Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: Hi Albert, Here is the v10 bundle for those who want to test: http://dl.free.fr/vdXBGExyq Thanks, will build-test it ASAP. People with ARM (expecially tx25 and mx31pdk) and non-ARM

[U-Boot] u-boot boot process is broken, how do i recover?

2013-04-03 Thread JPT
Hi, I've got a readynas and successfully installed a recent kernel into ROM and Debian onto hard-drive. But when I tried to modify the uboot-env from uboot-console I had trouble with the ; in the vars. And did not know how to escape. So I tried to access uboot-env from linux. I applied

Re: [U-Boot] [PATCH v5 3/3] mx6qsabre{sd, auto}: Add boot mode select

2013-04-03 Thread Stefano Babic
On 16/03/2013 19:05, Otavio Salvador wrote: Adds support for 'bmode' command which let user to choose where to boot from; this allows U-Boot to load system from another storage without messing with jumpers. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Applied to u-boot-imx,

Re: [U-Boot] [PATCH v5 1/3] mx6qsabresd: Document the mapping of USDHC[2-4]

2013-04-03 Thread Stefano Babic
On 16/03/2013 19:05, Otavio Salvador wrote: This documents the SD card identifier so it is easier for user to spot which card number will be used, if need. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic --

Re: [U-Boot] [PATCH v5 2/3] mx6qsabresd: Fix card detection for invalid card id case

2013-04-03 Thread Stefano Babic
On 16/03/2013 19:05, Otavio Salvador wrote: This changes the code so in case an unkown value is passed it will return as invalid. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic --

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

2013-04-03 Thread Albert ARIBAUD
On Wed, 3 Apr 2013 10:05:57 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: The resulting HEAD is identical to yours, except for board/freescale/mx31ads/u-boot.lds in which you had removed the following unrelated line for 30/30: __bss_end = .; Regarding this line, it

Re: [U-Boot] [PATCH] mx28evk: Introduce a new target for saving env vars to NAND

2013-04-03 Thread Stefano Babic
On 07/03/2013 22:28, Fabio Estevam wrote: Introduce 'mx28evk_nand' target for saving environment variables into NAND. The mx28evk board does not come with a NAND flash populated from the factory. It comes with an empty slot (U23), which allows the insertion of a 48-pin TSOP flash device.

Re: [U-Boot] [PATCH] mx6qsabrelite: README: No need to pass 'u-boot.imx'

2013-04-03 Thread Stefano Babic
On 20/03/2013 15:07, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com The u-boot.imx binary is generated by default, so no need to pass it in the 'make' line. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Applied to u-boot-imx, thanks. Best regards,

Re: [U-Boot] u-boot boot process is broken, how do i recover?

2013-04-03 Thread Albert ARIBAUD
Hi JPT, On Wed, 03 Apr 2013 10:13:02 +0200, JPT j-...@gmx.net wrote: Hi, I've got a readynas and successfully installed a recent kernel into ROM and Debian onto hard-drive. But when I tried to modify the uboot-env from uboot-console I had trouble with the ; in the vars. And did not know

Re: [U-Boot] [PATCH] mmc: mx6qsabrelite: fsl_esdhc: Define maximum bus width supported by SabreLite board

2013-04-03 Thread Stefano Babic
On 21/03/2013 12:00, Abbas Raza wrote: From: Abbas Raza abbas_r...@mentor.com Maximum bus width supported by SabreLite board is not 8bit like all other mx6q specific boards. In case where both host controller and card support 8bit transfers, they agree to communicate on 8bit interface while

Re: [U-Boot] [PATCH] spi: mxc_spi: Fix ECSPI reset handling

2013-04-03 Thread Stefano Babic
On 21/03/2013 09:03, Dirk Behme wrote: Reviewing the ECSPI reset handling shows two issues: Hi Dirk, agree completely, only a very minor question.. + + reg_ctrl = reg_read(regs-ctrl); As you says, it makes no sense to read back the value of the register, also because reg_ctrl is

Re: [U-Boot] [PATCH] mx25pdk: Enable imxdi RTC

2013-04-03 Thread Stefano Babic
On 22/03/2013 20:30, Benoît Thébaudeau wrote: The mx25pdk board supports the i.MX25 DryIce RTC (imxdi), so enable it. This allows to compile-test the imxdi driver in the mainline tree. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Applied to u-boot-imx, thanks. Best

Re: [U-Boot] [PATCH] mx23_olinuxino: Change definitions to use spaces instead of tabs

2013-04-03 Thread Stefano Babic
On 25/03/2013 03:17, Otavio Salvador wrote: Change all #define/ifdefTAB sequences into #define/ifdefSPACE. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Applied to u-boot-imx, thanks. Best regards, Stefano --

Re: [U-Boot] [PATCH] mmc: mx6qsabrelite: fsl_esdhc: Define maximum bus width supported by SabreLite board

2013-04-03 Thread Dirk Behme
On 03.04.2013 11:06, Stefano Babic wrote: On 21/03/2013 12:00, Abbas Raza wrote: From: Abbas Raza abbas_r...@mentor.com Maximum bus width supported by SabreLite board is not 8bit like all other mx6q specific boards. In case where both host controller and card support 8bit transfers, they agree

Re: [U-Boot] [PATCH 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command

2013-04-03 Thread Stefano Babic
On 25/03/2013 17:13, Javier Martinez Canillas wrote: since commit c1173bd0: sf command: allow default bus and chip selects the chip-select and bus arguments for the sf probe command are optional. Hi Javier, Even when passing the chip-select to sf probe says to be optional, it makes sf

Re: [U-Boot] [PATCH] mmc: mx6qsabrelite: fsl_esdhc: Define maximum bus width supported by SabreLite board

2013-04-03 Thread Stefano Babic
On 03/04/2013 11:06, Stefano Babic wrote: On 21/03/2013 12:00, Abbas Raza wrote: From: Abbas Raza abbas_r...@mentor.com Maximum bus width supported by SabreLite board is not 8bit like all other mx6q specific boards. In case where both host controller and card support 8bit transfers, they

Re: [U-Boot] [PATCH v2] mx6: Fix get_board_rev() for the mx6 solo case

2013-04-03 Thread Stefano Babic
On 27/03/2013 18:36, Fabio Estevam wrote: When booting a Freescale kernel 3.0.35 on a Wandboard solo, the get_board_rev() returns 0x62xxx, which is not a value understood by the VPU (Video Processing Unit) library in the kernel and causes the video playback to fail. The expected

Re: [U-Boot] [PATCH 1/3] wandboard: Remove duplicate 'mmc dev'

2013-04-03 Thread Stefano Babic
On 02/04/2013 04:03, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com No need to call 'mmc dev' twice. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Applied to u-boot-imx, thanks. Best regards, Stefano --

Re: [U-Boot] [PATCH 2/3] mx6qsabrelite: Remove duplicate 'mmc dev'

2013-04-03 Thread Stefano Babic
On 02/04/2013 04:03, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com No need to call 'mmc dev' twice. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Applied to u-boot-imx, thanks. Best regards, Stefano --

Re: [U-Boot] [PATCH 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command

2013-04-03 Thread Javier Martinez Canillas
On Wed, Apr 3, 2013 at 11:25 AM, Stefano Babic sba...@denx.de wrote: On 25/03/2013 17:13, Javier Martinez Canillas wrote: since commit c1173bd0: sf command: allow default bus and chip selects the chip-select and bus arguments for the sf probe command are optional. Hi Javier, Hi Stefano,

Re: [U-Boot] [PATCH 3/3] wandboard: Remove CONFIG_SYS_FSL_USDHC_NUM

2013-04-03 Thread Stefano Babic
On 02/04/2013 04:03, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com CONFIG_SYS_FSL_USDHC_NUM is not used for wandboard. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Applied to u-boot-imx, thanks. Best regards, Stefano --

Re: [U-Boot] [PATCH] mmc: mx6qsabrelite: fsl_esdhc: Define maximum bus width supported by SabreLite board

2013-04-03 Thread Stefano Babic
On 03/04/2013 11:18, Dirk Behme wrote: On 03.04.2013 11:06, Stefano Babic wrote: On 21/03/2013 12:00, Abbas Raza wrote: From: Abbas Raza abbas_r...@mentor.com Maximum bus width supported by SabreLite board is not 8bit like all other mx6q specific boards. In case where both host controller

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

2013-04-03 Thread Albert ARIBAUD
Hi Benoît, On Wed, 3 Apr 2013 08:04:23 +0200, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: From: Fabio Estevam fabio.este...@freescale.com Introduce CONFIG_SYS_NAND_BUSWIDTH_16BIT option so that other NAND controller drivers could use it when a 16-bit NAND is deployed.

[U-Boot] [PATCH v2 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command

2013-04-03 Thread Javier Martinez Canillas
board/freescale/mx6qsabrelite/README explain a procedure to update the SPI-NOR on the SabreLite board without Freescale manufacturing tool but following this procedure leads to both sf erase and sf write failing on a mx6qsabrelite board: MX6QSABRELITE U-Boot sf probe 1 MX6QSABRELITE U-Boot sf

Re: [U-Boot] [PATCH 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command

2013-04-03 Thread Stefano Babic
On 03/04/2013 11:50, Javier Martinez Canillas wrote: Just for curiosity, in which configuration file did you see that? When I had the issue I looked at include/configs/{mx6qsabrelite,mx6_common}.h and board/freescale/mx6qsabrelite/mx6qsabrelite.c but I didn't find what chip-select was

Re: [U-Boot] [PATCH v2 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command

2013-04-03 Thread Stefano Babic
On 03/04/2013 11:57, Javier Martinez Canillas wrote: board/freescale/mx6qsabrelite/README explain a procedure to update the SPI-NOR on the SabreLite board without Freescale manufacturing tool but following this procedure leads to both sf erase and sf write failing on a mx6qsabrelite board:

Re: [U-Boot] u-boot boot process is broken, how do i recover?

2013-04-03 Thread JPT
hi, Am 03.04.2013 11:00, schrieb Albert ARIBAUD: apt-get install uboot-envtools fw_printenv bootcmd No result there? There should be. sure. it's what I set into bootcmd.bak: fw_setenv bootcmd.bak 'nand read.e 0x120 0x20 0x60;nand read.e 0x200 0x80 0x100;bootm

[U-Boot] [PATCH 0/3 V5] EXYNOS5: Add GPIO numbering feature

2013-04-03 Thread Rajeshwari Shinde
Changes in V2: - Enabled CMD_GPIO as suggested by Simon Glass and supported same for EXYNOS5 Changes in V3: - New patch added to rename S5P GPIO definitions to S5P_GPIO - GPIO Table added to calculate the base address of input gpio bank. Changes in

[U-Boot] [PATCH 2/3 V5] S5P: Rename GPIO definitions

2013-04-03 Thread Rajeshwari Shinde
This patch rename GPIO definitions from GPIO_... to S5P_GPIO_... This changes was done to enable cmd_gpio for EXYNOS and cmd_gpio has GPIO_INPUT same as s5p_gpio driver and hence getting a error during compilation. Build tested for s5p_goni, origen, smdk5250, s5pc210_universal, trats, smdkc100,

[U-Boot] [PATCH 1/3 V5] EXYNOS5: Add gpio pin numbering feature

2013-04-03 Thread Rajeshwari Shinde
This patch adds support for gpio pin numbering support on EXYNOS5250 To have consistent 0..n-1 GPIO numbering the banks are divided into different parts where ever they have holes in them. Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com Signed-off-by: Rajeshwari Shinde

[U-Boot] [PATCH 3/3 V5] EXYNOS5: GPIO: Enable GPIO Command for EXYNOS5

2013-04-03 Thread Rajeshwari Shinde
This patch enables GPIO Command for EXYNOS5. Function has been added to asm/gpio.h to decode the input gpio name to gpio number. example: gpio set gpa00 Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in V2: - New patch Changes in V3: - Created a table to

Re: [U-Boot] u-boot boot process is broken, how do i recover?

2013-04-03 Thread Albert ARIBAUD
Hi JPT, On Wed, 03 Apr 2013 13:30:46 +0200, JPT j-...@gmx.net wrote: hi, Am 03.04.2013 11:00, schrieb Albert ARIBAUD: apt-get install uboot-envtools fw_printenv bootcmd No result there? There should be. sure. it's what I set into bootcmd.bak: fw_setenv bootcmd.bak 'nand

[U-Boot] [PATCH] EXYNOS: Move includes from setup.h to tzpc_init.c

2013-04-03 Thread Rajeshwari Shinde
These should not be in the header since not every C file needs them. Move them to the file that needs them. Signed-off-by: Simon Glass s...@chromium.org Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- board/samsung/smdk5250/setup.h |3 --- board/samsung/smdk5250/tzpc_init.c

[U-Boot] [PATCH 0/2] Add initial support for AQUILA-CYGNUS

2013-04-03 Thread Enric Balletbo i Serra
From: Enric Balletbo i Serra eballe...@iseebcn.com IGEP COM AQUILA and CYGNUS are two computer-on-module based on AM3354 and AM3352 processors. Both use SODIMM from factor and are designed for industrial range purpose. Enric Balletbo i Serra (2): Add DDR3 support for IGEP COM AQUILA/CYGNUS.

[U-Boot] [PATCH 1/2] Add DDR3 support for IGEP COM AQUILA/CYGNUS.

2013-04-03 Thread Enric Balletbo i Serra
From: Enric Balletbo i Serra eballe...@iseebcn.com These boards uses Samsung K4B2G1646E-BIH9 a 2Gb E-die DDR3 SDRAM. Signed-off-by: Enric Balletbo i Serra eballe...@iseebcn.com --- arch/arm/include/asm/arch-am33xx/ddr_defs.h | 17 + 1 file changed, 17 insertions(+) diff --git

[U-Boot] [PATCH 2/2] ARM: Add support for IGEP COM AQUILA/CYGNUS

2013-04-03 Thread Enric Balletbo i Serra
From: Enric Balletbo i Serra eballe...@iseebcn.com The IGEP COM AQUILA and CYGNUS are industrial processors modules with following highlights: o AM3352/AM3354 Texas Instruments processor o Cortex-A8 ARM CPU o 3.3 volts Inputs / Outputs use industrial o 256 MB DDR3 SDRAM / 128 Megabytes

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

2013-04-03 Thread Eric Nelson
Hi Andrew, On 04/02/2013 11:48 PM, Gabbasov, Andrew wrote: 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,

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

2013-04-03 Thread Michael Cashwell
On Apr 3, 2013, at 1:56 AM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: (please wrap your line around 70 chars max) I've never understood why this is useful. It's poor on both large computer screens (wastes space and forces extra vertical scrolling) AND on small screens like handheld

[U-Boot] [PATCH V8 0/9] EXYNOS5: Enable DWMMC, add FDT support for DWMMC and

2013-04-03 Thread Amar
This patch set enables and initialises DWMMC for Exynos5250 on SMDK5250. Adds driver changes required for DWMMC. Adds FDT support for DWMMC. Adds EMMC boot support for SMDK5250. This patch set is based on: EXYNOS: mmc: support DesignWare Controller for Samsung-SoC, which is merged in u-boot-mmc.

[U-Boot] [PATCH V8 1/9] FDT: Add compatible string for DWMMC

2013-04-03 Thread Amar
Add required compatible information for DWMMC driver. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com Acked-by: Jaehoon Chung jh80.ch...@samsung.com --- Changes since V1: No change. Changes since V2: 1)Updation of commit message

[U-Boot] [PATCH 0/5] ARM: vexpress: add support for more core tiles

2013-04-03 Thread Andre Przywara
This series adds support for the Cortex-A5 and Cortex-A15 core tiles for the ARM Versatile Express boards. The first three patches have been around for about one and a half years in the Linaro tree now, they refactor the A9 support and add support for A5. I kept the original commits and authors,

[U-Boot] [PATCH V8 2/9] EXYNOS5: FDT: Add DWMMC device node data

2013-04-03 Thread Amar
This patch adds DWMMC device node data for exynos5. This patch also adds binding file for DWMMC device node. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com Acked-by: Jaehoon Chung jh80.ch...@samsung.com Acked-by: Simon Glass s...@chromium.org ---

[U-Boot] [PATCH 2/5] ARM: vexpress: create A9 specific board config

2013-04-03 Thread Andre Przywara
From: Ryan Harkin ryan.har...@linaro.org This patch creates a new config for the A9 quad core tile that includes the generic config for the Versatile Express platform. Signed-off-by: Ryan Harkin ryan.har...@linaro.org Signed-off-by: Andre Przywara andre.przyw...@linaro.org --- MAINTAINERS

[U-Boot] [PATCH 1/5] ARM: vexpress: move files in preparation for adding a new platform

2013-04-03 Thread Andre Przywara
From: Ryan Harkin ryan.har...@linaro.org The current ca9x4_ct_vxp platform contains support for a Versatile Express motherboard with a quad core A9 core tile. This patch is the first stage of making separating the Versatile Express motherboard code and the A9 specific code, before adding support

[U-Boot] [PATCH 4/5] ARM: vexpress: add support for Versatile Express Cortex-A15-TC2

2013-04-03 Thread Andre Przywara
This adds support for the Cortex-A15-TC2 core tile for the Versatile Express board by ARM. This is mostly a copy of the A5 support file, but will be extended later with A15 specific options. Signed-off-by: Andre Przywara andre.przyw...@linaro.org --- boards.cfg | 1 +

[U-Boot] [PATCH V8 3/9] DWMMC: Initialise dwmci and resolve EMMC read write issues

2013-04-03 Thread Amar
This patch enumerates dwmci and set auto stop command during dwmci initialisation. EMMC read/write is not happening in current implementation due to improper fifo size computation. Hence modified the fifo size computation to resolve EMMC read write issues. Signed-off-by: Amar

[U-Boot] [PATCH V8 5/9] EXYNOS5: DWMMC: Initialise the local variable to avoid unwanted results.

2013-04-03 Thread Amar
This patch initialises the local variable 'shift' to zero. The uninitialised local variable 'shift' had garbage value and was resulting in unwnated results in the functions exynos5_get_mmc_clk() and exynos4_get_mmc_clk(). Signed-off-by: Amar amarendra...@samsung.com Acked-by: Simon Glass

[U-Boot] [PATCH 5/5] ARM: vexpress: enable bootz and hush parser for all VExpress boards

2013-04-03 Thread Andre Przywara
Signed-off-by: Andre Przywara andre.przyw...@linaro.org --- include/configs/vexpress_common.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/vexpress_common.h b/include/configs/vexpress_common.h index cd268e3..65d0ce4 100644 --- a/include/configs/vexpress_common.h +++

[U-Boot] [PATCH V8 4/9] EXYNOS5: DWMMC: Added FDT support for DWMMC

2013-04-03 Thread Amar
This patch adds FDT support for DWMMC, by reading the DWMMC node data from the device tree and initialising DWMMC channels as per data obtained from the node. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com Acked-by: Simon Glass s...@chromium.org

[U-Boot] [PATCH 3/5] ARM: vexpress: create A5 specific board config

2013-04-03 Thread Andre Przywara
From: Ryan Harkin ryan.har...@linaro.org This patch creates a new config for the A5 dual core tile that includes the generic config for the Versatile Express platform. The generic config has been modified to provide support for the Extended Memory Map, as used on the A5 core tile. A5 does not

[U-Boot] [PATCH V8 6/9] SMDK5250: Initialise and Enable DWMMC, support FDT and non-FDT

2013-04-03 Thread Amar
This patch enables and initialises DWMMC for SMDK5250. Supports both FDT and non-FDT. This patch creates a new file 'exynos5-dt.c' meant for FDT support. exynos5-dt.c: This file shall contain all code which supports FDT. Any addition of FDT support for any module

[U-Boot] [PATCH V8 7/9] MMC: APIs to support resize of EMMC boot partition

2013-04-03 Thread Amar
This patch adds APIs to access(open / close) and to resize boot partiton of EMMC. Signed-off-by: Amar amarendra...@samsung.com --- Changes since V1: New patch. Changes since V2: 1)Updation of commit message and resubmition of proper patch set. Changes since V3: No

[U-Boot] [PATCH V8 8/9] SMDK5250: Enable EMMC booting

2013-04-03 Thread Amar
This patch adds support for EMMC booting on SMDK5250. Signed-off-by: Amar amarendra...@samsung.com --- Changes since V1: 1)Updated spl_boot.c file to maintain irom pointer table instead of using the #define values defined in header file. Changes since V2: 1)Updation of

[U-Boot] [PATCH V8 9/9] COMMON: MMC: Command to support EMMC booting and to resize EMMC boot partition

2013-04-03 Thread Amar
This patch adds commands to access(open/close) and resize boot partitions on EMMC. Signed-off-by: Amar amarendra...@samsung.com --- Changes since V1: 1)Combined the common piece of code between 'open' and 'close' operations. Changes since V2: 1)Updation of commit message

Re: [U-Boot] [RFC] command/cache: Add flush_cache command

2013-04-03 Thread Jim Chargin
I apologize for being so late with this question. York Sun yorksun at freescale.com writes: When we need the copied code/data in the main memory, we can flush the cache now. It uses the existing function flush_cache. Syntax is flush_cache addr size The addr and size are given in

Re: [U-Boot] [PATCH 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command

2013-04-03 Thread Eric Nelson
On 04/03/2013 02:25 AM, Stefano Babic wrote: On 25/03/2013 17:13, Javier Martinez Canillas wrote: since commit c1173bd0: sf command: allow default bus and chip selects the chip-select and bus arguments for the sf probe command are optional. Hi Javier, Even when passing the chip-select to

Re: [U-Boot] [PATCH 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command

2013-04-03 Thread Eric Nelson
On 04/03/2013 03:13 AM, Stefano Babic wrote: On 03/04/2013 11:50, Javier Martinez Canillas wrote: Just for curiosity, in which configuration file did you see that? When I had the issue I looked at include/configs/{mx6qsabrelite,mx6_common}.h and board/freescale/mx6qsabrelite/mx6qsabrelite.c but

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

2013-04-03 Thread Albert ARIBAUD
Hi Michael, On Wed, 3 Apr 2013 09:45:19 -0400, Michael Cashwell mboa...@prograde.net wrote: On Apr 3, 2013, at 1:56 AM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: (please wrap your line around 70 chars max) I've never understood why this is useful. [...] ... but apparently you

[U-Boot] Subject: [PATCH 1/2] OMAP4: Add ID for OMAP4470_ES1_0

2013-04-03 Thread Lubomir Popov
Signed-off-by: Lubomir Popov lpo...@mm-sol.com --- arch/arm/include/asm/omap_common.h |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/omap_common.h b/arch/arm/include/asm/omap_common.h index 091ddb5..f042c10 100644 --- a/arch/arm/include/asm/omap_common.h +++

[U-Boot] [PATCH 2/2] OMAP4: Add basic support for OMAP4470/TWL6032

2013-04-03 Thread Lubomir Popov
H/W used for test: TI Blaze/Tablet OMAP4470 Processor Board (750-2173-005) mounted on a custom main board (MMS benvolio4). Fixed bug in vcores_data omap4460_volts struct referencing tps62361 instead of twl6030 for core and mm voltages. Fixed some comments. Signed-off-by: Lubomir Popov

[U-Boot] [PATCH] pcm051: Enable DDR PHY dynamic power down bit

2013-04-03 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de This is done already for am335x in 59dcf970d11ebff5d9f4bbbde79fda584e9e7ad4 and also applies for pcm051. It powers down the IO receiver when not performing read which helps reducing the overall power consuption in low power states (suspend/standby).

Re: [U-Boot] [PATCH 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command

2013-04-03 Thread Stefano Babic
On 03/04/2013 16:11, Eric Nelson wrote: On 04/03/2013 03:13 AM, Stefano Babic wrote: On 03/04/2013 11:50, Javier Martinez Canillas wrote: Just for curiosity, in which configuration file did you see that? When I had the issue I looked at include/configs/{mx6qsabrelite,mx6_common}.h and

  1   2   >