Re: [U-Boot] [PATCH 1/4] davinci: emac: add new features to autonegotiate for EMAC

2011-10-11 Thread Hadli, Manjunath
Laurence, On Sat, Oct 01, 2011 at 02:37:34, Laurence Withers wrote: > On Fri, Sep 30, 2011 at 05:27:09PM +0530, nagabhushana.netagu...@ti.com wrote: > > From: Nagabhushana Netagunte > > > > add more features like DUPLEX, 100MB link speed etc to auto negotiate > > in EMAC driver. EMAC controller

[U-Boot] [PATCH v3 0/5] da850evm: add board specific functions

2011-10-11 Thread manjunath.hadli
From: Manjunath Hadli There are two boards AM18x and L138 both of which are based on da850 SOC. AM18x boards have mac address stored in I2C EEPROM and they have spi flash manufactured by WINBOND. L138 boards store mac address in SPI flash and they have SPI flash manufactured by ST Microelectronic

[U-Boot] [PATCH v3 5/5] da850evm: read MAC address from I2C EEPROM on AM18x EVM

2011-10-11 Thread manjunath.hadli
From: Manjunath Hadli The AM18x EVM contains MAC address in I2C EEPROM. Introduced a new macro CONFIG_MAC_ADDR_IN_EEPROM to where to look for mac address. This patch reads MAC address from I2C EEPROM and updates environment variable. Signed-off-by: Manjunathappa, Prakash Signed-off-by: Manjunat

[U-Boot] [PATCH v3 1/5] da850evm: add new config file for AM18x

2011-10-11 Thread manjunath.hadli
From: Manjunath Hadli add new configuration file da850_am18xevm.h for AM18x boards which are based on da850 SOC. AM18x has WINBOND spi flash which is indicated in the config file. And make appropriate changes in board.cfg for building. Signed-off-by: Manjunath Hadli --- boards.cfg

[U-Boot] [PATCH v3 3/5] da850evm: pass board revision info to kernel

2011-10-11 Thread manjunath.hadli
From: Manjunath Hadli there are two boards based on da850 SOC - OMAP-L138 and AM18x. In order to differentiate between these two boards, revision id is passed to kernel via second byte of ATAG_REVISION. Signed-off-by: Manjunathappa, Prakash Signed-off-by: Manjunath Hadli --- board/davinci/da8

[U-Boot] [PATCH v3 4/5] da850evm: add support to read mac address from spi flash

2011-10-11 Thread manjunath.hadli
From: Manjunath Hadli add support to read mac address from spi flash if env variable is not set. This is supported only on L138 boards based on da850 SOC. Introduced a macro CONFIG_MAC_ADDR_IN_SPIFLASH indicating where to look mac address for. Signed-off-by: Manjunathappa, Prakash Signed-off-by

[U-Boot] [PATCH v3 2/5] da850evm: rename config file to represent OMAP-L138

2011-10-11 Thread manjunath.hadli
From: Manjunath Hadli rename config file da850evm.h as da850_l138evm.h to represent omap l138 board based on da850 SOC. L138 boards dont have WINBOND SPI flash, corresponding config is removed. Appropriate changes are made in boards.cfg for building. Signed-off-by: Manjunath Hadli --- boards.c

Re: [U-Boot] [PATCH V2 05/13] i2c: Create common default i2c_set_bus_num() function

2011-10-11 Thread Stefano Babic
On 10/10/2011 08:26 PM, Mike Frysinger wrote: > On Monday 10 October 2011 13:53:48 Tabi Timur-B04825 wrote: >> On Mon, Oct 10, 2011 at 4:35 AM, Stefano Babic wrote: >>> New default, weak i2c_set_bus_num() function. >>> >>> Signed-off-by: Stefano Babic >>> Cc: Heiko Schocher >> >> I would prefer

[U-Boot] hello

2011-10-11 Thread Sandra Weah
sandra2ukhal...@yahoo.co.uk   Glad that I'm just browsing now in the Internet and found your profile and i was much feelings over it,I'm miss Sandra weah by name,please i will like us to hold a good relationship with a real love,I'm happy to look at your profile today,you sound so gentle

[U-Boot] [PATCH 1/2] net: sh_eth: use miiphybb instead of own mii functions

2011-10-11 Thread Yoshihiro Shimoda
The sh_eth driver had an own mii functions. However the function didn't support the gigabit PHY. The U-Boot has the general phy driver and miiphybb driver, and they already support it. So this patch removes the own functions and uses the phy driver. Signed-off-by: Yoshihiro Shimoda --- drivers/n

[U-Boot] [PATCH 2/2] sh7757lcr: change config for new sh_eth driver

2011-10-11 Thread Yoshihiro Shimoda
The new sh_eth driver uses the phy driver. So, this patch enables it. Signed-off-by: Yoshihiro Shimoda --- If this patch is OK, I will submit patches of espt.h and sh7763rdp.h later. include/configs/sh7757lcr.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include

Re: [U-Boot] [PATCH] mmc: CMD7:MMC_CMD_SELECT_CARD response fix

2011-10-11 Thread Ajay Bhargav
- "Ajay Bhargav" wrote: > As per JEDEC document JESD84-A441 (page 105) response for CMD7 > (MMC_CMD_SELECT_CARD) response should be R1 instead of R1b. In uboot > we > never take MMC to disconnected state and on powerup its always ideal > state which later goes to stand-by state. > > from do

Re: [U-Boot] [PATCH v15 1/9] nds32: add header files support for nds32

