Re: [U-Boot] Falcon Mode implemented version

2013-07-29 Thread Stefano Babic
Hi Rajdeep, On 30/07/2013 08:16, Rajdeep Vaghasia wrote: > Hi Stefano, > As in the case of NAND, u-boot_spl.bin is generated in u-boot/spl_nand/ > directory, You're wrong: spl_nand is the old legacy spl. It is maintained for old boards, but it should not be used for new projects. Setting CONFIG_

Re: [U-Boot] Falcon Mode implemented version

2013-07-29 Thread Rajdeep Vaghasia
Hi Stefano, As in the case of NAND, u-boot_spl.bin is generated in u-boot/spl_nand/ directory, In case of NOR, where exactly the separate spl image will be generated? or Will "u-boot.bin" contain the whole "spl + secondary u-boot"? Please help me with these, Thanks in advance, Rajdeep Vaghasia On

[U-Boot] [PATCH V2 6/6] ARM: AM43xx: Add config file

2013-07-29 Thread Lokesh Vutla
Add config file Signed-off-by: Lokesh Vutla --- boards.cfg |1 + include/configs/am43xx_evm.h | 135 ++ 2 files changed, 136 insertions(+) create mode 100644 include/configs/am43xx_evm.h diff --git a/boards.cfg b/boards.cfg index 2

[U-Boot] [PATCH V2 1/6] ARM: AM43xx: Add Board files

2013-07-29 Thread Lokesh Vutla
Add board specific information for AM43xx. Signed-off-by: Lokesh Vutla --- board/ti/am43xx/Makefile | 38 +++ board/ti/am43xx/board.c | 56 ++ board/ti/am43xx/board.h | 17 ++ board/ti/am43xx/mux.c|

[U-Boot] [PATCH V2 2/6] ARM: AM43xx: Add header files

2013-07-29 Thread Lokesh Vutla
Adding the following data: -> Prcm structure -> Base addresses -> Pin mux structure. Signed-off-by: Lokesh Vutla --- arch/arm/include/asm/arch-am33xx/cpu.h | 164 +++- arch/arm/include/asm/arch-am33xx/hardware.h|8 +- arch/arm/include/asm/arch-am33xx/hard

[U-Boot] [PATCH V2 4/6] ARM: OMAP: Add CONFIG_OMAP_COMMON

2013-07-29 Thread Lokesh Vutla
Adding a new CONFIG_OMAP_COMMON which is included by all boards that needs to build cpu/armv7/omap-common folder. Signed-off-by: Lokesh Vutla --- Makefile|2 +- arch/arm/config.mk |2 +- arch/arm/cpu/armv7/omap-common/Makefile |2 +

[U-Boot] [PATCH V2 3/6] ARM: AM43xx: clocks: Add dpll and clock data

2013-07-29 Thread Lokesh Vutla
Add dpll and clock data for AM43xx Signed-off-by: Lokesh Vutla --- arch/arm/cpu/armv7/am33xx/Makefile |7 +- arch/arm/cpu/armv7/am33xx/clock_am43xx.c | 110 ++ board/ti/am43xx/board.c |3 +- 3 files changed, 118 insertions(+), 2 deletio

[U-Boot] [PATCH V2 5/6] ARM: AM43xx: Add build support

2013-07-29 Thread Lokesh Vutla
Add AM43xx support in the required places Signed-off-by: Lokesh Vutla --- arch/arm/cpu/armv7/Makefile |2 +- arch/arm/cpu/armv7/omap-common/boot-common.c |3 ++- drivers/serial/ns16550.c |5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-)

[U-Boot] [PATCH V2 0/6] ARM: AM43xx: Add Support for AM43xx Soc's

2013-07-29 Thread Lokesh Vutla
AM43xx is a low cost Cortex-A9 based application processor targets higher performance applications and new specific end equipments like Point of Sale requiring stringent security requirements. This series add support for AM43xx Soc's. Data for the following is not added: -> SDRAM -> DPLL Dividers

Re: [U-Boot] [PATCH] cfi_flash: Add prototypes of overridable functions

2013-07-29 Thread Masahiro Yamada
Hello Stefan > Is this patch still needed? Yes, I think so. Best Regards Masahiro Yamada ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH V2 3/4] ARM: AM33xx: Move s_init to a common place

2013-07-29 Thread Lokesh Vutla
From: Heiko Schocher s_init has the same outline for all the AM33xx based board. So making it generic. This also helps in addition of new Soc with minimal changes. Signed-off-by: Lokesh Vutla Signed-off-by: Heiko Schocher Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/am33xx/board.c

