Re: [U-Boot] [PATCH 03/13] board/evb64260/i2c.c: Fix GCC 4.6 build warnings

2011-11-09 Thread Heiko Schocher
Hello Wolfgang, Wolfgang Denk wrote: > Fix: > i2c.c: In function 'i2c_init': > i2c.c:23:15: warning: variable 'actualFreq' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Wolfgang Denk > Cc: Eran Man > --- > board/evb64260/i2c.c |3 +-- > 1 files changed, 1 insertions(+),

Re: [U-Boot] [PATCH 02/13] board/evb64260/i2c.c: Coding Style cleanup

2011-11-09 Thread Heiko Schocher
Hello Wolfgang, Wolfgang Denk wrote: > Make checkpatch-clean > > Signed-off-by: Wolfgang Denk > Cc: Eran Man > --- > board/evb64260/i2c.c | 48 ++-- > 1 files changed, 22 insertions(+), 26 deletions(-) > > diff --git a/board/evb64260/i2c.c b/board

Re: [U-Boot] [PATCH 2/2] ARM:AM33XX:Added cpsw support for AM335x EVM

2011-11-09 Thread Kumar Nath, Chandan
> -Original Message- > From: Tom Rini [mailto:tom.r...@gmail.com] > Sent: Friday, October 21, 2011 9:15 PM > To: Kumar Nath, Chandan > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH 2/2] ARM:AM33XX:Added cpsw support for > AM335x EVM > > On Fri, Oct 21, 2011 at 12:02 AM, Chandan

Re: [U-Boot] [PATCH v3 09/12] OMAP3: Add SPL support to Beagleboard

2011-11-09 Thread Heiko Schocher
Hello Tom, Tom Rini wrote: > This introduces 200MHz Micron parts timing information based on x-loader > to . The memory init logic is also based on what > x-loader does in these cases. Note that while previously u-boot would > be flashed in with SW ECC in this case it now must be flashed with HW

Re: [U-Boot] [PATCH v3 08/12] OMAP3 SPL: Add identify_nand_chip function

2011-11-09 Thread Heiko Schocher
Hello Tom, Tom Rini wrote: > A number of boards are populated with a PoP chip for both DDR and NAND > memory. Other boards may simply use this as an easy way to identify > board revs. So we provide a function that can be called early to reset > the NAND chip and return the result of NAND_CMD_REA

Re: [U-Boot] [PATCH v3 06/12] OMAP3: Suffix all Micron memory timing parts with their speed

2011-11-09 Thread Heiko Schocher
Hello Tom, Tom Rini wrote: > Signed-off-by: Tom Rini > --- > arch/arm/include/asm/arch-omap3/mem.h | 50 > + > 1 files changed, 26 insertions(+), 24 deletions(-) > > diff --git a/arch/arm/include/asm/arch-omap3/mem.h > b/arch/arm/include/asm/arch-omap3/mem.h

Re: [U-Boot] nds32: toolchains for building ?

2011-11-09 Thread Macpaul Lin
Hi Mike, 2011/11/6 Mike Frysinger : > thanks.  i think you should still fix that linker script issue i pointed out > as > it seems like the linker is putting stuff after the _end/.bss in your u-boot > image ... not that i can double check as i can't link the final ELF and > analyze > it :). > -

Re: [U-Boot] [PATCH v3 05/12] OMAP3: Add optimal SDRC autorefresh control values

2011-11-09 Thread Heiko Schocher
Hello Tom, Tom Rini wrote: > This adds the optimal SDRC autorefresh control register values for > 100Mhz, 133MHz, 165MHz and 200MHz clocks. We switch to using this > to provide the default 165MHz value. > > Signed-off-by: Tom Rini > --- > arch/arm/include/asm/arch-omap3/mem.h | 12 +++---

[U-Boot] [PATCH 2/2] arm, davinci: da850/dm365 lowlevel cleanup

2011-11-09 Thread Heiko Schocher
- Cleanup a lot of fix values, and use defines instead. - Also make some values configurable through the board config file. - delete the NAND_SPL code for da850, as it is not used actually - remove the asm code Signed-off-by: Heiko Schocher Cc: Wolfgang Denk Cc: Sandeep Paulraj Cc: Albert ARI

[U-Boot] [PATCH 0/2] arm, davinci: da850/dm365 lowlevel cleanup

2011-11-09 Thread Heiko Schocher
This patchset is a result of discussion, see: http://lists.denx.de/pipermail/u-boot/2011-November/109141.html - Cleanup a lot of fix values, and use defines instead - Also make some values configurable through the board config file. - delete the NAND_SPL code for da850 lowlevel, as it is not u

[U-Boot] [PATCH 1/2] arm, arm926ejs: always do cpu critical inits

2011-11-09 Thread Heiko Schocher
always do the cpu critical inits in cpu_init_crit, and only jump to lowlevel_init, if CONFIG_SKIP_LOWLEVEL_INIT is not defined. Signed-off-by: Heiko Schocher Cc: Albert ARIBAUD Cc: Wolfgang Denk Cc: Sandeep Paulraj Cc: Tom Rini Cc: Christian Riesch --- arch/arm/cpu/arm926ejs/start.S |6

[U-Boot] [PATCH v4] arm, davinci_emac: fix driver bug if more then 3 PHYs are detected

2011-11-09 Thread Heiko Schocher
since commits: davinci: emac: add support for more than 1 PHYs 062fe7d332c28ede25626f448681e43d76bb312e davinci: remove obsolete macro CONFIG_EMAC_MDIO_PHY_NUM fb1d6332b5430b90a8fa8ebab709f33a60e9f816 I get following warning on the enbw_cmc board: Err: serial Net:5 ETH PHY detected miiphy_