2011-10-11 Thread Wolfgang Denk
Dear =?UTF-8?B?6aas5YWL5rOh?=, In message you wrote: > > I think volatiles which like the following should be necessary > according to the 4 exceptions listed in the document > "Documentation/volatile-considered-harmful.txt". > > WARNING: Use of volatile is usually wrong: see > Documentation/vo

[U-Boot] u-boot not working on Atmel ATNGW100 (AVR32)

2011-10-11 Thread Sven Schnelle
Hi List, i'm trying to get u-boot running on the Atmel ATNGW100, as the preloaded u-boot is rather old (v2010.08). However, ist doesn't run: U-Boot 2010.09 (Oct 11 2011 - 14:31:44) U-Boot code: -> 00012c1a data: 00019d38 -> 0004e7a0 VMR table @ 0x0001a584 I've found the following thr

Re: [U-Boot] u-boot not working on Atmel ATNGW100 (AVR32)

2011-10-11 Thread Sven Schnelle
On 10/11/2011 03:06 PM, Sven Schnelle wrote: > Hi List, > > i'm trying to get u-boot running on the Atmel ATNGW100, > as the preloaded u-boot is rather old (v2010.08). However, > ist doesn't run: > > U-Boot 2010.09 (Oct 11 2011 - 14:31:44) Please ignore the version, this is the log from trying a fe

Re: [U-Boot] u-boot not working on Atmel ATNGW100 (AVR32)

2011-10-11 Thread Andreas Bießmann
Dear Sven, Am 11.10.2011 15:06, schrieb Sven Schnelle: > Hi List, > > i'm trying to get u-boot running on the Atmel ATNGW100, > as the preloaded u-boot is rather old (v2010.08). However, > ist doesn't run: > > U-Boot 2010.09 (Oct 11 2011 - 14:31:44) > > U-Boot code: -> 00012c1a data:

Re: [U-Boot] u-boot not working on Atmel ATNGW100 (AVR32)

2011-10-11 Thread Andreas Bießmann
Dear Sven, Am Di 11 Okt 2011 15:23:00 CEST schrieb Andreas Bießmann: > Dear Sven, > > Am 11.10.2011 15:06, schrieb Sven Schnelle: >> Does anyone also still have this problem? Or does anyone have a >> pointer for me before i start digging into that problem? > > I do not have any pointers right n

Re: [U-Boot] u-boot not working on Atmel ATNGW100 (AVR32)

2011-10-11 Thread Sven Schnelle
On 10/11/2011 03:28 PM, Andreas Bießmann wrote: > Dear Sven, > > Am Di 11 Okt 2011 15:23:00 CEST schrieb Andreas Bießmann: >> Dear Sven, >> >> Am 11.10.2011 15:06, schrieb Sven Schnelle: > > >>> Does anyone also still have this problem? Or does anyone have a >>> pointer for me before i start diggi

Re: [U-Boot] [PATCH V2 1/2] mmc: change magic number to macro define

2011-10-11 Thread Lei Wen
Hi Graeme, On Tue, Oct 11, 2011 at 9:09 AM, Graeme Russ wrote: > Hi Lei Wen, > > On Tue, Oct 11, 2011 at 11:48 AM, Lei Wen wrote: >> Hi Wolfgang, >> >> On Tue, Oct 11, 2011 at 1:33 AM, Wolfgang Denk wrote: >>> Dear Lei Wen, >>> >>> In message >>> you >>> wrote: >> So macro may look

Re: [U-Boot] u-boot not working on Atmel ATNGW100 (AVR32)

2011-10-11 Thread Andreas Bießmann
Dear Sven, Am Di 11 Okt 2011 15:37:29 CEST schrieb Sven Schnelle: > On 10/11/2011 03:28 PM, Andreas Bießmann wrote: >> Dear Sven, >> >> Am Di 11 Okt 2011 15:23:00 CEST schrieb Andreas Bießmann: >>> Dear Sven, >>> >>> Am 11.10.2011 15:06, schrieb Sven Schnelle: >> >> Does anyone also still ha

Re: [U-Boot] u-boot not working on Atmel ATNGW100 (AVR32)

2011-10-11 Thread Andreas Bießmann
Dear Sven, Am 11.10.2011 15:28, schrieb Andreas Bießmann: > Dear Sven, > > Am Di 11 Okt 2011 15:23:00 CEST schrieb Andreas Bießmann: >> Dear Sven, >> >> Am 11.10.2011 15:06, schrieb Sven Schnelle: >> One thing, we had much truble with our toolchain. Which toolchain do you >> use? Could you provi

Re: [U-Boot] [PATCH v15 1/9] nds32: add header files support for nds32

2011-10-11 Thread 馬克泡
Hi Wolfgang, 2011/10/11 Wolfgang Denk : > Dear =?UTF-8?B?6aas5YWL5rOh?=, > > In message > you > wrote: >> >> I think volatiles which like the following should be necessary >> according to the 4 exceptions listed in the document >> "Documentation/volatile-considered-harmful.txt". >> >> WARNING:

[U-Boot] [PATCH 1/5] ARM:AM33XX: Added support for AM33xx

2011-10-11 Thread Chandan Nath
This patch adds basic support for AM33xx which is based on ARMV7 Cortex A8 CPU. Signed-off-by: Chandan Nath --- arch/arm/cpu/armv7/am33xx/Makefile | 44 +++ arch/arm/cpu/armv7/am33xx/lowlevel_init.S | 72 ++ arch/arm/cpu/armv7/am33xx/sys_info.c| 130 ++

[U-Boot] [PATCH 0/5] ARM:AM33XX: Basic support for AM33xx platform