[U-Boot] [PATCH V2 2/4] ARM: AM33xx: Cleanup clocks layer

2013-07-29 Thread Lokesh Vutla
Cleaning up the clocks layer. This helps in addition of new Soc with minimal changes. This is derived from OMAP4 boards. Signed-off-by: Lokesh Vutla --- arch/arm/cpu/armv7/am33xx/board.c |6 - arch/arm/cpu/armv7/am33xx/clock.c | 62 +- arch/arm/cpu/armv7/am33xx/cloc

[U-Boot] [PATCH V2 0/4]ARM: AM33xx: Cleanup clocks and hwinit

2013-07-29 Thread Lokesh Vutla
This series tries to cleanup code for AM33xx, inorder to ensure code reusabilty by moving the duplicated code to common place. This also helps in addition of new Soc with minimal changes. Testing: Boot tested on BeagleBone White/Black, AM35xx EVM/EVMSK. Verified ./MAKEALL -s am33xx. Changes Since

[U-Boot] [PATCH V2 4/4] musb: Disable extra prints

2013-07-29 Thread Lokesh Vutla
There are many musb prints in SPL and U-Boot log. These prints are required only during musb debug. So replacing printk with pr_debug in musb_core. Signed-off-by: Lokesh Vutla --- drivers/usb/musb-new/musb_core.c | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff

[U-Boot] [PATCH V2 1/4] ARM: AM33xx: Cleanup dplls data

2013-07-29 Thread Lokesh Vutla
Locking sequence for all the dplls is same. In the current code same sequence is done repeatedly for each dpll. Instead have a generic function for locking dplls and pass dpll data to that function. This is derived from OMAP4 boards. Signed-off-by: Lokesh Vutla --- arch/arm/cpu/armv7/am33xx/Mak

[U-Boot] [PATCH v2 0/3] arm, am335x: add support for siemens boards

2013-07-29 Thread Heiko Schocher
add support for the am335x based boards from siemens: dxr2: - DDR3 128MiB - NAND 256MiB - Ethernet with external Switch SMSC LAN9303 - no PMIC - internal Watchdog - DFU support pxm2: - DDR2 512 MiB - NAND 1024 MiB - PMIC - PHY atheros ar803x - USB Host - internal Watchdog

[U-Boot] [PATCH v3 2/3] arm, am335x: add watchdog support

2013-07-29 Thread Heiko Schocher
Add TI OMAP 16xx & 24xx/34xx 32KHz (non-secure) watchdog support. Signed-off-by: Heiko Schocher Reviewed-by: Tom Rini Cc: Albert Aribaud --- - changes for v2: - add Reviedwed-by from Tom Rini - fixed subject - add SPDX-License-Identifier - changes for v3: - add a more detailed commen

[U-Boot] [PATCH v2 1/3] arm, spl: add watchdog library to SPL

2013-07-29 Thread Heiko Schocher
Signed-off-by: Heiko Schocher Cc: Tom Rini --- - changes for v2: none doc/README.SPL | 2 +- spl/Makefile | 1 + 2 Dateien geändert, 2 Zeilen hinzugefügt(+), 1 Zeile entfernt(-) diff --git a/doc/README.SPL b/doc/README.SPL index ac9a213..312a6a6 100644 --- a/doc/README.SPL +++ b/doc/README

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-29 Thread Simon Glass
Hi Heiko, On Mon, Jul 29, 2013 at 10:28 PM, Heiko Schocher wrote: > Hello Stephen, > > Am 29.07.2013 18:12, schrieb Stephen Warren: > > On 05/04/2013 06:01 AM, Heiko Schocher wrote: >> >>> From: Simon Glass >>> >>> This enables CONFIG_SYS_I2C on Tegra, updating existing boards and the >>> Tegra

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-29 Thread Heiko Schocher
Hello Stephen, Am 29.07.2013 18:12, schrieb Stephen Warren: On 05/04/2013 06:01 AM, Heiko Schocher wrote: From: Simon Glass This enables CONFIG_SYS_I2C on Tegra, updating existing boards and the Tegra i2c driver to support this. Heiko, the latest U-Boot tree hangs during boot on Tegra, and "

Re: [U-Boot] Query: Ethernet switch support

2013-07-29 Thread Sharma Bhupesh-B45370
Hi Albert, Thanks for your reply. > -Original Message- > From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] > Sent: Monday, July 29, 2013 10:27 PM > To: Sharma Bhupesh-B45370 > Cc: 'u-boot@lists.denx.de' > Subject: Re: [U-Boot] Query: Ethernet switch support > > Hi Sharma, > > On M

