[U-Boot] [RESEND PATCH v2 6/6] sf: Fix code cleanups

2013-08-04 Thread Jagannadha Sutradharudu Teki
- CHECK: Alignment should match open parenthesis - trailing whitespace Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v2: - none drivers/mtd/spi/atmel.c| 10 +- drivers/mtd/spi/gigadevice.c | 2 +- drivers/mtd/spi/ramtron.c | 2 +-

Re: [U-Boot] Implement AUART for i.MX28

2013-08-04 Thread Andreas Wass
Hi Sorry for not responding, work and vacation came in the way. No further work has been done, ill see if i can do some next week. Kind regards Andreas 3 aug 2013 kl. 20:35 skrev Marek Vasut ma...@denx.de: Hi Andreas, I have tried to implement an AUART driver for i.MX28. However for it

Re: [U-Boot] Implement AUART for i.MX28

2013-08-04 Thread Marek Vasut
Hello Andreas, Hi Sorry for not responding, work and vacation came in the way. No further work has been done, ill see if i can do some next week. OK Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] Unified u-boot feature set for simpler distro support

2013-08-04 Thread Wolfgang Denk
Dear Dennis Gilmore, In message 20130803021104.1feca...@adria.ausil.us you wrote: I wanted to start a discussion on defining a unified feature set that makes it simpler for the different distros to support ARM systems using u-boot. I have based a lot of my thoughts on how calxeda ship their

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

2013-08-04 Thread Wolfgang Denk
Dear Stefano, In message 51fb786e.4010...@denx.de you wrote: Maybe can be mkenvimage a solution (tools/mkenvimage) ? It creates an environment image from a simple ASCII text. The resulting image could be concatenated together with u-boot and in CONFIG_EXTRA_ENV_SETTINGS we could have for

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

2013-08-04 Thread Wolfgang Denk
Dear Dennis, In message 20130801120603.1683f...@adria.ausil.us you wrote: ultimately I want to have a standard way to boot any system that just works and does not need the installer to know or care what the target system is. using boot.scr and uEnv.txt does not work for my goals. But your

Re: [U-Boot] [PATCH] bootm: fix conditional controlling call to fixup_silent_linux

2013-08-04 Thread Simon Glass
Hi Paul, On Sun, Aug 4, 2013 at 1:59 PM, Paul B. Henson hen...@acm.org wrote: Looks like this was broken in commit 35fc84fa1ff51e15ecd3e464dac87eb105ffed30, the refactor changed the conditional test when the code was moved. This looks right. Acked-by: Simon Glass s...@chromium.org But

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

2013-08-04 Thread Tom Rini
On Fri, Aug 02, 2013 at 11:14:22AM +0200, Stefano Babic wrote: Hi Rob, Dennis, On 01/08/2013 19:19, Rob Herring wrote: You both are missing the point. This patch doesn't address the problem, but does highlight it. I am aware of it - I have already pointed out that we get many patches

Re: [U-Boot] [PATCH V3 01/20] Add functions for use with i.mx6 otg udc

2013-08-04 Thread Wolfgang Denk
Dear Troy Kisky, In message 1375399657-25642-2-git-send-email-troy.ki...@boundarydevices.com you wrote: Add functions for use with mx6 soc void otg_enable(void); void reset_usb_phy1(void); Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- arch/arm/cpu/armv7/mx6/soc.c

Re: [U-Boot] Mac address warning

2013-08-04 Thread Wolfgang Denk
Dear Eric Nelson, In message 51faef05.1050...@boundarydevices.com you wrote: While testing Troy's usbnet patches, I was reminded of this mysterious warning issued when the environment has no mac address stored, but the device provides one: printf(\nWarning: %s using MAC address from

Re: [U-Boot] bootstopkey reason behind it

2013-08-04 Thread Wolfgang Denk
Dear paavaanan_...@dell.com, In message d5a6f3355f664c40afb65bb1277d8d450193b22...@maax7mcdc101.apac.dell.com you wrote: To stop autoboot we have 2 ifdef (CONFIG_AUTOBOOT_STOP_ [STR2 || STR1] ). Which is very easy and straightforward to implement. Halting a boot with single Keystroke is