2011-10-11 Thread Chandan Nath
This patch series is submitted to add support for TI AM33XX platform, which is based on ARMV7 Cortex A8 CPU and has the same basic peripheral set as OMAP35x, (timer, UART etc) but has a considerably different PRCM implementation. In this patch series, only support for uart peripheral is added alon

[U-Boot] [PATCH 4/5] ARM:AM33XX: Added timer support

2011-10-11 Thread Chandan Nath
This patch adds timer support for AM33xx platform. Signed-off-by: Chandan Nath --- Makefile|3 +++ arch/arm/cpu/armv7/omap-common/Makefile |2 ++ arch/arm/cpu/armv7/omap-common/timer.c |1 + arch/arm/include/asm/arch-am33xx/cpu.h | 27 +

[U-Boot] [PATCH 3/5] ARM:AM33XX: Add emif/ddr support

2011-10-11 Thread Chandan Nath
This patch adds AM33xx emif/ddr support along with board specific defines. Signed-off-by: Chandan Nath --- arch/arm/cpu/armv7/am33xx/Makefile |3 + arch/arm/cpu/armv7/am33xx/ddr.c | 147 ++ arch/arm/cpu/armv7/am33xx/emif4.c| 201 ++

[U-Boot] [PATCH 5/5] ARM:AM33XX: Add support for TI AM335X EVM

2011-10-11 Thread Chandan Nath
This patch adds basic support for booting the board. This patch adds support for the UART necessary to get to the u-boot prompt. Signed-off-by: Chandan Nath --- Support for additional peripherals depends on this patchset. Will be posting them soon. arch/arm/cpu/armv7/am33xx/Makefile |2 +-

[U-Boot] [PATCH 2/5] ARM:AM33XX: Add clock definitions

2011-10-11 Thread Chandan Nath
This patch adds basic clock definition of am33xx SoC. Signed-off-by: Chandan Nath --- arch/arm/cpu/armv7/am33xx/Makefile |1 + arch/arm/cpu/armv7/am33xx/clock.c| 273 ++ arch/arm/include/asm/arch-am33xx/clock.h | 24 ++ arch/arm/in

[U-Boot] [PATCH v2] ppc4xx: Add Io64 board support

2011-10-11 Thread eibach
From: Dirk Eibach Board support for the Guntermann & Drunck Io64. Signed-off-by: Dirk Eibach --- Changes for v2: - Added MAINTAINERS entry - Cleaned up issues reported by checkpatch MAINTAINERS |1 + arch/powerpc/lib/board.c|7 + board/gdsys/405ex/405ex

Re: [U-Boot] [PATCH 2/5] pci: option for configurable delay between pci reset and pci bus scan

2011-10-11 Thread Anatolij Gustschin
Hi Stefan, On Mon, 30 May 2011 16:10:34 +0200 Stefan Roese wrote: > Hi Anatolij and Detlev, > > On Monday 30 May 2011 09:45:08 Detlev Zundel wrote: > > >> Hm, I'm not sure I understand the situation, so please correct me. We > > >> have a "pcidelay" variable, which is used to wait before > > >

[U-Boot] [PATCH 1/1] pci: move pcidelay code to new location just before PCI bus scan

2011-10-11 Thread Anatolij Gustschin
PCI cards might need some time after reset to respond. On some boards (mpc5200 or mpc8260 based) the PCI bus reset is deasserted at pci_init_board() time, so we currently can not use available "pcidelay" option for waiting before PCI bus scan since this waiting takes place before calling pci_init_b

Re: [U-Boot] [PATCH 4/5] ARM:AM33XX: Added timer support

2011-10-11 Thread Tom Rini
On Tue, Oct 11, 2011 at 6:51 AM, Chandan Nath wrote: > This patch adds timer support for AM33xx platform. > > Signed-off-by: Chandan Nath > --- >  Makefile                                |    3 +++ >  arch/arm/cpu/armv7/omap-common/Makefile |    2 ++ >  arch/arm/cpu/armv7/omap-common/timer.c  |  

Re: [U-Boot] [PATCH 1/5] ARM:AM33XX: Added support for AM33xx

