Re: [U-Boot] [PATCHv2 5/8] drivers: mtd: spi: Modify read/write command for sfl256s flash.

2013-08-06 Thread Sourav Poddar
Hi Jagan, On Wednesday 31 July 2013 12:23 PM, Sourav Poddar wrote: Hi Jagan, On Tuesday 23 July 2013 07:53 PM, Sourav Poddar wrote: + jagan, On Tuesday 23 July 2013 02:29 PM, Sourav Poddar wrote: Reading using the already supported read command is causing regression after 4k bytes, as a result

[U-Boot] [PATCH] RFC: tegra: Avoid using I2C prior to relocation

2013-08-06 Thread Simon Glass
Tegra recently moved to the new I2C framework, which sets up I2C prior to relocation, and prior to calling i2c_init_board(). This causes a crash on Tegra boards. note: There are many ways to fix this. I believe this is one. It disables i2c_init() until relocation is complete. I have been unable t

Re: [U-Boot] u-boot.2013.07 build fails: serial_puts() undefined.

2013-08-06 Thread Fabio Estevam
On Tue, Aug 6, 2013 at 8:18 PM, Randy Graham wrote: > Hello, > > I am building u-boot.2013.07 for the mx28evk board. > > After I insert a few 'serial_puts()' calls for debugging, the build fails > and complains that serial_puts() is undefined. Just add this include: #include ___

[U-Boot] u-boot.2013.07 build fails: serial_puts() undefined.

2013-08-06 Thread Randy Graham
Hello, I am building u-boot.2013.07 for the mx28evk board. After I insert a few 'serial_puts()' calls for debugging, the build fails and complains that serial_puts() is undefined. I did not have this problem with u-boot.2013.01. Do I need to add a specific #define to include serial_puts() ? I t

[U-Boot] setenv only works in command line. Not working when called in the code

2013-08-06 Thread Julyberry
Hello, I am adding a new library which is being called in common/main.c. In that library, I am updating U-Boot environment variables which are accessed from Linux as well. While getenv() always works fine, but setenv() does not work. The value is not updated. setenv works correctly if I use it

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Dennis Gilmore
On Tue, 6 Aug 2013 17:42:31 -0400 Tom Rini wrote: > On Tue, Aug 06, 2013 at 11:22:22AM -0500, Dennis Gilmore wrote: > > [snip] > > The only way I could see having us write a file to disk with the > > environment working is if all boards implement standard variable to > > define the memory locati

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Otavio Salvador
On Tue, Aug 6, 2013 at 6:37 PM, Tom Rini wrote: > On Tue, Aug 06, 2013 at 01:58:22PM -0300, Otavio Salvador wrote: >> On Tue, Aug 6, 2013 at 1:54 PM, Stephen Warren wrote: >> >> How can someone 'overwrite' the default environment from system or >> >> when generating a FIT image? >> > >> > If U-Bo

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Otavio Salvador
On Tue, Aug 6, 2013 at 6:37 PM, Tom Rini wrote: > On Tue, Aug 06, 2013 at 01:58:22PM -0300, Otavio Salvador wrote: >> On Tue, Aug 6, 2013 at 1:54 PM, Stephen Warren wrote: >> >> How can someone 'overwrite' the default environment from system or >> >> when generating a FIT image? >> > >> > If U-Bo

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Tom Rini
On Tue, Aug 06, 2013 at 11:22:22AM -0500, Dennis Gilmore wrote: [snip] > The only way I could see having us write a file to disk with the > environment working is if all boards implement standard variable to > define the memory locations and that is compiled into the u-boot binary. > > some varia

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Tom Rini
On Tue, Aug 06, 2013 at 01:58:22PM -0300, Otavio Salvador wrote: > On Tue, Aug 6, 2013 at 1:54 PM, Stephen Warren wrote: > >> How can someone 'overwrite' the default environment from system or > >> when generating a FIT image? > > > > If U-Boot is running, you can get back to the default environme

Re: [U-Boot] [RESEND PATCH v2 08/20] sf: probe: Add support for S25FL* flash parts

2013-08-06 Thread Wolfgang Denk
Dear Jagan, In message <64c2a6cb-98f6-4cde-a615-ecd37a96b...@db8ehsmhs012.ehs.local> you wrote: > > > Checkpatch reports: > > > > WARNING: quoted string split across lines > > #194: FILE: drivers/mtd/spi/spi_flash_probe.c:155: > > + printf("SF: Unsupported flash ID: manuf %02x, jede

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Stephen Warren
On 08/06/2013 10:22 AM, Dennis Gilmore wrote: ... > some variables that would need to be compiled in > > fdt_addr > fdt_addr_r > kernel_addr_r > ramdisk_addr_r Those all look standard, and are documented in U-Boot's README. > pxefile_addr_r > scr_addr_r > uenv_addr_r But none of those are, the

Re: [U-Boot] [PATCH 05/10] arm: spl: For Falcon Mode, set a default machid of ~0

2013-08-06 Thread Dan Murphy
Tom On 08/06/2013 02:10 PM, Tom Rini wrote: > On Tue, Aug 06, 2013 at 01:28:53PM -0500, Dan Murphy wrote: >> On 08/02/2013 03:26 PM, Tom Rini wrote: >>> With device trees, boards do not always set CONFIG_MACH_TYPE now, so we >>> must not rely on this define being set. The kernel uses ~0 to see if

