Re: [U-Boot] livetime of boards

2013-11-05 Thread Wolfgang Denk
Dear Tom, In message <20131105203736.GM5925@bill-the-cat> you wrote: > > > We have the real problem, that we have a lot of old boards, which > > are unmaintained in U-Boot, and we have no chance to find out, if this > > boards are longer used/tested ... > > We also have a feature, lots of hardwa

Re: [U-Boot] [PATCH v4 0/8] Provide a mechanism to avoid using #ifdef everywhere

2013-11-05 Thread Wolfgang Denk
Dear Simon Glass, In message <1382800457-26608-1-git-send-email-...@chromium.org> you wrote: > Many parts of the U-Boot code base are sprinkled with #ifdefs. This makes > different boards compile different versions of the source code, meaning > that we must build all boards to check for failures.

Re: [U-Boot] [PATCH 07/34] zynq: Add UART0, UART1 configs support

2013-11-05 Thread Michal Simek
On 11/06/2013 05:17 AM, Dinh Nguyen wrote: > > On 11/5/13 11:46 AM, Jagannadha Sutradharudu Teki wrote: >> Zynq uart controller support two serial ports like >> CONFIG_ZYNQ_SERIAL_UART0 and CONFIG_ZYNQ_SERIAL_UART1 >> enabled both so-that the respective board will define >> these macros based on t

Re: [U-Boot] [PATCH 03/34] zynq: Cleanup on miscellaneous configs

2013-11-05 Thread Michal Simek
On 11/05/2013 08:45 PM, Tom Rini wrote: > On Tue, Nov 05, 2013 at 11:16:24PM +0530, Jagannadha Sutradharudu Teki wrote: > >> -#define CONFIG_SYS_PROMPT "U-Boot> " > > I'm not a fan of removing generic looking prompts, we should rely on > other things to determine what we're on. Isn't it this g

Re: [U-Boot] [PATCH 10/34] spi: Add zynq qspi controller driver

2013-11-05 Thread Jagan Teki
On Wednesday 06 November 2013 10:32 AM, Dinh Nguyen wrote: On 11/5/13 11:46 AM, Jagannadha Sutradharudu Teki wrote: Zynq qspi controller driver supports single bus with singe chipselect. Zynq qspi can be operated in below connection modes - single qspi - dual qspi, with dual stacked - dual qsp

Re: [U-Boot] [PATCH 10/34] spi: Add zynq qspi controller driver

2013-11-05 Thread Jagan Teki
Hi Thomas, On Wednesday 06 November 2013 01:29 AM, thomas.lan...@lantiq.com wrote: Hello Jagan, I have some comments and questions: Am 05.11.2013 18:51, schrieb Jagannadha Sutradharudu Teki: + +/* Definitions of the flash commands - Flash insts in ascending order */ +#define ZYNQ_QSPI_FLASH_I

[U-Boot] [PATCH 1/1] ARM: config: USB: Tegra30/114: Fix EHCI timeout issue on "bootp"

2013-11-05 Thread Jim Lin
Fix the timeout issue after running "bootp" command in u-boot console. For example you see "EHCI timed out on TD- token=0x...". TXFIFOTHRES bits of TXFILLTUNING register should be set to 0x10 after a controller reset and before RUN bit is set (per technical reference manual). Signed-off-by: Jim Li

Re: [U-Boot] [PATCH 07/34] zynq: Add UART0, UART1 configs support

2013-11-05 Thread Dinh Nguyen
On 11/5/13 11:46 AM, Jagannadha Sutradharudu Teki wrote: > Zynq uart controller support two serial ports like > CONFIG_ZYNQ_SERIAL_UART0 and CONFIG_ZYNQ_SERIAL_UART1 > enabled both so-that the respective board will define > these macros based on their usage. > > Signed-off-by: Jagannadha Sutradhar

Re: [U-Boot] [PATCH 10/34] spi: Add zynq qspi controller driver

2013-11-05 Thread Dinh Nguyen
On 11/5/13 11:46 AM, Jagannadha Sutradharudu Teki wrote: > Zynq qspi controller driver supports single bus > with singe chipselect. > > Zynq qspi can be operated in below connection modes > - single qspi > - dual qspi, with dual stacked > - dual qspi, with dual parallel > > Signed-off-by: Jagannad

Re: [U-Boot] [PATCH 10/34] spi: Add zynq qspi controller driver

2013-11-05 Thread Dinh Nguyen
On 11/5/13 11:46 AM, Jagannadha Sutradharudu Teki wrote: > Zynq qspi controller driver supports single bus > with singe chipselect. > > Zynq qspi can be operated in below connection modes > - single qspi > - dual qspi, with dual stacked > - dual qspi, with dual parallel > > Signed-off-by: Jagannad

Re: [U-Boot] [PATCH 07/34] zynq: Add UART0, UART1 configs support

2013-11-05 Thread Dinh Nguyen
On 11/5/13 11:46 AM, Jagannadha Sutradharudu Teki wrote: > Zynq uart controller support two serial ports like > CONFIG_ZYNQ_SERIAL_UART0 and CONFIG_ZYNQ_SERIAL_UART1 > enabled both so-that the respective board will define > these macros based on their usage. > > Signed-off-by: Jagannadha Sutradhar

[U-Boot] [PATCH v3 2/6] arm: atmel: sama5d3: correct the error define of DIV