[U-Boot] [PATCH] config.mk: Add -Wundef to CFLAGS

2013-07-29 Thread Masahiro Yamada
In U-boot source, some '#if' directives evaluate undefined identifiers. To find and fix them, this commit adds -Wundef to CFLAGS. Signed-off-by: Masahiro Yamada --- config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.mk b/config.mk index f71e145..7a92ae3 100644

[U-Boot] Please pull u-boot-ti/master

2013-07-29 Thread Tom Rini
Hey, The following changes since commit 8b485ba12b0defa0c4ed3559789250238f8331a8: Merge branch 'u-boot/master' into u-boot-arm/master (2013-07-25 17:57:46 +0200) are available in the git repository at: git://git.denx.de/u-boot-ti.git master for you to fetch changes up to bb2a5d8f87fffb4f

Re: [U-Boot] [PATCH v7 03/11] nand: add Faraday FTNANDC021 NAND controller support

2013-07-29 Thread Kuo-Jung Su
2013/7/30 Scott Wood : > On 07/29/2013 12:51:45 AM, Kuo-Jung Su wrote: >> >> From: Kuo-Jung Su >> >> Faraday FTNANDC021 is an integrated NAND flash controller. >> It use a build-in command table to abstract the underlying >> NAND flash control logic. >> >> For example: >> >> Issuing a command 0x10

Re: [U-Boot] [PATCH v7 03/11] nand: add Faraday FTNANDC021 NAND controller support

2013-07-29 Thread Scott Wood
On 07/29/2013 12:51:45 AM, Kuo-Jung Su wrote: From: Kuo-Jung Su Faraday FTNANDC021 is an integrated NAND flash controller. It use a build-in command table to abstract the underlying NAND flash control logic. For example: Issuing a command 0x10 to FTNANDC021 would result in a page write + a re

Re: [U-Boot] [PATCH v4 4/4] Update u-boot-nand.bin to be used with spl

2013-07-29 Thread Scott Wood
On 07/28/2013 03:16:56 PM, Philippe Reynes wrote: Signed-off-by: Philippe Reynes Signed-off-by: Eric Jarrige --- Makefile |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 4218226..b971f30 100644 --- a/Makefile +++ b/Makefile @@ -617,8 +617

Re: [U-Boot] [PATCH v3 2/7] ARM: add secure monitor handler to switch to non-secure state

2013-07-29 Thread Christoffer Dall
n Wed, Jul 10, 2013 at 01:54:14AM +0200, Andre Przywara wrote: > A prerequisite for using virtualization is to be in HYP mode, which > requires the CPU to be in non-secure state first. > Add new file in arch/arm/cpu/armv7 to hold a monitor handler routine > which switches the CPU to non-secure stat

Re: [U-Boot] [PATCH v3 5/7] ARM: add SMP support for non-secure switch

2013-07-29 Thread Christoffer Dall
On Wed, Jul 10, 2013 at 01:54:17AM +0200, Andre Przywara wrote: > Currently the non-secure switch is only done for the boot processor. > To enable full SMP support, we have to switch all secondary cores > into non-secure state also. > > So we add an entry point for secondary CPUs coming out of low

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

2013-07-29 Thread Christoffer Dall
On Wed, Jul 10, 2013 at 01:54:18AM +0200, Andre Przywara wrote: > For the KVM and XEN hypervisors to be usable, we need to enter the > kernel in HYP mode. Now that we already are in non-secure state, > HYP mode switching is within short reach. > > While doing the non-secure switch, we have to enab

Re: [U-Boot] [PATCH v3 4/7] ARM: switch to non-secure state during bootm execution

2013-07-29 Thread Christoffer Dall
On Wed, Jul 10, 2013 at 01:54:16AM +0200, Andre Przywara wrote: [...] > diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c > index 1b6e0ac..7b0619e 100644 > --- a/arch/arm/lib/bootm.c > +++ b/arch/arm/lib/bootm.c > @@ -34,6 +34,10 @@ > #include > #include > > +#ifdef CONFIG_ARMV7_NONS

Re: [U-Boot] common/cmd_nand.c license terms

2013-07-29 Thread Scott Wood
On 07/29/2013 03:08:23 PM, Wolfgang Denk wrote: Dear Scott, In message <1375127231.30721.54@snotra> you wrote: > > > Looking at this commit, it is totally unclear to me which parts of the > > newly added code you could be referring to with your "which are not > > considered a derived work o

Re: [U-Boot] [PATCH 0/2] usb bug fixes