Re: [U-Boot] [RESEND PATCH v2 08/20] sf: probe: Add support for S25FL* flash parts

2013-08-06 Thread Jagan Teki
Hi Wolfgang Denk, On Wed, Aug 7, 2013 at 1:19 AM, Wolfgang Denk wrote: > Dear Jagannadha Sutradharudu Teki, > > In message <90b1d9f1-4c63-43c6-989f-55a657168...@tx2ehsmhs011.ehs.local> you > wrote: >> Added S25FL* parts are which are avilable in spi_flash_probe_legacy.c. >> >> Updated the sector

Re: [U-Boot] [RESEND PATCH v2 08/20] sf: probe: Add support for S25FL* flash parts

2013-08-06 Thread Wolfgang Denk
Dear Jagannadha Sutradharudu Teki, In message <90b1d9f1-4c63-43c6-989f-55a657168...@tx2ehsmhs011.ehs.local> you wrote: > Added S25FL* parts are which are avilable in spi_flash_probe_legacy.c. > > Updated the sector_size attributes as per the flash parts. > Looks fine for with this sector_size fo

[U-Boot] [PATCH v2 3/3] zynq: Enable CONFIG_ZYNQ_SPI

2013-08-06 Thread Jagannadha Sutradharudu Teki
Tested spi on zynq board with sst flash by enabling CONFIG_ZYNQ_SPI. sf probe 1:1 0 0 SF: Detected SST25WF080 with page size 4 KiB, total 1 MiB Signed-off-by: Jagannadha Sutradharudu Teki Acked-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- Changes for v2: - CONFIG_CMD_

[U-Boot] [PATCH v2 2/3] sf: sst: Add support for SST25WF080

2013-08-06 Thread Jagannadha Sutradharudu Teki
Add support for SST25WF080 SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki Signed-off-by: Michal Simek --- Changes for v2: - none drivers/mtd/spi/sst.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/mtd/spi/sst.c b/drivers/mtd/spi/sst.c index c9dec3c52..256867

[U-Boot] [PATCH v2 0/3] spi: Add zynq spi controller

2013-08-06 Thread Jagannadha Sutradharudu Teki
This is a v2 for previous series with same cover head. This small series patchset will add suuport for zynq spi controller, tested on sst flash. -- Thanks, Jagan. Jagannadha Sutradharudu Teki (3): spi: Add zynq spi controller driver sf: sst: Add support for SST25WF080 zynq: Enable CONFIG_Z

[U-Boot] [PATCH v2 1/3] spi: Add zynq spi controller driver

2013-08-06 Thread Jagannadha Sutradharudu Teki
Zynq spi controller driver supports 2 buses and 3 chipselects on each bus. Signed-off-by: Jagannadha Sutradharudu Teki Acked-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- Changes for v2: - Added "Zynq" string on license notes - Fix coding stlye arch/arm/includ

Re: [U-Boot] [PATCH 08/10] TI:omap5: Convert to ti_armv7_common.h

2013-08-06 Thread Dan Murphy
Tom On 08/06/2013 02:13 PM, Tom Rini wrote: > On Tue, Aug 06, 2013 at 01:37:34PM -0500, Dan Murphy wrote: >> On 08/02/2013 03:26 PM, Tom Rini wrote: >>> Update omap5_common.h to use ti_armv7_common.h, and in turn update >>> dra7xx_evm.h and omap5_uevm.h slightly. The biggest changes here are >> Th

Re: [U-Boot] [RFC PATCH 0/2] Moving ARM DCC from stdio to serial

2013-08-06 Thread Michal Simek
Hi Wolfgang, On 08/06/2013 06:02 PM, Wolfgang Denk wrote: > Dear Michal Simek, > > In message you wrote: >> >> I am not sure about this change but it seems to me >> there shouldn't be any problem to remove stdio >> support because it can be simple another serial driver >> which can use serial mu

Re: [U-Boot] [PATCH 09/10] TI:armv7: Enable CONFIG_CMD_SPI

2013-08-06 Thread Jagan Teki
On Wed, Aug 7, 2013 at 12:33 AM, Tom Rini wrote: > On Wed, Aug 07, 2013 at 12:25:25AM +0530, Jagan Teki wrote: >> On 07-08-2013 00:20, Jagan Teki wrote: >> >On 07-08-2013 00:04, Dan Murphy wrote: >> >>On 08/02/2013 03:26 PM, Tom Rini wrote: >> >>>Add the generic "poke the SPI bus" command, with th

Re: [U-Boot] [PATCH 08/10] TI:omap5: Convert to ti_armv7_common.h

2013-08-06 Thread Tom Rini
On Tue, Aug 06, 2013 at 01:37:34PM -0500, Dan Murphy wrote: > On 08/02/2013 03:26 PM, Tom Rini wrote: > > Update omap5_common.h to use ti_armv7_common.h, and in turn update > > dra7xx_evm.h and omap5_uevm.h slightly. The biggest changes here are > > The commit headline does not indicate anything

Re: [U-Boot] [PATCH 07/10] TI:am33xx: Create common config files for TI ARMv7 platforms, and AM33xx