Re: [U-Boot] [PATCH 1/2] TI: netdev: add driver for cpsw ethernet device

2011-11-09 Thread Kumar Nath, Chandan
> -Original Message- > From: Tom Rini [mailto:tom.r...@gmail.com] > Sent: Friday, October 21, 2011 9:09 PM > To: Kumar Nath, Chandan > Cc: u-boot@lists.denx.de; Chemparathy, Cyril > Subject: Re: [U-Boot] [PATCH 1/2] TI: netdev: add driver for cpsw > ethernet device > > On Fri, Oct 21, 20

Re: [U-Boot] [PATCH 11/13] drivers/video/ct69000.c: Fix GC 4.6 build warning

2011-11-09 Thread Wolfgang Denk
Dear Mike Frysinger, In message <20091544.17111.vap...@gentoo.org> you wrote: > > > #undef VGA_DEBUG > > #undef VGA_DUMP_REG > > #ifdef VGA_DEBUG > > -#definePRINTF(fmt,args...) printf (fmt ,##args) > > +#undef _DEBUG > > +#define _DEBUG 1 > > #else > > -#define PRINTF(fmt,args...

Re: [U-Boot] ppc -Os and _restgpr_##_x errors

2011-11-09 Thread Wolfgang Denk
Dear Mike Frysinger, In message <20092310.56181.vap...@gentoo.org> you wrote: > > am i the only one seeing errors like: > board/esd/cpciiser4/libcpciiser4.o: In function `board_early_init_f': > board/esd/cpciiser4/cpciiser4.c:139: undefined reference to `_restgpr_26_x' > > i'm using a gcc-4.5.

Re: [U-Boot] [RFC] x86: Do no use reparm as it break libgcc linkage

2011-11-09 Thread Graeme Russ
Hi Mike, On Thu, Nov 10, 2011 at 3:22 PM, Graeme Russ wrote: > Hi Mike, > > On Thu, Nov 10, 2011 at 3:13 PM, Mike Frysinger wrote: >> On Wednesday 09 November 2011 16:42:51 Graeme Russ wrote: >>> On Thu, Nov 10, 2011 at 4:12 AM, Mike Frysinger wrote: >>> > On Wednesday 09 November 2011 05:32:59

Re: [U-Boot] [PATCH v3] arm, davinci_emac: fix driver bug if more then 3 PHYs are detected

2011-11-09 Thread Tom Rini
On Wed, Nov 9, 2011 at 9:43 PM, Heiko Schocher wrote: > Hello Tom, > > Tom Rini wrote: >> On Wed, Nov 9, 2011 at 9:50 AM, Heiko Schocher wrote: >>> since commits: >>> davinci: emac: add support for more than 1 PHYs >>> 062fe7d332c28ede25626f448681e43d76bb312e >>> >>> davinci: remove obsolete macr

Re: [U-Boot] [PATCH v3] arm, davinci_emac: fix driver bug if more then 3 PHYs are detected

2011-11-09 Thread Heiko Schocher
Hello Tom, Tom Rini wrote: > On Wed, Nov 9, 2011 at 9:50 AM, Heiko Schocher wrote: >> since commits: >> davinci: emac: add support for more than 1 PHYs >> 062fe7d332c28ede25626f448681e43d76bb312e >> >> davinci: remove obsolete macro CONFIG_EMAC_MDIO_PHY_NUM >> fb1d6332b5430b90a8fa8ebab709f33a60e9

Re: [U-Boot] [RFC] x86: Do no use reparm as it break libgcc linkage

2011-11-09 Thread Graeme Russ
Hi Mike, On Thu, Nov 10, 2011 at 3:13 PM, Mike Frysinger wrote: > On Wednesday 09 November 2011 16:42:51 Graeme Russ wrote: >> On Thu, Nov 10, 2011 at 4:12 AM, Mike Frysinger wrote: >> > On Wednesday 09 November 2011 05:32:59 Graeme Russ wrote: >> >> --- a/arch/x86/config.mk >> >> +++ b/arch/x86/

Re: [U-Boot] [RFC] x86: Do no use reparm as it break libgcc linkage

2011-11-09 Thread Mike Frysinger
On Wednesday 09 November 2011 16:42:51 Graeme Russ wrote: > On Thu, Nov 10, 2011 at 4:12 AM, Mike Frysinger wrote: > > On Wednesday 09 November 2011 05:32:59 Graeme Russ wrote: > >> --- a/arch/x86/config.mk > >> +++ b/arch/x86/config.mk > >> > >> -PLATFORM_CPPFLAGS += -mregparm=3 > >> -PLATFORM_CP

[U-Boot] ppc -Os and _restgpr_##_x errors

2011-11-09 Thread Mike Frysinger
am i the only one seeing errors like: board/esd/cpciiser4/libcpciiser4.o: In function `board_early_init_f': board/esd/cpciiser4/cpciiser4.c:139: undefined reference to `_restgpr_26_x' i'm using a gcc-4.5.x toolchain here. should we import crtsavres.S from Linux to fix this ? -mike signature.as

Re: [U-Boot] [PATCH 2/2] adp-ag101p: add product into MAINTAINERS list

2011-11-09 Thread wind
dear all, i am from nanjing china, the email is so much,that effects my jobs and life, so i want to just some is important,and that my english is so poor so who can tell me how to cancel this mail list or just receive important email At 2011-11-10 10:51:55,"Macpaul Lin" wrote: >Hi Macpaul

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

