Re: [U-Boot] Pull request - microblaze

2011-10-03 Thread Michal Simek
Dear Wolfgang Denk, Michal Simek wrote: > Dear Wolfgang Denk, > > please pull the following changes. > All patches were check by checkpatch script and were sent to mailing list. > > I am going to send separate pull request for emaclite changes because it > is driver. Please ignore this one - t

[U-Boot] Pull request v2 - microblaze

2011-10-03 Thread Michal Simek
Dear Wolfgang Denk, please pull the following changes. All patches were check by checkpatch script and were sent to mailing list. v2: Removed Marek's mainline patch from pull request - no repository change. Thanks, Michal The following changes since commit 7b8ffea2ac44097ed1c99ba70b8c6a4cf12ba0

[U-Boot] [PATCH 0/4] fix and enhancement patches for sdhci

2011-10-03 Thread Lei Wen
This seris fix several issue like flush cache and build warning. And give this generic driver enhancement for timeout when transferring data and additional structure member to access in platform self driver. Lei Wen (4): mmc: sdhci: fix cache flush mmc: sdhci: fix build warning mmc: sdhci: a

[U-Boot] [PATCH 1/4] mmc: sdhci: fix cache flush

2011-10-03 Thread Lei Wen
Only flush the memory range needed. Signed-off-by: Lei Wen --- drivers/mmc/sdhci.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 9ebd33d..4a92453 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c @@ -196,7 +196,

[U-Boot] [PATCH 2/4] mmc: sdhci: fix build warning

2011-10-03 Thread Lei Wen
If CONFIG_MMC_SDHCI_IO_ACCESSORS is defined, the following warning would shows up: include/sdhci.h:224: warning: 'struct sdhci_host' declared inside parameter list include/sdhci.h:224: warning: its scope is only this definition or declaration, which is probably not what you want include/sdhci.h:22

[U-Boot] [PATCH 3/4] mmc: sdhci: add mmc structure for host

2011-10-03 Thread Lei Wen
So that sdhci host would tell in the driver that the mmc current attributes. Signed-off-by: Lei Wen --- drivers/mmc/sdhci.c |1 + include/sdhci.h |2 ++ 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 4a92453..31c738e 100

[U-Boot] [PATCH 4/4] mmc: sdhci: add timeout for data transfer

2011-10-03 Thread Lei Wen
Signed-off-by: Lei Wen --- drivers/mmc/sdhci.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 31c738e..77a9e70 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c @@ -81,8 +81,9 @@ static void sdhci_transfer_

[U-Boot] [PATCH 0/3] add mmc support for pantheon platform

2011-10-03 Thread Lei Wen
This patch seris add the mmc support for the pantheon platform. Also give platform like dkb and aspenite a workaround when enabling the 8bit mode for accessing the mmc. Lei Wen (3): ARM: pantheon: add mmc definition Marvell: dkb: add mmc support mmc: mv_sdhci: fix 8bus width access for 88SV3

[U-Boot] [PATCH 1/3] ARM: pantheon: add mmc definition

2011-10-03 Thread Lei Wen
Signed-off-by: Lei Wen --- arch/arm/include/asm/arch-pantheon/config.h | 17 + arch/arm/include/asm/arch-pantheon/cpu.h|1 + arch/arm/include/asm/arch-pantheon/mfp.h| 12 3 files changed, 30 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/

[U-Boot] [PATCH 2/3] Marvell: dkb: add mmc support

2011-10-03 Thread Lei Wen
Signed-off-by: Lei Wen --- board/Marvell/dkb/dkb.c | 37 + include/configs/dkb.h |1 + 2 files changed, 38 insertions(+), 0 deletions(-) diff --git a/board/Marvell/dkb/dkb.c b/board/Marvell/dkb/dkb.c index 00f73e7..e2dd55c 100644 --- a/board/Marvell/dk

[U-Boot] [PATCH 3/3] mmc: mv_sdhci: fix 8bus width access for 88SV331xV5

2011-10-03 Thread Lei Wen
Marvell 88SV331xV5 platform's sdhci host control is not very standard with the spec in the 8bit handling. It need to set its private register to switch to the 8bit mode which is not included in the standard sdhci registers. This patch mainly hacks the writeb method, and set its private register if

[U-Boot] [PATCH] mmc: test mmc bus width on startup

2011-10-03 Thread Lei Wen
For we don't know mmc bus width from reading registers, the only way to check is to test. Change-Id: Ia50df480bd14349e36ac8217d8d290cf732db089 Signed-off-by: Lei Wen --- drivers/mmc/mmc.c | 39 --- 1 files changed, 20 insertions(+), 19 deletions(-) diff --g

Re: [U-Boot] [PATCH] I2C: mv_i2c: fix build issue when enable debug option