2013-08-06 Thread Tom Rini
On Tue, Aug 06, 2013 at 01:33:35PM -0500, Dan Murphy wrote: > On 08/02/2013 03:26 PM, Tom Rini wrote: > > We create two new files, include/configs/ti_armv7_common.h for all of > > the common IP blocks and related features / commands we share in > > virtually all of our platforms. We then create >

Re: [U-Boot] [PATCH 05/10] arm: spl: For Falcon Mode, set a default machid of ~0

2013-08-06 Thread Tom Rini
On Tue, Aug 06, 2013 at 01:28:53PM -0500, Dan Murphy wrote: > On 08/02/2013 03:26 PM, Tom Rini wrote: > > With device trees, boards do not always set CONFIG_MACH_TYPE now, so we > > must not rely on this define being set. The kernel uses ~0 to see if we > > have a valid machine number or not, so s

Re: [U-Boot] [PATCH 2/3] spi: fsl_espi: Use DIV_ROUND_UP instead of open-coded

2013-08-06 Thread Jagan Teki
On 07-08-2013 00:19, Jagan Teki wrote: On 12-07-2013 15:11, Axel Lin wrote: Use DIV_ROUND_UP to simplify the code. Signed-off-by: Axel Lin --- drivers/spi/fsl_espi.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/spi/fsl_espi.c b/drivers/spi/fsl_espi.c ind

Re: [U-Boot] [PATCH 09/10] TI:armv7: Enable CONFIG_CMD_SPI

2013-08-06 Thread Tom Rini
On Wed, Aug 07, 2013 at 12:25:25AM +0530, Jagan Teki wrote: > On 07-08-2013 00:20, Jagan Teki wrote: > >On 07-08-2013 00:04, Dan Murphy wrote: > >>On 08/02/2013 03:26 PM, Tom Rini wrote: > >>>Add the generic "poke the SPI bus" command, with the SPI related > >>>defines. > >>> > >>>Signed-off-by: To

Re: [U-Boot] [PATCH v3 1/2] cmd_sf: let "sf update" erase last sector as a whole

2013-08-06 Thread Jagan Teki
On 07-08-2013 00:27, Jagan Teki wrote: On 04-07-2013 00:03, Gerlando Falauto wrote: make "sf update" work with unaligned `len' parameter, by deleting the whole last sector before writing, so to allow for: sf update ${load_addr_r} 0 ${filesize} Signed-off-by: Gerlando Falauto Cc: Valentin Lo

Re: [U-Boot] [RESEND PATCH v2 0/6] sf: Code cleanup patch set

2013-08-06 Thread Jagan Teki
On 04-08-2013 11:18, Jagannadha Sutradharudu Teki wrote: This patch set consist of code clean-up on sf. Thanks, Jagan. Jagannadha Sutradharudu Teki (6): sf: eon|spansion|ramtron: Fix code cleanup sf: sst: Fix code cleanup sf: stmicro: Fix code cleanup sf: Fix code cleanup cmd_sf|

Re: [U-Boot] [PATCH v3 1/2] cmd_sf: let "sf update" erase last sector as a whole

2013-08-06 Thread Jagan Teki
On 04-07-2013 00:03, Gerlando Falauto wrote: make "sf update" work with unaligned `len' parameter, by deleting the whole last sector before writing, so to allow for: sf update ${load_addr_r} 0 ${filesize} Signed-off-by: Gerlando Falauto Cc: Valentin Longchamp Cc: Holger Brunck Acked-by: Si

Re: [U-Boot] [PATCH 3/3] spi: mpc8xxx_spi: Use DIV_ROUND_UP instead of open-coded

2013-08-06 Thread Jagan Teki
On 07-08-2013 00:19, Jagan Teki wrote: On 12-07-2013 15:12, Axel Lin wrote: Use DIV_ROUND_UP to simplify the code. Signed-off-by: Axel Lin --- drivers/spi/mpc8xxx_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/mpc8xxx_spi.c b/drivers/spi/mpc8xxx_spi.c

Re: [U-Boot] [PATCH 09/10] TI:armv7: Enable CONFIG_CMD_SPI

2013-08-06 Thread Jagan Teki
On 07-08-2013 00:20, Jagan Teki wrote: On 07-08-2013 00:04, Dan Murphy wrote: On 08/02/2013 03:26 PM, Tom Rini wrote: Add the generic "poke the SPI bus" command, with the SPI related defines. Signed-off-by: Tom Rini --- include/configs/ti_armv7_common.h |1 + 1 file changed, 1 insertio

Re: [U-Boot] [PATCH 09/10] TI:armv7: Enable CONFIG_CMD_SPI

2013-08-06 Thread Jagan Teki
On 07-08-2013 00:04, Dan Murphy wrote: On 08/02/2013 03:26 PM, Tom Rini wrote: Add the generic "poke the SPI bus" command, with the SPI related defines. Signed-off-by: Tom Rini --- include/configs/ti_armv7_common.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/ti_ar

Re: [U-Boot] [PATCH 2/3] spi: fsl_espi: Use DIV_ROUND_UP instead of open-coded

2013-08-06 Thread Jagan Teki
On 12-07-2013 15:11, Axel Lin wrote: Use DIV_ROUND_UP to simplify the code. Signed-off-by: Axel Lin --- drivers/spi/fsl_espi.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/spi/fsl_espi.c b/drivers/spi/fsl_espi.c index 28609ee..e20ab9f 100644 --- a/drivers