2011-11-09 Thread Macpaul Lin
Dear Wolfgang, Could you please pull these 5 patches to your tree. Thanks, Macpaul The following changes since commit 5721385b187b3154c7768e6c182501022f4e2e45: Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx (2011-11-08 07:44:52 +0100) are available in the git repository at: gi

Re: [U-Boot] [PATCH 2/2] adp-ag101p: add product into MAINTAINERS list

2011-11-09 Thread Macpaul Lin
Hi Macpaul, 2011/11/10 Macpaul Lin : > Add ADP-AG101P into MAINTAINERS list. > Add ADP-AG101P into boards.cfg. > > Signed-off-by: Macpaul Lin Applied to u-boot-nds32/master. Thanks. Best regards, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.d

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

2011-11-09 Thread Macpaul Lin
Dear Wolfgang, 2011/11/9 Macpaul Lin : > Dear Wolfgang, > > Could you please pull these 3 patches to your tree. > > Thanks, > Macpaul > > Sorry, please ignore this pull request. I'll send a new pull request later. Thank! -- Best regards, Macpaul Lin _

Re: [U-Boot] [PATCH] usb: increase delay after port reset

2011-11-09 Thread Mike Frysinger
On Wednesday 09 November 2011 19:03:58 Ilya Yanok wrote: > In our setup (OMAP3 EHCI host, keyboard, mouse mass storage and BT > dongle devices connected via several hubs) keyboard fails to initialize > during the bus scan (stalled endpoint while get_descriptor/64) and after > that keyboard is unusa

[U-Boot] โปรโมชั่นใหม่ ได้เงินใช้ง่ายๆ แถมมีสุขภาพร่างกายแข็งแรง

2011-11-09 Thread MoNsTeR
โปรโมชั่นใหม่ ได้เงินใช้ง่ายๆ แถมมีสุขภาพร่างกายแข็งแรง !! สนใจรายละเอียด คลิก !! http://monster.siam2web.com/ ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] usb: increase delay after port reset

2011-11-09 Thread Ilya Yanok
In our setup (OMAP3 EHCI host, keyboard, mouse mass storage and BT dongle devices connected via several hubs) keyboard fails to initialize during the bus scan (stalled endpoint while get_descriptor/64) and after that keyboard is unusable (even in Linux) until power off/on. Increasing the delay aft

Re: [U-Boot] [PATCH v2] [driver][cfb] Make the software cursor non-destructive

2011-11-09 Thread Mike Frysinger
i don't know the video code all that well, but i don't see anything wrong with this patch ... 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

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

2011-11-09 Thread s-paulraj
The following changes since commit 41ea37a654f0e0cab0a19f7b96beae8995618cf4: David Müller (ELSOFT AG) (1): ARM: remove superfluous setting of arch_number in board specific code. are available in the git repository at: git://git.denx.de/u-boot-ti.git master Alexander Holler (1):

Re: [U-Boot] [RFC] x86: Do no use reparm as it break libgcc linkage

2011-11-09 Thread Graeme Russ
Hi Mike, On Thu, Nov 10, 2011 at 4:12 AM, Mike Frysinger wrote: > On Wednesday 09 November 2011 05:32:59 Graeme Russ wrote: >> --- a/arch/x86/config.mk >> +++ b/arch/x86/config.mk >> >> -PLATFORM_CPPFLAGS += -mregparm=3 >> -PLATFORM_CPPFLAGS += -fomit-frame-pointer > > this sounds like you're thr

Re: [U-Boot] [PATCH 13/13] board/esd/cpci750/sdram_init.c: Fix GCC 4.6 build warnings

2011-11-09 Thread reinhard.a...@t-online.de
Hello, delete it... Reinhard -Original-Nachricht- Von: Mike Frysinger An: u-boot@lists.denx.de Cc: Reinhard Arlt Betreff: Re: [U-Boot] [PATCH 13/13] board/esd/cpci750/sdram_init.c: Fix GCC 4.6 build warnings Datum: Wed, 09 Nov 2011 21:45:06 +0100 On Wednesday 09 November 2011 14:29:0

Re: [U-Boot] [RFC PATCH] arm, davinci: Remove board specific code from da850_lowlevel.c

2011-11-09 Thread Paulraj, Sandeep
> > Why? They are in sync with the doc ... > > > code for pinmuxing in board/davinci/common/davinci_pinmux.c so it is > > duplicate code. Couldn't we move this davinci_pinmux.c to > > arch/arm/cpu/arm926ejs/davinci and use it instead? What do you think? > > Hmm.. if you use the http://www-s.ti.c

Re: [U-Boot] [PATCH v2] x86: Import the glibc memset implementation

2011-11-09 Thread Mike Frysinger
On Wednesday 09 November 2011 14:12:15 Scott Wood wrote: > Last I tried, I couldn't get it to work even with USE_PRIVATE_LIBGCC, > because the compiler was generating calls to things that U-Boot didn't > implement. last i tried, i saw failures only for boards using yaffs as apparently that code t

Re: [U-Boot] [PATCH 13/13] board/esd/cpci750/sdram_init.c: Fix GCC 4.6 build warnings