2011-10-03 Thread Heiko Schocher
Hello Lei, Lei Wen wrote: > When DEBUG_I2C is open, the following build issue would shows up. > > mv_i2c.c: In function 'i2c_transfer': > mv_i2c.c:257: error: 'ISR' undeclared (first use in this function) > mv_i2c.c:257: error: (Each undeclared identifier is reported only once > mv_i2c.c:257: err

Re: [U-Boot] [PATCH] I2C: mv_i2c: fix multi-bus init issue

2011-10-03 Thread Heiko Schocher
Hello Lei, Lei Wen wrote: > When enable the multi-bus, the current_bus is not inited in the original > implementation, which make the i2c operation unpredicatable. > > Signed-off-by: Lei Wen > --- > drivers/i2c/mv_i2c.c | 42 -- > 1 files changed, 24 in

[U-Boot] [i2c] Pull request

2011-10-03 Thread Heiko Schocher
Hello Wolfgang, The following changes since commit 7b8ffea2ac44097ed1c99ba70b8c6a4cf12ba0b4: GCC4.6: Squash warning in lzo1x_decompress.c (2011-10-01 23:34:38 +0200) are available in the git repository at: git://git.denx.de/u-boot-i2c.git master Lei Wen (2): I2C: mv_i2c: fix build iss

[U-Boot] Fix "make tools" without a config

2011-10-03 Thread Loïc Minier
Hi This series fixes "make tools" when u-boot isn't configured which regressed recently (with timestamp_generated.h and ublimage support). This is used in e.g. Debian/Ubuntu to provide a board-independent mkimage. Cheers, -- Loïc Minier

[U-Boot] [PATCH 3/3] ublimage: NAND block size isn't set at build-time

2011-10-03 Thread Loïc Minier
mkimage's ublimage support can't depend of build-time board configs; instead, this should be set in ublimage.cfg. Since currently no configs in u-boot override the NAND block size, hardcode it as such in ublimage.h to fix a build failure with "make tools": gcc [...] -o ublimage.o ublimage.c -c In

[U-Boot] [PATCH 2/3] Safer timestamp_autogenerated.h generation

2011-10-03 Thread Loïc Minier
Generate timestamp_autogenerated.h as safely as version_autogenerated.h. Cc: patc...@linaro.org Signed-off-by: Loïc Minier --- Makefile |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0892908..2991357 100644 --- a/Makefile +++ b/Makefile @@

[U-Boot] [PATCH 1/3] Build timestamp_autogenerated.h without config

2011-10-03 Thread Loïc Minier
Tools such as mkimage include version information but are config-agnostic; build timestamp_autogenerated.h even when config.mk isn't generated to fix "make tools" build failure: gcc [...] -o mkimage.o mkimage.c -c In file included from include/version.h:27:0, from mkimage.c:26: include/timestamp.h:

Re: [U-Boot] [PATCH 2/2] Tegra2: Add support for Toradex Colibri T20 board

2011-10-03 Thread Marek Vasut
On Monday, October 03, 2011 05:52:17 AM Simon Glass wrote: > Hi Marek, Hi Simon, [...] > > +static void uart_init(void) > > +{ > > + struct clk_rst_ctlr *clkrst = (struct clk_rst_ctlr > > *)NV_PA_CLK_RST_BASE; + struct clk_pll *pll = > > &clkrst->crc_pll[CLOCK_PLL_ID_PERIPH]; +

Re: [U-Boot] [PATCH] mmc: test mmc bus width on startup

2011-10-03 Thread Marek Vasut
On Monday, October 03, 2011 11:03:56 AM Lei Wen wrote: > For we don't know mmc bus width from reading registers, the only way > to check is to test. > > Change-Id: Ia50df480bd14349e36ac8217d8d290cf732db089 > Signed-off-by: Lei Wen > --- [...] > + if (!err && ext_csd[160] ==

Re: [U-Boot] [PATCH 2/3] Marvell: dkb: add mmc support

2011-10-03 Thread Marek Vasut
On Monday, October 03, 2011 11:02:24 AM Lei Wen wrote: > Signed-off-by: Lei Wen > --- > board/Marvell/dkb/dkb.c | 37 + > include/configs/dkb.h |1 + > 2 files changed, 38 insertions(+), 0 deletions(-) Dear Lei Wen, [...] > @@ -56,3 +74,22 @@ int boa

Re: [U-Boot] [PATCH 2/4] mmc: sdhci: fix build warning

2011-10-03 Thread Marek Vasut
On Monday, October 03, 2011 11:01:39 AM Lei Wen wrote: > If CONFIG_MMC_SDHCI_IO_ACCESSORS is defined, the following warning would > shows up: [...] > > diff --git a/include/sdhci.h b/include/sdhci.h > index 6d52ce9..6c6a8ea 100644 > --- a/include/sdhci.h > +++ b/include/sdhci.h > @@ -219,6 +219,

Re: [U-Boot] [PATCH 2/3] Marvell: dkb: add mmc support

2011-10-03 Thread Lei Wen
Hi Marek, On Mon, Oct 3, 2011 at 6:44 PM, Marek Vasut wrote: > On Monday, October 03, 2011 11:02:24 AM Lei Wen wrote: >> Signed-off-by: Lei Wen >> --- >>  board/Marvell/dkb/dkb.c |   37 + >>  include/configs/dkb.h   |    1 + >>  2 files changed, 38 insertions(

Re: [U-Boot] [PATCH] mmc: test mmc bus width on startup

2011-10-03 Thread Lei Wen
Hi Marek, On Mon, Oct 3, 2011 at 6:41 PM, Marek Vasut wrote: > On Monday, October 03, 2011 11:03:56 AM Lei Wen wrote: >> For we don't know mmc bus width from reading registers, the only way >> to check is to test. >> >> Change-Id: Ia50df480bd14349e36ac8217d8d290cf732db089 >> Signed-off-by: Lei We

Re: [U-Boot] [PATCH 2/4] mmc: sdhci: fix build warning

2011-10-03 Thread Lei Wen
Marek, On Mon, Oct 3, 2011 at 6:45 PM, Marek Vasut wrote: > On Monday, October 03, 2011 11:01:39 AM Lei Wen wrote: >> If CONFIG_MMC_SDHCI_IO_ACCESSORS is defined, the following warning would >> shows up: > > [...] > >> >> diff --git a/include/sdhci.h b/include/sdhci.h >> index 6d52ce9..6c6a8ea 10

Re: [U-Boot] [PATCH] da830: add support to read mac addr from EEPROM

2011-10-03 Thread Nick Thompson
On 30/09/11 12:39, nagabhushana.netagu...@ti.com wrote: > From: Nagabhushana Netagunte > > da830 boards have mac address stored in I2C EEPROM. This patch > adds support to restore mac address from EEPROM if environment variable > 'ethaddr' is not set. > > Signed-off-by: Sudhakar Rajashekhara > Si

Re: [U-Boot] [PATCH v2] da830: add support for NAND boot mode

2011-10-03 Thread Nick Thompson
On 30/09/11 13:29, nagabhushana.netagu...@ti.com wrote: > From: Nagabhushana Netagunte > > Add support for enabling NAND boot mode in configuration file and > add correspanding pinmux support, nand initialize function in board file. > Since the environment variable are stored in first block > CONF

Re: [U-Boot] [PATCH] powerpc/p2041rdb: add more ddr frequencies support

2011-10-03 Thread Kumar Gala
On Sep 21, 2011, at 10:46 PM, Shaohui Xie wrote: > This table covers DDR frequencies from 666 to 1666. Frequencies 666, 833, > 1000, > 1066 and 1333 were verified on this board with SO-DIMM (UG51U6400N8SU-ACF). > > Signed-off-by: Shaohui Xie > --- > board/freescale/p2041rdb/ddr.c |5 -

Re: [U-Boot] [PATCH 2/3] powerpc/85xx: Add PBL & SECUREBOOT support on P3041/P5020DS boards

2011-10-03 Thread Kumar Gala
On Sep 2, 2011, at 6:16 AM, Ruchika Gupta wrote: > From: Kumar Gala > > Signed-off-by: Kumar Gala > --- > boards.cfg |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) applied to 85xx - k ___ U-Boot mailing list U-Boot@lists.denx.de http:

Re: [U-Boot] [PATCH 1/3] powerpc/p4080: Add support for secure boot flow

2011-10-03 Thread Kumar Gala
On Sep 2, 2011, at 6:16 AM, Ruchika Gupta wrote: > Pre u-boot Flow: > 1. User loads the u-boot image in flash > 2. PBL/Configuration word is used to create LAW for Flash at 0xc000 > (Please note that ISBC expects all these addresses, images to be > validated, entry point etc within 0 - 3.5G

Re: [U-Boot] [PATCH 3/3] P1010RDB :Secure Boot support added for NOR , NAND and SPIFLASH

2011-10-03 Thread Kumar Gala
On Sep 2, 2011, at 6:16 AM, Ruchika Gupta wrote: > From: Kumar Gala > > Signed-off-by: Ruchika Gupta > Signed-off-by: Kuldip Giroh > --- > boards.cfg |6 ++ > include/configs/P1010RDB.h | 15 +-- > 2 files changed, 19 insertions(+), 2 deletions(-) applied

Re: [U-Boot] [PATCH 1/9] powerpc/mpc8548cds: Fix booting message

2011-10-03 Thread Kumar Gala
On Sep 13, 2011, at 2:15 AM, Zhao Chenhui wrote: > From: chenhui zhao > > Align the output for PCI. Replace "PCI" with "PCI1". > > Signed-off-by: Zhao Chenhui > --- > board/freescale/mpc8548cds/mpc8548cds.c |6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) applied to 85xx - k

Re: [U-Boot] [PATCH v2] powerpc/mpc85xxcds: Fix PCI speed

2011-10-03 Thread Kumar Gala
On Sep 15, 2011, at 1:52 AM, Zhao Chenhui wrote: > From: chenhui zhao > > The CDS uses PCICLK as SYSCLK. The PCICLK should be Hz or Hz. > > Signed-off-by: Ebony Zhu > Signed-off-by: Zhao Chenhui > --- > Changes for v2: > -rewrite the description. > -use strmhz(). > > board/f

Re: [U-Boot] [PATCH 3/9] powerpc/mpc8548: Add workaround for erratum NMG_DDR120

2011-10-03 Thread Kumar Gala
On Sep 13, 2011, at 2:15 AM, Zhao Chenhui wrote: > From: chenhui zhao > > Erratum NMG_DDR120 (DDR19 in MPC8548 errata document) applies to some > early version silicons. The default settings of the DDR IO receiver > biasing may not work at cold temperature. When a failure occurs, > a DDR input

Re: [U-Boot] [PATCH 7/9] powerpc/mpc8548: Add workaround for erratum NMG_LBC103

2011-10-03 Thread Kumar Gala
On Sep 13, 2011, at 2:15 AM, Zhao Chenhui wrote: > From: chenhui zhao > > The erratum NMG_LBC103 is LBIU3 in MPC8548 errata document. > Any local bus transaction may fail during LBIU resynchronization > process when the clock divider [CLKDIV] is changing. Ensure there > is no transaction on the

Re: [U-Boot] [PATCH v2] powerpc/85xx: Add support for setting up RAID engine liodns on P5020

2011-10-03 Thread Kumar Gala
On Sep 16, 2011, at 10:00 AM, Kumar Gala wrote: > Add support for Job Queue/Ring LIODN for the RAID Engine on P5020. Each > Job Queue/Ring combo needs one id assigned for a total of 4 (2 JQs/2 > Rings per JQ). This just handles RAID Engine in non-DPAA mode. > > Signed-off-by: Santosh Shukla >

Re: [U-Boot] [PATCH] powerpc/85xx: Refactor some defines out of corenet_ds.h

2011-10-03 Thread Kumar Gala
On Sep 14, 2011, at 12:22 PM, Kumar Gala wrote: > Move some SoC/board specific defines out of corenet_ds.h and into the > corresponding P3041DS/P4080DS/P5020.h. > > We moved CONFIG_MMC, CONFIG_PCIE3, & CONFIG_FSL_NGPIXIS because the P3060 > SoC/reference board does not have these devices and it

Re: [U-Boot] [PATCH] fm-eth: Add ability for board code to disable a port

2011-10-03 Thread Kumar Gala
On Sep 14, 2011, at 12:13 PM, Kumar Gala wrote: > The SoC configuration may have more ports enabled than a given board > actually can utilize. Add a routinue that allows the board code to > disable a port that it knows isn't being used. > > fm_disable_port() needs to be called before cpu_eth_in

Re: [U-Boot] [PATCH 1/2] powerpc/p2041rdb: updated description of cpld command

2011-10-03 Thread Kumar Gala
On Sep 23, 2011, at 12:54 PM, Kumar Gala wrote: > From: Shaohui Xie > > According to CPLD 2.2, the default configuration is changed, so updated the > description of CPLD command, otherwise it will confusing. > > Signed-off-by: Shaohui Xie > Signed-off-by: Kumar Gala > --- > board/freescale/p

Re: [U-Boot] [PATCH 2/2] powerpc/p2041rdb: remove watch dog related codes

2011-10-03 Thread Kumar Gala
On Sep 23, 2011, at 12:54 PM, Kumar Gala wrote: > From: Shaohui Xie > > CPLD 2.2 removed board watch dog support due to the limitation of CPLD > capacity after adding all the requested features, such as switch overriding. > There is no pin-compatible upgrade part available for current PCB desig

Re: [U-Boot] [PATCH 2/4] da830: emac: add support for RMII

2011-10-03 Thread Laurence Withers
On Fri, Sep 30, 2011 at 11:48:13AM -0400, Mike Frysinger wrote: > On Friday, September 30, 2011 07:57:10 nagabhushana.netagu...@ti.com wrote: > > --- a/drivers/net/davinci_emac.c > > +++ b/drivers/net/davinci_emac.c > > @@ -246,7 +246,7 @@ static int gen_get_link_speed(int phy_addr) > > if (dav

Re: [U-Boot] [PATCH 1/8] PPC: Fix tqm8xx_pcmcia.c by removing condition around pcmp

2011-10-03 Thread Wolfgang Denk
Dear Marek Vasut, In message <1317603450-7527-2-git-send-email-marek.va...@gmail.com> you wrote: > From: Marek Vasut Please make sure to use only valid mail addresses. > This fix has no impact on u-boot.bin size (tested with ELDK 4.2). > > Signed-off-by: Marek Vasut > --- > drivers/pcmcia/t

Re: [U-Boot] [PATCH 2/8] PPC: Fix mem_to_mem_idma2intr.c by renaming "debug" to "mmdebug"

2011-10-03 Thread Wolfgang Denk
Dear Marek Vasut, In message <1317603450-7527-3-git-send-email-marek.va...@gmail.com> you wrote: > From: Marek Vasut Please FIX your git setup. This is NOT a valid address. > Also, squash a checkpatch warning in if(debug != 0) part. > > Signed-off-by: Marek Vasut > --- > examples/standalone

Re: [U-Boot] [PATCH 3/8] PPC: Fix i82365.c by removing ifdef around "buf"

2011-10-03 Thread Wolfgang Denk
Dear Marek Vasut, In message <1317603450-7527-4-git-send-email-marek.va...@gmail.com> you wrote: > From: Marek Vasut Fix... > As the "buf" is cleared at runtime, this might introduce a slight overhead. > > Signed-off-by: Marek Vasut > --- > drivers/pcmcia/i82365.c |2 -- > 1 files change

Re: [U-Boot] [PATCH 4/8] PPC: Fix relative path in galileo/core.h

2011-10-03 Thread Wolfgang Denk
Dear Marek Vasut, In message <1317603450-7527-5-git-send-email-marek.va...@gmail.com> you wrote: > From: Marek Vasut > > Change #include "gt64260R.h" to #include What is the actual problem / build issue you are fixing here? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH,

Re: [U-Boot] [PATCH 5/8] PPC: Fix pd67290.c by removing ifdef around "buf"

2011-10-03 Thread Wolfgang Denk
Dear Marek Vasut, In message <1317603450-7527-6-git-send-email-marek.va...@gmail.com> you wrote: > From: Marek Vasut Fix... > As the "buf" is cleared at runtime, this might introduce a slight overhead. > > Signed-off-by: Marek Vasut > --- > board/cpc45/pd67290.c |2 -- > 1 files changed,

Re: [U-Boot] [PATCH 6/8] PPC: Fix eepro100_eeprom.c by renaming "debug" to "eedebug"

2011-10-03 Thread Wolfgang Denk
Dear Marek Vasut, In message <1317603450-7527-7-git-send-email-marek.va...@gmail.com> you wrote: > From: Marek Vasut Fix... > Also, squash a warning about initialized static data. > > Signed-off-by: Marek Vasut > --- > examples/standalone/eepro100_eeprom.c | 10 +- > 1 files change

Re: [U-Boot] [PATCH 7/8] PPC: Fix fsl_upm.c by renaming nand handling functions

2011-10-03 Thread Wolfgang Denk
Dear Marek Vasut, In message <1317603450-7527-8-git-send-email-marek.va...@gmail.com> you wrote: > From: Marek Vasut Needs fixing... Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenze

[U-Boot] [PATCH] cmd_sf: Fix compiler warning

2011-10-03 Thread Kumar Gala
cmd_sf.c: In function 'do_spi_flash': cmd_sf.c:164:9: warning: 'skipped' may be used uninitialized in this function Signed-off-by: Kumar Gala --- common/cmd_sf.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/cmd_sf.c b/common/cmd_sf.c index c8c547a..7225656

[U-Boot] [PATCH] spi/eon: add support for new EON spi flash EN25Q32B

2011-10-03 Thread Kumar Gala
From: Shaohui Xie Signed-off-by: Shaohui Xie Signed-off-by: Kumar Gala --- drivers/mtd/spi/eon.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/eon.c b/drivers/mtd/spi/eon.c index 806b44e..4c64494 100644 --- a/drivers/mtd/spi/eon.c +++ b/drivers

Re: [U-Boot] [PATCH 8/8] PPC: Remove #ifdef DEBUG around step_to_string

2011-10-03 Thread Wolfgang Denk
Dear Marek Vasut, In message <1317603450-7527-9-git-send-email-marek.va...@gmail.com> you wrote: >From: Marek Vasut Fix... > The growth of u-boot.bin isn't measurable here as the resulting > binary is always 512k big. But the u-boot executable is 500 bytes > bigger. You must be joking. Does y

Re: [U-Boot] [PATCH 2/3] Safer timestamp_autogenerated.h generation

2011-10-03 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/3] Build timestamp_autogenerated.h without config

2011-10-03 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [GIT PULL] Pull request u-boot-85xx.git (master)

2011-10-03 Thread Kumar Gala
The following changes since commit 1d5e7fb403257d62f0f2419cb83fdf6b0f02f215: Prepare v2011.09 (2011-09-29 21:11:15 +0200) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx master Andy Fleming (1): powerpc/85xx: Add FMan ethernet support to P4080DS Dipen Dudhat (

Re: [U-Boot] [PATCH 4/8] PPC: Fix relative path in galileo/core.h

2011-10-03 Thread Marek Vasut
On Monday, October 03, 2011 04:31:36 PM Wolfgang Denk wrote: > Dear Marek Vasut, > > In message <1317603450-7527-5-git-send-email-marek.va...@gmail.com> you wrote: > > From: Marek Vasut > > > > Change #include "gt64260R.h" to #include > > What is the actual problem / build issue you are fixing

Re: [U-Boot] [PATCH] spi/eon: add support for new EON spi flash EN25Q32B

2011-10-03 Thread Mike Frysinger
this has already been merged -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] cmd_sf: Fix compiler warning

2011-10-03 Thread Mike Frysinger
On Monday, October 03, 2011 10:35:47 Kumar Gala wrote: > cmd_sf.c: In function 'do_spi_flash': > cmd_sf.c:164:9: warning: 'skipped' may be used uninitialized in this > function hmm, not sure how i missed this. but looks sane to me. Acked-by: Mike Frysinger -mike signature.asc Description: This

[U-Boot] Hello..

2011-10-03 Thread stella benson
Hello.. my name is stella i seek for a honest partner for friendship i hope you don't mind if you don't mind please reply me i will like to here form you ok so i can tell you more about myself and we can exchange picture too and share some other things with love__

Re: [U-Boot] [PATCH] spi/eon: add support for new EON spi flash EN25Q32B

2011-10-03 Thread Kumar Gala
On Oct 3, 2011, at 9:37 AM, Kumar Gala wrote: > From: Shaohui Xie > > Signed-off-by: Shaohui Xie > Signed-off-by: Kumar Gala > --- > drivers/mtd/spi/eon.c |8 > 1 files changed, 8 insertions(+), 0 deletions(-) Thanks, missed it ;) - k

Re: [U-Boot] [PATCH 2/2] Tegra2: Add support for Toradex Colibri T20 board

2011-10-03 Thread Stephen Warren
Marek Vasut wrote at Monday, October 03, 2011 4:36 AM: ... > > > +static void pinmux_init(void) > > > +{ > > > + struct pmux_tri_ctlr *pmt = (struct pmux_tri_ctlr > > > *)NV_PA_APB_MISC_BASE; + > > > + /* SDIO 1 */ > > > + clrbits_le32(&pmt->pmt_tri[TRISTATE_REG(PIN_ATA)], 1 << 3

[U-Boot] [PATCH] powerpc/mpc8xxx: Merge entries in DDR speed table

2011-10-03 Thread York Sun
It is not necessary to keep multiple entries for the same setting in DDR speed tables. Merge them for smaller tables. Also restructure the tables for smaller size. Cleanup some typedefs. Enforce strict checking for speed table. If DIMM is running at higher than known speed, try to use the highest

Re: [U-Boot] [PATCH 2/5] GCC4,6: Squash warning in cmd_nand.c

2011-10-03 Thread Scott Wood
On 09/30/2011 05:14 AM, Marek Vasut wrote: > On Friday, September 30, 2011 12:13:23 PM Marek Vasut wrote: >> cmd_nand.c: In function ‘do_nand’: >> cmd_nand.c:490:7: warning: variable ‘chip’ set but not used >> [-Wunused-but-set-variable] >> cmd_nand.c:489:7: warning: variable ‘part’ set but not use

Re: [U-Boot] [PATCH 2/4] tegra2: Call gpio_request for SDMMC GPIOs

2011-10-03 Thread Stephen Warren
Stephen Warren wrote at Friday, September 30, 2011 1:40 PM: ... > void gpio_config_mmc(void) > { > /* Set EN_VDDIO_SD (GPIO I6) */ > + gpio_request(GPIO_PI6, "SDMMC4 power"); > gpio_direction_output(GPIO_PI6, 1); > > /* Config pin as GPI for Card Detect (GPIO I5) */ > +

[U-Boot] TQM8548 and socrates build failures with HEAD (related to NAND)

2011-10-03 Thread Kumar Gala
Can you guys look at sending some patches to fix the following build errors: LOG/socrates.ERR:nand.c:36:13: error: static declaration of 'nand_read_buf' follows non-static declaration LOG/socrates.ERR:/local/home/galak/git/u-boot/include/nand.h:139:6: note: previous declaration of 'nand_read_buf

Re: [U-Boot] TQM8548 and socrates build failures with HEAD (related to NAND)

2011-10-03 Thread Marek Vasut
On Monday, October 03, 2011 08:14:14 PM Kumar Gala wrote: > Can you guys look at sending some patches to fix the following build > errors: > > LOG/socrates.ERR:nand.c:36:13: error: static declaration of 'nand_read_buf' > follows non-static declaration > LOG/socrates.ERR:/local/home/galak/git/u-boo

Re: [U-Boot] [PATCH 1/7 V2] GCC4.6: Convert various empty macros to inline functions

2011-10-03 Thread Marek Vasut
On Monday, September 26, 2011 02:26:00 AM Marek Vasut wrote: > Fixes problems similar to the following ones: > > cmd_date.c: In function ‘do_date’: > cmd_date.c:50:6: warning: variable ‘old_bus’ set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Marek Vasut > --- Wolfgang, can yo

Re: [U-Boot] [PATCH 1/7 V2] GCC4.6: Convert various empty macros to inline functions

2011-10-03 Thread Wolfgang Denk
Dear Marek Vasut, In message <201110032032.25013.marek.va...@gmail.com> you wrote: > > Wolfgang, can you please revert this patch ? It should get the PPCs building > again, but I feel like it's more like hiding errors. As a temporary solution > (until I come up with something better), this shoul

Re: [U-Boot] [PATCH 1/7 V2] GCC4.6: Convert various empty macros to inline functions

2011-10-03 Thread Marek Vasut
On Monday, October 03, 2011 08:36:58 PM Wolfgang Denk wrote: > Dear Marek Vasut, > > In message <201110032032.25013.marek.va...@gmail.com> you wrote: > > Wolfgang, can you please revert this patch ? It should get the PPCs > > building again, but I feel like it's more like hiding errors. As a > > t

[U-Boot] Master branch broken for omap4_panda (SPL_BUILD)

2011-10-03 Thread Aguirre, Sergio
Hi all, I'm trying to build this commit: http://git.denx.de/?p=u-boot.git;a=commit;h=7b8ffea2ac44097ed1c99ba70b8c6a4cf12ba0b4 with: make omap4_panda_config make But it fails for spl build, while trying to link libfat.o with malloc()/free() functions. Git-bisect throws this commit to blame: h

Re: [U-Boot] [PATCH v3 19/21] Use uintptr_t for 32/64-bit compatibility

2011-10-03 Thread Mike Frysinger
On Monday, September 26, 2011 20:10:53 Simon Glass wrote: > --- a/common/cmd_mem.c > +++ b/common/cmd_mem.c > > printf ("\nMem error @ 0x%08X: " > "found %08lX, expected %08lX\n", > - (uint)addr,

[U-Boot] [PATCH 4/4] powerpc/mpc8536ds: Add USB support for MPC8536DS

2011-10-03 Thread York Sun
From: Fanzc Add EHCI controller and USB command definition. Signed-off-by: Xie Xiaobo --- include/configs/MPC8536DS.h | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/include/configs/MPC8536DS.h b/include/configs/MPC8536DS.h index e892cc1..a98fd19 100644

[U-Boot] [PATCH 1/4] powerpc/mpc8536ds: Add eSPI support for MPC8536DS

2011-10-03 Thread York Sun
From: Xie Xiaobo 1.The SD_DATA[4:7] signals are shared with the SPI chip selects on 8536DS, so don't set MPC85xx_PMUXCR_SD_DATA that config eSDHC data bus-width to 4-bit and enable SPI signals. 2.Add eSPI controller and SPI-FLASH definition. Signed-off-by: Xie Xiaobo --- arch/powerpc/inclu

[U-Boot] [PATCH 3/4] fsl_sata: Fix compile error when CONFIG_LBA48 is not defined

2011-10-03 Thread York Sun
From: Tang Yuantian If CONFIG_LBA48 is not defined, the element lba48 of struct sata_dev_desc is not avaible, and can't be used. Signed-off-by: Tang Yuantian --- drivers/block/fsl_sata.c | 15 ++- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/drivers/block/fsl_s

[U-Boot] [PATCH 2/4] powerpc/mpc8536ds: Invert SDHC_WP pin polarity

2011-10-03 Thread York Sun
From: Xie Xiaobo MPC8536 Rev 1.0 silicon have NMG_eSDHC118 erratum, so that the SDHC write protected pin polarity does not follow the SD card standard in MPC8536 Rev 1.0 silicon. The MPC8536DS board invert the SDHC_WP pin as a workaround. However, This silicon erratum has been fixed in Rev 1.1, S

Re: [U-Boot] [PATCH v3 05/21] sandbox: Add cpu files

2011-10-03 Thread Mike Frysinger
On Monday, October 03, 2011 02:10:25 Mike Frysinger wrote: > On Monday, September 26, 2011 20:10:39 Simon Glass wrote: > > --- /dev/null > > +++ b/arch/sandbox/cpu/cpu.c > > > > +int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) > > +{ > > + /* > > +* This is considered

Re: [U-Boot] [PATCH v3 13/21] sandbox: Add OS dependent layer

2011-10-03 Thread Mike Frysinger
On Monday, September 26, 2011 20:10:47 Simon Glass wrote: > --- /dev/null > +++ b/include/os.h > +/** > + * Access to the OS exit() system call > + * > + * This exits with an EXIT_SUCCESS error code > + */ > +void os_exit(void); any reason for not allowing people to pass the actual error code ? w

Re: [U-Boot] [PATCH v3 21/21] sandbox: Makefile changes to build sandbox architecture

2011-10-03 Thread Mike Frysinger
On Monday, September 26, 2011 20:10:55 Simon Glass wrote: > --- a/Makefile > +++ b/Makefile > > +ifneq ($(CPU),sandbox) > OBJS = $(CPUDIR)/start.o > +endif if you moved arch/sandbox/common/main.c to arch/sandbox/cpu/start.c, you wouldn't need this. and logically, it seems like a good place for

Re: [U-Boot] [PATCH v3 14/21] sandbox: Add board_init()

2011-10-03 Thread Mike Frysinger
On Monday, September 26, 2011 20:10:48 Simon Glass wrote: > Create a basic empty board_init() to get us running. why not just drop this from your sandbox core init ? this isn't standardized across arches, so if you don't need it, i would scrub it. -mike signature.asc Description: This is a dig

Re: [U-Boot] [PATCH v3 12/21] sandbox: Force command sections to be 4-byte aligned

2011-10-03 Thread Mike Frysinger
On Monday, September 26, 2011 20:10:46 Simon Glass wrote: > By default sections are 16-byte aligned on some architectures, but the > command name structure (struct cmd_tbl_s) does not have padding to > 16 bytes. This change reduces the alignment to 4-bytes so that the command > table can be accesse

Re: [U-Boot] [PATCH v3 11/21] sandbox: Disable standalone/API support

2011-10-03 Thread Mike Frysinger
On Monday, September 26, 2011 20:10:45 Simon Glass wrote: > This is not useful on the sandbox architecture since we can simply link all > our code with U-Boot. Also, loading native code doesn't make a lot of > sense. the standalone code would be useful tests i think ... after all, you're given an

Re: [U-Boot] [PATCH v3 16/21] sandbox: Add serial uart

2011-10-03 Thread Mike Frysinger
On Monday, September 26, 2011 20:10:50 Simon Glass wrote: > +int serial_init(void) > +{ > + return 0; > +} this probably should set the tty to raw input with termios. if you're not familiar with the termios API, just lemme know, and i can send you a chunk of code to do what you need. > +vo

Re: [U-Boot] [PATCH v3 17/21] sandbox: Add basic config file

2011-10-03 Thread Mike Frysinger
On Monday, September 26, 2011 20:10:51 Simon Glass wrote: > --- /dev/null > +++ b/include/configs/sandbox.h needs ifdef protection against multiple inclusion -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing l

Sum payout of �1,350,000.00 GBP.

2011-10-03 Thread Your Email I.D Just Won
Your Email I.D have just Won a Sum payout of £1,350,000.00 GBP. You are to contact Mrs.Monica Dickson for claim via email for more information. Contact Email: claimsagnt_monica2...@bitscn.net Regards, Lottery Board. ___ U-Boot mailing list U-Boot@list

[U-Boot] [PATCH] powerpc/mpc8536ds: Save the env variables to SDcard and SPI flash

2011-10-03 Thread York Sun
From: Xie Xiaobo MPC8536DS offer booting from SDcard or SPI flash. This patch defined that u-boot can save the environment variables on SDcard or SPI flash when booting from the related device. The Env parameter region and linux kernel region have overlap in SPI-Flash, So change the Env param sav

Re: [U-Boot] U-Boot: using nand write to flash an ubi image, ubi part fails

2011-10-03 Thread Scott Wood
On 09/29/2011 10:44 PM, Lars Michael wrote: > --- On Thu, 29/9/11, Matthew L. Creech wrote: >> 2. Use the "ubinize" tool to create an image suitable for >> writing >> directly to NAND. This takes a UBIFS image and >> "wraps" it to turn it >> into a UBI image, which you can then use with "nand >>

Re: [U-Boot] The command "nand write.yaffs" is not working correctly

2011-10-03 Thread Scott Wood
On 09/30/2011 04:10 AM, Jin Zhengxiong-R64188 wrote: > I once met the similar issue with 2011.03 base and fixed it with following > patch, But > I didn't do a detail checking for that, FYI... > > @@ -499,6 +499,7 @@ int nand_write_skip_bad(nand_info_t *nand, loff_t offset, > size_t *length, >

[U-Boot] [PATCH 1/3] PPC: Fix fsl_upm.c by renaming nand handling functions

2011-10-03 Thread Marek Vasut
This avoids colision with nand subsystem's functions. Signed-off-by: Marek Vasut Cc: Scott Wood --- drivers/mtd/nand/fsl_upm.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/mtd/nand/fsl_upm.c b/drivers/mtd/nand/fsl_upm.c index c33e278..31c174b 1

Re: [U-Boot] [PATCH 1/7 V2] GCC4.6: Convert various empty macros to inline functions

2011-10-03 Thread Marek Vasut
On Monday, October 03, 2011 08:42:59 PM Marek Vasut wrote: > On Monday, October 03, 2011 08:36:58 PM Wolfgang Denk wrote: > > Dear Marek Vasut, > > > > In message <201110032032.25013.marek.va...@gmail.com> you wrote: > > > Wolfgang, can you please revert this patch ? It should get the PPCs > > > b

Re: [U-Boot] [PATCH 2/3] cmd_sf: Init "skipped" to avoid GCC warning

2011-10-03 Thread Mike Frysinger
yeah, Kumar posted a (more complete) fix already -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 2/3] cmd_sf: Init "skipped" to avoid GCC warning

2011-10-03 Thread Marek Vasut
Signed-off-by: Marek Vasut Cc: Mike Frysinger --- common/cmd_sf.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/cmd_sf.c b/common/cmd_sf.c index c8c547a..73006c5 100644 --- a/common/cmd_sf.c +++ b/common/cmd_sf.c @@ -161,7 +161,7 @@ static int spi_flash_update(

[U-Boot] [PATCH 3/3] PPC: Fix socrates NAND problem

2011-10-03 Thread Marek Vasut
nand.c:36: error: static declaration of 'nand_read_buf' follows non-static declaration /home/marex/u-boot/include/nand.h:139: error: previous declaration of 'nand_read_buf' was here Signed-off-by: Marek Vasut Cc: Scott Wood --- board/socrates/nand.c | 70

Re: [U-Boot] [PATCH 2/2] Tegra2: Add support for Toradex Colibri T20 board

2011-10-03 Thread Simon Glass
Hi Marek, On Mon, Oct 3, 2011 at 3:35 AM, Marek Vasut wrote: > On Monday, October 03, 2011 05:52:17 AM Simon Glass wrote: > > Hi Marek, > > Hi Simon, > > [...] > > > > +static void uart_init(void) > > > +{ > > > + struct clk_rst_ctlr *clkrst = (struct clk_rst_ctlr > > > *)NV_PA_CLK_RST_BAS

Re: [U-Boot] [PATCH v3 13/21] sandbox: Add OS dependent layer

2011-10-03 Thread Simon Glass
Hi Mike, On Mon, Oct 3, 2011 at 12:27 PM, Mike Frysinger wrote: > On Monday, September 26, 2011 20:10:47 Simon Glass wrote: >> --- /dev/null >> +++ b/include/os.h >> +/** >> + * Access to the OS exit() system call >> + * >> + * This exits with an EXIT_SUCCESS error code >> + */ >> +void os_exit(v

Re: [U-Boot] [PATCH 1/3] PPC: Fix fsl_upm.c by renaming nand handling functions

2011-10-03 Thread Scott Wood
On Tue, Oct 04, 2011 at 12:56:07AM +0200, Marek Vasut wrote: > This avoids colision with nand subsystem's functions. > > Signed-off-by: Marek Vasut > Cc: Scott Wood > --- > drivers/mtd/nand/fsl_upm.c | 16 > 1 files changed, 8 insertions(+), 8 deletions(-) > Applied to u-bo

Re: [U-Boot] [PATCH 3/3] PPC: Fix socrates NAND problem

2011-10-03 Thread Scott Wood
On Tue, Oct 04, 2011 at 12:56:09AM +0200, Marek Vasut wrote: > nand.c:36: error: static declaration of 'nand_read_buf' follows non-static > declaration > /home/marex/u-boot/include/nand.h:139: error: previous declaration of > 'nand_read_buf' was here > > Signed-off-by: Marek Vasut > Cc: Scott W

Re: [U-Boot] [PATCH v3 13/21] sandbox: Add OS dependent layer

2011-10-03 Thread Simon Glass
On Mon, Oct 3, 2011 at 4:44 PM, Simon Glass wrote: > Hi Mike, > > On Mon, Oct 3, 2011 at 12:27 PM, Mike Frysinger wrote: > > On Monday, September 26, 2011 20:10:47 Simon Glass wrote: > >> --- /dev/null > >> +++ b/include/os.h > >> +/** > >> + * Access to the OS exit() system call > >> + * > >> +

Re: [U-Boot] [PATCH 2/3] nand: Add common functions to nand.h

2011-10-03 Thread Scott Wood
On 09/29/2011 02:44 AM, Simon Schwarz wrote: > Functions often used in SPL are now part of nand.h. > > Signed-off-by: Simon Schwarz > --- > include/nand.h | 10 +++--- > 1 files changed, 7 insertions(+), 3 deletions(-) > > diff --git a/include/nand.h b/include/nand.h > index b4140794..980

[U-Boot] [PATCH 0/5] Add cache line alignment support

2011-10-03 Thread Anton Staaf
The cache line alignment issue has gone around a couple of times now. This patch set implements all of the details that we have discussed about the implementation of ALLOC_CACHE_ALIGN_BUFFER other than the switch to the Linux style L1_CACHE_BYTES, L1_CACHE_SHIFT, and ARCH_DMA_MINALIGN defines ment

[U-Boot] [PATCH 1/5] cache: add ALLOC_CACHE_ALIGN_BUFFER macro

2011-10-03 Thread Anton Staaf
This macro is used to allocate cache line size aligned stack buffers for use with DMA hardware. Signed-off-by: Anton Staaf Cc: Lukasz Majewski Cc: Kyungmin Park Cc: Mike Frysinger Cc: Aneesh V Cc: Albert ARIBAUD Change-Id: I2c2b3b9bf6a3a5fd1f2e45d65373026bdd76b0a8 --- doc/README.arm-caches

  1   2   3   >