Re: [U-Boot] [PATCH 3/3] spi: mpc8xxx_spi: Use DIV_ROUND_UP instead of open-coded

2013-08-06 Thread Jagan Teki
On 12-07-2013 15:12, Axel Lin wrote: Use DIV_ROUND_UP to simplify the code. Signed-off-by: Axel Lin --- drivers/spi/mpc8xxx_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/mpc8xxx_spi.c b/drivers/spi/mpc8xxx_spi.c index 6b0e3b4..c90c0ce 100644 --- a/driv

Re: [U-Boot] [PATCH 08/10] TI:omap5: Convert to ti_armv7_common.h

2013-08-06 Thread Dan Murphy
On 08/02/2013 03:26 PM, Tom Rini wrote: > Update omap5_common.h to use ti_armv7_common.h, and in turn update > dra7xx_evm.h and omap5_uevm.h slightly. The biggest changes here are The commit headline does not indicate anything about dra7xx. So dra7xx dev's might over look this change. > that I

Re: [U-Boot] [PATCH 08/10] TI:omap5: Convert to ti_armv7_common.h

2013-08-06 Thread Dan Murphy
On 08/02/2013 03:26 PM, Tom Rini wrote: > Update omap5_common.h to use ti_armv7_common.h, and in turn update > dra7xx_evm.h and omap5_uevm.h slightly. The biggest changes here are The commit headline does not indicate anything about dra7xx. So dra7xx dev's might over look this change. > that I

Re: [U-Boot] [PATCH 09/10] TI:armv7: Enable CONFIG_CMD_SPI

2013-08-06 Thread Dan Murphy
On 08/02/2013 03:26 PM, Tom Rini wrote: > Add the generic "poke the SPI bus" command, with the SPI related > defines. > > Signed-off-by: Tom Rini > --- > include/configs/ti_armv7_common.h |1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/configs/ti_armv7_common.h > b/include/co

Re: [U-Boot] [PATCH 10/10] TI:armv7: Enable CONFIG_CMD_GPIO

2013-08-06 Thread Dan Murphy
On 08/02/2013 03:26 PM, Tom Rini wrote: > Add the generic "poke a GPIO" command, with the GPIO related defines. > > Signed-off-by: Tom Rini > --- > include/configs/ti_armv7_common.h |1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/configs/ti_armv7_common.h > b/include/configs/

Re: [U-Boot] [PATCH 07/10] TI:am33xx: Create common config files for TI ARMv7 platforms, and AM33xx

2013-08-06 Thread Dan Murphy
On 08/02/2013 03:26 PM, Tom Rini wrote: > We create two new files, include/configs/ti_armv7_common.h for all of > the common IP blocks and related features / commands we share in > virtually all of our platforms. We then create > include/configs/ti_am335x_common.h for everything common to the am33

Re: [U-Boot] [PATCH 05/10] arm: spl: For Falcon Mode, set a default machid of ~0

2013-08-06 Thread Dan Murphy
On 08/02/2013 03:26 PM, Tom Rini wrote: > With device trees, boards do not always set CONFIG_MACH_TYPE now, so we > must not rely on this define being set. The kernel uses ~0 to see if we > have a valid machine number or not, so set that as the default, invalid > machine, id and only fix if CONFIG

Re: [U-Boot] [PATCH v3 2/2] cmd_sf: let "sf update" preserve the final part of the last sector

2013-08-06 Thread Jagan Teki
On Fri, Jul 5, 2013 at 1:01 PM, Gerlando Falauto wrote: > Hi Jagan, > > > On 07/04/2013 06:26 PM, Jagan Teki wrote: >> >> On Thu, Jul 4, 2013 at 12:03 AM, Gerlando Falauto >> wrote: >>> >>> Since "sf update" erases the last block as a whole, but only rewrites >>> the meaningful initial part of it

Re: [U-Boot] [PATCH 02/10] am33xx: CONFIG_DMA_COHERENT defines are unused, remove

2013-08-06 Thread Dan Murphy
On 08/02/2013 03:26 PM, Tom Rini wrote: > Signed-off-by: Tom Rini > --- > include/configs/igep0033.h |4 > include/configs/pcm051.h |3 --- > include/configs/ti814x_evm.h |3 --- > 3 files changed, 10 deletions(-) > > diff --git a/include/configs/igep0033.h b/include/config

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Otavio Salvador
On Tue, Aug 6, 2013 at 2:12 PM, Stephen Warren wrote: > On 08/06/2013 10:58 AM, Otavio Salvador wrote: >> On Tue, Aug 6, 2013 at 1:54 PM, Stephen Warren wrote: How can someone 'overwrite' the default environment from system or when generating a FIT image? >>> >>> If U-Boot is running, y

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Stephen Warren
On 08/06/2013 10:58 AM, Otavio Salvador wrote: > On Tue, Aug 6, 2013 at 1:54 PM, Stephen Warren wrote: >>> How can someone 'overwrite' the default environment from system or >>> when generating a FIT image? >> >> If U-Boot is running, you can get back to the default environment by >> running exact

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Otavio Salvador
On Tue, Aug 6, 2013 at 1:54 PM, Stephen Warren wrote: >> How can someone 'overwrite' the default environment from system or >> when generating a FIT image? > > If U-Boot is running, you can get back to the default environment by > running exactly the commands you wrote below. > > If you're flashin

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Stephen Warren
On 08/06/2013 10:18 AM, Otavio Salvador wrote: > On Tue, Aug 6, 2013 at 12:50 PM, Stephen Warren wrote: >> On 08/06/2013 05:37 AM, Wolfgang Denk wrote: >>> Dear Rob Herring, >>> >>> In message >>> you >>> wrote: > Why would you ever want to compile this into U-Boot at all? Then any >>

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