2013-11-05 Thread Bo Shen
Correct the error define of DIV. Signed-off-by: Bo Shen --- Changes in v3: - None Changes in v2: - None arch/arm/include/asm/arch-at91/at91_pmc.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/arch-at91/at91_pmc.h b/arch/arm/include/asm/ar

[U-Boot] [PATCH v3 5/6] arm: atmel: add ddr2 initialization function

2013-11-05 Thread Bo Shen
The MPDDRC supports different type of SDRAM This patch add ddr2 initialization function Signed-off-by: Bo Shen --- Changes in v3: - Move to at91 common folder Changes in v2: - None arch/arm/cpu/at91-common/Makefile | 32 +++ arch/arm/cpu/at91-common/mpddrc.c

[U-Boot] [PATCH v3 1/6] arm: atmel: sama5d3: correct the ID for DBGU and PIT

2013-11-05 Thread Bo Shen
As the DBGU and PIT has its own ID on sama5d3 SoC, while not share with SYS ID. So, correct them. Signed-off-by: Bo Shen --- Changes in v3: - None Changes in v2: - None arch/arm/cpu/armv7/at91/sama5d3_devices.c |2 +- arch/arm/cpu/armv7/at91/timer.c |2 +- 2 files change

[U-Boot] [PATCH v3 6/6] arm: atmel: sama5d3: spl boot from fat fs SD card

2013-11-05 Thread Bo Shen
Enable Atmel sama5d3xek boart spl boot support, which can load u-boot from SD card with FAT file system. Signed-off-by: Bo Shen --- Changes in v3: - Move plla and mck configure to spl.c file Changes in v2: - Move spl related code to at91-common folder arch/arm/cpu/armv7/Makefile

[U-Boot] [PATCH v3 3/6] arm: atmel: sama5d3: the offset of MULA is 18

2013-11-05 Thread Bo Shen
The offset of MULA field in PLLA register in sama5d3 is 18, and the length only 7 bits. Signed-off-by: Bo Shen --- Changes in v3: - None Changes in v2: - None arch/arm/include/asm/arch-at91/at91_pmc.h |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/arch-at9

[U-Boot] [PATCH v3 4/6] arm: atmel: sama5d3: early enable PIO peripherals

2013-11-05 Thread Bo Shen
Enable the PIO peripherals early than other peripherals. Signed-off-by: Bo Shen --- Changes in v3: - Correct the clock enable code, the ID can not OR Changes in v2: - None board/atmel/sama5d3xek/sama5d3xek.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/board/atmel/sama5d3x

[U-Boot] [PATCH v3 0/6] arm: atmel: sama5d3: enable spl boot from SD card

2013-11-05 Thread Bo Shen
This patch series enable spl boot from SD card, it only can boot u-boot itself. Changes in v3: - Correct the clock enable code, the ID can not OR - Move to at91 common folder - Move plla and mck configure to spl.c file Changes in v2: - Move spl related code to at91-common folder Bo Shen

Re: [U-Boot] [PATCH 6/6][v2] T1040QDS: Add support of 2 stage NAND boot loader

2013-11-05 Thread Scott Wood
On Fri, 2013-10-25 at 10:09 +0530, Prabhakar Kushwaha wrote: > Add support of 2 stage NAND boot loader using SPL framework. > here, PBL initialise the internal SRAM(256K) and copy SPL(192K). This further > initialise DDR using SPD and environment and copy u-boot(512 kb) from NAND to > DDR. > Final

Re: [U-Boot] [PATCH 5/6][v2] SPL:Defines function required to env read for IFC & env_nand

2013-11-05 Thread Scott Wood
On Fri, 2013-10-25 at 10:09 +0530, Prabhakar Kushwaha wrote: > fsl_ifs_spl.c reads data from NAND and store at a memory location in raw mode. > It does not used MTD layer. > To read env variable from NAND MTD layer read/write required. > > Hence, add mtd_block_isbad & nand_read_skip_bad function r

Re: [U-Boot] [PATCH 4/6][v2] Makefile:Add u-boot-with-spl-pbl.bin target for SPL

2013-11-05 Thread Scott Wood
On Fri, 2013-10-25 at 10:09 +0530, Prabhakar Kushwaha wrote: > +ifdef CONFIG_PBLPBI_CONFIG > +ALL-y+= $(obj)$(SPL_BIN).pbl > +endif I realize this symbol has already been introduced, but it's not documented and would be better called something like CONFIG_SYS_FSL_PBL_PBI (and likewise CONF

Re: [U-Boot] [PATCH 3/6][v2] common/env: Point default envirenoment for GD

2013-11-05 Thread Scott Wood
On Fri, 2013-10-25 at 10:08 +0530, Prabhakar Kushwaha wrote: > GD(Global Data) structure has pointer to envirenoment variable array. > but, it is not being assigned for SPL framwork. > > So update GD pointer with env variable array. > > Signed-off-by: Prabhakar Kushwaha > --- > Based upon git:

Re: [U-Boot] [PATCH 2/6][v2] powerpc/SPL:Allow Parsing of LAW table in both SPL & non SPL

2013-11-05 Thread Scott Wood
On Fri, 2013-10-25 at 10:08 +0530, Prabhakar Kushwaha wrote: > SPL does not relocates the CCSRBAR hence it is using CCSRBAR at 0xfe00_. > U-boot relocates CCSRBAR to 0xf_fe00_. > > So law talbe needs to be updated again. "does not relocate CCSRBAR" "the LAW table" CCSR isn't mapped by a