2013-07-29 Thread Marek Vasut
Dear Nikita Kiryanov, > This series contains two usb related bug fixes, one regarding the power > cycling of hub ports, and the other- a memory leak in ehci-hcd. > > Cc: Marek Vasut > Cc: Igor Grinberg > > Nikita Kiryanov (2): > usb_hub: fix power cycling logic > ehci-hcd: fix memory leak

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

2013-07-29 Thread Chin Liang See
Consolidating reset code into reset_manager.c. Also separating reset configuration for virtual target and real hardware Cyclone V development kit Signed-off-by: Chin Liang See Reviewed-by: Pavel Machek Cc: Wolfgang Denk CC: Pavel Machek Cc: Dinh Nguyen Cc: Tom Rini Cc: Albert Aribaud --- Cha

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

2013-07-29 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] [PATCH v6 1/2] socfpga: Adding System Manager driver

2013-07-29 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] [PATCH v5 1/1] socfpga: Adding configuration for development kit

2013-07-29 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] Query: Ethernet switch support

2013-07-29 Thread Wolfgang Denk
Dear Bhupesh, In message you wrote: > > I am trying to add support of a Vitesse L2 switch in u-boot (in unmanaged > configuration). > I was analyzing whether advanced features like flow control, link-aggregation > etc are > required to be supported for a L2 switch working in a u-boot bootlo

Re: [U-Boot] common/cmd_nand.c license terms

2013-07-29 Thread Wolfgang Denk
Dear Scott, In message <1375127231.30721.54@snotra> you wrote: > > > Looking at this commit, it is totally unclear to me which parts of the > > newly added code you could be referring to with your "which are not > > considered a derived work of GPL v2-only code". > > > > Your addition makes the le

Re: [U-Boot] SPDX-License-Identifier: adding a comment section?

2013-07-29 Thread Wolfgang Denk
Dear Tom, In message <51f666a4.9060...@ti.com> you wrote: > > > drivers/net/ne2000.h drivers/net/ne2000.c > > drivers/net/ne2000_base.h drivers/net/ne2000_base.c ... > I grabbed (because of the omap watchdog patch) 2.4.17, and that's (a) > older than our ne2k driver and (b) Already a GPLv2 and no

Re: [U-Boot] common/cmd_nand.c license terms

2013-07-29 Thread Scott Wood
On 07/28/2013 07:31:00 AM, Wolfgang Denk wrote: Dear Scott, with commit ea533c2 "cmd_nand: some infrastructure fixes and refactoring" (Mon Aug 02, 2010), you added the following license header to common/cmd_nand.c : + * Copyright 2010 Freescale Semiconductor + * The portions of this file whose

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

2013-07-29 Thread Otavio Salvador
On Fri, Jul 26, 2013 at 9:20 PM, Dennis Gilmore wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Fri, 26 Jul 2013 10:52:04 -0300 > Otavio Salvador wrote: > >> On Thu, Jul 25, 2013 at 6:13 PM, wrote: >> > From: Dennis Gilmore >> >> highbank? what does this means? > calxeda highba

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

2013-07-29 Thread Jagannadha Sutradharudu Teki
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_ZYNQ_SPI arch/arm/include/asm/arch-zynq/hardware.h |

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

2013-07-29 Thread Jagannadha Sutradharudu Teki
Add support for SST25WF080 SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki Signed-off-by: Michal Simek --- 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..256867c 100644 --- a/drivers/mtd/spi/s

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

2013-07-29 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 --- arch/arm/include/asm/arch-zynq/hardware.h | 2 + drivers/spi/Makefile | 1 + driv

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

2013-07-29 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 --- include/configs/zynq.h | 10

[U-Boot] [PATCH 0/4] sf: macronix: Add support for bank addr access

2013-07-29 Thread Jagannadha Sutradharudu Teki
This patch set adds bank addr access support for macronix flash's so-that the macronix flashes which has > 16Mbyte sizes can be accessible in 3-byte addressing mode. REQUEST FOR MACRONIX FLASH VENDORS/USERS: PLEASE TEST THESE CHANGES ON YOUR RESPECTIVE HW, FLASH PARTS FROM USER HW IS NOT AVAILABLE

[U-Boot] [PATCH 1/4] sf: Move manufacture id code macros to CONFIG_SPI_FLASH_BAR

2013-07-29 Thread Jagannadha Sutradharudu Teki
IDCODE0 are required to find the bank addr read/write commands, as these commands are specific to manufacture id hence moved manu id code macros to CONFIG_SPI_FLASH_BAR. Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/spi_flash_internal.h | 8 1 file changed, 4 insertion

[U-Boot] [PATCH 2/4] sf: Add bank addr access support macronix flash's