2011-10-11 Thread Tom Rini
On Tue, Oct 11, 2011 at 6:51 AM, Chandan Nath wrote: > This patch adds basic support for AM33xx which is based on ARMV7 > Cortex A8 CPU. > > Signed-off-by: Chandan Nath [snip] > +SRAM_STACK: > +       /* Place stack at the top */ > +       .word (SRAM0_START + SRAM0_SIZE - ROM_CODE_SIZE - 4) [sni

Re: [U-Boot] [PATCH 5/5] ARM:AM33XX: Add support for TI AM335X EVM

2011-10-11 Thread Tom Rini
On Tue, Oct 11, 2011 at 6:51 AM, Chandan Nath wrote: > This patch adds basic support for booting the board. > This patch adds support for the UART necessary to > get to the u-boot prompt. > > Signed-off-by: Chandan Nath [snip] > +/* Reset control */ > +#define PRM_RSTCTRL                    0x44E

Re: [U-Boot] [PATCH V2 09/12] VIDEO: davinci: add framebuffer to da8xx

2011-10-11 Thread Anatolij Gustschin
Hi Stefano, On Sat, 8 Oct 2011 11:27:34 +0200 Stefano Babic wrote: > The patch is a port from the framebuffer driver > of the Linux driver drivers/video/da8xx-fb.c, used > on davinci da8xx and OMAP-L138 boards. > > As base for the port, the following commit (last changes > for this driver at t

Re: [U-Boot] u-boot not working on Atmel ATNGW100 (AVR32)

2011-10-11 Thread Sven Schnelle
On 10/11/2011 03:52 PM, Andreas Bießmann wrote: > Dear Sven, > > Am Di 11 Okt 2011 15:37:29 CEST schrieb Sven Schnelle: >> On 10/11/2011 03:28 PM, Andreas Bießmann wrote: >>> Dear Sven, >>> >>> Am Di 11 Okt 2011 15:23:00 CEST schrieb Andreas Bießmann: Dear Sven, Am 11.10.2011 15:06,

[U-Boot] [PATCH 3/3] tegra2: Enable CONFIG_SYS_RELATIVE_IMAGES

2011-10-11 Thread Stephen Warren
v2: New patch Signed-off-by: Stephen Warren --- include/configs/tegra2-common.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/tegra2-common.h b/include/configs/tegra2-common.h index 73e0f05..07546a4 100644 --- a/include/configs/tegra2-common.h +++ b/in

[U-Boot] [PATCH 2/3] image: Implement IH_TYPE_KERNEL_REL

2011-10-11 Thread Stephen Warren
uImage files contain absolute "load" and "entry" addresses. Such a concept is incompatible with using the same kernel image on multiple SoCs, each with a potentially different SDRAM base. To support that, create a new image type IH_TYPE_KERNEL_REL, which is handled identically to IH_TYPE_KERNEL, ex

Re: [U-Boot] [PATCH V2 1/2] mmc: change magic number to macro define

2011-10-11 Thread Andy Fleming
On Mon, Oct 10, 2011 at 8:12 PM, Graeme Russ wrote: > Hi Prafulla, > >>> > >>> > Hi Lei, >>> > this is better, but what about structure-based access ? >>> > >>> > struct somrthing { >>> >  u8 a1; >>> >  u8 a2; >>> > ... >>> > }; >>> > >>> > Like this. >>> > >>> > Also, CC Andy. >>> > >>> >>> The e

Re: [U-Boot] [PATCH] mmc: CMD7:MMC_CMD_SELECT_CARD response fix

2011-10-11 Thread Andy Fleming
On Tue, Oct 11, 2011 at 4:51 AM, Ajay Bhargav wrote: > > - "Ajay Bhargav" wrote: > >> As per JEDEC document JESD84-A441 (page 105) response for CMD7 >> (MMC_CMD_SELECT_CARD) response should be R1 instead of R1b. In uboot >> we >> never take MMC to disconnected state and on powerup its always

Re: [U-Boot] [PATCH V3 05/13] i2c: Create common default i2c_set_bus_num() function

2011-10-11 Thread Stefano Babic
On 10/10/2011 07:51 PM, Mike Frysinger wrote: Hi Mike, > i believe we have two standards. Well, two standards means we have no standard...;-) > i'm not sure which gets used more, or if > it's just a wash. i think it makes sense to have an accessible default func > if it does something usef

Re: [U-Boot] [PATCH V3 05/13] i2c: Create common default i2c_set_bus_num() function

2011-10-11 Thread Mike Frysinger
On Tuesday 11 October 2011 13:30:24 Stefano Babic wrote: > On 10/10/2011 07:51 PM, Mike Frysinger wrote: > > i'm not sure which gets used more, or if > > it's just a wash. i think it makes sense to have an accessible default > > func if it does something useful, but not if it's just a stub. > >

Re: [U-Boot] [PATCH v2 0/6] tegra2: Add more clock/pinmux functionality

2011-10-11 Thread Albert ARIBAUD
Hi Simon, Le 22/09/2011 00:40, Simon Glass a écrit : > This adds to the basic clock functionality already available. The concept > of a peripheral ID is introduced, and all peripheral clock access is done > using this ID. > > Functions are provided to start, query and adjust peripheral clocks, > i

Re: [U-Boot] arm: comment request

2011-10-11 Thread Albert ARIBAUD
Le 05/10/2011 07:55, Heiko Schocher a écrit : > Hello Albert, > > can you comment/apply the following patches? As the new merge window is > open, I think they can go to mainline: > > arm, logbuffer: make it compileclean > http://patchwork.ozlabs.org/patch/114740/ > > post, arm: make post support fo

Re: [U-Boot] [PATCH v2 0/6] tegra2: Add more clock/pinmux functionality

2011-10-11 Thread Simon Glass
Hi Albert, On Tue, Oct 11, 2011 at 1:11 PM, Albert ARIBAUD wrote: > Hi Simon, > > Le 22/09/2011 00:40, Simon Glass a écrit : >> >> This adds to the basic clock functionality already available. The concept >> of a peripheral ID is introduced, and all peripheral clock access is done >> using this I

Re: [U-Boot] [PATCH v2 0/6] tegra2: Add more clock/pinmux functionality

2011-10-11 Thread Stephen Warren
Albert ARIBAUD wrote at Tuesday, October 11, 2011 2:12 PM: > Le 22/09/2011 00:40, Simon Glass a écrit : > > This adds to the basic clock functionality already available. The concept > > of a peripheral ID is introduced, and all peripheral clock access is done > > using this ID. ... > Series applied

[U-Boot] SPL broken for pandaboard with v2011.09?

2011-10-11 Thread Steve Sakoman
I'm considering using SPL instead of x-load for an upcoming omap project. To begin learning about SPL I tried building and running SPL for pandaboard using v2011.09. With my initial build I got the following output: U-Boot SPL 2011.09 (Oct 11 2011 - 10:18:27) Texas Instruments OMAP4430 ES2.0 SD

[U-Boot] [PATCH 1/3] OMAP3: overo : Use ttyO2 instead of ttyS2.

2011-10-11 Thread Philip Balister
Starting with kernel 2.6.37, the serial ports on the OMAP3 are called ttyOX, not ttySX. Signed-off-by: Philip Balister --- include/configs/omap3_overo.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h index 2

[U-Boot] [PATCH 3/3] OMAP3: overo : Add environment variable optargs to bootargs

2011-10-11 Thread Philip Balister
This allows the user can easily add extra kernel arguments. Very helpful for reserving memory for the DSP without rewriting the entire kernel argument line. Signed-off-by: Philip Balister --- include/configs/omap3_overo.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a

[U-Boot] [PATCH 2/3] OMAP3: overo: Move ethernet CS4 configuration to execute based on board id

2011-10-11 Thread Philip Balister
By moving the CS4 configuration into the board specific configuration, it is left free for custom carrier boards. The USRP-E1XX series uses CS4 to control access to an FPGA, so without this patch the device driver cannot claim CS4. Signed-off-by: Philip Balister --- board/overo/overo.c |7 ++

Re: [U-Boot] [PATCH 1/3] OMAP3: overo : Use ttyO2 instead of ttyS2.

2011-10-11 Thread Steve Sakoman
On Tue, Oct 11, 2011 at 2:23 PM, Philip Balister wrote: > Starting with kernel 2.6.37, the serial ports on the OMAP3 are called > ttyOX, not ttySX. > > Signed-off-by: Philip Balister Tested-by: Steve Sakoman ___ U-Boot mailing list U-Boot@lists.denx.d

Re: [U-Boot] [PATCH 2/3] OMAP3: overo: Move ethernet CS4 configuration to execute based on board id

2011-10-11 Thread Steve Sakoman
On Tue, Oct 11, 2011 at 2:23 PM, Philip Balister wrote: > By moving the CS4 configuration into the board specific configuration, it > is left free for custom carrier boards. The USRP-E1XX series uses > CS4 to control access to an FPGA, so without this patch the device driver > cannot claim CS4. >

Re: [U-Boot] [PATCH 3/3] OMAP3: overo : Add environment variable optargs to bootargs

2011-10-11 Thread Steve Sakoman
On Tue, Oct 11, 2011 at 2:23 PM, Philip Balister wrote: > This allows the user can easily add extra kernel arguments. Very helpful > for reserving memory for the DSP without rewriting the entire kernel > argument line. > > Signed-off-by: Philip Balister Tested-by: Steve Sakoman

[U-Boot] [PATCH v3 0/6] Run-time configuration of U-Boot via a flat device tree (fdt)

2011-10-11 Thread Simon Glass
At present in U-Boot configuration is mostly done using CONFIG options in the board file. This patch set makes it possible for a single U-Boot binary to support multiple boards, with the exact configuration of each board controlled by a flat device tree (fdt). This is the approach recently taken by

[U-Boot] [PATCH v3 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-10-11 Thread Simon Glass
This new option allows U-Boot to embed a binary device tree into its image to allow run-time control of peripherals. This device tree is for U-Boot's own use and is not necessarily the same one as is passed to the kernel. The device tree compiler output should be placed in the $(obj) rooted tree.

[U-Boot] [PATCH v3 3/6] fdt: Add support for a separate device tree (CONFIG_OF_SEPARATE)

2011-10-11 Thread Simon Glass
This adds support for an FDT to be build as a separate binary file called u-boot.dtb. This can be concatenated with the U-Boot binary to provide a device tree located at run-time by U-Boot. The Makefile is modified to provide this file in u-boot-dtb.bin. Signed-off-by: Simon Glass --- Changes in

[U-Boot] [PATCH v3 1/6] fdt: ARM: Add device tree control of U-Boot (CONFIG_OF_CONTROL)

2011-10-11 Thread Simon Glass
This adds a device tree pointer to the global data. It can be set by board code. A later commit will add support for embedding it in U-Boot. Signed-off-by: Simon Glass --- Changes in v3: - Rename gd->blob to gd->fdt_blob README | 11 +++ arch/arm/include/as

[U-Boot] [PATCH v3 4/6] fdt: ARM: Implement embedded and separate device tree

2011-10-11 Thread Simon Glass
This locates the device tree either embedded within U-Boot or attached to the end as a separate binary. When CONFIG_OF_CONTROL is defined, U-Boot requires a valid fdt. A check is provided for this early in initialisation. Signed-off-by: Simon Glass --- Changes in v3: - Add note about CONFIG_ARCH

[U-Boot] [PATCH v3 5/6] fdt: ARM: Add fdtcontroladdr to set device tree address in environment

2011-10-11 Thread Simon Glass
This adds support for a new environment variable called 'fdtcontroladdr'. If defined, the hex address is used as the address of the control fdt for U-Boot. Note: I have not changed CONFIG_PRAM section as I already have an outstanding patch on that. Signed-off-by: Simon Glass --- Changes in v3: -

[U-Boot] [PATCH v3 6/6] fdt: add decode helper library

2011-10-11 Thread Simon Glass
This library provides useful functions to drivers which want to use the fdt to control their operation. Functions are provided to: - look up and enumerate a device type (for example assigning i2c bus 0, i2c bus 1, etc.) - decode basic types from the fdt, like addresses and integers While this li

Re: [U-Boot] [PATCH v3 1/4] tegra2: Move MMC clock initialization into MMC driver

2011-10-11 Thread Simon Glass
On Fri, Oct 7, 2011 at 5:03 PM, Simon Glass wrote: > On Thu, Oct 6, 2011 at 10:53 AM, Stephen Warren wrote: >> This centralizes knowledge of MMC clocking into the MMC driver. This also >> removes clock setup from the board files, which will simplify later changes >> that modify the Harmony board

Re: [U-Boot] [PATCH v3 2/4] tegra2: Move board_mmc_init into board files

2011-10-11 Thread Simon Glass
Hi Stephen, On Thu, Oct 6, 2011 at 10:53 AM, Stephen Warren wrote: > For Seaboard, this is mostly a cut/paste of board_mmc_init() and > pin_mux_mmc() into seaboard.c; pin_mux_mmc() was modified to add some > missing pinmux_tristate_disable calls for the GPIOs. > > For Harmony, those functions wer

Re: [U-Boot] [PATCH v3 3/4] tegra2: Modify MMC driver to handle power and cd GPIOs

2011-10-11 Thread Simon Glass
Hi Stephen, On Thu, Oct 6, 2011 at 10:53 AM, Stephen Warren wrote: > Pass the GPIO numbers for power and card detect to tegra2_mmc_init(), and > modify that function to perform all required GPIO initialization. This > removes the need for board files to perform these operations. > > Move board_mm

Re: [U-Boot] [PATCH v3 4/4] tegra2: Add support for Ventana

2011-10-11 Thread Simon Glass
Hi Stephen, On Mon, Oct 10, 2011 at 9:00 AM, Stephen Warren wrote: > Simon Glass wrote at Friday, October 07, 2011 6:03 PM: >> On Thu, Oct 6, 2011 at 10:53 AM, Stephen Warren wrote: >> > Ventana is a board which is very similar to Seaboard. Support it by >> > re-using board/nvidia/seaboard/seabo

Re: [U-Boot] [PATCH v3 0/6] Run-time configuration of U-Boot via a flat device tree (fdt)

2011-10-11 Thread Simon Glass
Hi Stephen, On Tue, Oct 11, 2011 at 4:37 PM, Stephen Warren wrote: > Simon Glass wrote at Tuesday, October 11, 2011 4:26 PM: > ... >> and add some defines to your board (only ARM is currently supported): >> >>  #define CONFIG_OF_CONTROL       (to enable run-time config control via fdt) >>  #defin

Re: [U-Boot] [PATCH] tegra2: Use new GPIO APIs in gpio_config_uart()

2011-10-11 Thread Simon Glass
Hi Stephen, On Thu, Oct 6, 2011 at 3:52 PM, Stephen Warren wrote: > ... rather than open-coding the register accesses. > > However, gpio_request() typically stores the "label" parameter in a global > data structure. This causes problems when called from gpio_config_uart(), > since the code is run

Re: [U-Boot] [RFC PATCH 3/4 v1] mvrtc: add fdt support.

2011-10-11 Thread Simon Glass
Hi Jason, On Thu, Oct 6, 2011 at 2:42 PM, Simon Glass wrote: > Hi Wolfgang, > > On Thu, Oct 6, 2011 at 2:31 PM, Wolfgang Denk wrote: >> Dear Jason Cooper, >> >> In message >> <6d40c2a90839e1f8dae389a562ea20ed2bd15083.1316092940.git.u-b...@lakedaemon.net> >> you wrote: >>> >>> Signed-off-by: Ja

Re: [U-Boot] [PATCH 1/2] Tegra2: Make XTal speed configurable

2011-10-11 Thread Simon Glass
Hi Marek, On Wed, Oct 5, 2011 at 10:05 AM, Marek Vasut wrote: > On Wednesday, October 05, 2011 04:10:56 PM Simon Glass wrote: >> Hi Marek, >> >> On Fri, Sep 30, 2011 at 5:12 PM, Marek Vasut wrote: >> > The Toradex T20 module uses 13MHz Xtal, so make the Xtal speed >> > configurable. >> > >> > Si

[U-Boot] [RESEND PATCH v2] tegra2: Enable data cache

2011-10-11 Thread Simon Glass
This enables the data cache on Tegra2 boards. As discussed on the list, this is better off in the Tegra2 cpu code than in a particular vendor directory. We should be safe turning on the cache for all Tegra2 boards. Signed-off-by: Simon Glass --- Changes in v2: - Enable caches for all Tegra2 boar

[U-Boot] [PATCH v3 1/2] mpc83xx: Fix ipic structure definition

2011-10-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- Changes for v2: Changes for v3: arch/powerpc/include/asm/immap_83xx.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/include/asm/immap_83xx.h b/arch/powerpc/include/asm/immap_83

[U-Boot] [PATCH v3 2/2] mpc83xx: Implement interrupt support for mpc83xx

2011-10-11 Thread Joe Hershberger
Some core ipic code from Linux - commit bbf25010f1a6b761914430f5fca081ec8c7accd1 Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- Changes for v2: - Shorten some lines containing constants copied from Linux Changes for v3: - Explicitly identify the Linux commit that ip

Re: [U-Boot] [PATCH v3 0/6] Run-time configuration of U-Boot via a flat device tree (fdt)

2011-10-11 Thread Jason
Simon, Stephen, On Tue, Oct 11, 2011 at 04:54:27PM -0700, Simon Glass wrote: > Hi Stephen, > > On Tue, Oct 11, 2011 at 4:37 PM, Stephen Warren wrote: > > Simon Glass wrote at Tuesday, October 11, 2011 4:26 PM: > > ... > >> and add some defines to your board (only ARM is currently supported): > >

Re: [U-Boot] [PATCH v3 0/6] Run-time configuration of U-Boot via a flat device tree (fdt)

2011-10-11 Thread Simon Glass
Hi Jason, On Tue, Oct 11, 2011 at 6:00 PM, Jason wrote: > Simon, Stephen, > > On Tue, Oct 11, 2011 at 04:54:27PM -0700, Simon Glass wrote: >> Hi Stephen, >> >> On Tue, Oct 11, 2011 at 4:37 PM, Stephen Warren wrote: >> > Simon Glass wrote at Tuesday, October 11, 2011 4:26 PM: >> > ... >> >> and a

Re: [U-Boot] checkpatch compliance

2011-10-11 Thread Joe Hershberger
On Sun, Oct 9, 2011 at 2:22 PM, Wolfgang Denk wrote: > Dear Joe Hershberger, > > In message > you > wrote: >> >> I'm attempting to make the files I touched in several recent >> patch-series chechkpatch.pl compliant. >> >> I've hit several cases which fail and probably shouldn't.  For each of >>

[U-Boot] [PATCH v7 4/4] mpc8313erdb: Enable GPIO support on the MPC8313E RDB

2011-10-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- Changes for v2: - Moved changes to board/freescale/mpc8313erdb/mpc8313erdb.c from patch 1/2 Changes for v3: - Renamed gpio_init_* to mpc83xx_gpio_init_* - Added board_early_init_r support to MPC8313ERDB targets Changes fo

[U-Boot] [PATCH v7 1/4] gpio: Move common gpio.h to include/asm-generic

2011-10-11 Thread Joe Hershberger
Common GPIO API used by cmd_gpio should be available to any arch Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- Changes for v4: - Split out of patch 1/2 Changes for v5: - Moved asm/arch/gpio.h include to asm/gpio.h Changes for v6: Changes for v7: arch/arm/include/as

[U-Boot] [PATCH v7 3/4] mpc83xx: Add a GPIO driver for the MPC83XX family

2011-10-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- Changes for v2: - Improved names of INIT constants (to include "CONFIG_") - Moved changes to board/freescale/mpc8313erdb/mpc8313erdb.c to patch 2/2 Changes for v3: - gpio_init_* is now mpc83xx_gpio_init_* Changes for v4:

[U-Boot] [PATCH v7 2/4] gpio: Modify common gpio.h to more closely match Linux

2011-10-11 Thread Joe Hershberger
Change "int gp" to "unsigned gpio" Update the 2 existing arm implementations to match the new API Remove the gpio_toggle() implementation (never used) Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- Changes for v6: - Linuxize gpio API Changes for v7: - checkpatch compl

Re: [U-Boot] [PATCH] powerpc/mpc83xx: Rename CONFIG_SYS_DDR_CONFIG to CONFIG_SYS_DDR_CS_CONFIG

2011-10-11 Thread Joe Hershberger
On Thu, Oct 6, 2011 at 5:02 PM, Wolfgang Denk wrote: > Dear Joe Hershberger, > > Seems your're trying to break the record for the highest number of > rejects due to never running checkpatch :-( Many appologies for neglecting this step. I've changed all of the include/config/*.h files for mpc83xx

[U-Boot] Interrupt issue about bootvx command

2011-10-11 Thread Peter Pan
Hi Wolfgang, vxWorks needs all interrupt to be disabled before it's boot up, while u-boot sometimes enables them. Recently, I'm facing this kind of problem about booting up vxWorks through bootvx command. So, I added a patch to the common/cmd_elf.c to disable all interrupts before run into vxWorks

[U-Boot] [PATCH v3 02/24] mpc83xx: cosmetic: MPC8308RDB.h checkpatch compliance

2011-10-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- include/configs/MPC8308RDB.h | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/configs/MPC8308RDB.h b/include/configs/MPC8308RDB.h index 3ff175c..e6b83c8 100644 --- a/include/co

[U-Boot] [PATCH v3 20/24] mpc83xx: cosmetic: vme8349.h checkpatch compliance

2011-10-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- include/configs/vme8349.h | 35 ++- 1 files changed, 18 insertions(+), 17 deletions(-) diff --git a/include/configs/vme8349.h b/include/configs/vme8349.h index d153762..6a34537 100644 ---

[U-Boot] [PATCH v3 18/24] mpc83xx: cosmetic: sbc8349.h checkpatch compliance

2011-10-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- include/configs/sbc8349.h | 236 +++-- 1 files changed, 143 insertions(+), 93 deletions(-) diff --git a/include/configs/sbc8349.h b/include/configs/sbc8349.h index b418cf2..d6207dd

[U-Boot] [PATCH v3 16/24] mpc83xx: cosmetic: kmeter1.h checkpatch compliance

2011-10-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- include/configs/kmeter1.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/kmeter1.h b/include/configs/kmeter1.h index 8639ddd..3ae171b 100644 --- a/include/configs/kmeter1.h +++ b

[U-Boot] [PATCH v3 03/24] mpc83xx: cosmetic: MPC8313ERDB.h checkpatch compliance

2011-10-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- include/configs/MPC8313ERDB.h | 248 +++-- 1 files changed, 142 insertions(+), 106 deletions(-) diff --git a/include/configs/MPC8313ERDB.h b/include/configs/MPC8313ERDB.h index 92c54d0.

[U-Boot] [PATCH v3 01/24] mpc83xx: cosmetic: MERGERBOX.h checkpatch compliance

2011-10-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- include/configs/MERGERBOX.h | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/configs/MERGERBOX.h b/include/configs/MERGERBOX.h index f9681cd..105a45a 100644 --- a/include/configs/M

[U-Boot] [PATCH v3 17/24] mpc83xx: cosmetic: mpc8308_p1m.h checkpatch compliance

2011-10-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- include/configs/mpc8308_p1m.h | 29 ++--- 1 files changed, 14 insertions(+), 15 deletions(-) diff --git a/include/configs/mpc8308_p1m.h b/include/configs/mpc8308_p1m.h index d7a3a96..635afec 10064

[U-Boot] [PATCH v3 04/24] mpc83xx: cosmetic: MPC8315ERDB.h checkpatch compliance

2011-10-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- include/configs/MPC8315ERDB.h | 253 +++- 1 files changed, 145 insertions(+), 108 deletions(-) diff --git a/include/configs/MPC8315ERDB.h b/include/configs/MPC8315ERDB.h index a0cfd00..

[U-Boot] [PATCH v3 00/24] mpc83xx: Cleanup BAT, DDR, and LBC code

2011-10-11 Thread Joe Hershberger
Attempt to make 83xx use constants consistently. Changes for v3: - Left out [RFC] changes that Kim removed - Broke the whitespace changes patch up - Make all mpc83xx config files checkpatch.pl compliant (with exceptions) - COMPLEX_MACRO and MULTISTATEMENT_MACRO_USE_DO_WHILE need to be ignore

[U-Boot] [PATCH v3 14/24] mpc83xx: cosmetic: SIMPC8313.h checkpatch compliance

2011-10-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- include/configs/SIMPC8313.h | 288 --- 1 files changed, 164 insertions(+), 124 deletions(-) diff --git a/include/configs/SIMPC8313.h b/include/configs/SIMPC8313.h index 339e02b..3c8

[U-Boot] [PATCH v3 10/24] mpc83xx: cosmetic: MPC8360ERDK.h checkpatch compliance

2011-10-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- include/configs/MPC8360ERDK.h | 282 1 files changed, 169 insertions(+), 113 deletions(-) diff --git a/include/configs/MPC8360ERDK.h b/include/configs/MPC8360ERDK.h index 851872a..

[U-Boot] [PATCH v3 05/24] mpc83xx: cosmetic: MPC8323ERDB.h checkpatch compliance

2011-10-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- include/configs/MPC8323ERDB.h | 253 - 1 files changed, 150 insertions(+), 103 deletions(-) diff --git a/include/configs/MPC8323ERDB.h b/include/configs/MPC8323ERDB.h index 4d4c758.

[U-Boot] [PATCH v3 07/24] mpc83xx: cosmetic: MPC8349EMDS.h checkpatch compliance

2011-10-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- include/configs/MPC8349EMDS.h | 295 + 1 files changed, 178 insertions(+), 117 deletions(-) diff --git a/include/configs/MPC8349EMDS.h b/include/configs/MPC8349EMDS.h index 45b6b5f.

[U-Boot] [PATCH v3 15/24] mpc83xx: cosmetic: TQM834x.h checkpatch compliance

2011-10-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- include/configs/TQM834x.h | 277 +++-- 1 files changed, 169 insertions(+), 108 deletions(-) diff --git a/include/configs/TQM834x.h b/include/configs/TQM834x.h index 5cd517d..8b8c604

[U-Boot] [PATCH v3 06/24] mpc83xx: cosmetic: MPC832XEMDS.h checkpatch compliance

2011-10-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- include/configs/MPC832XEMDS.h | 229 + 1 files changed, 141 insertions(+), 88 deletions(-) diff --git a/include/configs/MPC832XEMDS.h b/include/configs/MPC832XEMDS.h index f136a8e..

[U-Boot] [PATCH v3 24/24] mpc83xx: Rename CONFIG_SYS_DDR_CONFIG and cleanup DDR csbnds code

2011-10-11 Thread Joe Hershberger
Rename CONFIG_SYS_DDR_CONFIG to include which CS it is configuring Cleanup the setting of the csnbds to respect the setting of CONFIG_SYS_DDR_SDRAM_BASE Use __ilog2 instead of writing the code to compute it Disable unused CS configs Ensure ddrlaw.bar is configured Signed-off-by: Joe Hershberger C

[U-Boot] [PATCH v3 13/24] mpc83xx: cosmetic: MVBLM7.h checkpatch compliance

2011-10-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- include/configs/MVBLM7.h | 116 ++ 1 files changed, 76 insertions(+), 40 deletions(-) diff --git a/include/configs/MVBLM7.h b/include/configs/MVBLM7.h index c201310..4b3917e 100

[U-Boot] [PATCH v3 19/24] mpc83xx: cosmetic: ve8313.h checkpatch compliance

2011-10-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- include/configs/ve8313.h | 204 - 1 files changed, 109 insertions(+), 95 deletions(-) diff --git a/include/configs/ve8313.h b/include/configs/ve8313.h index abb57fe..9035383 100

[U-Boot] [PATCH v3 21/24] mpc83xx: Cleanup usage of BAT constants

2011-10-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- include/configs/MERGERBOX.h| 14 +++--- include/configs/MPC8308RDB.h | 10 +- include/configs/MPC8313ERDB.h | 10 +- include/configs/MPC8315ERDB.h | 14 +++---

[U-Boot] [PATCH v3 09/24] mpc83xx: cosmetic: MPC8360EMDS.h checkpatch compliance

2011-10-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Kim Phillips --- include/configs/MPC8360EMDS.h | 223 ++--- 1 files changed, 141 insertions(+), 82 deletions(-) diff --git a/include/configs/MPC8360EMDS.h b/include/configs/MPC8360EMDS.h index 49d64a5..

  1   2   >