Re: [U-Boot] [PATCH] bootm: fix conditional controlling call to fixup_silent_linux

2013-08-04 Thread Paul B. Henson
Looks like this was broken in commit 35fc84fa1ff51e15ecd3e464dac87eb105ffed30, the refactor changed the conditional test when the code was moved. On Sat, Aug 03, 2013 at 09:29:09PM -0700, Paul B. Henson wrote: This function is only defined if CONFIG_SILENT_CONSOLE is set and

Re: [U-Boot] Mac address warning

2013-08-04 Thread Wolfgang Denk
Dear Stefano Babic, In message 51fbaf54.1090...@denx.de you wrote: Well, I have found it very useful in case I set explicitely the ethaddr variable, so I know where the MAC address comes from. Do you find it disturbing ? Maybe we could replace warning with info. No, warning is perfectly

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

2013-08-04 Thread Tom Rini
On Sun, Aug 04, 2013 at 10:00:04PM +0200, Wolfgang Denk wrote: Dear Dennis, In message 20130801120603.1683f...@adria.ausil.us you wrote: ultimately I want to have a standard way to boot any system that just works and does not need the installer to know or care what the target system

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

2013-08-04 Thread Tom Rini
On Thu, Aug 01, 2013 at 12:19:13PM -0500, Rob Herring wrote: On 08/01/2013 03:53 AM, Stefano Babic wrote: Hi Dennis, On 01/08/2013 01:27, Robert Nelson wrote: [snip] #define CONFIG_BOOTCOMMAND \ mmc dev ${mmcdev}; \ if mmc rescan; then \ echo SD/MMC found on

Re: [U-Boot] Mac address warning

2013-08-04 Thread Eric Nelson
On 08/04/2013 01:24 PM, Wolfgang Denk wrote: Dear Stefano Babic, In message 51fbaf54.1090...@denx.de you wrote: Well, I have found it very useful in case I set explicitely the ethaddr variable, so I know where the MAC address comes from. Do you find it disturbing ? Maybe we could replace

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

2013-08-04 Thread Wolfgang Denk
Dear Tom Rini, In message 20130804202746.GH5164@bill-the-cat you wrote: But your requirement is just one out of a number of such requirements, and I see no indication that an one size fits all approach would be possible. And today we have no ability to easily opt-in to any of the one

[U-Boot] [PATCH 10/12] sf: probe: Update sector_size for W25* parts

2013-08-04 Thread Jagannadha Sutradharudu Teki
Updated/Corrected the sector_size as per the datasheets. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- drivers/mtd/spi/spi_flash_probe.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git

[U-Boot] [PATCH 12/12] sf: probe: Update sector_size for S25FL* parts

2013-08-04 Thread Jagannadha Sutradharudu Teki
Updated/Corrected the sector_size as per the datasheets. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- drivers/mtd/spi/spi_flash_probe.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/mtd/spi/spi_flash_probe.c

[U-Boot] [PATCH 01/12] sf: Divide spi_flash into multiple parts

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

[U-Boot] [PATCH 04/12] sf: probe: Add support for M25P* flash parts

2013-08-04 Thread Jagannadha Sutradharudu Teki
All M25P* flash parts are taken from spi_flash_probe_legacy.c. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- drivers/mtd/spi/spi_flash_probe.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/spi/spi_flash_probe.c

[U-Boot] [PATCH 02/12] sf: probe: Add new spi_flash_probe support

2013-08-04 Thread Jagannadha Sutradharudu Teki
Added new spi_flash_probe support, currently added N25Q* flash part attributes support. Defined CONFIG_SPI_FLASH_LEGACY for old probing style which is available on spi_flash_probe_legacy.c, this will removed soon once all flashes are supported in new spi_flash_probe. Signed-off-by: Jagannadha

[U-Boot] [PATCH 09/12] sf: probe: Add support for W25* flash parts