2013-07-29 Thread Jagannadha Sutradharudu Teki
This patch adds bank addr access support for macronix flash's so-that the macronix flashes which has > 16Mbyte sizes can be accessible in 3-byte addressing mode. Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/spi_flash.c | 1 + drivers/mtd/spi/spi_flash_internal.h | 1 +

[U-Boot] [PATCH 3/4] sf: macronix: Add support for MX25L25635F

2013-07-29 Thread Jagannadha Sutradharudu Teki
Add support for Macronix MX25L25635F SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/macronix.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mtd/spi/macronix.c b/drivers/mtd/spi/macronix.c index 70435eb..ce2fb9c 100644 --- a/drivers/mtd/spi/macronix

[U-Boot] [PATCH 4/4] sf: macronix: Add support for MX25L51235F

2013-07-29 Thread Jagannadha Sutradharudu Teki
Add support for Macronix MX25L51235F SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/macronix.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mtd/spi/macronix.c b/drivers/mtd/spi/macronix.c index ce2fb9c..d0e6d6c 100644 --- a/drivers/mtd/spi/macronix

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

2013-07-29 Thread Jagannadha Sutradharudu Teki
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|env_sf: Fix code cleanup sf: Fix code cleanups common/cmd_sf

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

2013-07-29 Thread Jagannadha Sutradharudu Teki
- CHECK: Alignment should match open parenthesis - trailing whitespace Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/atmel.c| 10 +- drivers/mtd/spi/gigadevice.c | 2 +- drivers/mtd/spi/ramtron.c | 2 +- drivers/mtd/spi/spansion.c | 2 +- drivers/m

[U-Boot] [PATCH v2 3/6] sf: stmicro: Fix code cleanup

2013-07-29 Thread Jagannadha Sutradharudu Teki
- line over 80 characters - foo * bar -> foo *bar - removed unnecessary for single statement blocks. Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/stmicro.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/spi/stmicro.c b/drivers/mtd/spi/st

[U-Boot] [PATCH v2 4/6] sf: Fix code cleanup

2013-07-29 Thread Jagannadha Sutradharudu Teki
- line over 80 characters. - CHECK: Alignment should match open parenthesis Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/spi_flash.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c index

[U-Boot] [PATCH v2 1/6] sf: eon|spansion|ramtron: Fix code cleanup

2013-07-29 Thread Jagannadha Sutradharudu Teki
- line over 80 characters - insert the expression in same line Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/eon.c | 3 +-- drivers/mtd/spi/ramtron.c | 6 -- drivers/mtd/spi/spansion.c | 3 ++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/mtd

[U-Boot] [PATCH v2 5/6] cmd_sf|env_sf: Fix code cleanup

2013-07-29 Thread Jagannadha Sutradharudu Teki
- line over 80 characters - add tabs - CHECK: Alignment should match open parenthesis Signed-off-by: Jagannadha Sutradharudu Teki --- common/cmd_sf.c | 27 ++- common/env_sf.c | 2 +- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/common/cmd_sf.c b/comm

[U-Boot] [PATCH v2 2/6] sf: sst: Fix code cleanup

2013-07-29 Thread Jagannadha Sutradharudu Teki
- line over 80 characters - add spaces - add tabs Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/sst.c | 32 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/drivers/mtd/spi/sst.c b/drivers/mtd/spi/sst.c index 95f5490..6292289 1006

Re: [U-Boot] Query: Ethernet switch support

2013-07-29 Thread Albert ARIBAUD
Hi Sharma, On Mon, 29 Jul 2013 15:33:39 +, Sharma Bhupesh-B45370 wrote: > Hi List, > > I am trying to add support of a Vitesse L2 switch in u-boot (in unmanaged > configuration). > I was analyzing whether advanced features like flow control, link-aggregation > etc are > required to be sup

Re: [U-Boot] [RFC] Remove static display data

2013-07-29 Thread Simon Glass
Hi Eric, On Sun, Jul 28, 2013 at 1:22 PM, Eric Nelson < eric.nel...@boundarydevices.com> wrote: > Hi Simon, > > > On 07/28/2013 11:09 AM, Simon Glass wrote: > >> Hi Eric, >> >> On Sun, Jul 28, 2013 at 10:57 AM, Eric Nelson >> >> > >> wrote: >> >> On

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-29 Thread Stephen Warren
On 05/04/2013 06:01 AM, Heiko Schocher wrote: > From: Simon Glass > > This enables CONFIG_SYS_I2C on Tegra, updating existing boards and the Tegra > i2c driver to support this. Heiko, the latest U-Boot tree hangs during boot on Tegra, and "git bisect" points at this patch. Olof reported the issu