Re: [U-Boot] [PATCH 1/6][v2] powerpc:Add support of SPL non-relocation

2013-11-05 Thread Scott Wood
On Fri, 2013-10-25 at 10:08 +0530, Prabhakar Kushwaha wrote: > Current SPL code base has BSS section placed after reset_vector. This means > they have to relocate to use the global variables. This put an implicit > requirement of having SPL size = Memory/2. > > To avoid relocation, move bss_section

Re: [U-Boot] [PATCH v5 06/16] dm: Add README for driver model

2013-11-05 Thread Marek Vasut
Hi Simon, [...] > >> +Declaring Uclasses > >> +-- > >> + > >> +The demo uclass is declared like this: > >> + > >> +U_BOOT_CLASS(demo) = { > >> + .id = UCLASS_DEMO, > >> +}; > >> + > >> +It is also possible to specify special methods for probe, etc. The > >> uclass

[U-Boot] [PATCH 2/2 v3] arm: rmobile: Add support koelsch board

2013-11-05 Thread Nobuhiro Iwamatsu
The koelsch board has R8A7791, 2GB DDR3-SDRAM, USB, Quad SPI, Ethernet, and more. This patch supports the following functions: - DDR3-SDRAM - SCIF Signed-off-by: Nobuhiro Iwamatsu Signed-off-by: Hisashi Nakamura CC: Nobuhiro Iwamatsu CC: Albert Aribaud --- Note: This requires latest commit

Re: [U-Boot] [PULL] u-boot-atmel/master -> u-boot-arm/master

2013-11-05 Thread Albert ARIBAUD
Hi Andreas, On Mon, 4 Nov 2013 20:43:31 +0100, Andreas Bießmann wrote: > Dear Albert Aribaud, > > please pull u-boot-atmel/master into u-boot-arm/master. > > The following changes since commit 304db0b38cfb04cfdb05a740d5ef27da06ea98ea: > > arm: Remove IXP425 boards pdnb3 and scpu (2013-10-1

Re: [U-Boot] livetime of boards

2013-11-05 Thread Tom Rini
On Tue, Nov 05, 2013 at 02:05:28PM +0100, Heiko Schocher wrote: > Hello all, > > We have the real problem, that we have a lot of old boards, which > are unmaintained in U-Boot, and we have no chance to find out, if this > boards are longer used/tested ... We also have a feature, lots of hardware

Re: [U-Boot] [PATCH v5 06/16] dm: Add README for driver model

2013-11-05 Thread Simon Glass
Hi Marek, On Tue, Oct 22, 2013 at 9:56 PM, Marek Vasut wrote: > Dear Simon Glass, > > > [...] > >> +What is going on? >> +- >> + >> +Let's start at the top. The demo command is in common/cmd_demo.c. It does >> +the usual command procesing and then: >> + >> + struct device *dem

Re: [U-Boot] [PATCH] buildman: fix README

2013-11-05 Thread Simon Glass
On Tue, Nov 5, 2013 at 3:37 AM, Andreas Bießmann wrote: > This is a trivial fix for c'n'p error. > > Signed-off-by: Andreas Bießmann Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 10/34] spi: Add zynq qspi controller driver

2013-11-05 Thread thomas.langer
Hello Jagan, I have some comments and questions: Am 05.11.2013 18:51, schrieb Jagannadha Sutradharudu Teki: > + > +/* Definitions of the flash commands - Flash insts in ascending order */ > +#define ZYNQ_QSPI_FLASH_INST_WRSR0x01/* Write status register */ > +#define ZYNQ_QSPI_FLASH_INST_P

Re: [U-Boot] ARM: interrupt_init before relocation, write fails

2013-11-05 Thread Rob Herring
On 11/05/2013 01:17 PM, Albert ARIBAUD wrote: > Hi Rob, > > On Tue, 5 Nov 2013 10:22:24 -0600, Rob Herring > wrote: > >> On Thu, Oct 24, 2013 at 4:37 PM, Andrew Ruder wrote: >>> On Wed, Oct 23, 2013 at 11:41:45AM -0600, Joe Kulikauskas wrote: > > (putting back more context) > v2013.10-rc

Re: [U-Boot] [PATCH 30/34] zynq-common: Define ethaddr in default env.

2013-11-05 Thread Tom Rini
On Tue, Nov 05, 2013 at 11:16:51PM +0530, Jagannadha Sutradharudu Teki wrote: > Defined default ethaddr for zynq GEM as 00:0a:35:00:01:22 > > Signed-off-by: Jagannadha Sutradharudu Teki > --- > include/configs/zynq-common.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/confi

Re: [U-Boot] [PATCH 25/34] zynq: Add support to find bootmode

2013-11-05 Thread Tom Rini
On Tue, Nov 05, 2013 at 11:16:46PM +0530, Jagannadha Sutradharudu Teki wrote: > Added support to find the bootmodes by reading > slcr bootmode register. this can be helpful to > autoboot the configurations w.r.t a specified bootmode. > > Added this functionality on board_late_init as it's not > n

Re: [U-Boot] [PATCH 03/34] zynq: Cleanup on miscellaneous configs

2013-11-05 Thread Tom Rini
On Tue, Nov 05, 2013 at 11:16:24PM +0530, Jagannadha Sutradharudu Teki wrote: > -#define CONFIG_SYS_PROMPT"U-Boot> " I'm not a fan of removing generic looking prompts, we should rely on other things to determine what we're on. > +#define CONFIG_SYS_PROMPT_HUSH_PS2 "> " Not needed now, thi