2013-08-06 Thread Taras Kondratiuk
Currently mmc_device list is initialized from mmc_initialize() function. So crash happens if any function which use mmc_devices list (find_mmc_device, print_mmc_devices, etc.) is called before mmc_initialize(). Fix this by initializing mmc_devices list statically. Signed-off-by: Taras Kondratiuk

[U-Boot] [RESEND PATCH v2 01/20] sf: Divide spi_flash into multiple parts

2013-08-06 Thread Jagannadha Sutradharudu Teki
Divided the spi_flash framework into mutiple parts for - spi_flash.c: spi flash core file, interaction for spi/qspi driver to spi_flash framework. - spi_flash_ops.c spi flash preffered operations, erase,write and read. - spi_flash_probe.c spi flash probing, easy to e

[U-Boot] [RESEND PATCH v2 13/20] sf: probe: Add support to clear flash BP# bits

2013-08-06 Thread Jagannadha Sutradharudu Teki
Few of the flashes(Atmel, Macronix and SST) require to clear BP# bits in flash power ups. So clear these BP# bits at probe time, so-that the flash is ready for user operations. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - none drivers/mtd/spi/spi_flash_probe.c | 6

[U-Boot] [RESEND PATCH v2 20/20] sf: probe: Add support for EN25Q64

2013-08-06 Thread Jagannadha Sutradharudu Teki
Add support for EON EN25Q64 SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - none drivers/mtd/spi/spi_flash_probe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/spi_flash_probe.c b/drivers/mtd/spi/spi_flash_probe.c index 86cb881..de4ba

[U-Boot] [RESEND PATCH v2 16/20] sf: probe: Move BAR config to spi_flash_validate_ids

2013-08-06 Thread Jagannadha Sutradharudu Teki
Moved BAR config to spi_flash_validate_ids, so its better to have all flash initalization at once. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - none drivers/mtd/spi/spi_flash_internal.h | 5 - drivers/mtd/spi/spi_flash_probe.c| 24 +++-

Re: [U-Boot] [PATCH 3/4] ARM: OMAP4470: Add Elpida EDB8164B3PF memory configuration

2013-08-06 Thread Lokesh Vutla
Hi, On Tuesday 06 August 2013 09:27 PM, Taras Kondratiuk wrote: > On 08/06/2013 05:21 PM, Lokesh Vutla wrote: >> Hi Taras, >> On Tuesday 06 August 2013 05:48 PM, Taras Kondratiuk wrote: >>> From: Lubomir Popov >>> >>> OMAP4470 SDP SoM has EDB8164B3PF PoP memory on board. >>> This memory has 4Gb x

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Otavio Salvador
On Tue, Aug 6, 2013 at 1:22 PM, Dennis Gilmore wrote: ... > My issue with this is, we produce a unified image, it could be an > installer image or a installed disk image. it has a unified kernel in > it and can run on any number of soc's but we also need to provide > tooling that will setup the u-

[U-Boot] [RESEND PATCH v2 09/20] sf: probe: Add support for SST25* flash parts

2013-08-06 Thread Jagannadha Sutradharudu Teki
Added SST25* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - Enable CONFIG_SPI_FLAS

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Dennis Gilmore
On Tue, 06 Aug 2013 13:37:51 +0200 Wolfgang Denk wrote: > Dear Rob Herring, > > In message > > you wrote: > > > > > Why would you ever want to compile this into U-Boot at all? Then > > > any changes you need to make mean compiling and installing a new > > > U-Boot, which is something you norma

[U-Boot] [RESEND PATCH v2 07/20] sf: probe: Add support for W25* flash parts

2013-08-06 Thread Jagannadha Sutradharudu Teki
Added W25* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - Enable CONFIG_SPI_FLASH_

[U-Boot] [RESEND PATCH v2 17/20] sf: Add proper comment style on spi_flash structure

2013-08-06 Thread Jagannadha Sutradharudu Teki
Added proper comment style on spi_flash structure to make more readable. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - none include/spi_flash.h | 63 + 1 file changed, 35 insertions(+), 28 deletions(-) diff --git a

[U-Boot] [RESEND PATCH v2 06/20] sf: probe: Add support for MX25L* flash parts

2013-08-06 Thread Jagannadha Sutradharudu Teki
Added MX25L* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - Enable CONFIG_SPI_FLAS

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Otavio Salvador
On Tue, Aug 6, 2013 at 12:50 PM, Stephen Warren wrote: > On 08/06/2013 05:37 AM, Wolfgang Denk wrote: >> Dear Rob Herring, >> >> In message >> you >> wrote: >>> Why would you ever want to compile this into U-Boot at all? Then any changes you need to make mean compiling and installing

[U-Boot] [RESEND PATCH v2 10/20] sf: probe: Add support for AT45DB* flash parts