Re: [U-Boot] [PATCH 6/6] am335x_evm: am33xx_spl_board_init function and scale core frequency

2013-07-29 Thread Enric Balletbo Serra
Hi Tom, 2013/7/23 Dan Murphy : > On 07/19/2013 02:00 PM, Tom Rini wrote: >> Add a am33xx_spl_board_init (and enable the PMICs) that we may see, >> depending on the board we are running on. In all cases, we see if we >> can rely on the efuse_sma register to tell us the maximum speed. In the >> ca

[U-Boot] [PATCH 4/5] sf: spansion|stmicro: Enable dual stacked access

2013-07-29 Thread Jagannadha Sutradharudu Teki
Dual stacked accessing can be done by updating flash part attributes like sector_size*2 Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/spansion.c | 3 +++ drivers/mtd/spi/stmicro.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/drivers/mtd/spi/spansion.c b/drivers/mtd/

[U-Boot] [PATCH 0/5] sf: Add support to access dual flash memory

2013-07-29 Thread Jagannadha Sutradharudu Teki
This patchset adds support for dual flash memory accessing with single chipselect line from the controller. dual flash memory support is implemented in xilinx zynq qspi controllers in which dual stacked and dual parallel are the connection modes. Currently added these connection modes support on

[U-Boot] [PATCH 1/5] sf: Add support for accessing dual parallel memories

2013-07-29 Thread Jagannadha Sutradharudu Teki
This patch added support for accessing dual memories in parallel connections with single chipselect line from controller. this connection mode is implemented in xilinx zynq qspi controller. For more info, see doc/README.spi-flash-conn-modes Below are the changes for dual parallel to work: - mtd l

[U-Boot] [PATCH 5/5] sf: Add bank selection support for dual stacked access

2013-07-29 Thread Jagannadha Sutradharudu Teki
For upper memory, bank selection on dual stacked access needs to subtract the calculated banks from the number of banks available on a single memory. Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/spi_flash.c | 13 + 1 file changed, 13 insertions(+) diff --git a/dri

[U-Boot] [PATCH 2/5] sf: spansion|stmicro: Enable dual parallel access

2013-07-29 Thread Jagannadha Sutradharudu Teki
Dual parallel accessing can be done by updating flash part attributes like page_size*2, sector_size*2 Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/spansion.c | 6 ++ drivers/mtd/spi/stmicro.c | 6 ++ 2 files changed, 12 insertions(+) diff --git a/drivers/mtd/spi/span

[U-Boot] [PATCH 3/5] sf: Add support for accessing dual stacked memories

2013-07-29 Thread Jagannadha Sutradharudu Teki
This patch added support for accessing dual memories in stacked connections with single chipselect line from controller. this connection mode is implemented in xilinx zynq qspi controller. For more info, see doc/README.spi-flash-conn-modes Below are the changes for dual stacked to work: - mtd lay

[U-Boot] Query: Ethernet switch support

2013-07-29 Thread Sharma Bhupesh-B45370
Hi List, I am trying to add support of a Vitesse L2 switch in u-boot (in unmanaged configuration). I was analyzing whether advanced features like flow control, link-aggregation etc are required to be supported for a L2 switch working in a u-boot bootloader level. My point-of-view is that the L

Re: [U-Boot] [PATCH 1/9] arm926ej-s: Invalidate instruction cache in flush_cache

2013-07-29 Thread Michael Spang
On Mon, Jul 29, 2013 at 10:09 AM, Albert ARIBAUD wrote: > Hi Michael, > > On Mon, 29 Jul 2013 08:57:53 -0400, Michael Spang > wrote: > >> Albert, >> >> That's not a correct characterization of the bug. >> >> The incoherent cache lines are from before the relocation stage. If >> U-Boot is relocati

Re: [U-Boot] [PATCH 1/9] arm926ej-s: Invalidate instruction cache in flush_cache

2013-07-29 Thread Michael Spang
Albert, That's not a correct characterization of the bug. The incoherent cache lines are from before the relocation stage. If U-Boot is relocating from RAM, and later copies the OS there without invalidating those lines, then that's a bug in U-Boot. Michael On Mon, Jul 29, 2013 at 3:19 AM, Albe

Re: [U-Boot] [PATCH 1/9] arm926ej-s: Invalidate instruction cache in flush_cache

2013-07-29 Thread Albert ARIBAUD
Hi Michael, On Mon, 29 Jul 2013 08:57:53 -0400, Michael Spang wrote: > Albert, > > That's not a correct characterization of the bug. > > The incoherent cache lines are from before the relocation stage. If > U-Boot is relocating from RAM, and later copies the OS there without > invalidating tho