2013-08-04 Thread Jagannadha Sutradharudu Teki
All WINBOND W25* flash parts are taken from spi_flash_probe_legacy.c. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- drivers/mtd/spi/spi_flash_probe.c | 33 - 1 file changed, 32 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 11/12] sf: probe: Add support for S25FL* flash parts

2013-08-04 Thread Jagannadha Sutradharudu Teki
All SPANSION S25FL* flash parts are taken from spi_flash_probe_legacy.c. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- drivers/mtd/spi/spi_flash_probe.c | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH 07/12] sf: probe: Add support for GD25* flash parts

2013-08-04 Thread Jagannadha Sutradharudu Teki
All GIGADEVICE GD25* flash parts are taken from spi_flash_probe_legacy.c. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- drivers/mtd/spi/spi_flash_probe.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/spi/spi_flash_probe.c

[U-Boot] [PATCH 00/12] sf: Add common probe support

2013-08-04 Thread Jagannadha Sutradharudu Teki
This patch series divides the spi flash framework into a respective parts, spi_flash_probe, spi_flash_ops and spi_flash. spi_flash_probe is a new addition where all flash driver probing is combined into a common file, this means spi_flash_probe.c adds a new probing style common to all flashes.

[U-Boot] [PATCH 08/12] sf: probe: Add support for MX25L* flash parts

2013-08-04 Thread Jagannadha Sutradharudu Teki
All MACRONIX MX25L* flash parts are taken from spi_flash_probe_legacy.c. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- drivers/mtd/spi/spi_flash_probe.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/spi/spi_flash_probe.c

[U-Boot] [PATCH 06/12] sf: probe: Add support for EN25Q* flash parts

2013-08-04 Thread Jagannadha Sutradharudu Teki
All EON EN25Q* flash parts are taken from spi_flash_probe_legacy.c. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- drivers/mtd/spi/spi_flash_probe.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/spi/spi_flash_probe.c

[U-Boot] [PATCH 03/12] sf: probe: Update sector_size for N25Q* parts

2013-08-04 Thread Jagannadha Sutradharudu Teki
Updated the sector_size as 64 * 1024 as these sectors are 64KB. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- drivers/mtd/spi/spi_flash_probe.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/mtd/spi/spi_flash_probe.c

[U-Boot] [PATCH 05/12] sf: probe: Update sector_size for M25P* parts

2013-08-04 Thread Jagannadha Sutradharudu Teki
Updated/Corrected the sector_size as per the datasheets. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- drivers/mtd/spi/spi_flash_probe.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/mtd/spi/spi_flash_probe.c

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

2013-08-04 Thread Tom Rini
On Sun, Aug 04, 2013 at 11:03:53PM +0200, Wolfgang Denk wrote: Dear Tom Rini, In message 20130804202746.GH5164@bill-the-cat you wrote: But your requirement is just one out of a number of such requirements, and I see no indication that an one size fits all approach would be

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

2013-08-04 Thread Wolfgang Denk
Dear Tom, In message 20130804214743.GJ5164@bill-the-cat you wrote: I am not that pessimistic. The tools are all available and in place. env import (and other capabilities of the env command) allow to import any set of environment from any storage location U-Boot can handle. This

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

2013-08-04 Thread Wolfgang Denk
Dear Dennis, In message 20130804163442.31dca...@adria.ausil.us you wrote: But your requirement is just one out of a number of such requirements, and I see no indication that an one size fits all approach would be possible. It should be possible for those systems that want a generic linux

Re: [U-Boot] Unified u-boot feature set for simpler distro support

2013-08-04 Thread Dennis Gilmore
Hi Wolfgang, On Sun, 04 Aug 2013 21:48:00 +0200 Wolfgang Denk w...@denx.de wrote: Dear Dennis Gilmore, In message 20130803021104.1feca...@adria.ausil.us you wrote: I wanted to start a discussion on defining a unified feature set that makes it simpler for the different distros to

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