Re: [U-Boot] [PATCH 15/34] zynq: Add PHYS_SDRAM_1_SIZE config

2013-11-05 Thread Tom Rini
On Tue, Nov 05, 2013 at 11:16:36PM +0530, Jagannadha Sutradharudu Teki wrote: > Added PHYS_SDRAM_1_SIZE config for respective board > DDR size. > > zc70x - 1GB > zed - 512MB > > Signed-off-by: Jagannadha Sutradharudu Teki > --- > include/configs/zynq-common.h | 2 +- > include/configs/zynq_zc7

[U-Boot] [PATCH 1/2] phy: Use supported field during autonegotiation

2013-11-05 Thread David Dueck
The current code incorrectly detects gigabit capabilities for some 100Mbit/s phys. (lan8720a) Signed-off-by: David Dueck --- drivers/net/phy/phy.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 62925bb..c691fbb 100644

[U-Boot] [PATCH 2/2] phy: Use general phy code for smsc lan8720a

2013-11-05 Thread David Dueck
Signed-off-by: David Dueck --- drivers/net/phy/smsc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c index 60ed92d..bfd9815 100644 --- a/drivers/net/phy/smsc.c +++ b/drivers/net/phy/smsc.c @@ -12,6 +12,7 @@ */ #include +

[U-Boot] [PATCH 0/2] Make 10Mbit/s work with lan8720a

2013-11-05 Thread David Dueck
smsc_parse_status does not check the partner abilities. Use the general phy code after a fix. David Dueck (2): phy: Use supported field during autonegotiation phy: Use general phy code for smsc lan8720a drivers/net/phy/phy.c | 5 +++-- drivers/net/phy/smsc.c | 3 ++- 2 files changed, 5 ins

Re: [U-Boot] ARM: interrupt_init before relocation, write fails