Re: [U-Boot] [PATCH 2/3 v2] arm, am335x: add watchdog support

2013-07-29 Thread Tom Rini
On Mon, Jul 29, 2013 at 03:06:00PM +0200, Heiko Schocher wrote: > Hello Tom, > > Am 29.07.2013 14:39, schrieb Tom Rini: > >On Mon, Jul 29, 2013 at 06:58:05AM +0200, Heiko Schocher wrote: > > > >>Add TI OMAP 16xx& 24xx/34xx 32KHz (non-secure) watchdog support. > >> > >>Signed-off-by: Heiko Schoche

Re: [U-Boot] [PATCH 2/3 v2] arm, am335x: add watchdog support

2013-07-29 Thread Heiko Schocher
Hello Tom, Am 29.07.2013 14:39, schrieb Tom Rini: On Mon, Jul 29, 2013 at 06:58:05AM +0200, Heiko Schocher wrote: Add TI OMAP 16xx& 24xx/34xx 32KHz (non-secure) watchdog support. Signed-off-by: Heiko Schocher Reviewed-by: Tom Rini Cc: Albert Aribaud [snip] +++ b/drivers/watchdog/omap_wdt.c

Re: [U-Boot] SPDX-License-Identifier: adding a comment section?

2013-07-29 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/28/2013 11:40 AM, Wolfgang Denk wrote: > Hello all, > > I need some help / recommendations how we should handle > non-trivial license issues. For example, please have a look at the > NE2000 network driver code: > > drivers/net/ne2000.h drivers

Re: [U-Boot] [PATCH 2/3 v2] arm, am335x: add watchdog support