2013-08-04 Thread Dennis Gilmore
Resending unsigned Hi Wolfgang, On Sun, 04 Aug 2013 22:00:04 +0200 Wolfgang Denk w...@denx.de wrote: Dear Dennis, In message 20130801120603.1683f...@adria.ausil.us you wrote: ultimately I want to have a standard way to boot any system that just works and does not need the installer to

Re: [U-Boot] [PATCH] gpio: altera_pio: Fix inversed logic of gpio_is_valid() implementation

2013-08-04 Thread Axel Lin
2013/7/29 Albert ARIBAUD albert.u.b...@aribaud.net: Hi Axel, On Sat, 15 Jun 2013 17:10:38 +0800, Axel Lin axel@ingics.com wrote: The implementation of gpio_is_valid() has inversed logic, fix it. Signed-off-by: Axel Lin axel@ingics.com --- Hi, I don't have this hardware to test,

[U-Boot] [PATCH] ARM: omap24xx: remove remainders of dead board

2013-08-04 Thread Masahiro Yamada
Since Commit 7f5eef9 removed OMAP2420H4 support, arm1136/omap24xx has not been used at all. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- arch/arm/cpu/arm1136/omap24xx/Makefile | 31 arch/arm/cpu/arm1136/omap24xx/reset.S | 26 ---

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

2013-08-04 Thread Rob Herring
On Fri, Aug 2, 2013 at 4:14 AM, Stefano Babic sba...@denx.de wrote: Hi Rob, Dennis, On 01/08/2013 19:19, Rob Herring wrote: You both are missing the point. This patch doesn't address the problem, but does highlight it. I am aware of it - I have already pointed out that we get many patches

Re: [U-Boot] [PATCH] bootm: fix conditional controlling call to fixup_silent_linux

2013-08-04 Thread Paul B. Henson
On Sun, Aug 04, 2013 at 02:10:14PM -0600, Simon Glass wrote: But which board does it actually break, please? I don't think any of the default configs included in u-boot would have broken, while some of them define CONFIG_SILENT_CONSOLE, none of them define CONFIG_SILENT_U_BOOT_ONLY. I was

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

2013-08-04 Thread Heiko Schocher
Hello Tom, Am 02.08.2013 22:26, schrieb Tom Rini: 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

Re: [U-Boot] [PATCH] bootm: fix conditional controlling call to fixup_silent_linux

2013-08-04 Thread Simon Glass
Hi Paul, On Sun, Aug 4, 2013 at 8:43 PM, Paul B. Henson hen...@acm.org wrote: On Sun, Aug 04, 2013 at 02:10:14PM -0600, Simon Glass wrote: But which board does it actually break, please? I don't think any of the default configs included in u-boot would have broken, while some of them

[U-Boot] [PATCH RESEND] exynos: video: change mipi dsi write function parameters correctly

2013-08-04 Thread Donghwa Lee
This patch have changed mipi dsi write functions' parameters correctly so that type cast operations were removed. And mipi dsi payload is composed with array of panel commands to improve readability. Signed-off-by: Donghwa Lee dh09@samsung.com --- arch/arm/include/asm/arch-exynos/mipi_dsim.h

Re: [U-Boot] [PATCH v3 6/7] ARM: extend non-secure switch to also go into HYP mode

2013-08-04 Thread Masahiro Yamada
Hello Andre, -#ifdef CONFIG_ARMV7_NONSEC +#if defined(CONFIG_ARMV7_NONSEC) || defined(CONFIG_ARMV7_VIRT) enum nonsec_virt_errors { NONSEC_VIRT_SUCCESS, NONSEC_ERR_NO_SEC_EXT, NONSEC_ERR_NO_GIC_ADDRESS, NONSEC_ERR_GIC_ADDRESS_ABOVE_4GB, +

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

2013-08-04 Thread Wolfgang Denk
Dear Rob Herring, In message CAL_JsqK++KbAajYtp9UnJuHWd=f8pjhsk0x3hzf73pchdl_...@mail.gmail.com you wrote: Maybe can be mkenvimage a solution (tools/mkenvimage) ? It creates an environment image from a simple ASCII text. The resulting image could be concatenated together with u-boot and