Re: [U-Boot] [PATCH 5/5] mtd/nand: workaround for Freescale FCM to support 4k pagesize Nand chip

2011-12-09 Thread Marek Vasut
> 于 2011年12月09日 00:37, Marek Vasut 写道: > >> Freescale FCM controller has a 2K size limitation of buffer RAM. In > >> order to support the Nand flash chip whose page size is larger than 2K > >> bytes, we read/write 2k data repeatedly by issuing FIR_OP_RB/FIR_OP_WB > >> and save them to a large buffe

Re: [U-Boot] p2020 and Micron MT47H64M16HR memory and u-boot

2011-12-09 Thread wzab
On Dec 8, 11:12 pm, wzab wrote: > We are debugging a system equipped with p2020 processor and micron > MT47H64M16HR DDR2 memories. > Unfortunately we can't get u-boot loading correctly to the DDR. > We've managed to get u-boot loaded to the L2 cache and to put our own > DDR debugging code into the

Re: [U-Boot] [PATCH v2 1/4] mmc: Change board_mmc_getcd() signature.

2011-12-09 Thread Marek Vasut
By "signature" you mean signedness ? > The new API no longer uses the extra cd parameter that was used to store > the card presence state. Instead, this information is returned via the > function's return value. board_mmc_getcd() returns -1 to indicate that > no card-detection mechanism is impleme

Re: [U-Boot] [PATCH v2 1/4] mmc: Change board_mmc_getcd() signature.