2013-08-06 Thread Jagannadha Sutradharudu Teki
Added AT45DB* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - Enable CONFIG_SPI_FLA

[U-Boot] [RESEND PATCH v2 08/20] sf: probe: Add support for S25FL* flash parts

2013-08-06 Thread Jagannadha Sutradharudu Teki
Added S25FL* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - Enable CONFIG_SPI_FLAS

[U-Boot] [RESEND PATCH v2 12/20] sf: probe: Add support for SST_WP

2013-08-06 Thread Jagannadha Sutradharudu Teki
Most of the SST flashes needs to write up using SST_WP, AAI Word Program, so added a flag param on spi_flash_params table. SST flashes, which supports SST_WP need to use a WP write sst_write_wp instead of common flash write. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2:

[U-Boot] [RESEND PATCH v2 14/20] sf: probe: Add support for erase sector selection flag

2013-08-06 Thread Jagannadha Sutradharudu Teki
SECT_4K, SECT_32K and SECT_64K opeartions are performed to to specific flash by adding a SECT* flag on respective spi_flash_params.flag param. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - none drivers/mtd/spi/spi_flash_ops.c | 8 +- drivers/mtd/spi/spi_flash_pro

[U-Boot] [RESEND PATCH v2 18/20] sf: ramtron: Add support for separate flash driver

2013-08-06 Thread Jagannadha Sutradharudu Teki
Compared to other spi flashes, ramtron has a different probing and implementation on flash ops, hence moved ramtron probe code into ramtron driver. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - none drivers/mtd/spi/Makefile | 6 +- drivers/mtd/spi/r

[U-Boot] [RESEND PATCH v2 11/20] sf: probe: Give proper spacing on flash table params

2013-08-06 Thread Jagannadha Sutradharudu Teki
Given proper spacing between flash table params. Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/spi_flash_probe.c | 154 +++--- 1 file changed, 77 insertions(+), 77 deletions(-) diff --git a/drivers/mtd/spi/spi_flash_probe.c b/drivers/mtd/spi/sp

[U-Boot] [RESEND PATCH v2 05/20] sf: probe: Add support for GD25* flash parts

2013-08-06 Thread Jagannadha Sutradharudu Teki
Added GD25* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - Enable CONFIG_SPI_FLASH

[U-Boot] [RESEND PATCH v2 19/20] sf: Remove unneeded flash drivers files

2013-08-06 Thread Jagannadha Sutradharudu Teki
Now the common probing is handled in spi_flash_probe.c hence removed the unneeded flash drivers. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - none drivers/mtd/spi/Makefile | 12 +- drivers/mtd/spi/atmel.c | 544 -

[U-Boot] [RESEND PATCH v2 15/20] sf: probe: Add support for flag status polling

2013-08-06 Thread Jagannadha Sutradharudu Teki
>From Micron, 512MB onwards, flash requires to poll flag status instead of read status- hence added E_FSR flag on spectific flash parts. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - none drivers/mtd/spi/spi_flash_probe.c | 14 +- include/spi_flash.h

[U-Boot] [RESEND PATCH v2 04/20] sf: probe: Add support for EN25Q* flash parts

2013-08-06 Thread Jagannadha Sutradharudu Teki
Added EN25Q* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - Enable CONFIG_SPI_FLAS

[U-Boot] [RESEND PATCH v2 03/20] sf: probe: Add support for M25P* flash parts

2013-08-06 Thread Jagannadha Sutradharudu Teki
Added M25P* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - none drivers/mtd/spi/

[U-Boot] [RESEND PATCH v2 00/20] sf: Add common probe support

2013-08-06 Thread Jagannadha Sutradharudu Teki
Hi All, This is a v2 series for "sf: Add common probe support" I am u-boot/spi custodian, I removed all flash drivers files(except ramtron, handled in a separate driver) and implemented a common probe support. Tested SST, STMICR, SPANSION, WINBOND from my side, REQUEST FOR ALL SPI CODE FLASH_UE

[U-Boot] [RESEND PATCH v2 02/20] sf: probe: Add new spi_flash_probe support

2013-08-06 Thread Jagannadha Sutradharudu Teki
Added new spi_flash_probe support, currently added N25Q* flash part attributes support. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Defined CONFIG_SPI_FLASH_LEGACY for old probing style which is available on spi_

Re: [U-Boot] [PATCH 2/4] bootstage: get more BOOTSTAGE_ID* in show_boot_progress()

2013-08-06 Thread Simon Glass
On Mon, Aug 5, 2013 at 8:00 AM, Heiko Schocher wrote: > In case CONFIG_BOOTSTAGE is not defined, call from bootstage_mark_name() > show_boot_progress(), so get more BOOTSTAGE_ID* ids in show_boot_progress() > if CONFIG_BOOTSTAGE is not defined. > > Signed-off-by: Heiko Schocher > Cc: Simon Glass

Re: [U-Boot] [RESEND PATCH v5 2/2] socfpga: Adding pin mux handoff files

2013-08-06 Thread Dinh Nguyen
On Tue, 2013-08-06 at 09:10 -0500, Chin Liang See wrote: > Adding the generated pin mux > configuration by Preloader Generator tool > > Signed-off-by: Chin Liang See > Reviewed-by: Pavel Machek > Cc: Wolfgang Denk > CC: Pavel Machek > Cc: Dinh Nguyen > Cc: Tom Rini > Cc: Albert Aribaud > --