2013-11-05 Thread Albert ARIBAUD
Hi Rob, On Tue, 5 Nov 2013 10:22:24 -0600, Rob Herring wrote: > On Thu, Oct 24, 2013 at 4:37 PM, Andrew Ruder wrote: > > On Wed, Oct 23, 2013 at 11:41:45AM -0600, Joe Kulikauskas wrote: (putting back more context) > >> v2013.10-rc1 (and after) has a patch ( > >> http://lists.denx.de/pipermail

[U-Boot] [PATCH 12/34] zynq: Add zynq zc70x board support

2013-11-05 Thread Jagannadha Sutradharudu Teki
The Zynq-7000 APSOC zc702 and zc706 enabled complte embedded processing includes ASIC and FPGA design. ZC702-: APSOC: - XC7Z020-CLG484-1 Memory: - DDR3 Component Memory 1GB - 16MB Quad SPI Flash - IIC - 1 KB EEPROM Connectivity: - Gigabit Ethernet GMII, RGMII and SGMII. - USB OTG - Host USB - IIC

[U-Boot] [PATCH 16/34] zynq-common: Define exact TEXT_BASE

2013-11-05 Thread Jagannadha Sutradharudu Teki
Defined TEXT_BASE for u-boot starts from 0x400 w.r.t zynq memory-map. Signed-off-by: Jagannadha Sutradharudu Teki --- include/configs/zynq-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 0e732de.

[U-Boot] [PATCH 21/34] zynq: Add zynq_zc770 xm012 board support

2013-11-05 Thread Jagannadha Sutradharudu Teki
ZC770 is a complete development board based on the Xilinx Zynq-7000 All Programmable SoC, similar to ZC70x board but which has four different daughter cards, like XM010, XM011, XM012 and XM013 ZC770 XM012: - 1GB DDR3 - 64MiB Numonyx NOR flash - USB-UART Signed-off-by: Jagannadha Sutradharudu Teki

[U-Boot] [PATCH 17/34] zynq: zc70x: Add Catalyst 24WC08 EEPROM config support

2013-11-05 Thread Jagannadha Sutradharudu Teki
Adds configurations for Catalyst 24WC08 EEPROM, which is present on the zynq boards. Enable EEPROM support for zc70x boards. Signed-off-by: Jagannadha Sutradharudu Teki --- include/configs/zynq-common.h | 10 ++ include/configs/zynq_zc70x.h | 1 + 2 files changed, 11 insertions(+) di

[U-Boot] [PATCH 20/34] zynq: Add zynq_zc770 xm013 board support

2013-11-05 Thread Jagannadha Sutradharudu Teki
ZC770 is a complete development board based on the Xilinx Zynq-7000 All Programmable SoC, similar to ZC70x board but which has four different daughter cards, like XM010, XM011, XM012 and XM013 ZC770 XM013: - 1GB DDR3 - 128 Mb Quad-SPI Flash(dual parallel) - USB-UART Signed-off-by: Jagannadha Sutr

[U-Boot] [PATCH 26/34] zynq-common: Define default environment

2013-11-05 Thread Jagannadha Sutradharudu Teki
Defined default env. for autoboot FIT image from respective boot devices. Default settings: fit_image=fit.itb load_addr=0x200 fit_size=0x80 flash_off=0x10 nor_flash_off=0xE210 Signed-off-by: Jagannadha Sutradharudu Teki --- include/configs/zynq-common.h | 30

[U-Boot] [PATCH 11/34] zynq-common: Enable CONFIG_ZYNQ_QSPI

2013-11-05 Thread Jagannadha Sutradharudu Teki
Tested qspi on zynq board with stmicro, spansion and winbond flashes by enabling CONFIG_ZYNQ_QSPI. Signed-off-by: Jagannadha Sutradharudu Teki --- include/configs/zynq-common.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-co

[U-Boot] [PATCH 22/34] nand: Add zynq nand controller driver support

2013-11-05 Thread Jagannadha Sutradharudu Teki
Added support for Zynq Nand controller driver. Signed-off-by: Jagannadha Sutradharudu Teki --- arch/arm/include/asm/arch-zynq/hardware.h |2 + drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/zynq_nand.c | 1200 + 3 files changed,

[U-Boot] [PATCH 13/34] zynq: Add zynq zed board support

2013-11-05 Thread Jagannadha Sutradharudu Teki
Zed is a complete development board based on the Xilinx Zynq-7000 All Programmable SoC. APSOC: - XC7Z020-CLG484-1 Memory: - 512 MB DDR3 - 256 Mb Quad-SPI Flash( - Full size SD/MMC card cage Connectivity: - 10/100/1000 Ethernet - USB OTG (Device/Host/OTG) - USB-UART Expansion: - FMC (Low Pin Count)

[U-Boot] [PATCH 18/34] zynq: Add zynq microzed board support

2013-11-05 Thread Jagannadha Sutradharudu Teki
MicroZed is a low-cost development board based on the Xilinx Zynq-7000 All Programmable SoC. APSOC: - XC7Z010-1CLG400C Memory: - 1 GB of DDR3 SDRAM - 128Mb of QSPI flash(S25FL128SAGBHI200) - Micro SD card interface Communication: - 10/100/1000 Ethernet - USB 2.0 - USB-UART User I/O: - 100 User I/O

[U-Boot] [PATCH 25/34] zynq: Add support to find bootmode

2013-11-05 Thread Jagannadha Sutradharudu Teki
Added support to find the bootmodes by reading slcr bootmode register. this can be helpful to autoboot the configurations w.r.t a specified bootmode. Added this functionality on board_late_init as it's not needed for normal initializtion part. Signed-off-by: Jagannadha Sutradharudu Teki --- arc

[U-Boot] [PATCH 23/34] zynq-common: Define CONFIG_NAND_ZYNQ

2013-11-05 Thread Jagannadha Sutradharudu Teki
Defined CONFIG_NAND_ZYNQ for enabling zynq nand controller with onfi detection support. Signed-off-by: Jagannadha Sutradharudu Teki --- include/configs/zynq-common.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h inde

[U-Boot] [PATCH 29/34] zynq-common: Define CONFIG_ENV_OVERWRITE

2013-11-05 Thread Jagannadha Sutradharudu Teki
Defined CONFIG_ENV_OVERWRITE, which allow to overwrite serial baudrate and ethaddr. Signed-off-by: Jagannadha Sutradharudu Teki --- include/configs/zynq-common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index aed9f1f..1a

[U-Boot] [PATCH 24/34] zynq: Add zynq_zc770 xm011 board support

2013-11-05 Thread Jagannadha Sutradharudu Teki
ZC770 is a complete development board based on the Xilinx Zynq-7000 All Programmable SoC, similar to ZC70x board but which has four different daughter cards, like XM010, XM011, XM012 and XM013 ZC770 XM011: - 1GB DDR3 - 8 and 16-bit Micron NAND devices - USB-UART Signed-off-by: Jagannadha Sutradha

[U-Boot] [PATCH 34/34] dts: zynq: Add more zynq dts files

2013-11-05 Thread Jagannadha Sutradharudu Teki
This patch adds initial dts support for supported zynq boards. Signed-off-by: Jagannadha Sutradharudu Teki --- board/xilinx/dts/zynq-microzed.dts| 14 ++ board/xilinx/dts/zynq-zc702.dts | 14 ++ board/xilinx/dts/zynq-zc706.dts | 14 ++ board/xi

[U-Boot] [PATCH 30/34] zynq-common: Define ethaddr in default env.

2013-11-05 Thread Jagannadha Sutradharudu Teki
Defined default ethaddr for zynq GEM as 00:0a:35:00:01:22 Signed-off-by: Jagannadha Sutradharudu Teki --- include/configs/zynq-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 1a907a1..52c6f52 100644 --- a/include/co

[U-Boot] [PATCH 28/34] zynq-common: Define flash env. partition

2013-11-05 Thread Jagannadha Sutradharudu Teki
Last 128Kb sector of 1Mb flash is defined as u-boot environment partition. Signed-off-by: Jagannadha Sutradharudu Teki --- include/configs/zynq-common.h | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-commo

[U-Boot] [PATCH 33/34] zynq-common: Enable verified boot(RSA)

2013-11-05 Thread Jagannadha Sutradharudu Teki
CONFIG_FIT_SIGNATURE - signature node support in FIT image CONFIG_RSA - RSA lib support Signed-off-by: Jagannadha Sutradharudu Teki --- include/configs/zynq-common.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 43d74e

[U-Boot] [PATCH 32/34] gpio: zynq: Add dummy gpio routines

2013-11-05 Thread Jagannadha Sutradharudu Teki
GPIO dummy routines are required for fdt build, may be removed these dependencies once the u-boot fdt is fully optimized. Signed-off-by: Jagannadha Sutradharudu Teki --- arch/arm/include/asm/arch-zynq/gpio.h | 25 + 1 file changed, 25 insertions(+) create mode 100644 arc

[U-Boot] [PATCH 31/34] dts: zynq: Add basic fdt support

2013-11-05 Thread Jagannadha Sutradharudu Teki
This patch provides a basic fdt support for zynq u-boot. zynq-7000.dtsi-> initial arch dts file zynq-zed.dts -> initial zed board dts file more devices should be added in subsequent patches. u-boot build: once configuring of a board done for building dtb with zynq-zed.dts as an input zynq-uboot>

[U-Boot] [PATCH 07/34] zynq: Add UART0, UART1 configs support

2013-11-05 Thread Jagannadha Sutradharudu Teki
Zynq uart controller support two serial ports like CONFIG_ZYNQ_SERIAL_UART0 and CONFIG_ZYNQ_SERIAL_UART1 enabled both so-that the respective board will define these macros based on their usage. Signed-off-by: Jagannadha Sutradharudu Teki --- include/configs/zynq.h | 20 1 fi

[U-Boot] [PATCH 10/34] spi: Add zynq qspi controller driver

2013-11-05 Thread Jagannadha Sutradharudu Teki
Zynq qspi controller driver supports single bus with singe chipselect. Zynq qspi can be operated in below connection modes - single qspi - dual qspi, with dual stacked - dual qspi, with dual parallel Signed-off-by: Jagannadha Sutradharudu Teki --- arch/arm/include/asm/arch-zynq/hardware.h | 1

[U-Boot] [PATCH 02/34] zynq: Enable Boot FreeBSD/vxWorks

2013-11-05 Thread Jagannadha Sutradharudu Teki
This enabled Boot FreeBSD/vxWorks from an ELF image support Signed-off-by: Jagannadha Sutradharudu Teki --- include/configs/zynq.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/zynq.h b/include/configs/zynq.h index a6dbd0e..6ac1350 100644 --- a/include/configs/zynq.h

[U-Boot] [PATCH 08/34] zynq: Add GEM0, GEM1 configs support

2013-11-05 Thread Jagannadha Sutradharudu Teki
Zynq ethernet controller support two GEM's like CONFIG_ZYNQ_GEM0 and CONFIG_ZYNQ_GEM1 enabled both so-that the respective board will define these macros based on their usage. Signed-off-by: Jagannadha Sutradharudu Teki --- include/configs/zynq.h | 16 1 file changed, 8 insertion

[U-Boot] [PATCH 14/34] zynq-common: Define CONFIG_SPI_FLASH_BAR

2013-11-05 Thread Jagannadha Sutradharudu Teki
Enabled bank/extn' addr register support for accessing > 16Mbyte flash devices. Signed-off-by: Jagannadha Sutradharudu Teki --- include/configs/zynq-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index d69c59b..7e02289 1

[U-Boot] [PATCH 04/34] zynq: Cleanup on memory configs

2013-11-05 Thread Jagannadha Sutradharudu Teki
Cleanup on memory configuration options: - Add comment - Re-order configs Signed-off-by: Jagannadha Sutradharudu Teki --- include/configs/zynq.h | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/include/configs/zynq.h b/include/configs/zynq.h index

[U-Boot] [PATCH 06/34] zynq: Enable cache options

2013-11-05 Thread Jagannadha Sutradharudu Teki
- Enable cache command - Turn-off L2 cache - Turn-on D-cache Signed-off-by: Jagannadha Sutradharudu Teki --- include/configs/zynq.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/zynq.h b/include/configs/zynq.h index abeb2da..f32008b 100644 --- a/include/configs/

[U-Boot] [PATCH 27/34] zynq-common: Change Env. Sector size to 128Kb

2013-11-05 Thread Jagannadha Sutradharudu Teki
Changed Env. Sector size from 0x1 to 128Kb Signed-off-by: Jagannadha Sutradharudu Teki --- include/configs/zynq-common.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 9586261..f571349 100644 --- a/in

[U-Boot] [PATCH 19/34] zynq: Add zynq_zc770 xm010 board support

2013-11-05 Thread Jagannadha Sutradharudu Teki
ZC770 is a complete development board based on the Xilinx Zynq-7000 All Programmable SoC, similar to ZC70x board but which has four different daughter cards, like XM010, XM011, XM012 and XM013 ZC770 XM010: - 1GB DDR3 - 128 Mb Quad-SPI Flash - 8 Mb SST SI flash - Full size SD/MMC card cage - 10/100

[U-Boot] [PATCH 01/34] zynq: Enable CONFIG_FIT_VERBOSE

2013-11-05 Thread Jagannadha Sutradharudu Teki
Enabled fit_format_{error,warning}() Signed-off-by: Jagannadha Sutradharudu Teki --- include/configs/zynq.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/zynq.h b/include/configs/zynq.h index 4c6e6e8..a6dbd0e 100644 --- a/include/configs/zynq.h +++ b/include/configs/zynq.h

[U-Boot] [PATCH 03/34] zynq: Cleanup on miscellaneous configs

2013-11-05 Thread Jagannadha Sutradharudu Teki
Cleanup on miscellaneous configurable options: - Rename SYS_PROMPT as "zynq-uboot" - Add comment - Re-order configs Signed-off-by: Jagannadha Sutradharudu Teki --- include/configs/zynq.h | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/include/configs/zyn

[U-Boot] [PATCH 05/34] zynq: Minor config cleanup

2013-11-05 Thread Jagannadha Sutradharudu Teki
Cleanups mostly on: - Add comments - Re-order configs - Remove #define CONFIG_ZYNQ_SDHCI Signed-off-by: Jagannadha Sutradharudu Teki --- include/configs/zynq.h | 76 ++ 1 file changed, 39 insertions(+), 37 deletions(-) diff --git a/include/configs

[U-Boot] [PATCH 00/34] zynq: More boards support

2013-11-05 Thread Jagannadha Sutradharudu Teki
These changes are from u-boot-xlnx.git repo from git.xilinx.com This repo is well tested on xilinx zynq platform, hence pushing the same on upstream. -- Thanks, Jagan. Jagannadha Sutradharudu Teki (34): zynq: Enable CONFIG_FIT_VERBOSE zynq: Enable Boot FreeBSD/vxWorks zynq: Cleanup on misce

[U-Boot] [PATCH 15/34] zynq: Add PHYS_SDRAM_1_SIZE config

2013-11-05 Thread Jagannadha Sutradharudu Teki
Added PHYS_SDRAM_1_SIZE config for respective board DDR size. zc70x - 1GB zed - 512MB Signed-off-by: Jagannadha Sutradharudu Teki --- include/configs/zynq-common.h | 2 +- include/configs/zynq_zc70x.h | 2 ++ include/configs/zynq_zed.h| 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-)

[U-Boot] [PATCH 09/34] zynq-common: Rename zynq with zynq-common

2013-11-05 Thread Jagannadha Sutradharudu Teki
zynq.h -> zynq-common.h, zynq-common is Common configuration options for all Zynq boards. zynq.h is no longer exists hense removed from boards.cfg Signed-off-by: Jagannadha Sutradharudu Teki --- boards.cfg| 2 -- include/configs/{zynq.h => zynq-common.h} | 9

Re: [U-Boot] [PATCH v10] Add dmmalloc module for DM.

2013-11-05 Thread Mateusz Zalega
>>> Add pointer to the first early heap into GD structure. >>> Implement simple early_malloc and early_free functions. >>> Prepare for additional heaps and automated heap initialization. >>> Add temporary early_malloc_active function (to be replaced in future by >>> more coarse DM init flags). >>>

Re: [U-Boot] ARM: interrupt_init before relocation, write fails

2013-11-05 Thread Rob Herring
On Thu, Oct 24, 2013 at 4:37 PM, Andrew Ruder wrote: > On Wed, Oct 23, 2013 at 11:41:45AM -0600, Joe Kulikauskas wrote: >> If I revert that patch, I don't see that problem. > > FWIW, I am working on a PXA270 target, and have had to revert this patch > as well. I hadn't gotten around to tracking d

Re: [U-Boot] [PATCH v10] Add dmmalloc module for DM.

2013-11-05 Thread Tom Rini
On Tue, Nov 05, 2013 at 04:26:25PM +0100, Mateusz Zalega wrote: > On 10/29/12 00:20, Tomas Hlavacek wrote: > > Add pointer to the first early heap into GD structure. > > Implement simple early_malloc and early_free functions. > > Prepare for additional heaps and automated heap initialization. > >

Re: [U-Boot] [PATCH v10] Add dmmalloc module for DM.

2013-11-05 Thread Mateusz Zalega
On 10/29/12 00:20, Tomas Hlavacek wrote: > Add pointer to the first early heap into GD structure. > Implement simple early_malloc and early_free functions. > Prepare for additional heaps and automated heap initialization. > Add temporary early_malloc_active function (to be replaced in future by > m

Re: [U-Boot] [PATCH] Add support for TechNexion edm1-cf-imx6 SoM

2013-11-05 Thread Tapani
On Mon, 4 Nov 2013 15:28:39 -0200 Fabio Estevam wrote: > Hi Tapani, > > On Tue, Sep 10, 2013 at 11:47 AM, Stefano Babic wrote: > >> We are worried that we might not familiar enough with u-boot development > >> to get > >> such changes accepted in reasonable time. > > > > I do not know what you

[U-Boot] Pull request: u-boot-imx

2013-11-05 Thread Stefano Babic
Hi Albert, please pull from u-boot-imx, thanks ! The following changes since commit 262f08d6ea18a62f827b8ccb60f355ca2eaf6e2b: zynq: Use arch_cpu_init() instead of lowlevel_init() (2013-10-17 08:34:45 +0200) are available in the git repository at: git://www.denx.de/git/u-boot-imx.git master

Re: [U-Boot] [PATCH v3 3/5] usb, g_dnl: make iSerialNumber board configurable

2013-11-05 Thread Lukasz Majewski
Hi Marek, > Dear Lukasz Majewski, > > > Hi Marek, > > > > > Dear Lukasz Majewski, > > > > > > > Hi Heiko, > > > > > > > > > add the possibility to set the iSerialNumber board specific. > > > > > Default value for iSerialNumber is 0x0. This value can > > > > > changed board specific through the

Re: [U-Boot] [PATCH v3 3/5] usb, g_dnl: make iSerialNumber board configurable

2013-11-05 Thread Marek Vasut
Dear Lukasz Majewski, > Hi Marek, > > > Dear Lukasz Majewski, > > > > > Hi Heiko, > > > > > > > add the possibility to set the iSerialNumber board specific. > > > > Default value for iSerialNumber is 0x0. This value can > > > > changed board specific through the new function > > > > g_dnl_set_s

Re: [U-Boot] Pull request: u-boot-ti

2013-11-05 Thread Albert ARIBAUD
Hi Tom, On Mon, 4 Nov 2013 09:22:54 -0500, Tom Rini wrote: > Hello, > > The following changes since commit 304db0b38cfb04cfdb05a740d5ef27da06ea98ea: > > arm: Remove IXP425 boards pdnb3 and scpu (2013-10-17 09:28:08 +0200) > > are available in the git repository at: > > git://git.denx.de/

Re: [U-Boot] [PATCH 1/5] i.MX6DQ/DLS: replace pad names with their Linux kernel equivalents

2013-11-05 Thread Fabio Estevam
Hi Eric, On Mon, Nov 4, 2013 at 8:56 PM, Eric Nelson wrote: > Signed-off-by: Eric Nelson > --- > arch/arm/include/asm/arch-mx6/mx6dl_pins.h| 1824 > - > arch/arm/include/asm/arch-mx6/mx6q_pins.h | 1698 +++ > board/barco/titanium/titanium.c

[U-Boot] livetime of boards

2013-11-05 Thread Heiko Schocher
Hello all, We have the real problem, that we have a lot of old boards, which are unmaintained in U-Boot, and we have no chance to find out, if this boards are longer used/tested ... So, the question raises, should we introduce a column in boards.cfg, which shows the "livetime" of a board support

Re: [U-Boot] [PATCH] ARM: at91: sama5d3: add support for sama5d36 chip

2013-11-05 Thread Bo Shen
Hi Josh, On 11/5/2013 15:07, Josh Wu wrote: The SAMA5D36 chip is the superset product of SAMA5D3x family. For detail information please refer to: http://www.atmel.com/Microsite/sama5d3/default.aspx Signed-off-by: Josh Wu --- arch/arm/cpu/armv7/at91/sama5d3_devices.c |4 +++- arch/ar

Re: [U-Boot] [RFC PATCH 2/2] usb: dfu: correct dfu buffer inited value

2013-11-05 Thread Bo Shen
Hi Lukasz, On 11/4/2013 18:17, Lukasz Majewski wrote: Hi Bo, After dfu buffer is initialized, the buffer should be all available, while not 0. Initialize its value to min(dfu_buf_size, dfu->r_left). Signed-off-by: Bo Shen --- drivers/dfu/dfu.c |2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH] buildman: fix README

2013-11-05 Thread Andreas Bießmann
This is a trivial fix for c'n'p error. Signed-off-by: Andreas Bießmann --- tools/buildman/README |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/buildman/README b/tools/buildman/README index 090b653..93cf28a 100644 --- a/tools/buildman/README +++ b/tools/buildman/REA

Re: [U-Boot] [PATCH v2 4/7] arm: atmel: sama5d3: early enable PIO peripherals

2013-11-05 Thread Bo Shen
Hi Andreas, On 11/1/2013 15:56, Bo Shen wrote: Enable the PIO peripherals early than other peripherals. Signed-off-by: Bo Shen --- Changes in v2: - None board/atmel/sama5d3xek/sama5d3xek.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/board/atmel/sama5d3xek/sama5d3xek.c b/

Re: [U-Boot] [PATCH v3 00/19] First step towards Kbuild: Use Kbuild style makefiles

2013-11-05 Thread Masahiro Yamada
Hello Tom. > For the series, applied to u-boot/master, thanks! > > -- > Tom Thank you for rebasing and applying the series. (This makes my life easier to move on to the next step.) Just in case, I double-checked it and I think rebasing has been done in a good way. But only one thing: It misse

[U-Boot] [PATCH] cm-t35: move the leds code to common place

2013-11-05 Thread Igor Grinberg
Compulab boards can use the same leds code, so move the leds related code to live under board/compulab/common directory. Signed-off-by: Igor Grinberg Tested-by: Nikita Kiryanov --- Tom, AFAIU the merge window closes on Thursday. Can we please have this patch in for 2014.01? Thanks! Sorry, if

Re: [U-Boot] [PATCH 3/4] arm: rmobile: Add support R8A7791

2013-11-05 Thread Albert ARIBAUD
Hi Nobuhiro, On Thu, 31 Oct 2013 17:18:54 +0900, Nobuhiro Iwamatsu wrote: > Hi, again. > > 2013/10/31 Nobuhiro Iwamatsu : > > Hi, Albert. > > > > Sorry, I dont notice your mail. > > > > 2013/10/30 Albert ARIBAUD : > >> On Thu, 17 Oct 2013 13:04:06 +0200, Albert ARIBAUD > >> wrote: > >> > >>> H

[U-Boot] [PATCH] Makfile: fix a rule to build u-boot.sb

2013-11-05 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- This is a follow-up patch of the series: First step towards Kbuild: Use Kbuild style makefiles The series broke the build rule of u-boot.sb u-boot.sb is never automatically generated. (u-boot.sb is not added to ALL-y) That's why I could detect the bug of the

[U-Boot] [PATCH] freescale: p1_p2_rdb_pc: rename COBJS-y to obj-y

2013-11-05 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- board/freescale/p1_p2_rdb_pc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/p1_p2_rdb_pc/Makefile b/board/freescale/p1_p2_rdb_pc/Makefile index 8e20073..a2a1f92 100644 --- a/board/freescale/p1_p2_rdb_pc/Makefile +++