2011-12-09 Thread Thierry Reding
* Marek Vasut wrote: > By "signature" you mean signedness ? No, I mean "signature" as synonymous to "function prototype". [...] > > -int board_mmc_getcd(u8 *absent, struct mmc *mmc) > > +int board_mmc_getcd(struct mmc *mmc) > > { > > struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc->p

Re: [U-Boot] [PATCH 5/5] mtd/nand: workaround for Freescale FCM to support 4k pagesize Nand chip

2011-12-09 Thread LiuShuo
于 2011年12月09日 16:27, Marek Vasut 写道: 于 2011年12月09日 00:37, Marek Vasut 写道: Freescale FCM controller has a 2K size limitation of buffer RAM. In order to support the Nand flash chip whose page size is larger than 2K bytes, we read/write 2k data repeatedly by issuing FIR_OP_RB/FIR_OP_WB and save the

Re: [U-Boot] [PATCH V3] 5PC2XX: Rename S5pc2XX to exynos

2011-12-09 Thread Minkyu Kang
Dear Chander Kashyap, On 7 December 2011 18:34, Chander Kashyap wrote: > As per new naming convention for Samsung SoC's, all Cortex-A9 and Cortex-A15 > based SoC's will be classified under the name Exynos. Cortex-A9 and Cortex-A15 > based SoC's will be sub-classified as Exynos4 and Exynos5 respec

Re: [U-Boot] [PATCH 5/5] mtd/nand: workaround for Freescale FCM to support 4k pagesize Nand chip

2011-12-09 Thread Marek Vasut
> 于 2011年12月09日 16:27, Marek Vasut 写道: > >> 于 2011年12月09日 00:37, Marek Vasut 写道: > Freescale FCM controller has a 2K size limitation of buffer RAM. In > order to support the Nand flash chip whose page size is larger than 2K > bytes, we read/write 2k data repeatedly by issuing FIR_OP_

Re: [U-Boot] [PATCH v2 1/4] mmc: Change board_mmc_getcd() signature.

2011-12-09 Thread Marek Vasut
> * Marek Vasut wrote: > > By "signature" you mean signedness ? > > No, I mean "signature" as synonymous to "function prototype". Please say so then, it was slightly confusing. > > [...] > > > > -int board_mmc_getcd(u8 *absent, struct mmc *mmc) > > > +int board_mmc_getcd(struct mmc *mmc) > > >

Re: [U-Boot] [PATCH] M28: Cleanup memsize.o OOT build

2011-12-09 Thread Stefano Babic
On 08/12/2011 13:27, Marek Vasut wrote: > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > Cc: Detlev Zundel > Cc: Stefano Babic > --- Hi Marek, > arch/arm/cpu/arm926ejs/mx28/Makefile |7 +-- > arch/arm/cpu/arm926ejs/mx28/spl_boot.c | 13 ++--- > arch/arm/cpu/arm9

[U-Boot] please pull u-boot-samsung/master

2011-12-09 Thread Minkyu Kang
Dear Albert, The following changes since commit 15422043c4a213dc5d7d59a337be1ab34c9b2e7f: davinci: Remove unwanted memsize.c from hawkboard's nand spl build (2011-12-06 23:59:41 +0100) are available in the git repository at: git://git.denx.de/u-boot-samsung master Chander Kashyap (1):

Re: [U-Boot] [PATCH 5/5] mtd/nand: workaround for Freescale FCM to support 4k pagesize Nand chip

2011-12-09 Thread LiuShuo
于 2011年12月09日 17:11, Marek Vasut 写道: 于 2011年12月09日 16:27, Marek Vasut 写道: 于 2011年12月09日 00:37, Marek Vasut 写道: Freescale FCM controller has a 2K size limitation of buffer RAM. In order to support the Nand flash chip whose page size is larger than 2K bytes, we read/write 2k data repeatedly by is

Re: [U-Boot] [PATCH 1/3] USB: Squash checkpatch warnings in usb_kbd.c

2011-12-09 Thread Wolfgang Denk
Dear Marek Vasut, In message <1318260867-5606-2-git-send-email-marek.va...@gmail.com> you wrote: > Signed-off-by: Marek Vasut > Cc: Mike Frysinger > Cc: Remy Bohmer > Cc: Wolfgang Denk > --- > common/usb_kbd.c | 608 > -- > 1 files changed

Re: [U-Boot] [PATCH 02/19] usbdev.c: Fix GCC 4.6 build warnings

2011-12-09 Thread Wolfgang Denk
Dear Stefan Roese, In message <1321380112-6210-1-git-send-email...@denx.de> you wrote: > Fix: > usbdev.c: In function 'process_endpoints': > usbdev.c:29:12: warning: variable 'temp1' set but not used > [-Wunused-but-set-variable] > usbdev.c:29:6: warning: variable 'temp' set but not used > [-Wun

Re: [U-Boot] [PATCH 1/2] Fix warnings in arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c

2011-12-09 Thread Wolfgang Denk
Dear Simon Glass, In message <1321417027-5639-1-git-send-email-...@chromium.org> you wrote: > Sorry if this is already fixed somewhere - I could not find it. > > This fixes these warnings: > > usb_ohci.c: In function 'submit_control_msg': > usb_ohci.c:1081: warning: dereferencing pointer 'data_b

Re: [U-Boot] [PATCH] drivers/usb/host/ehci-mxc.c: Fix GCC 4.6 warning

2011-12-09 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message <1321733433-6050-1-git-send-email-ag...@denx.de> you wrote: > Fix: > ehci-mxc.c: In function 'ehci_hcd_init': > ehci-mxc.c:113:6: warning: variable 'tmp' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Anatolij Gustschin > --- > drivers/usb/

Re: [U-Boot] [PATCH 4/9] drivers/usb/musb/musb_udc.c: Fix GCC 4.6 warning

2011-12-09 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message <1322930775-4767-4-git-send-email-ag...@denx.de> you wrote: > Fix: > musb_udc.c: In function 'musb_peri_softconnect': > musb_udc.c:166:14: warning: variable 'intrtx' set but not used > [-Wunused-but-set-variable] > musb_udc.c:166:6: warning: variable 'intrrx' se

Re: [U-Boot] [PATCH 5/9] drivers/usb/gadget/core.c: Fix GCC 4.6 warning

2011-12-09 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message <1322930775-4767-5-git-send-email-ag...@denx.de> you wrote: > Fix: > core.c: In function 'usbd_device_event_irq': > core.c:596:21: warning: variable 'state' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Anatolij Gustschin > Cc: Remy Bohmer

Re: [U-Boot] [PATCH 6/9] drivers/usb/gadget/ep0.c: Fix GCC 4.6 warning

2011-12-09 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message <1322930775-4767-6-git-send-email-ag...@denx.de> you wrote: > Fix: > ep0.c: In function 'ep0_get_descriptor': > ep0.c:187:8: warning: variable 'cp' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Anatolij Gustschin > Cc: Remy Bohmer > --- >

Re: [U-Boot] [PATCH 02/19] usbdev.c: Fix GCC 4.6 build warnings

2011-12-09 Thread Stefan Roese
Hi Wolfgang, On Friday 09 December 2011 10:31:01 Wolfgang Denk wrote: > In message <1321380112-6210-1-git-send-email...@denx.de> you wrote: > > Fix: > > usbdev.c: In function 'process_endpoints': > > usbdev.c:29:12: warning: variable 'temp1' set but not used > > [-Wunused-but-set-variable] usbdev.

Re: [U-Boot] [PATCH 5/5] mtd/nand: workaround for Freescale FCM to support 4k pagesize Nand chip

2011-12-09 Thread Marek Vasut
> 于 2011年12月09日 17:11, Marek Vasut 写道: > >> 于 2011年12月09日 16:27, Marek Vasut 写道: > 于 2011年12月09日 00:37, Marek Vasut 写道: > >> Freescale FCM controller has a 2K size limitation of buffer RAM. In > >> order to support the Nand flash chip whose page size is larger than > >> 2K bytes, w

Re: [U-Boot] [PATCH] M28: Cleanup memsize.o OOT build

2011-12-09 Thread Marek Vasut
> On 08/12/2011 13:27, Marek Vasut wrote: > > Signed-off-by: Marek Vasut > > Cc: Wolfgang Denk > > Cc: Detlev Zundel > > Cc: Stefano Babic > > --- > > Hi Marek, > > > arch/arm/cpu/arm926ejs/mx28/Makefile |7 +-- > > arch/arm/cpu/arm926ejs/mx28/spl_boot.c | 13 ++--

Re: [U-Boot] [PATCH 02/11] MIPS: board.c: fix warning if CONFIG_CMD_NET is not defined

2011-12-09 Thread Wolfgang Denk
Dear Daniel Schwierzeck, In message <1322143076-20349-3-git-send-email-daniel.schwierz...@googlemail.com> you wrote: > board.c: In function 'board_init_r': > board.c:280:8: warning: unused variable 's' ... > /* Initialize from environment */ > load_addr = getenv_ulong("loadaddr", 16,

Re: [U-Boot] [PATCH 01/11] MIPS: board.c: make checkpatch.pl clean

2011-12-09 Thread Wolfgang Denk
Dear Daniel Schwierzeck, In message <1322143076-20349-2-git-send-email-daniel.schwierz...@googlemail.com> you wrote: > WARNING: line over 80 characters > WARNING: space prohibited between function name and open parenthesis '(' > WARNING: braces {} are not necessary for single statement blocks > E

Re: [U-Boot] [PATCH 11/11] MIPS: MAKEALL: fix lists for MIPSel and MIPS boards

2011-12-09 Thread Wolfgang Denk
Dear Daniel Schwierzeck, In message <1322143076-20349-12-git-send-email-daniel.schwierz...@googlemail.com> you wrote: > Build dbau1550_el only in LIST_au1xx0_el and LIST_mips_el. > Also remove obsolete lists for mips5kc. > > Signed-off-by: Daniel Schwierzeck > Cc: Thomas Lange > --- > MAKEAL

Re: [U-Boot] [PATCH] drivers/gpio/da8xx_gpio.c: Fix build warning

2011-12-09 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message <1323294468-13904-1-git-send-email-ag...@denx.de> you wrote: > Fix: > da8xx_gpio.c: In function 'gpio_toggle_value': > da8xx_gpio.c:208:23: warning: variable 'bank' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Anatolij Gustschin > --- > d

[U-Boot] [PATCH] Fix breakage after removing common.h from export.h

2011-12-09 Thread Stefano Babic
commit 0910d0bcb85acdf09b9dfd8ded452367b540a4ad Mike Partington Date: Wed Oct 27 10:31:09 2010 + Standalone Apps: Standalone apps should need only exports.h. Modify exports.h to remove its dependencies on other files, thus enabling standalone apps to require only exports.h from

Re: [U-Boot] [PATCH] Fix breakage after removing common.h from export.h

2011-12-09 Thread Stefano Babic
On 09/12/2011 11:23, Stefano Babic wrote: > commit 0910d0bcb85acdf09b9dfd8ded452367b540a4ad > Mike Partington > Date: Wed Oct 27 10:31:09 2010 + > > Standalone Apps: Standalone apps should need only exports.h. > > Modify exports.h to remove its dependencies on other files, thus >

[U-Boot] [PATCH V2] Fix breakage after removing common.h from export.h

2011-12-09 Thread Stefano Babic
commit 0910d0bcb85acdf09b9dfd8ded452367b540a4ad Mike Partington Date: Wed Oct 27 10:31:09 2010 + Standalone Apps: Standalone apps should need only exports.h. Modify exports.h to remove its dependencies on other files, thus enabling standalone apps to require only exports.h from

[U-Boot] [PATCH v5 0/6] Add an SPL to boot the da850evm from SPI

2011-12-09 Thread Christian Riesch
Hi again, On Wed, Dec 7, 2011 at 10:32 AM, Christian Riesch wrote: > Hi Tom, > > On Tue, Dec 6, 2011 at 11:17 PM, Tom Rini wrote: >> On Tue, Dec 6, 2011 at 10:34 AM, Tom Rini wrote: > [...] >>> OK, thanks, I'll chalk it up to my toolchain then. >> >> After talking with Wolfgang and Albert, we

Re: [U-Boot] [PATCH] M28: Cleanup memsize.o OOT build

2011-12-09 Thread Stefano Babic
On 09/12/2011 10:48, Marek Vasut wrote: >> On 08/12/2011 13:27, Marek Vasut wrote: >>> Signed-off-by: Marek Vasut >>> Cc: Wolfgang Denk >>> Cc: Detlev Zundel >>> Cc: Stefano Babic >>> --- >> >> Hi Marek, >> >>> arch/arm/cpu/arm926ejs/mx28/Makefile |7 +-- >>> arch/arm/cpu/arm926e

[U-Boot] [PATCH] common/usb_kbd.c: fix bug introduced in commit 00b7d6e

2011-12-09 Thread Wolfgang Denk
During the rebase of commit 00b7d6e "USB: Squash checkpatch warnings in usb_kbd.c" I missed a brace, resulting in a number of build errors. Fix these. Signed-off-by: Wolfgang Denk --- common/usb_kbd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/usb_kbd.c b/co

[U-Boot] [PATCH 02/13] drivers/net/at91_emac.c: Fix GCC 4.6 build warnings

2011-12-09 Thread Wolfgang Denk
Fix: at91_emac.c: In function 'at91emac_phy_init': at91_emac.c:244:20: warning: variable 'duplex' set but not used [-Wunused-but-set-variable] at91_emac.c:244:13: warning: variable 'speed' set but not used [-Wunused-but-set-variable] Use new debug_cond() to fix these warnings. In the result, anum

[U-Boot] [PATCH 00/13] ARM: more cleanups

2011-12-09 Thread Wolfgang Denk
The following patches fix another set of build warnigns, mostly for ARM boards. Wolfgang Denk (13): drivers/net/ne2000_base.c: Fix GCC 4.6 build warnings drivers/net/at91_emac.c: Fix GCC 4.6 build warnings fs/yaffs2/yaffs_guts.c: Fix GCC 4.6 compile warning (and bug) common/cmd_pxe.c: Fix

[U-Boot] [PATCH 01/13] drivers/net/ne2000_base.c: Fix GCC 4.6 build warnings

2011-12-09 Thread Wolfgang Denk
Fix: ne2000_base.c: In function 'dp83902a_send': ne2000_base.c:282:7: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] ne2000_base.c: In function 'dp83902a_RxEvent': ne2000_base.c:376:5: warning: variable 'rsr' set but not used [-Wunused-but-set-variable] ne2000_base.c: In funct

[U-Boot] [PATCH 04/13] common/cmd_pxe.c: Fix compile warning

2011-12-09 Thread Wolfgang Denk
Fix: cmd_pxe.c: In function 'parse_pxefile_top': cmd_pxe.c:941:5: warning: 'err' may be used uninitialized in this function [-Wuninitialized] cmd_pxe.c:921:6: note: 'err' was declared here Signed-off-by: Wolfgang Denk Cc: Jason Hobbs --- common/cmd_pxe.c |1 + 1 files changed, 1 insertions(

[U-Boot] [PATCH 13/13] ARM: convert "omap730p2" boards to boards.cfg

2011-12-09 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk Dave Peverley --- MAKEALL|1 - Makefile | 11 --- boards.cfg |3 +++ 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/MAKEALL b/MAKEALL index c2b52d0..f735af6 100755 --- a/MAKEALL +++ b/MAKEALL @@ -308,7 +308,6 @@ LIST_SA="$(boa

[U-Boot] [PATCH 11/13] ARM: convert "omap16xx" boards to boards.cfg

2011-12-09 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk Cc: Kshitij Gupta --- MAKEALL|2 -- Makefile | 20 boards.cfg |8 3 files changed, 8 insertions(+), 22 deletions(-) diff --git a/MAKEALL b/MAKEALL index 0f7b820..c2b52d0 100755 --- a/MAKEALL +++ b/MAKEALL @@ -308,8 +308,

[U-Boot] [PATCH 07/13] board/apollon/sys_info.c: Fix GCC 4.6 build warning

2011-12-09 Thread Wolfgang Denk
Fix: sys_info.c: In function 'display_board_info': sys_info.c:260:16: warning: variable 'db_s' set but not used [-Wunused-but-set-variable] Also fix resulting warnings: sys_info.c:251:7: warning: unused variable 'db_ip' [-Wunused-variable] sys_info.c:250:7: warning: unused variable 'db_men' [-Wunu

[U-Boot] [PATCH 06/13] board/apollon/apollon.c: Fix GCc 4.6 build warnings.

2011-12-09 Thread Wolfgang Denk
Fix: apollon.c: In function 'dram_init': apollon.c:188:29: warning: variable 'cpu' set but not used [-Wunused-but-set-variable] apollon.c:188:20: warning: variable 'rev' set but not used [-Wunused-but-set-variable] apollon.c:187:26: warning: variable 'size1' set but not used [-Wunused-but-set-varia

[U-Boot] [PATCH 08/13] ARM: convert "apollon" board to use boards.cfg

2011-12-09 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk Cc: Kyungmin Park Cc: Albert Aribaud --- MAKEALL |1 - Makefile | 10 -- boards.cfg|1 + include/configs/apollon.h |2 ++ 4 files changed, 3 insertions(+), 11 deletions(-) diff --git a/MAKEALL

[U-Boot] [PATCH 03/13] fs/yaffs2/yaffs_guts.c: Fix GCC 4.6 compile warning (and bug)

2011-12-09 Thread Wolfgang Denk
Fix: yaffs_guts.c: In function 'yaffs_GarbageCollectBlock': yaffs_guts.c:2761:6: warning: variable 'retVal' set but not used [-Wunused-but-set-variable] Here GCC actually detected a bug. The code was always returning OK instead of the previously set retrun code. Fix that. Signed-off-by: Wolfgan

[U-Boot] [PATCH 10/13] board/ti/omap1610inn/flash.c: Fix GCC 4.6 build warnings

2011-12-09 Thread Wolfgang Denk
Fix: flash.c: In function 'flash_get_offsets': flash.c:139:10: warning: variable 'pOrgDef' set but not used [-Wunused-but-set-variable] flash.c: In function 'flash_erase': flash.c:280:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] flash.c: In function 'write_data': flash.c

[U-Boot] [PATCH 12/13] board/ti/omap730p2/flash.c: Fix GCC 4.6 build warnings

2011-12-09 Thread Wolfgang Denk
Fix: flash.c: In function 'flash_get_offsets': flash.c:122:10: warning: variable 'pOrgDef' set but not used [-Wunused-but-set-variable] flash.c: In function 'flash_erase': flash.c:263:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] flash.c: In function 'write_data': flash.c

[U-Boot] [PATCH 09/13] board/LaCie/edminiv2/edminiv2.c: Fix build warning

2011-12-09 Thread Wolfgang Denk
Fix: edminiv2.c: In function 'reset_phy': edminiv2.c:98:2: warning: implicit declaration of function 'mv_phy_88e1116_init' [-Wimplicit-function-declaration] Signed-off-by: Wolfgang Denk Cc: Albert ARIBAUD --- board/LaCie/edminiv2/edminiv2.c |1 + 1 files changed, 1 insertions(+), 0 deletion

Re: [U-Boot] [PATCH 02/19] usbdev.c: Fix GCC 4.6 build warnings

2011-12-09 Thread Wolfgang Denk
Dear Stefan Roese, In message <201112091044.03681...@denx.de> you wrote: > > This file has been removed with patch > ce2acd371c4eee36e55d706a181361c25ebfe160 > already in mainline. Ah, right. Even better :-) Thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: W

Re: [U-Boot] [PATCH] Fix breakage after removing common.h from export.h

2011-12-09 Thread Wolfgang Denk
Dear Stefano Babic, In message <1323426220-30366-1-git-send-email-sba...@denx.de> you wrote: > commit 0910d0bcb85acdf09b9dfd8ded452367b540a4ad > Mike Partington > Date: Wed Oct 27 10:31:09 2010 + > > Standalone Apps: Standalone apps should need only exports.h. > > Modify exports.h

Re: [U-Boot] [PATCH V2] Fix breakage after removing common.h from export.h

2011-12-09 Thread Wolfgang Denk
Dear Stefano Babic, In message <1323426790-1477-1-git-send-email-sba...@denx.de> you wrote: > > Mike Partington > Date: Wed Oct 27 10:31:09 2010 + > > Standalone Apps: Standalone apps should need only exports.h. > > Modify exports.h to remove its dependencies on other files, thus

Re: [U-Boot] [PATCH 03/13] fs/yaffs2/yaffs_guts.c: Fix GCC 4.6 compile warning (and bug)

2011-12-09 Thread William Juul (wiljuul)
Acked-by: William Juul And please note my new e-mail address. Best regards William Juul > -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: Friday, December 09, 2011 12:14 PM > To: u-boot@lists.denx.de > Cc: Wolfgang Denk; William Juul; Scott Wood > Subject: [PATCH

Re: [U-Boot] [PATCH 02/11] MIPS: board.c: fix warning if CONFIG_CMD_NET is not defined

2011-12-09 Thread Daniel Schwierzeck
Hi Wolfgang, On Fri, Dec 9, 2011 at 10:50 AM, Wolfgang Denk wrote: > Dear Daniel Schwierzeck, > > In message > <1322143076-20349-3-git-send-email-daniel.schwierz...@googlemail.com> you > wrote: >> board.c: In function 'board_init_r': >> board.c:280:8: warning: unused variable 's' > ... >>      

Re: [U-Boot] [PATCH] Fix breakage after removing common.h from export.h

2011-12-09 Thread Stefano Babic
On 09/12/2011 12:29, Wolfgang Denk wrote: > Dear Stefano Babic, > > In message <1323426220-30366-1-git-send-email-sba...@denx.de> you wrote: >> commit 0910d0bcb85acdf09b9dfd8ded452367b540a4ad >> Mike Partington >> Date: Wed Oct 27 10:31:09 2010 + >> >> Standalone Apps: Standalone apps s

Re: [U-Boot] [PATCH] Fix breakage after removing common.h from export.h

2011-12-09 Thread Wolfgang Denk
Dear Stefano Babic, In message <4ee2006c.8070...@denx.de> you wrote: > > >> breaks all boards - the fact is that common.h is not included anymore > >> by exports.h, and this breaks the build of several file. > > > > Do we accept such a patch? > > Yes - it is already in mainline breaks all board

Re: [U-Boot] [PATCH] Fix breakage after removing common.h from export.h

2011-12-09 Thread Stefano Babic
On 09/12/2011 13:41, Wolfgang Denk wrote: > Dear Stefano Babic, > > In message <4ee2006c.8070...@denx.de> you wrote: >> breaks all boards - the fact is that common.h is not included anymore by exports.h, and this breaks the build of several file. >>> >>> Do we accept such a patch? >> >>

Re: [U-Boot] [PATCH] Fix breakage after removing common.h from export.h

2011-12-09 Thread Stefano Babic
On 09/12/2011 13:59, Stefano Babic wrote: Albert, I tested with Wolfgang and we see that u-boot mainline has merged already the fixes for the issues I find after rebasing on u-boot-arm: 42c4a23a55fbcccaabe9e3e76b00138185209a74 Include common.h in qsort.c to fix build warning f915c9316cf1dd16a5ec4

[U-Boot] iMX53 LCD support.

2011-12-09 Thread Vellemans, Noel
Hi all, Someone that has iMX53 lcd support working in uboot (splash-screen) ? Regards Noel ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 04/13] common/cmd_pxe.c: Fix compile warning

2011-12-09 Thread Jason Hobbs
Dear Wolfgang, On Fri, Dec 09, 2011 at 06:14:23AM -0500, Wolfgang Denk wrote: > Fix: > cmd_pxe.c: In function 'parse_pxefile_top': > cmd_pxe.c:941:5: warning: 'err' may be used uninitialized in this > function [-Wuninitialized] > cmd_pxe.c:921:6: note: 'err' was declared here > > Signed-off-by: W

[U-Boot] [GIT PULL] Pull request u-boot-staging

2011-12-09 Thread Stefano Babic
Hi Wolfgang, please pull from u-boot-staging, sba...@denx.de. There is only one patch in the list. The following changes since commit c4eba6ec5c58083b38340724c006294c7a4fe2eb: common/usb_kbd.c: fix bug introduced in commit 00b7d6e (2011-12-09 12:09:35 +0100) are available in the git repositor

[U-Boot] Cache function change breaks zmx25

2011-12-09 Thread Matthias Weißer
Hi commit 2f3427ccb915c6f6774f0bcebb67c648dc25dcfd Author: Ilya Yanok Date: Mon Nov 28 06:37:32 2011 + arm926ejs: add noop implementation for dcache ops breaks zmx25 booting with the following command: tftpboot 0x8200 foo.img; dcache on; bootm 0x8200 It is stuck then in an

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

2011-12-09 Thread Stefano Babic
Hi Albert, please pull from u-boot-imx. It is rebased on u-boot mainline, because Wolfgang has already merged your u-boot-arm/master + some fixes. The following changes since commit d82a27bc5c404da907f71960a3ed2e148ac73fd0: drivers/net/inca-ip_sw.c: Fix GCC 4.6 build warning (2011-12-08 21:01:

Re: [U-Boot] powerpc: FOO uses hard float, BAR uses soft float

2011-12-09 Thread Kumar Gala
On Dec 8, 2011, at 4:09 PM, Wolfgang Denk wrote: > Hi, > > I'm looking for help to get rid of linker warnigns like these: > > -> ./MAKEALL sequoia > Configuring for sequoia - Board: sequoia, Options: SEQUOIA > powerpc-linux-ld: Warning: 20010226-1.o uses hard float, libpostpowerpcfpu.o > uses

Re: [U-Boot] iMX53 LCD support.

2011-12-09 Thread Stefano Babic
On 09/12/2011 14:47, Vellemans, Noel wrote: > Hi all, > Hi Noel, > Someone that has iMX53 lcd support working in uboot (splash-screen) ? the driver is supported (CONFIG_VIDEO_MX5), see also drivers/video/mxc_ipuv3_fb.c. You should add your glue-logic for your LCD. Best regards, Stefano Babic

[U-Boot] [GIT PULL] please pull u-boot-mpc85xx

2011-12-09 Thread Kumar Gala
The following changes since commit c4eba6ec5c58083b38340724c006294c7a4fe2eb: common/usb_kbd.c: fix bug introduced in commit 00b7d6e (2011-12-09 12:09:35 +0100) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git master Kyle Moffett (1): mpc85xx: Add board supp

Re: [U-Boot] [PATCH 13/13] ARM: convert "omap730p2" boards to boards.cfg

2011-12-09 Thread Tom Rini
On Fri, Dec 9, 2011 at 4:14 AM, Wolfgang Denk wrote: > Signed-off-by: Wolfgang Denk > Dave Peverley Acked-by: Tom Rini > --- >  MAKEALL    |    1 - >  Makefile   |   11 --- >  boards.cfg |    3 +++ >  3 files changed, 3 insertions(+), 12 deletions(-) > > diff --git a/MAKEALL b/MAKEALL

Re: [U-Boot] [PATCH 11/13] ARM: convert "omap16xx" boards to boards.cfg

2011-12-09 Thread Tom Rini
On Fri, Dec 9, 2011 at 4:14 AM, Wolfgang Denk wrote: > Signed-off-by: Wolfgang Denk > Cc: Kshitij Gupta Acked-by: Tom Rini > --- >  MAKEALL    |    2 -- >  Makefile   |   20 >  boards.cfg |    8 >  3 files changed, 8 insertions(+), 22 deletions(-) > > diff --git

Re: [U-Boot] [PATCH 10/13] board/ti/omap1610inn/flash.c: Fix GCC 4.6 build warnings

2011-12-09 Thread Tom Rini
On Fri, Dec 9, 2011 at 4:14 AM, Wolfgang Denk wrote: > Fix: > flash.c: In function 'flash_get_offsets': > flash.c:139:10: warning: variable 'pOrgDef' set but not used > [-Wunused-but-set-variable] > flash.c: In function 'flash_erase': > flash.c:280:6: warning: variable 'flag' set but not used > [-

Re: [U-Boot] [PATCH 12/13] board/ti/omap730p2/flash.c: Fix GCC 4.6 build warnings

2011-12-09 Thread Tom Rini
On Fri, Dec 9, 2011 at 4:14 AM, Wolfgang Denk wrote: > Fix: > flash.c: In function 'flash_get_offsets': > flash.c:122:10: warning: variable 'pOrgDef' set but not used > [-Wunused-but-set-variable] > flash.c: In function 'flash_erase': > flash.c:263:6: warning: variable 'flag' set but not used > [-

Re: [U-Boot] Cache function change breaks zmx25

2011-12-09 Thread Ilya Yanok
Hi Matthias, On 09.12.2011 18:24, Matthias Weißer wrote: > breaks zmx25 booting with the following command: > > tftpboot 0x8200 foo.img; dcache on; bootm 0x8200 > > It is stuck then in an endless loop after dcache is disabled before > jumping to the OS. > > -

Re: [U-Boot] [PATCH 09/13] board/LaCie/edminiv2/edminiv2.c: Fix build warning

2011-12-09 Thread Simon Guinot
On Fri, Dec 09, 2011 at 12:14:28PM +0100, Wolfgang Denk wrote: > Fix: > edminiv2.c: In function 'reset_phy': > edminiv2.c:98:2: warning: implicit declaration of function > 'mv_phy_88e1116_init' [-Wimplicit-function-declaration] > > Signed-off-by: Wolfgang Denk > Cc: Albert ARIBAUD > --- > board

[U-Boot] [PATCH] MIPS: tb0229: fix GCC 4.6 compile errors and warnings

2011-12-09 Thread Daniel Schwierzeck
Signed-off-by: Daniel Schwierzeck --- This patch fixes the last broken board when running MAKEALL -a mips. This board was added by Wolfgang in 2004 and never had a real maintainer. If no one care about this board, I think it could be dropped. board/tb0229/flash.c |3 -- board/tb0229/tb0

Re: [U-Boot] Pull request: u-boot-tegra/master

2011-12-09 Thread Albert ARIBAUD
Hi Stephen, Le 08/12/2011 17:45, Stephen Warren a écrit : On 12/08/2011 12:22 AM, Albert ARIBAUD wrote: Hi Tom, Le 08/12/2011 00:35, Tom Warren a écrit : Albert, This is my first pull request for u-boot-tegra. Let me know if I’ve screwed it up in any way! Actually: The following changes

[U-Boot] [PATCH 0/2] Use lldiv from div64.h for 64-bit divisions

2011-12-09 Thread Christian Riesch
Hi, During the review of my patchset [PATCH v5 0/6] Add an SPL to boot the da850evm from SPI http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/119249/ a linker problem was discovered by Tom Rini and Wolfgang Denk that occured only with certain toolchains: > arm-linux-gnueabi-ld: error: no m

[U-Boot] [PATCH 1/2] arm, davinci: Use lldiv for the 64-bit divisions in timer.c

2011-12-09 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Tom Rini Cc: Heiko Schocher Cc: Wolfgang Denk --- arch/arm/cpu/arm926ejs/davinci/timer.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/davinci/timer.c b/arch/arm/cpu/arm926ejs/davinci/timer.c index c7bf

[U-Boot] [PATCH 2/2] post/post.c: Use lldiv for 64-bit divisions

2011-12-09 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Tom Rini Cc: Heiko Schocher Cc: Wolfgang Denk --- post/post.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/post/post.c b/post/post.c index 0e67ad7..45e08f8 100644 --- a/post/post.c +++ b/post/post.c @@ -24,6 +24,7 @@ #include

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

2011-12-09 Thread Anatolij Gustschin
Hello Wolfgang, The following changes since commit c4eba6ec5c58083b38340724c006294c7a4fe2eb: common/usb_kbd.c: fix bug introduced in commit 00b7d6e (2011-12-09 12:09:35 +0100) are available in the git repository at: git://git.denx.de/u-boot-staging.git ag...@denx.de Ash Charles (1):

Re: [U-Boot] Pull request: u-boot-tegra/master, take 2

2011-12-09 Thread Albert ARIBAUD
Hi Tom, Le 08/12/2011 17:48, Tom Warren a écrit : Albert, Here's my rebased pull request. Thanks for your patience! The following changes since commit 15422043c4a213dc5d7d59a337be1ab34c9b2e7f: davinci: Remove unwanted memsize.c from hawkboard's nand spl build (2011-12-06 23:59:41 +0100)

Re: [U-Boot] please pull u-boot-samsung/master

2011-12-09 Thread Albert ARIBAUD
Hi Minkyu, Le 09/12/2011 10:15, Minkyu Kang a écrit : Dear Albert, The following changes since commit 15422043c4a213dc5d7d59a337be1ab34c9b2e7f: davinci: Remove unwanted memsize.c from hawkboard's nand spl build (2011-12-06 23:59:41 +0100) are available in the git repository at: git://gi

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx

2011-12-09 Thread Albert ARIBAUD
Hi Stefano, Le 09/12/2011 15:34, Stefano Babic a écrit : Hi Albert, please pull from u-boot-imx. It is rebased on u-boot mainline, because Wolfgang has already merged your u-boot-arm/master + some fixes. The following changes since commit d82a27bc5c404da907f71960a3ed2e148ac73fd0: drivers/n

[U-Boot] Pull request: u-boot-arm/master

2011-12-09 Thread Albert ARIBAUD
Hi Wolfgang, The following changes since commit c4eba6ec5c58083b38340724c006294c7a4fe2eb: common/usb_kbd.c: fix bug introduced in commit 00b7d6e (2011-12-09 12:09:35 +0100) are available in the git repository at: git://git.denx.de/u-boot-arm.git master Chander Kashyap (1): S5PC2XX:

Re: [U-Boot] Pull request: u-boot-tegra/master

2011-12-09 Thread Stephen Warren
On 12/09/2011 08:36 AM, Albert ARIBAUD wrote: > Hi Stephen, > > Le 08/12/2011 17:45, Stephen Warren a écrit : >> On 12/08/2011 12:22 AM, Albert ARIBAUD wrote: >>> Hi Tom, >>> >>> Le 08/12/2011 00:35, Tom Warren a écrit : >>> Albert, This is my first pull request for u-boot-tegra. Le

Re: [U-Boot] Pull request: u-boot-tegra/master

2011-12-09 Thread Albert ARIBAUD
Le 09/12/2011 18:10, Stephen Warren a écrit : On 12/09/2011 08:36 AM, Albert ARIBAUD wrote: Hi Stephen, Le 08/12/2011 17:45, Stephen Warren a écrit : On 12/08/2011 12:22 AM, Albert ARIBAUD wrote: Hi Tom, Le 08/12/2011 00:35, Tom Warren a écrit : Albert, This is my first pull request for u

Re: [U-Boot] Pull request: u-boot-tegra/master

2011-12-09 Thread Stephen Warren
On 12/09/2011 10:22 AM, Albert ARIBAUD wrote: > Le 09/12/2011 18:10, Stephen Warren a écrit : ... >> Doesn't u-boot/master only move forward by merges, whereas >> u-boot-arm/master move forward by rebases? > > Well, as per the wiki, u-boot/master should move by rebases, or more > exactly, by fast

Re: [U-Boot] Pull request: u-boot-tegra/master

2011-12-09 Thread Albert ARIBAUD
Le 09/12/2011 18:37, Stephen Warren a écrit : Er... Rebase *does* 3-way merges when necessary and possible. I just saw it done while pulling tegra, samsung and imx requests. I don't think that's possible; with rebase, there is no common ancestor, so you can't do a 3-way merge. The rebase confl

[U-Boot] [PATCH v6 0/6] Add an SPL to boot the da850evm from SPI

2011-12-09 Thread Christian Riesch
Hi, this is v6 of the last part of my recent patchset [PATCH v3 00/15] Add an SPL to boot the da850evm from SPI http://lists.denx.de/pipermail/u-boot/2011-November/82.html Most of the other parts are already merged, together with this patchset they introduce an SPL for the da850evm to run u-

[U-Boot] [PATCH v6 1/6] spl: display_options.o is required for SPI flash support in SPL

2011-12-09 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Heiko Schocher Cc: Mike Frysinger --- lib/Makefile |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/lib/Makefile b/lib/Makefile index 54708c2..35ba7ff 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -50,6 +50,8 @@ COBJS-$(CONFIG_SHA1)

[U-Boot] [PATCH v6 2/6] sf: Add spi_boot() to allow booting from SPI flash in an SPL

2011-12-09 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Heiko Schocher Cc: Mike Frysinger Cc: Scott Wood Acked-by: Mike Frysinger --- doc/README.SPL |1 + drivers/mtd/spi/Makefile |4 +++ drivers/mtd/spi/spi_spl_load.c | 58 include/spi_fla

[U-Boot] [PATCH v6 3/6] arm, davinci: Add SPL support for DA850 SoCs

2011-12-09 Thread Christian Riesch
This code adds an SPL for booting from SPI flash on DA850 SoCs. Signed-off-by: Christian Riesch Cc: Heiko Schocher Cc: Sandeep Paulraj Cc: Tom Rini Acked-by: Tom Rini --- arch/arm/cpu/arm926ejs/davinci/Makefile |3 +- arch/arm/cpu/arm926ejs/davinci/spl.c| 34 +++

[U-Boot] [PATCH v6 4/6] arm, da850evm: Add an SPL for SPI boot

2011-12-09 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Heiko Schocher Cc: Sandeep Paulraj Cc: Tom Rini Cc: Sudhakar Rajashekhara --- board/davinci/da8xxevm/da850evm.c |4 +- board/davinci/da8xxevm/u-boot-spl.lds | 73 +++ doc/README.davinci|9 +++ includ

[U-Boot] [PATCH v6 6/6] arm, davinci: Add support for generating AIS images to the Makefile

2011-12-09 Thread Christian Riesch
Signed-off-by: Christian Riesch Cc: Stefano Babic Cc: Heiko Schocher Cc: Mike Frysinger --- .gitignore |1 + Makefile | 13 + 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index ff4bae0..e4e95e2 100644 --- a/.gitignore +++ b/.gitign

[U-Boot] [PATCH v6 5/6] mkimage: Fix variable length header support

2011-12-09 Thread Christian Riesch
Support for variable length images like AIS image was introduced in commit f0662105b674a3874227316abf8536bebc9b5995. A parameter "-s" was also introduced to prohibit copying of the image file automatically in the main program. However, this parameter was implemented incorrectly and the image file w

Re: [U-Boot] [PATCH 04/13] common/cmd_pxe.c: Fix compile warning

2011-12-09 Thread Wolfgang Denk
Dear Jason, In message <20111209134819.GA26840@jhobbs-laptop> you wrote: > > > default: > > printf("Ignoring malformed menu command: %.*s\n", > > (int)(*c - s), s); > > + err = -1; > > err should either be set to 0 here, or initialized to 0 a

Re: [U-Boot] [PATCH] MIPS: tb0229: fix GCC 4.6 compile errors and warnings

2011-12-09 Thread Wolfgang Denk
Dear Daniel Schwierzeck, In message <1323442731-12017-1-git-send-email-daniel.schwierz...@googlemail.com> you wrote: > Signed-off-by: Daniel Schwierzeck > --- > This patch fixes the last broken board when running MAKEALL -a mips. > This board was added by Wolfgang in 2004 and never had a real >

[U-Boot] [PATCH v2] pm9263: init serial console before relocation

2011-12-09 Thread Asen Chavdarov Dimov
The early messages can be seen on the debug console. Signed-off-by: Asen Chavdarov Dimov --- Change since v1 - rebased over master board/ronetix/pm9263/pm9263.c | 22 ++ include/configs/pm9263.h |1 + 2 files changed, 15 insertions(+), 8 deletions(-) diff

[U-Boot] [PATCH v2] pm9g45: init serial console before relocation

2011-12-09 Thread Asen Chavdarov Dimov
The early messages can be seen on the debug console. Signed-off-by: Asen Chavdarov Dimov --- Change since v1 - rebased over master board/ronetix/pm9g45/pm9g45.c | 16 +++- include/configs/pm9g45.h |1 + 2 files changed, 12 insertions(+), 5 deletions(-) diff --git

[U-Boot] [PATCH v2] pm9261: init serial console before relocation

2011-12-09 Thread Asen Chavdarov Dimov
The early messages can be seen on the debug console. Signed-off-by: Asen Chavdarov Dimov --- Change since v1 - rebased over master board/ronetix/pm9261/pm9261.c | 17 - include/configs/pm9261.h |1 + 2 files changed, 13 insertions(+), 5 deletions(-) diff --gi

Re: [U-Boot] powerpc: FOO uses hard float, BAR uses soft float

2011-12-09 Thread Wolfgang Denk
Dear Kumar, In message <4421ad7b-d8aa-455e-b67d-328c3e742...@kernel.crashing.org> you wrote: > > Look at commit, we dealt with this in the past > > commit ce82ff05388b5ddafdf6082ef0776cce72c40b1c > Author: Yuri Tikhonov > Date: Sat Dec 20 14:54:21 2008 +0300 > > FPU POST: fix warnings wh

Re: [U-Boot] [PATCH] Fix some bugs in the EFI support

2011-12-09 Thread Anton Staaf
On Tue, Dec 6, 2011 at 11:35 AM, Wolfgang Denk wrote: > Dear Anton Staaf, > > In message > you > wrote: >> >> Whimper whimper.  This is silly, what happened was that two different >> patches collided when committed.  Mine had the correct change to this >> file.  Doug Andersons also touched this

[U-Boot] [PATCH] Fix compilation warnings when building eNET

2011-12-09 Thread Vadim Bendebury
There have been a couple of unused variable cases, causing compilation warnings when building the eNET target. While the board/eNET/eNET.c:last_stage_init() case seems a leftover from a quick edit, the arch/x86/cpu/sc520/sc520_timer.c:sc520_udelay() seems to actually require accessing the register

[U-Boot] [PATCH] Fix compilation warnings when building eNET

2011-12-09 Thread Vadim Bendebury
There have been a couple of unused variable cases, causing compilation warnings when building the eNET target. While the board/eNET/eNET.c:last_stage_init() case seems a leftover from a quick edit, the arch/x86/cpu/sc520/sc520_timer.c:sc520_udelay() seems to actually require accessing the register

Re: [U-Boot] [PATCH] Fix compilation warnings when building eNET

2011-12-09 Thread Graeme Russ
Hi Vadim, On Dec 10, 2011 10:31 AM, "Vadim Bendebury" wrote: > > There have been a couple of unused variable cases, causing compilation > warnings when building the eNET target. > > While the board/eNET/eNET.c:last_stage_init() case seems a leftover > from a quick edit, the arch/x86/cpu/sc520/sc5

Re: [U-Boot] [PATCH] Fix compilation warnings when building eNET

2011-12-09 Thread Vadim Bendebury
On Fri, Dec 9, 2011 at 3:57 PM, Graeme Russ wrote: > > Hi Vadim, > > On Dec 10, 2011 10:31 AM, "Vadim Bendebury" wrote: > > > > There have been a couple of unused variable cases, causing compilation > > warnings when building the eNET target. > > > > While the board/eNET/eNET.c:last_stage_init()