Re: [U-Boot] [RESEND PATCH v6 1/2] socfpga: Adding System Manager driver

2013-08-06 Thread Dinh Nguyen
On Tue, 2013-08-06 at 09:10 -0500, Chin Liang See wrote: > Adding System Manager driver which will configure the > pin mux for real hardware Cyclone V development kit > (not Virtual Platform) > > Signed-off-by: Chin Liang See > Reviewed-by: Pavel Machek > Cc: Wolfgang Denk > CC: Pavel Machek >

Re: [U-Boot] [RFC PATCH 0/2] Moving ARM DCC from stdio to serial

2013-08-06 Thread Wolfgang Denk
Dear Michal Simek, In message you wrote: > > I am not sure about this change but it seems to me > there shouldn't be any problem to remove stdio > support because it can be simple another serial driver > which can use serial multi interface. Does this not mean we lose the capability to use DCC

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

2013-08-06 Thread Dinh Nguyen
On Tue, 2013-08-06 at 09:08 -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 Include Pavel's email address. > Cc: Wolfgang Denk > CC: Pavel Machek > C

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

2013-08-06 Thread Dinh Nguyen
On Tue, 2013-08-06 at 09:09 -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 Add Pavel's email address

Re: [U-Boot] [PATCH 3/4] ARM: OMAP4470: Add Elpida EDB8164B3PF memory configuration

2013-08-06 Thread Taras Kondratiuk
On 08/06/2013 05:21 PM, Lokesh Vutla wrote: Hi Taras, On Tuesday 06 August 2013 05:48 PM, Taras Kondratiuk wrote: From: Lubomir Popov OMAP4470 SDP SoM has EDB8164B3PF PoP memory on board. This memory has 4Gb x 2CS = 8Gb configuration. Add configuration for runtime calculation and precalculated

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Stephen Warren
On 08/06/2013 05:37 AM, Wolfgang Denk wrote: > Dear Rob Herring, > > In message > you > wrote: >> >>> Why would you ever want to compile this into U-Boot at all? Then any >>> changes you need to make mean compiling and installing a new U-Boot, >>> which is something you normally don't want to

Re: [U-Boot] [PATCH 7/7] video: add an option to skip cfb console init

2013-08-06 Thread Tom Rini
On Sat, Aug 03, 2013 at 07:22:53AM +0200, Heiko Schocher wrote: > This patch add an option to skip cfb console init for boards > who want to show a logo, but not use the cfb console. This is > needed for the siemens boards, which have a bmp bootlogo, but > do not need the cfb console. > > Signed-

Re: [U-Boot] [PATCH 5/7] video, da8xx-fb: show fb addr in bdinfo

2013-08-06 Thread Tom Rini
On Sat, Aug 03, 2013 at 07:22:51AM +0200, Heiko Schocher wrote: > without this patch the bdinfo command shows: > U-Boot# bd > arch_number = 0x10DC > [...] > sp start= 0x8EF32F20 > FB base = 0x > > with this patch it shows the address where the framebuffer > for this video driv

Re: [U-Boot] [PATCH 4/7] video, da8xx-fb: changes for am335x usage

2013-08-06 Thread Tom Rini
On Sat, Aug 03, 2013 at 07:22:50AM +0200, Heiko Schocher wrote: > to use this driver also on am335x based boards, the following > changes are made: > > - struct lcd_ctrl_config lcd_cfg is now configurable > through board code > > - controller base is configurable through define > DA8XX_LCD_C

Re: [U-Boot] [PATCH 3/7] arm, am33xx: add clk_get prototype

2013-08-06 Thread Tom Rini
On Sat, Aug 03, 2013 at 07:22:49AM +0200, Heiko Schocher wrote: > the clk_get() function is needed for the da8xx-fb video driver, > which is used on the am3xx based siemens boards. > > Signed-off-by: Heiko Schocher > Cc: Tom Rini Acked-by: Tom Rini -- Tom signature.asc Description: Digita

Re: [U-Boot] [PATCH 1/7] arm, am335x: add some missing registers and defines for lcd and epwm support