2013-07-29 Thread Tom Rini
On Mon, Jul 29, 2013 at 06:58:05AM +0200, Heiko Schocher wrote: > Add TI OMAP 16xx & 24xx/34xx 32KHz (non-secure) watchdog support. > > Signed-off-by: Heiko Schocher > Reviewed-by: Tom Rini > Cc: Albert Aribaud [snip] > +++ b/drivers/watchdog/omap_wdt.c > @@ -0,0 +1,112 @@ > +/* > + * omap_wdt

Re: [U-Boot] [PATCH] powerpc/ppc4xx: Convert new gdsys files to SPDX license tags

2013-07-29 Thread Tom Rini
On Mon, Jul 29, 2013 at 08:14:19AM +0200, Stefan Roese wrote: > Hi Tom, > > On 07/26/2013 09:34 PM, Tom Rini wrote: > > Signed-off-by: Tom Rini > > --- > > board/gdsys/common/dp501.c | 18 +- > > board/gdsys/common/fpga.c | 18 +- > > board/gdsys/common/mcl

Re: [U-Boot] Falcon Mode implemented version

2013-07-29 Thread Stefano Babic
Hi Rajdeep, On 29/07/2013 14:04, Rajdeep Vaghasia wrote: > Hi all, > > I have the following queries. > > 1) Can anyone suggest me the exact version of u-boot in which falcon mode > is implemented? There is no exact version - falcon mode was merged more as one year ago. Take simply 2013.07 or u-

[U-Boot] Falcon Mode implemented version

2013-07-29 Thread Rajdeep Vaghasia
Hi all, I have the following queries. 1) Can anyone suggest me the exact version of u-boot in which falcon mode is implemented? I also wanted to know, if is there any readme available for that implementation. Please also tell me, "where exactly in the u-boot code" it is implemented. 2) The u-

[U-Boot] [PATCH 2/2] ehci-hcd: fix memory leak in lowlevel init

2013-07-29 Thread Nikita Kiryanov
usb_lowlevel_init() allocates a new periodic_list each time it is invoked, without freeing the original list. Since it is initialized later on in the code, just reuse the first-allocated list in future invocations of usb_lowlevel_init. Cc: Marek Vasut Cc: Igor Grinberg Signed-off-by: Nikita Kiry

[U-Boot] [PATCH 1/2] usb_hub: fix power cycling logic

2013-07-29 Thread Nikita Kiryanov
When power cycling the hub ports, a misbehaving port will prevent all ports from being powered on because we quit at the first sign of trouble. Skip problematic ports instead of failing the entire power on. Cc: Marek Vasut Cc: Igor Grinberg Signed-off-by: Nikita Kiryanov --- common/usb_hub.c

[U-Boot] [PATCH 0/2] usb bug fixes

2013-07-29 Thread Nikita Kiryanov
This series contains two usb related bug fixes, one regarding the power cycling of hub ports, and the other- a memory leak in ehci-hcd. Cc: Marek Vasut Cc: Igor Grinberg Nikita Kiryanov (2): usb_hub: fix power cycling logic ehci-hcd: fix memory leak in lowlevel init common/usb_hub.c

Re: [U-Boot] [PATCH] uboot optimize memmove

2013-07-29 Thread Will Newton
On 29 July 2013 09:44, Andy Green wrote: > Looping Will... > > On 29 July 2013 16:28, Dirk Behme wrote: >> On 26.07.2013 15:42, Andy Green wrote: >>> >>> On 26 July 2013 20:58, Wolfgang Denk wrote: >> >> ... you not make sure that you provide optimized implementations for such fun

Re: [U-Boot] [PATCH v2] mxc_ipuv3: fix memory alignment of framebuffer

2013-07-29 Thread Stefano Babic
On 27/07/2013 02:53, Eric Nelson wrote: > The frame-buffer on i.MX boards needs to be aligned for DMA. > > Signed-off-by: Eric Nelson > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX Software Enginee

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

2013-07-29 Thread Albert ARIBAUD
Hi Axel, On Sat, 15 Jun 2013 17:10:38 +0800, Axel Lin wrote: > The implementation of gpio_is_valid() has inversed logic, fix it. > > Signed-off-by: Axel Lin > --- > Hi, > I don't have this hardware to test, but current code looks obviously wrong. > I'd appreciate if someone can review and test

Re: [U-Boot] [PATCH] uboot optimize memmove

2013-07-29 Thread Andy Green
Looping Will... On 29 July 2013 16:28, Dirk Behme wrote: > On 26.07.2013 15:42, Andy Green wrote: >> >> On 26 July 2013 20:58, Wolfgang Denk wrote: > > ... >>> >>> you not make sure that you provide optimized implementations for such >>> functions and consequently #define __HAVE_ARCH_MEMMOVE (an

Re: [U-Boot] [PATCH] uboot optimize memmove

2013-07-29 Thread Dirk Behme
On 26.07.2013 15:42, Andy Green wrote: On 26 July 2013 20:58, Wolfgang Denk wrote: ... you not make sure that you provide optimized implementations for such functions and consequently #define __HAVE_ARCH_MEMMOVE (and __HAVE_ARCH_MEMCPY) ? Yes I found these afterwards... performance is slight

Re: [U-Boot] [PATCH v4 1/4] mx27: add missing constant for mx27

2013-07-29 Thread Stefano Babic
On 28/07/2013 22:16, Philippe Reynes wrote: > Add some missing constant (chip select, ...) > > Signed-off-by: Philippe Reynes > Signed-off-by: Eric Jarrige > --- > arch/arm/cpu/arm926ejs/mx27/asm-offsets.c |5 + > arch/arm/include/asm/arch-mx27/imx-regs.h |2 +- > 2 files changed, 6

Re: [U-Boot] [PATCH] uboot optimize memmove

2013-07-29 Thread Wolfgang Denk
Dear Andy Green, In message you wrote: > > Given that code should perferably never be used, maybe it should print > a warning like "Using default memory ops" and leave it like it is. > The problem is not correctness just inefficiency. Agreed. You found a problem, and a way to improve it. All t

Re: [U-Boot] [PATCH] OpenRD: relocate environment to 640kB

2013-07-29 Thread Albert ARIBAUD
Hi Sascha, On Mon, 15 Jul 2013 08:19:57 -0400, Tom Rini wrote: > On Mon, Jul 15, 2013 at 11:23:54AM +0200, Sascha Silbe wrote: > > Albert ARIBAUD writes: > > > > >> The situation has gotten better recently and U-Boot fits into the > > >> previous partition size of 384KiB again. So it isn't bro

Re: [U-Boot] [PATCH 1/9] arm926ej-s: Invalidate instruction cache in flush_cache

2013-07-29 Thread Albert ARIBAUD
(although this patch is more than two *years* old, it never got properly answered to. I am doing so here to make sure future readers know why it was not applied and won't be.) Hi Michael, On Thu, 17 Mar 2011 15:46:55 -0400, Michael Spang wrote: > If U-Boot is loaded from RAM and the OS is loade

[U-Boot] Is it permissible to link stubs.o to a standalone application?

2013-07-29 Thread BAI Yingjie
Hello, We have made a small build called fpga_loader using 'standalone' approach provided by u-boot, it works well after running 'go' command. Please first refer this http://u-boot.10912.n7.nabble.com/U-Boot-How-to-get-GPL-free-standalone-programs-with-u-boot-td42180.html We need to leave the