2011-11-09 Thread Mike Frysinger
On Wednesday 09 November 2011 14:29:06 Wolfgang Denk wrote: > --- a/board/esd/cpci750/sdram_init.c > +++ b/board/esd/cpci750/sdram_init.c > > static int check_dimm (uchar slot, AUX_MEM_DIMM_INFO * dimmInfo) > { > +#if 0 > unsigned long spd_checksum; > - > +#endif forgot to just delete ? -m

Re: [U-Boot] [PATCH 11/13] drivers/video/ct69000.c: Fix GC 4.6 build warning

2011-11-09 Thread Mike Frysinger
On Wednesday 09 November 2011 14:29:04 Wolfgang Denk wrote: > Convert custom debug code to use standard debug() facility. > This also fixes these build warning: > ct69000.c: In function 'FindAndSetPllParamIntoXrRegs': > ct69000.c:706:28: warning: variable 'new_pixclock' set but not used > [-Wunused

Re: [U-Boot] [PATCH] BeagleBoard: config: Switch to ttyO2

2011-11-09 Thread Tom Rini
On Wed, Nov 9, 2011 at 1:35 PM, Premi, Sanjeev wrote: >> -Original Message- >> From: u-boot-boun...@lists.denx.de >> [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Rini, Tom >> Sent: Thursday, November 10, 2011 1:01 AM >> To: u-boot@lists.denx.de >> Cc: Dirk Behme >> Subject: [U-Boot]

Re: [U-Boot] [PATCH] BeagleBoard: config: Switch to ttyO2

2011-11-09 Thread Premi, Sanjeev
> -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Rini, Tom > Sent: Thursday, November 10, 2011 1:01 AM > To: u-boot@lists.denx.de > Cc: Dirk Behme > Subject: [U-Boot] [PATCH] BeagleBoard: config: Switch to ttyO2 > > This is nee

[U-Boot] [PATCH v2 1/4] Tegra2: mmc: define register field values in tegra2_mmc.h

2011-11-09 Thread Anton Staaf
This moves the magic numbers sprinkled about the MMC driver to a single location in the header file and gives them meaningful names. Signed-off-by: Anton Staaf Cc: Andy Fleming Cc: Tom Warren Cc: Stephen Warren Cc: Albert Aribaud --- drivers/mmc/tegra2_mmc.c | 126 --

[U-Boot] [PATCH v2 2/4] Tegra2: mmc: Support DMA restarts at buffer boundaries

2011-11-09 Thread Anton Staaf
Currently if a DMA buffer straddles a buffer alignment boundary (512KiB) then the DMA engine will pause and generate a DMA interrupt. Since the DMA interrupt is not enabled it will hang the MMC driver. This patch adds support for restarting the DMA transfer. The SYSTEM_ADDRESS register contains

[U-Boot] [PATCH v2 3/4] Tegra2: mmc: Add data transfer completion timeout

2011-11-09 Thread Anton Staaf
Currently when no expected completion condition occures in the mmc_send_cmd while loop that is waiting for a data transfer to complete the MMC driver just hangs. This patch adds an arbitrary 2 second timeout. If nothing we recognize occures within 2 seconds some diagnostic information is printed

[U-Boot] [PATCH v2 4/4] Tegra2: mmc: Factor out mmc_wait_inhibit functionality

2011-11-09 Thread Anton Staaf
This is a well encapsulated section of mmc_send_cmd, by moving it to it's own function it increases the readability of mmc_send_cmd. Signed-off-by: Anton Staaf Cc: Andy Fleming Cc: Tom Warren Cc: Stephen Warren Cc: Albert Aribaud --- drivers/mmc/tegra2_mmc.c | 42 +-

[U-Boot] [PATCH v2 0/4] Tegra2: mmc DMA related fixes

2011-11-09 Thread Anton Staaf
I have removed the bounce buffer implmenetation from this patch set as it feels like a separate task now. This patch set is just magic number cleanup , a bit of refactoring, and bug fixes in the existing Tegra2 MMC driver. Changes in v2: - Added initial patch to define Tegra MMC register field va

[U-Boot] [PATCH] OMAP3: Change omap3_evm maintainer

2011-11-09 Thread Tom Rini
Cc: Albert ARIBAUD Cc: Sandeep Paulraj Signed-off-by: Tom Rini --- MAINTAINERS |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 030fe4a..6b5ca89 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -775,10 +775,6 @@ Dave Peverley

[U-Boot] [PATCH 0/1] OMAP3: Change omap3_evm maintainer

2011-11-09 Thread Tom Rini
Hey all, The omap3_evm board doesn't have an active maintainer currently. The listed maintainer hasn't made a commit since 2009 and is no longer employed by TI. I checked with Sanjeev Premi who has also been active with this board recently and he wasn't interested, so I'm offering myself up. --

[U-Boot] [PATCH] BeagleBoard: config: Switch to ttyO2

2011-11-09 Thread Tom Rini
This is needed to support the latest kernel versions. Cc: Albert ARIBAUD Cc: Sandeep Paulraj Cc: Dirk Behme Signed-off-by: Tom Rini --- include/configs/omap3_beagle.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/omap3_beagle.h b/include/configs/oma

[U-Boot] [PATCH 12/13] board/esd/cpci750/cpci750.c: Fix error handling

2011-11-09 Thread Wolfgang Denk
ThE code recorded error conditions but did not pass these on to the higher level caller. Fixing this fixes also this build warning: cpci750.c: In function 'do_loadpci': cpci750.c:569:6: warning: variable 'status' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk Cc: Reinh

[U-Boot] [PATCH 11/13] drivers/video/ct69000.c: Fix GC 4.6 build warning

2011-11-09 Thread Wolfgang Denk
Convert custom debug code to use standard debug() facility. This also fixes these build warning: ct69000.c: In function 'FindAndSetPllParamIntoXrRegs': ct69000.c:706:28: warning: variable 'new_pixclock' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk --- drivers/video/c

[U-Boot] [PATCH 09/13] common/cmd_fdc.c: Fix GCC 4.6 build warnings

2011-11-09 Thread Wolfgang Denk
Fix: cmd_fdc.c: In function 'fdc_read_data': cmd_fdc.c:435:6: warning: variable 'flags' set but not used [-Wunused-but-set-variable] cmd_fdc.c:432:16: warning: variable 'pcn' set but not used [-Wunused-but-set-variable] cmd_fdc.c:431:20: warning: variable 'lastblk' set but not used [-Wunused-but-se

[U-Boot] [PATCH 13/13] board/esd/cpci750/sdram_init.c: Fix GCC 4.6 build warnings

2011-11-09 Thread Wolfgang Denk
Fix: sdram_init.c: In function 'check_dimm': sdram_init.c:267:50: warning: variable 'trrd_clocks' set but not used [-Wunused-but-set-variable] sdram_init.c:267:37: warning: variable 'tras_clocks' set but not used [-Wunused-but-set-variable] sdram_init.c:267:24: warning: variable 'trcd_clocks' set b

[U-Boot] [PATCH 03/13] board/evb64260/i2c.c: Fix GCC 4.6 build warnings

2011-11-09 Thread Wolfgang Denk
Fix: i2c.c: In function 'i2c_init': i2c.c:23:15: warning: variable 'actualFreq' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk Cc: Eran Man --- board/evb64260/i2c.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/board/evb64260/i2c.c b/board

[U-Boot] [PATCH 06/13] board/evb64260/sdram_init.c: Fix GCC 4.6 build warnings

2011-11-09 Thread Wolfgang Denk
Fix: sdram_init.c: In function 'setup_sdram_common': sdram_init.c:333:49: warning: variable 'ecc' set but not used [-Wunused-but-set-variable] sdram_init.c: In function 'setup_sdram': sdram_init.c:410:13: warning: variable 'check' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgan

[U-Boot] [PATCH 08/13] board/evb64260/zuma_pbb_mbox.c: Fix GCC 4.6 build warnings

2011-11-09 Thread Wolfgang Denk
Fix: zuma_pbb_mbox.c: In function 'zuma_mbox_dump': zuma_pbb_mbox.c:115:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] zuma_pbb_mbox.c:117:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Signed-o

[U-Boot] [PATCH 02/13] board/evb64260/i2c.c: Coding Style cleanup

2011-11-09 Thread Wolfgang Denk
Make checkpatch-clean Signed-off-by: Wolfgang Denk Cc: Eran Man --- board/evb64260/i2c.c | 48 ++-- 1 files changed, 22 insertions(+), 26 deletions(-) diff --git a/board/evb64260/i2c.c b/board/evb64260/i2c.c index 88d0dac..573f31f 100644 --- a/boar

[U-Boot] [PATCH 05/13] board/evb64260/eth.c: Fix GCC 4.6 build warning

2011-11-09 Thread Wolfgang Denk
Fix: eth.c: In function 'gt6426x_handle_SMI': eth.c:130:15: warning: variable 'psr' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk --- board/evb64260/eth.c | 37 +++-- 1 files changed, 19 insertions(+), 18 deletions(-) diff --git a/bo

[U-Boot] [PATCH 07/13] board/evb64260/zuma_pbb_mbox.c: CodingStyle cleanup

2011-11-09 Thread Wolfgang Denk
Make (mostly) checkpatch-clean Signed-off-by: Wolfgang Denk --- board/evb64260/zuma_pbb_mbox.c | 256 +--- 1 files changed, 132 insertions(+), 124 deletions(-) diff --git a/board/evb64260/zuma_pbb_mbox.c b/board/evb64260/zuma_pbb_mbox.c index 8e38102..3d7c97

[U-Boot] [PATCH 10/13] common/cmd_universe.c: Fix GCC 4.6 build warning

2011-11-09 Thread Wolfgang Denk
Fix: cmd_universe.c: In function 'universe_init': cmd_universe.c:49:17: warning: variable 'lastError' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk --- common/cmd_universe.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/common/cmd_univers

[U-Boot] [PATCH 04/13] board/evb64260/evb64260.c: Fix GC 4.6 build warning

2011-11-09 Thread Wolfgang Denk
Fix: evb64260.c: In function 'debug_led': evb64260.c:363:6: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk --- board/evb64260/evb64260.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/board/evb64260/evb64260.c b/boa

[U-Boot] [PATCH 01/13] drivers/block/sym53c8xx.c: Fix GCC 4.6 build warning

2011-11-09 Thread Wolfgang Denk
Fix: sym53c8xx.c: In function 'scsi_write_dsp': sym53c8xx.c:456:16: warning: variable 'val' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk --- drivers/block/sym53c8xx.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/block/sym53c8xx.c

Re: [U-Boot] [PATCH] mvgbe: remove setting of ethaddr within the driver

2011-11-09 Thread Wolfgang Denk
Dear "Michael Walle", In message you wrote: > > So was there any conclusion, now? Never touch mvgbe.c anymore? Let's remove this broken code. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-8219

Re: [U-Boot] [PATCH v2] x86: Import the glibc memset implementation

2011-11-09 Thread Scott Wood
On 11/08/2011 10:55 PM, Mike Frysinger wrote: > On Tuesday 08 November 2011 21:53:04 Graeme Russ wrote: >> Oops, I meant U-Boot implements a subset of (g)libc. I think I understand >> why - U-Boot needs specific implementations of stdio (printf() and friends) >> Because we need to implement _some_

[U-Boot] [PATCH 2/2] image: Don't detect XIP images as overlapping.

2011-11-09 Thread Stephen Warren
bootm_load_os() detects when it writes the decompressed image over the top of the compressed image. If this happens, the original image is corrupted. When the original image is a multi-component legacy image, or a (potentially multi-component) FIT image, this implies that other components may be co

[U-Boot] [PATCH 1/2] image: Implement IH_TYPE_KERNEL_ANYLOAD

2011-11-09 Thread Stephen Warren
The legacy uImage format includes an absolute load and entry-point address. When bootm operates on a kernel uImage in memory that isn't loaded at the address in the image's load address, U-Boot will copy the image to its address in the header. Some kernel images can actually be loaded and used at

[U-Boot] [PATCH 2/2] adp-ag101p: add product into MAINTAINERS list

2011-11-09 Thread Macpaul Lin
Add ADP-AG101P into MAINTAINERS list. Add ADP-AG101P into boards.cfg. Signed-off-by: Macpaul Lin --- MAINTAINERS |1 + boards.cfg |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 030fe4a..3c9dba7 100644 --- a/MAINTAINERS +++ b/MAINTAIN

[U-Boot] [PATCH 1/2] adp-ag101p: Add SoC and board support of ag101p

2011-11-09 Thread Macpaul Lin
Add softcore SoC ag101p and the board adp-ag101p support. Signed-off-by: Macpaul Lin --- arch/nds32/include/asm/mach-types.h | 14 ++ board/AndesTech/adp-ag101p/Makefile | 44 board/AndesTech/adp-ag101p/adp-ag101p.c | 89 +++ include/configs/adp-ag101p.h| 383

Re: [U-Boot] [PATCH] mvgbe: remove setting of ethaddr within the driver

2011-11-09 Thread Michael Walle
>> atm there is the mvgbe driver: >> - which has a hardcoded mac address (or if enabled, a randomized mac >> address) >>and >> - touches the environment > > oh and i've forgot to mention, that the driver is broken for boards with > > #define CONFIG_MVGBE_PORTS {0,1} > > which is the reason w

[U-Boot] TEST: Join mailing list.

2011-11-09 Thread uboot
Sorry this is a send mail test. Please ignore it. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [RFC] x86: Do no use reparm as it break libgcc linkage

2011-11-09 Thread Mike Frysinger
On Wednesday 09 November 2011 05:32:59 Graeme Russ wrote: > --- a/arch/x86/config.mk > +++ b/arch/x86/config.mk > > -PLATFORM_CPPFLAGS += -mregparm=3 > -PLATFORM_CPPFLAGS += -fomit-frame-pointer this sounds like you're throwing the baby out with the bath water. doesn't this severely affect the

[U-Boot] [PATCH v3 12/12] AM3517 CraneBoard: Add SPL support

2011-11-09 Thread Tom Rini
The only change of note is that we move from 0x80008000 to 0x8010 for CONFIG_SYS_TEXT_BASE Cc: Nagendra T S Tested-by: Koen Kooi Signed-off-by: Tom Rini --- board/ti/am3517crane/am3517crane.c |2 +- board/ti/am3517crane/config.mk | 29 -- include/configs/am3517_c

[U-Boot] [PATCH v3 11/12] AM3517: Add SPL support

2011-11-09 Thread Tom Rini
The only change of note is that we move from 0x80008000 to 0x8010 for CONFIG_SYS_TEXT_BASE Cc: Vaibhav Hiremath Signed-off-by: Tom Rini --- board/logicpd/am3517evm/am3517evm.c |2 +- board/logicpd/am3517evm/config.mk | 30 -- include/configs/am3517_evm.h| 5

[U-Boot] [PATCH v3 10/12] OMAP3: Add SPL support to omap3_evm

2011-11-09 Thread Tom Rini
Add Hynix 200MHz timing information to . We don't calculate the MCFG value here for the Micron parts as the provided one assumes a memory size which is incorrect. This also changes CONFIG_SYS_TEXT_BASE to 0x8010. Signed-off-by: Tom Rini --- arch/arm/include/asm/arch-omap3/mem.h | 23 +++

[U-Boot] [PATCH v3 09/12] OMAP3: Add SPL support to Beagleboard

2011-11-09 Thread Tom Rini
This introduces 200MHz Micron parts timing information based on x-loader to . The memory init logic is also based on what x-loader does in these cases. Note that while previously u-boot would be flashed in with SW ECC in this case it now must be flashed with HW ECC. We also change CONFIG_SYS_TEX

[U-Boot] [PATCH v3 07/12] OMAP3 SPL: Rework memory initalization and devkit8000 support

2011-11-09 Thread Tom Rini
This changes to making the board be responsible for providing the memory initialization timings in SPL and converts the devkit8000 to this framework. In SPL we try and initialize both CS0 and CS1. Cc: Frederik Kriewitz Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/omap3/sdrc.c |

[U-Boot] [PATCH v3 08/12] OMAP3 SPL: Add identify_nand_chip function

2011-11-09 Thread Tom Rini
A number of boards are populated with a PoP chip for both DDR and NAND memory. Other boards may simply use this as an easy way to identify board revs. So we provide a function that can be called early to reset the NAND chip and return the result of NAND_CMD_READID. All of this code is put into s

[U-Boot] [PATCH v3 06/12] OMAP3: Suffix all Micron memory timing parts with their speed

2011-11-09 Thread Tom Rini
Signed-off-by: Tom Rini --- arch/arm/include/asm/arch-omap3/mem.h | 50 + 1 files changed, 26 insertions(+), 24 deletions(-) diff --git a/arch/arm/include/asm/arch-omap3/mem.h b/arch/arm/include/asm/arch-omap3/mem.h index 9775b59..4d69c94 100644 --- a/arch/arm/

[U-Boot] [PATCH v3 04/12] OMAP3: Remove get_mem_type prototype

2011-11-09 Thread Tom Rini
This function doesn't exist for omap3 Signed-off-by: Tom Rini --- arch/arm/include/asm/arch-omap3/sys_proto.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/arm/include/asm/arch-omap3/sys_proto.h b/arch/arm/include/asm/arch-omap3/sys_proto.h index 995e7cb..9e64410

[U-Boot] [PATCH v3 05/12] OMAP3: Add optimal SDRC autorefresh control values

2011-11-09 Thread Tom Rini
This adds the optimal SDRC autorefresh control register values for 100Mhz, 133MHz, 165MHz and 200MHz clocks. We switch to using this to provide the default 165MHz value. Signed-off-by: Tom Rini --- arch/arm/include/asm/arch-omap3/mem.h | 12 +++- 1 files changed, 7 insertions(+), 5 de

[U-Boot] [PATCH v3 01/12] OMAP3: Update SDRC dram_init to always call make_cs1_contiguous()

2011-11-09 Thread Tom Rini
We update the comment in make_cs1_contiguous() to be a little bit more clear (it's been copy/pasted from other silicons) and then explain in dram_init() why we need to always try this. Note that in the previous behavior we were always calling this on boards that never had cs1 populated anyhow so m

[U-Boot] [PATCH v3 03/12] OMAP3: Change mem_ok to clear again after reading back

2011-11-09 Thread Tom Rini
It's possible to need to call this function on the same banks multiple times so we want to be sure that 'pos A' is cleared out again at the end. Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/omap3/mem.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/armv7/

[U-Boot] [PATCH v3 02/12] OMAP3: Add a helper function to set timings in SDRC

2011-11-09 Thread Tom Rini
Since we go through the sequence to setup the SDRC timings more than once, break this logic out into its own function and have that function call mem_ok() to make sure the memory is usable. Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/omap3/sdrc.c | 116 --

[U-Boot] [PATCH v3 0/12] Add more framework to OMAP3 SPL, port more boards

2011-11-09 Thread Tom Rini
Hey all, This is related to, but a bit different from the RFT thread I made with beagleboard SPL patches. I've incorporated the feedback about splitting the changes up a lot more and after talking with Scott Wood on IRC after the ML thread, I've created an omap3 specific file with the NAND relate

Re: [U-Boot] [PATCH v2 0/3] LaCie 2Big Network v2 support

2011-11-09 Thread Simon Guinot
On Wed, Nov 09, 2011 at 06:02:10PM +0100, Simon Guinot wrote: > From: Simon Guinot > > This patch series provides support for the LaCie NAS 2Big Network v2. > > Changes in v2: > - mv_sata: use MVSATA_xxx for ide_preinit() exit codes. > - Add patch to remove duplicated code for LaCie boards. >

Re: [U-Boot] [PATCH v3] arm, davinci_emac: fix driver bug if more then 3 PHYs are detected

2011-11-09 Thread Tom Rini
On Wed, Nov 9, 2011 at 9:50 AM, Heiko Schocher wrote: > since commits: > davinci: emac: add support for more than 1 PHYs > 062fe7d332c28ede25626f448681e43d76bb312e > > davinci: remove obsolete macro CONFIG_EMAC_MDIO_PHY_NUM > fb1d6332b5430b90a8fa8ebab709f33a60e9f816 [snip] > - MAX_PHY from 3 to 7

[U-Boot] [PATCH v2 2/3] ARM: add support for LaCie 2Big Network v2

2011-11-09 Thread Simon Guinot
From: Simon Guinot This patch adds support for the LaCie 2Big Network v2 board, based on the Marvell Kirkwood 6281 SoC. Additional information is available at: http://lacie-nas.org/doku.php?id=2big_network_v2 Signed-off-by: Simon Guinot --- No changes in v2. MAINTAINERS

[U-Boot] [PATCH v2 3/3] ARM: remove duplicated code for LaCie boards

2011-11-09 Thread Simon Guinot
From: Simon Guinot This patch groups together all the common functions for LaCie boards: Ethernet PHY and MAC address initializations. Moreover the configurations for LaCie Kirkwood boards are merged into a single file: include/configs/lacie_kw.h Signed-off-by: Simon Guinot --- Patch added in

[U-Boot] [PATCH v2 0/3] LaCie 2Big Network v2 support

2011-11-09 Thread Simon Guinot
From: Simon Guinot This patch series provides support for the LaCie NAS 2Big Network v2. Changes in v2: - mv_sata: use MVSATA_xxx for ide_preinit() exit codes. - Add patch to remove duplicated code for LaCie boards. Simon Guinot (3): mvsata: fix ide_preinit for missing disks ARM: add supp

[U-Boot] [PATCH v2 1/3] mvsata: fix ide_preinit for missing disks

2011-11-09 Thread Simon Guinot
From: Simon Guinot Consider that ide_preinit() succeed if at least one port is successfully initialized. This allows to iniatialize IDE support on a board with two SATA ports but a single hard disk available. Signed-off-by: Simon Guinot --- Changes in v2: - Use MVSATA_xxx defines for exit code

[U-Boot] gcc 4.6 warning in x86emu/ops2.c

2011-11-09 Thread Kumar Gala
Tried to look at this but decided to give up as it seems a bit too involved: LOG/P2020DS_SPIFLASH.ERR:x86emu/ops2.c: In function 'x86emuOp2_set_byte': LOG/P2020DS_SPIFLASH.ERR:x86emu/ops2.c:171:11: warning: variable 'name' set but not used [-Wunused-but-set-variable] - k

[U-Boot] [PATCH v3] arm, davinci_emac: fix driver bug if more then 3 PHYs are detected

2011-11-09 Thread Heiko Schocher
since commits: davinci: emac: add support for more than 1 PHYs 062fe7d332c28ede25626f448681e43d76bb312e davinci: remove obsolete macro CONFIG_EMAC_MDIO_PHY_NUM fb1d6332b5430b90a8fa8ebab709f33a60e9f816 I get following warning on the enbw_cmc board: Err: serial Net:5 ETH PHY detected miiphy_

Re: [U-Boot] [PATCH 08/12] OMAP3 SPL: Add identify_pop_memory function

2011-11-09 Thread Tom Rini
On 11/09/2011 04:04 AM, Igor Grinberg wrote: > Hi Tom, > > On 11/08/11 17:21, Tom Rini wrote: >> On 11/08/2011 12:45 AM, Igor Grinberg wrote: >>> On 11/07/11 22:05, Tom Rini wrote: A number of boards are populated with a PoP chip for both DDR and NAND memory. So to determine DDR timings

[U-Boot] [PATCH 16/16] arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c: Fix GCC 4.6 build warning

2011-11-09 Thread Kumar Gala
Fix: ctrl_regs.c: In function 'set_ddr_sdram_cfg_2': ctrl_regs.c:641:15: warning: variable 'rcw_en' set but not used [-Wunused-but-set-variable] ctrl_regs.c: In function 'compute_fsl_memctl_config_regs': ctrl_regs.c:951:31: warning: array subscript is above array bounds [-Warray-bounds] ctrl_reg

[U-Boot] [PATCH 15/16] arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c: Fix GCC 4.6 build warning

2011-11-09 Thread Kumar Gala
Fix: fsl_corenet_serdes.c: In function 'fsl_serdes_init': fsl_corenet_serdes.c:511:8: warning: variable 'buf' set but not used [-Wunused-but-set-variable] fsl_corenet_serdes.c:498:18: warning: variable 'lane_prtcl' set but not used [-Wunused-but-set-variable] Signed-off-by: Kumar Gala --- arc

[U-Boot] [PATCH 14/16] arch/powerpc/cpu/mpc8xxx/ddr/options.c: Fix GCC 4.6 build warning

2011-11-09 Thread Kumar Gala
Fix: options.c: In function 'populate_memctl_options': options.c:486:28: warning: variable 'pdodt' set but not used [-Wunused-but-set-variable] Signed-off-by: Kumar Gala --- arch/powerpc/cpu/mpc8xxx/ddr/options.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/

[U-Boot] [PATCH 12/16] drivers/usb/host/ehci-fsl.c: Fix GCC 4.6 build warning

2011-11-09 Thread Kumar Gala
Fix: ehci-fsl.c: In function 'ehci_hcd_init': ehci-fsl.c:43:7: warning: variable 'usb_phy' set but not used [-Wunused-but-set-variable] Signed-off-by: Kumar Gala --- drivers/usb/host/ehci-fsl.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/usb/host/ehci-fs

[U-Boot] [PATCH 13/16] drivers/qe/uec.c: Fix GCC 4.6 build warning

2011-11-09 Thread Kumar Gala
uec.c: In function 'uec_stop': uec.c:267:22: warning: variable 'uccf' set but not used [-Wunused-but-set-variable] uec.c: In function 'uec_set_mac_if_mode': uec.c:328:15: warning: variable 'uec_info' set but not used [-Wunused-but-set-variable] uec.c: In function 'adjust_link': uec.c:519:11: warn

[U-Boot] [PATCH 11/16] drivers/net/fm/fm.c: Fix GCC 4.6 build warning

2011-11-09 Thread Kumar Gala
Fix: fm.c: In function 'fm_init_common': fm.c:398:6: warning: variable 'n' set but not used [-Wunused-but-set-variable] Signed-off-by: Kumar Gala --- drivers/net/fm/fm.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/net/fm/fm.c b/drivers/net/fm/fm.c index 23

[U-Boot] [PATCH 08/16] board/freescale/mpc8569mds/mpc8569mds.c: Fix GCC 4.6 build warning

2011-11-09 Thread Kumar Gala
mpc8569mds.c: In function 'local_bus_init': mpc8569mds.c:306:7: warning: variable 'lbc_hz' set but not used [-Wunused-but-set-variable] Signed-off-by: Kumar Gala --- board/freescale/mpc8569mds/mpc8569mds.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/board/freescale

[U-Boot] [PATCH 10/16] board/sbc8560/sbc8560.c: Fix GCC 4.6 build warning

2011-11-09 Thread Kumar Gala
Fix: sbc8560.c: In function 'ft_board_setup': sbc8560.c:351:12: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] Signed-off-by: Kumar Gala --- board/sbc8560/sbc8560.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/board/sbc8560/sbc8560.c b/board/

[U-Boot] [PATCH 09/16] board/sbc8548/sbc8548.c: Fix GCC 4.6 build warning

2011-11-09 Thread Kumar Gala
Fix: sbc8548.c: In function 'local_bus_init': sbc8548.c:80:7: warning: variable 'lbc_hz' set but not used [-Wunused-but-set-variable] Signed-off-by: Kumar Gala --- board/sbc8548/sbc8548.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/board/sbc8548/sbc8548.c b/board/

[U-Boot] [PATCH 07/16] board/freescale/mpc8568mds/mpc8568mds.c: Fix GCC 4.6 build warning

2011-11-09 Thread Kumar Gala
Fix: mpc8568mds.c: In function 'local_bus_init': mpc8568mds.c:150:7: warning: variable 'lbc_hz' set but not used [-Wunused-but-set-variable] mpc8568mds.c: In function 'pib_init': mpc8568mds.c:271:11: warning: variable 'orig_i2c_bus' set but not used [-Wunused-but-set-variable] Signed-off-by: Ku

  1   2   >