2013-08-06 Thread Tom Rini
On Sat, Aug 03, 2013 at 07:22:47AM +0200, Heiko Schocher wrote: [snip] > +struct pwmss_ecap_regs { > + unsigned int tsctr; > + unsigned int ctrphs; > + unsigned int cap1; > + unsigned int cap2; > + unsigned int cap3; > + unsigned int cap4; > + unsigned int reserved[4];

Re: [U-Boot] [PATCH 2/7] video, da8xx: move da8xx-fb.h to drivers/video

2013-08-06 Thread Tom Rini
On Sat, Aug 03, 2013 at 07:22:48AM +0200, Heiko Schocher wrote: > the da8xx-fb driver works also on am335x boards. So move > the da8xx-fb.h file from arch/arm/include/asm/arch-davinci > to drivers/video, so this driver can used from am335x > based boards. Also add WVGA panel_type. > > Signed-off-

Re: [U-Boot] [i2c] Pull request

2013-08-06 Thread Tom Rini
On Sat, Aug 03, 2013 at 06:07:15AM +0200, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c > > The following changes since commit 245d65b6e503f3a159cffb3392ac3b2c25606d8e: > > Merge branch 'master' of git://git.denx.de/u-boot-usb (2013-08-01 09:19:28 > -0400) > > are avail

[U-Boot] [PATCH v6 2/2] exynos5250: arndale: Add mmc support

2013-08-06 Thread Chander Kashyap
From: Inderpal Singh This patch adds mmc support to the arndale board. Signed-off-by: Inderpal Singh --- board/samsung/arndale/arndale.c | 14 ++ board/samsung/dts/exynos5250-arndale.dts | 18 ++ 2 files changed, 32 insertions(+) diff --git a/board/sam

[U-Boot] [PATCH v6 0/2] Add Arndale board support

2013-08-06 Thread Chander Kashyap
The Arndale board is based on samsung's exynos5250 SOC. For spl generation, it depends on the patch at [5]. First patch provides the basic arndale board support. The second patch adds the MMC support. Changes in v2: - split from earlier patchset at [3] as per Minkyu - Removed chec

[U-Boot] [PATCH v6 1/2] exynos5250: Add arndale board support

2013-08-06 Thread Chander Kashyap
Arndale board is based on samsung's exynos5250 soc. Signed-off-by: Inderpal Singh Signed-off-by: Chander Kashyap --- MAINTAINERS |4 + board/samsung/arndale/Makefile | 34 board/samsung/arndale/arndale.c | 87 ++ board/samsung

Re: [U-Boot] [PATCH v4 1/2] exynos5250: Add arndale board support

2013-08-06 Thread Chander Kashyap
On 6 August 2013 17:16, Minkyu Kang wrote: > On 25/07/13 21:46, Chander Kashyap wrote: >> Arndale board is based on samsung's exynos5250 soc. >> >> Signed-off-by: Inderpal Singh >> Signed-off-by: Chander Kashyap >> --- >> MAINTAINERS |4 + >> board/samsung/arnda

[U-Boot] [PATCH v5 1/2] exynos5250: Add arndale board support

2013-08-06 Thread Chander Kashyap
Arndale board is based on samsung's exynos5250 soc. Signed-off-by: Inderpal Singh Signed-off-by: Chander Kashyap --- MAINTAINERS |4 + board/samsung/arndale/Makefile | 34 board/samsung/arndale/arndale.c | 87 ++ board/samsung

[U-Boot] [PATCH v5 2/2] exynos5250: arndale: Add mmc support

2013-08-06 Thread Chander Kashyap
From: Inderpal Singh This patch adds mmc support to the arndale board. Signed-off-by: Inderpal Singh --- board/samsung/arndale/arndale.c | 14 ++ board/samsung/dts/exynos5250-arndale.dts | 18 ++ 2 files changed, 32 insertions(+) diff --git a/board/sam

[U-Boot] [PATCH v5 0/2] Add Arndale board support

2013-08-06 Thread Chander Kashyap
The Arndale board is based on samsung's exynos5250 SOC. For spl generation, it depends on the patch at [5]. First patch provides the basic arndale board support. The second patch adds the MMC support. Changes in v2: - split from earlier patchset at [3] as per Minkyu - Removed chec

[U-Boot] [RESEND PATCH v5 2/2] socfpga: Adding pin mux handoff files

2013-08-06 Thread Chin Liang See
Adding the generated pin mux configuration by Preloader Generator tool Signed-off-by: Chin Liang See Reviewed-by: Pavel Machek Cc: Wolfgang Denk CC: Pavel Machek Cc: Dinh Nguyen Cc: Tom Rini Cc: Albert Aribaud --- Changes for v2: - Fixed the word wrap issue within patch Changes for v3:

[U-Boot] [RESEND PATCH v6 1/2] socfpga: Adding System Manager driver

2013-08-06 Thread Chin Liang See
Adding System Manager driver which will configure the pin mux for real hardware Cyclone V development kit (not Virtual Platform) Signed-off-by: Chin Liang See Reviewed-by: Pavel Machek Cc: Wolfgang Denk CC: Pavel Machek Cc: Dinh Nguyen Cc: Tom Rini Cc: Albert Aribaud --- Changes for v2:

[U-Boot] [RESEND PATCH v5 1/1] socfpga: Adding configuration for development kit

2013-08-06 Thread Chin Liang See
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: Tom Rini Cc: Albert Aribaud --- Changes for v2: - Fixed the word wrap issue withi

Re: [U-Boot] [PATCH] ARM: mxs: tools: Add mkimage support for MXS bootstream

2013-08-06 Thread Marek Vasut
Dear Tom Rini, > On Wed, Jul 31, 2013 at 03:50:55PM +0200, Marek Vasut wrote: > > Add mkimage support for generating and verifying MXS bootstream. > > The implementation here is mostly a glue code between MXSSB v0.4 > > and mkimage, but the long-term goal is to rectify this and merge > > MXSSB wit

Re: [U-Boot] [PATCH 3/4] ARM: OMAP4470: Add Elpida EDB8164B3PF memory configuration

2013-08-06 Thread Lokesh Vutla
Hi Taras, On Tuesday 06 August 2013 05:48 PM, Taras Kondratiuk wrote: > From: Lubomir Popov > > OMAP4470 SDP SoM has EDB8164B3PF PoP memory on board. > This memory has 4Gb x 2CS = 8Gb configuration. > Add configuration for runtime calculation and precalculated cases. > > Patch is based on a draf

  1   2   >