Re: [U-Boot] [PATCH] powerpc/usb: fix bug of CPU halt when missing USB PHY clock

2012-10-16 Thread Marek Vasut
Dear Liu Shengzhou-B36685, Hello guys, I didn't get an explicit list from silicon team to point out which platforms contain this PHY_CLK_VALID bit or not, Someone said all platforms have this bit, it's not true, at least we found P4080 and P1022 no this bit. I'll trace it later. This

Re: [U-Boot] [PATCH V2] USB:gadget:designware USB OTG implementation

2012-10-16 Thread Marek Vasut
Dear Amit Virdi, [...] Did we get any further with this patch please? Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 4/9] ppc4xx: Fix strict-aliasing warnings in usb_ohci.c

2012-10-16 Thread Marek Vasut
Dear Simon Glass, This fixes warnings seen with my gcc 4.6. usb_ohci.c: In function 'submit_control_msg': usb_ohci.c:1046: warning: dereferencing pointer 'data_buf.70' does break strict-aliasing rules usb_ohci.c:1046: note: initialized from here usb_ohci.c:1048: warning: dereferencing

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-10-16 Thread Marek Vasut
Dear Graeme Russ, On 04/03/2012 09:35 AM, Graeme Russ wrote: Hi Jocke And I really need to check, but I have a sneaking suspicion that as the code currently stands in U-Boot/x86 dereferencing a NULL pointer won't cause an exception. In x86, U-Boot configures all protected mode

Re: [U-Boot] [PATCH V2] USB:gadget:designware USB OTG implementation

2012-10-16 Thread Marek Vasut
Dear Amit Virdi, Dear Marek, On 10/16/2012 11:54 AM, Marek Vasut wrote: Dear Amit Virdi, [...] Did we get any further with this patch please? Vipin shall send V3 on this soon. Thanks! Best regards, Marek Vasut ___ U-Boot mailing

Re: [U-Boot] [PATCH V2] USB:gadget:designware USB OTG implementation

2012-10-16 Thread Amit Virdi
Dear Marek, On 10/16/2012 11:54 AM, Marek Vasut wrote: Dear Amit Virdi, [...] Did we get any further with this patch please? Vipin shall send V3 on this soon. Regards Amit Virdi ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [STATUS] v2012.10 released, Merge Window is OPEN

2012-10-16 Thread Nobuhiro Iwamatsu
Hi Wolfgang, On Tue, Oct 16, 2012 at 6:08 AM, Wolfgang Denk w...@denx.de wrote: Dear Benoît Thébaudeau, In message 950821917.6855188.1350329929641.javamail.r...@advansee.com you wrote: Can you also add National Instruments (ni.com) to your list of employers? Please add O.S.

Re: [U-Boot] [STATUS] v2012.10 released, Merge Window is OPEN

2012-10-16 Thread Linus Walleij
On Mon, Oct 15, 2012 at 11:08 PM, Wolfgang Denk w...@denx.de wrote: Any others? Linaro linaro.org ST-Ericsson stericsson.com Yours, Linus Walleij ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [STATUS] v2012.10 released, Merge Window is OPEN

2012-10-16 Thread Joakim Tjernlund
In message 950821917.6855188.1350329929641.javamail.r...@advansee.com you wrote: Can you also add National Instruments (ni.com) to your list of employers? Please add O.S. Systems (ossystems.com.br) too. Please add ADVANSEE (advansee.com) too. Done: 25 employers

Re: [U-Boot] [STATUS] v2012.10 released, Merge Window is OPEN

2012-10-16 Thread Peter Meerwald
Done: 25 employers found Any others? bct-electronic.com - bct electronic GmbH thx, p. -- Peter Meerwald +43-664-218 (mobile) ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-10-16 Thread Joakim Tjernlund
Marek Vasut ma...@denx.de wrote on 2012/10/16 08:31:20: Dear Graeme Russ, On 04/03/2012 09:35 AM, Graeme Russ wrote: Hi Jocke And I really need to check, but I have a sneaking suspicion that as the code currently stands in U-Boot/x86 dereferencing a NULL pointer won't

Re: [U-Boot] [PATCH v4] tools/env: add posibility to inject configuration

2012-10-16 Thread Andreas Bießmann
Hi Joe, On 16.10.2012 02:40, Joe Hershberger wrote: Hi Andreas, On Tue, Jan 24, 2012 at 3:10 AM, Andreas Bießmann andreas.de...@googlemail.com wrote: From: Andreas Bießmann biessm...@corscience.de If one want to use fw_printenv/fw_setenv in special variants (eg compiled in MTD parameters

Re: [U-Boot] [STATUS] v2012.10 released, Merge Window is OPEN

2012-10-16 Thread Wolfgang Denk
Dear Simon, In message CAPnjgZ3=v2b91jovrw_xub71qoxrpgmba1gcxoh4p5iwn9m...@mail.gmail.com you wrote: Since you ask, Google, Inc (chromium.org). Can this be made global? At the moment we have special entries for Anton Staaf and for you. Is all of chromium owned by google? Best regards,

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-10-16 Thread Marek Vasut
Dear Joakim Tjernlund, [...] do about this patch? Skip the idea to protect a page, this is too complicated for a boot loader. Just treat malloc(0) as malloc(1) internally. I was more interested in knowing if we should drop the patch or what ... ? Best regards, Marek Vasut

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-10-16 Thread Wolfgang Denk
Dear Marek Vasut, In message 201210160831.20759.ma...@denx.de you wrote: In short, returning non-NULL from malloc(0) and expecting a CPU exception when it is de-referenced is not going to fly. We should not expect to have support for any exceptions for any kind of illegal accesses. In

[U-Boot] i.MX : rebasing due to mistake

2012-10-16 Thread Stefano Babic
Hi all i.MXlers, my mistake. I have merged yesterday my -next branch without waiting for Tom pulling u-boot/next into u-boot/master. Today I have conflicts, and I could solve them only rebasing the tree on current mainline. I am sorry for the inconvenience. Regards, Stefano babic --

Re: [U-Boot] [STATUS] v2012.10 released, Merge Window is OPEN

2012-10-16 Thread Wolfgang Denk
Dear Nobuhiro Iwamatsu, In message cabmqnvjdznfqdr-72utcspn77prebz-xcgaw0b+zoupedg1...@mail.gmail.com you wrote: Please change name from Renesas Technology to Renesas Electronics. Done. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel

Re: [U-Boot] [STATUS] v2012.10 released, Merge Window is OPEN

2012-10-16 Thread Wolfgang Denk
Dear Linus Walleij, In message cacrpkdaudfqzryt2vh+e12lm-uzdtere3dxpbzq69xjoxfj...@mail.gmail.com you wrote: On Mon, Oct 15, 2012 at 11:08 PM, Wolfgang Denk w...@denx.de wrote: Any others? Linaro linaro.org ST-Ericsson stericsson.com Added, thanks. Best regards, Wolfgang Denk --

Re: [U-Boot] [STATUS] v2012.10 released, Merge Window is OPEN

2012-10-16 Thread Wolfgang Denk
Dear Peter Meerwald, In message alpine.deb.2.01.1210161019430.1...@pmeerw.net you wrote: Done: 25 employers found Any others? bct-electronic.com - bct electronic GmbH Added, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev

Re: [U-Boot] [STATUS] v2012.10 released, Merge Window is OPEN

2012-10-16 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message ofefb2e445.f74d9f81-onc1257a99.002d347d-c1257a99.002d6...@transmode.se you wrote: Any others? transmode.se, transmode.com - Transmode Systems Added transmode.com; transmode.se was already present. Best regards, Wolfgang Denk -- DENX Software

Re: [U-Boot] [STATUS] v2012.10 released, Merge Window is OPEN

2012-10-16 Thread Wolfgang Denk
Dear Joe, In message 20121015210457.b808a203...@gemini.denx.de I wrote: Processed 925 csets from 135 developers 22 employers found A total of 88011 lines added, 36373 removed (delta 51638) ... I think I wait a day or two for more such updates, and then will update the statistics

Re: [U-Boot] [STATUS] v2012.10 released, Merge Window is OPEN

2012-10-16 Thread Peter Meerwald
Done: 25 employers found Any others? bct-electronic.com - bct electronic GmbH thx, p. -- Peter Meerwald +43-664-218 (mobile) ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 0/2] ColdFire: Fix the MAKEALL errors for some ColdFire boards

2012-10-16 Thread Jason Jin
Two patches together with: Marek Vasut (5): m68k: Fix wrong assembler instruction in start.S m68k: Fix unused variable warning m68k: Fix unused variable warning in speed.c m68k: Fix unused variable in board.c m68k: net: Fix unused variable in mcfmii.c Philippe De Muyter (1): m68k: Fix

[U-Boot] [PATCH 2/2] ColdFire: Fix the build error for Freescale m5282evb board.

2012-10-16 Thread Jason Jin
Clean up the lds file and fix the environment build error. Signed-off-by: Jason Jin jason@freescale.com --- board/freescale/m5282evb/u-boot.lds |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/board/freescale/m5282evb/u-boot.lds

[U-Boot] [PATCH 1/2] ColdFire: Fix build error for astro mcf53731 board.

2012-10-16 Thread Jason Jin
Fix the build error by clean up the lds file. Signed-off-by: Jason Jin jason@freescale.com --- board/astro/mcf5373l/u-boot.lds | 64 +++ 1 files changed, 11 insertions(+), 53 deletions(-) diff --git a/board/astro/mcf5373l/u-boot.lds

[U-Boot] [PATCH 0/6 V5] EXYNOS5: Enable SPI support

2012-10-16 Thread Hatim Ali
This patch set adds SPI driver for EXYNOS5 and enables same. This patch set is based on latest Mainline u-boot.git tree. Changes in V2: - Correted the Commit message. Changes in V3: - Removed SPI_SLAVE Flag. - Corrected warning messages. Changes in V4: - Rebased on

[U-Boot] [PATCH 1/6 V5] EXYNOS5: Add pinmux support for SPI

2012-10-16 Thread Hatim Ali
From: Rajeshwari Shinde rajeshwar...@samsung.com This patch adds pinmux support for SPI channels Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com Signed-off-by: Hatim Ali hatim...@samsung.com --- Changes since v4: Fixed minor nits suggested by Simon Glass

[U-Boot] [PATCH 2/6 V5] EXYNOS: Add clock for SPI.

2012-10-16 Thread Hatim Ali
From: Rajeshwari Shinde rajeshwar...@samsung.com This patch adds api to calculate and set the clock for SPI channels Signed-off-by: James Miller jamesmil...@chromium.org Signed-off-by: Simon Glass s...@chromium.org Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes since v4:

[U-Boot] [PATCH 3/6 V5] EXYNOS5: Add base address for SPI.

2012-10-16 Thread Hatim Ali
From: Rajeshwari Shinde rajeshwar...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since v4: - Rebased on u-boot-samsung.git - Added Acked-by Simon Glass arch/arm/include/asm/arch-exynos/cpu.h |6

[U-Boot] [PATCH 4/6 V5] SPI: Add SPI Driver for EXYNOS.

2012-10-16 Thread Hatim Ali
From: Rajeshwari Shinde rajeshwar...@samsung.com This patch adds SPI driver for EXYNOS. Signed-off-by: Simon Glass s...@chromium.org Signed-off-by: Padmavathi Venna padm...@samsung.com Signed-off-by: Gabe Black gabebl...@google.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com

[U-Boot] [PATCH 5/6 V5] EXYNOS5: Enable SPI

2012-10-16 Thread Hatim Ali
From: Rajeshwari Shinde rajeshwar...@samsung.com This patch enables SPI driver for EXYNOS5. Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com Signed-off-by: Hatim Ali hatim...@samsung.com --- Changes since v4: - Rebased on u-boot-samsung.git board/samsung/smdk5250/smdk5250.c |

[U-Boot] [PATCH 6/6 V5] EXYNOS5: Enable SPI booting.

2012-10-16 Thread Hatim Ali
From: Rajeshwari Shinde rajeshwar...@samsung.com This patch enables SPI Booting for EXYNOS5 Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes since v4: No Change board/samsung/smdk5250/Makefile |2 +- board/samsung/smdk5250/mmc_boot.c | 58

Re: [U-Boot] [PATCH] powerpc/fm: fix TBI PHY address settings

2012-10-16 Thread Xie Shaohui-B21989
-Original Message- From: Tabi Timur-B04825 Sent: Saturday, October 13, 2012 3:25 AM To: Xie Shaohui-B21989 Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH] powerpc/fm: fix TBI PHY address settings On Fri, Oct 12, 2012 at 1:25 AM, Shaohui Xie shaohui@freescale.com wrote:

Re: [U-Boot] [PATCH v2] net: Add tftp speed indication

2012-10-16 Thread Igor Grinberg
On 10/12/12 01:57, Simon Glass wrote: This prints a tftp speed indication after the download completes. This is the 3.6 MiB/s indicator below. Tegra2 (SeaBoard) # tftp ... Using asx0 device TFTP from server 172.22.72.144; our IP address is 172.22.73.81 Filename

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-10-16 Thread Joakim Tjernlund
Marek Vasut ma...@denx.de wrote on 2012/10/16 12:43:08: Dear Joakim Tjernlund, [...] do about this patch? Skip the idea to protect a page, this is too complicated for a boot loader. Just treat malloc(0) as malloc(1) internally. I was more interested in knowing if we should

Re: [U-Boot] [PATCH v1 3/4] VIDEO: add macro to set LCD size for DSS driver

2012-10-16 Thread Anatolij Gustschin
Hi Stefano, On Tue, 16 Oct 2012 12:56:59 +0200 Stefano Babic sba...@denx.de wrote: Signed-off-by: Stefano Babic sba...@denx.de --- arch/arm/include/asm/arch-omap3/dss.h |1 + 1 file changed, 1 insertion(+) this patch didn't reach the U-Boot list and the patchwork somehow. Other patches

Re: [U-Boot] [PATCH v1 3/4] VIDEO: add macro to set LCD size for DSS driver

2012-10-16 Thread Stefano Babic
Am 16/10/2012 14:53, schrieb Anatolij Gustschin: Hi Stefano, On Tue, 16 Oct 2012 12:56:59 +0200 Stefano Babic sba...@denx.de wrote: Signed-off-by: Stefano Babic sba...@denx.de --- arch/arm/include/asm/arch-omap3/dss.h |1 + 1 file changed, 1 insertion(+) this patch didn't reach

Re: [U-Boot] [PATCH 4/9] ppc4xx: Fix strict-aliasing warnings in usb_ohci.c

2012-10-16 Thread Simon Glass
Hi Marek, On Mon, Oct 15, 2012 at 11:28 PM, Marek Vasut ma...@denx.de wrote: Dear Simon Glass, This fixes warnings seen with my gcc 4.6. usb_ohci.c: In function 'submit_control_msg': usb_ohci.c:1046: warning: dereferencing pointer 'data_buf.70' does break strict-aliasing rules

Re: [U-Boot] [PATCH] ZFS: fix some warnings, cleanup

2012-10-16 Thread Pavel Herrmann
Hi On Monday 15 of October 2012 17:33:47 Tom Rini wrote: On Wed, Sep 19, 2012 at 05:32:36PM +0200, Pavel Herrmann wrote: Fix warnings about type mismatch in cmd_zfs. Dont use a global block_dev_desc, instead use a local one in each cmd. Signed-off-by: Pavel Herrmann

Re: [U-Boot] [STATUS] v2012.10 released, Merge Window is OPEN

2012-10-16 Thread Simon Glass
Hi Wolfgang, On Tue, Oct 16, 2012 at 3:35 AM, Wolfgang Denk w...@denx.de wrote: Dear Simon, In message CAPnjgZ3=v2b91jovrw_xub71qoxrpgmba1gcxoh4p5iwn9m...@mail.gmail.com you wrote: Since you ask, Google, Inc (chromium.org). Can this be made global? At the moment we have special

[U-Boot] [PATCH v1] OMAP3: mt_ventoux: power on USB at startup

2012-10-16 Thread Stefano Babic
Updated revision of the board uses GPIOs to activate the USB ports. Signed-off-by: Stefano Babic sba...@denx.de --- board/teejet/mt_ventoux/mt_ventoux.c |8 1 file changed, 8 insertions(+) diff --git a/board/teejet/mt_ventoux/mt_ventoux.c b/board/teejet/mt_ventoux/mt_ventoux.c

[U-Boot] [PATCH v1 1/4] OMAP3: updated pinmux and environment for new revision of mcx board

2012-10-16 Thread Stefano Babic
The mcx board was slightly modified and the pinmux must be updated. There is no need to support the old board, that becomes obsolete. Signed-off-by: Stefano Babic sba...@denx.de --- board/htkw/mcx/mcx.h | 26 +- include/configs/mcx.h | 12 +++- 2 files

[U-Boot] [PATCH v1 2/4] OMAP3: mcx: updated to new hardware revision

2012-10-16 Thread Stefano Babic
Some GPIOs differ in the new revision board. Previous revision are considered obsolete and they will not anymore supported. Signed-off-by: Stefano Babic sba...@denx.de --- board/htkw/mcx/mcx.c | 19 +++ board/htkw/mcx/mcx.h |2 +- include/configs/mcx.h |3 +-- 3 files

[U-Boot] [PATCH v1 3/4] VIDEO: add macro to set LCD size for DSS driver

2012-10-16 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de --- arch/arm/include/asm/arch-omap3/dss.h |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-omap3/dss.h b/arch/arm/include/asm/arch-omap3/dss.h index 54add4b..ffaffbb 100644 --- a/arch/arm/include/asm/arch-omap3/dss.h +++

[U-Boot] [PATCH v1 4/4] OMAP3: add video support to the mcx board

2012-10-16 Thread Stefano Babic
Add video support to the board with the display focaltech etm070003dh6. Signed-off-by: Stefano Babic sba...@denx.de --- board/htkw/mcx/mcx.c | 38 ++ board/htkw/mcx/mcx.h |2 ++ include/configs/mcx.h | 16 +++- 3 files changed, 55

Re: [U-Boot] [STATUS] v2012.10 released, Merge Window is OPEN

2012-10-16 Thread Otavio Salvador
On Tue, Oct 16, 2012 at 10:43 AM, Simon Glass s...@chromium.org wrote: On Tue, Oct 16, 2012 at 3:35 AM, Wolfgang Denk w...@denx.de wrote: In message CAPnjgZ3=v2b91jovrw_xub71qoxrpgmba1gcxoh4p5iwn9m...@mail.gmail.com you wrote: Since you ask, Google, Inc (chromium.org). Can this be made

Re: [U-Boot] [PATCH v1 3/4] VIDEO: add macro to set LCD size for DSS driver

2012-10-16 Thread Anatolij Gustschin
On Tue, 16 Oct 2012 16:07:05 +0200 Stefano Babic sba...@denx.de wrote: Signed-off-by: Stefano Babic sba...@denx.de --- arch/arm/include/asm/arch-omap3/dss.h |1 + 1 file changed, 1 insertion(+) Acked-by: Anatolij Gustschin ag...@denx.de Thanks!

Re: [U-Boot] [PATCH v4 3/3] musb_udc : Fix compile warning.

2012-10-16 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/15/12 22:43, Marek Vasut wrote: Lets just drop this patch. The whole series if still in patchwork should be superseded by the work Ilya is doing for MUSB. - -- Tom -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment:

Re: [U-Boot] [STATUS] v2012.10 released, Merge Window is OPEN

2012-10-16 Thread Rob Herring
On 10/15/2012 04:08 PM, Wolfgang Denk wrote: Dear Benoît Thébaudeau, In message 950821917.6855188.1350329929641.javamail.r...@advansee.com you wrote: Can you also add National Instruments (ni.com) to your list of employers? Please add O.S. Systems (ossystems.com.br) too. Please add

Re: [U-Boot] [PATCH v3 5/5] New board support: Nokia RX-51 aka N900

2012-10-16 Thread Pali Rohár
On Sunday 14 October 2012 02:06:49 Marek Vasut wrote: diff --git a/MAINTAINERS b/MAINTAINERS index 971235b..613d8cd 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1009,6 +1009,10 @@ Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com armadillo-800evaR8A7740 (RMOBILE SoC)

Re: [U-Boot] [PATCH v2 3/5] pmic_fsl: Introduce CONFIG_SYS_FSL_PMIC_I2C_LENGTH

2012-10-16 Thread Stefano Babic
Am 16/10/2012 01:32, schrieb Fabio Estevam: From: Fabio Estevam fabio.este...@freescale.com Introduce CONFIG_SYS_FSL_PMIC_I2C_LENGTH to configure the number of bytes that are used to communicate with the PMIC via I2C. Instead of hardcoding the value, pass the number via a config option.

Re: [U-Boot] [PATCH v3 5/5] New board support: Nokia RX-51 aka N900

2012-10-16 Thread Marek Vasut
Dear Pali Rohár, [...] Nothing. This code must be in assembler because stack is not initialized. Also we must be sure that U-Boot will not overwrite attached kernel (with can be in U-Boot malloc/monitor area...) Don't we have something that can reserve a memory area? +static char

Re: [U-Boot] USB Host driver for ISP1362?

2012-10-16 Thread Steve Strobel
Steve Strobel wrote: ...I want to access a USB flash drive from U-Boot. But I haven't been able to find the drivers for the ISP1362... On Mon, Oct 15, 2012 at 1:04 PM, Wolfgang Denk w...@denx.de wrote: IIRC these boards use only the host mode of the ISP1362, and this is using just the

Re: [U-Boot] [PATCH 5/5] am33xx: support board specific ddr settings

2012-10-16 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/16/12 08:15, Peter Korsgaard wrote: Move the hardcoded ddr2/ddr3 settings for the ti boards to board code, so other boards can use different types/timings. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com ---

Re: [U-Boot] [PATCH 1/5] am33xx: move ti i2c baseboard header handling to board/ti/am335x/evm.{c, h}

2012-10-16 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/16/12 08:15, Peter Korsgaard wrote: The i2c header is specific to ti(-derived) boards, and not generic for all am335x boards. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- arch/arm/cpu/armv7/am33xx/board.c

Re: [U-Boot] [PATCH 3/5] am33xx/board: use cpu_mmc_init() for default mmc initialization

2012-10-16 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/16/12 08:15, Peter Korsgaard wrote: So platforms can override it with board_mmc_init(). Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- arch/arm/cpu/armv7/am33xx/board.c |4 ++-- 1 file changed, 2 insertions(+), 2

Re: [U-Boot] [PATCH v3 5/5] New board support: Nokia RX-51 aka N900

2012-10-16 Thread Pali Rohár
On Tuesday 16 October 2012 16:55:20 Marek Vasut wrote: Dear Pali Rohár, [...] Nothing. This code must be in assembler because stack is not initialized. Also we must be sure that U-Boot will not overwrite attached kernel (with can be in U-Boot malloc/monitor area...) Don't we have

Re: [U-Boot] [PATCH 1/2] tools/env: Fix variable delete operation

2012-10-16 Thread Tom Rini
On Mon, Oct 15, 2012 at 08:29:24PM -0500, Joe Hershberger wrote: Fix crash introduced by a073d63a36524453a817ab029fad5b188f46127e when attempting to delete a variable. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [PATCH 2/2] tools/env: Improve debug prints

2012-10-16 Thread Tom Rini
On Mon, Oct 15, 2012 at 08:29:25PM -0500, Joe Hershberger wrote: Provide more information when using redundant environments Consistently print debug info to stderr Signed-off-by: Joe Hershberger joe.hershber...@ni.com Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [PATCH v3 2/5] arm bootm: Do not append zero ATAG_MEM

2012-10-16 Thread Tom Rini
On Sun, Oct 14, 2012 at 03:08:20AM +0200, Marek Vasut wrote: Dear Pali Roh?r, On Sunday 14 October 2012 02:27:05 Marek Vasut wrote: Dear Pali Roh?r, On Sunday 14 October 2012 02:17:01 Marek Vasut wrote: Dear Pali Roh?r, On Sunday 14 October 2012 01:45:06 Marek

Re: [U-Boot] [PATCH v3 5/5] New board support: Nokia RX-51 aka N900

2012-10-16 Thread Marek Vasut
Dear Pali Rohár, [...] Reason? ++i and i++ are same (for this situation). On arm, yes, on intel, no in certain cases. Also, to keep the code consistent, go with postdecrement. What is different on intel (without assigning value of i)? IIRC the prefetch behaves differently. Ccing

Re: [U-Boot] [PATCH v2 3/5] pmic_fsl: Introduce CONFIG_SYS_FSL_PMIC_I2C_LENGTH

2012-10-16 Thread Lukasz Majewski
Hi Stefano, Am 16/10/2012 01:32, schrieb Fabio Estevam: From: Fabio Estevam fabio.este...@freescale.com Introduce CONFIG_SYS_FSL_PMIC_I2C_LENGTH to configure the number of bytes that are used to communicate with the PMIC via I2C. Instead of hardcoding the value, pass the number via

Re: [U-Boot] [PATCH v3 5/5] New board support: Nokia RX-51 aka N900

2012-10-16 Thread Pali Rohár
On Tuesday 16 October 2012 17:57:09 Marek Vasut wrote: + +static unsigned long int twl_wd_time; /* last time of watchdog reset */ +static unsigned long int twl_i2c_lock; Are you sure you want to use global vars for these? These won't work before

Re: [U-Boot] [PULL] u-boot-pxa/master

2012-10-16 Thread Albert ARIBAUD
Hi Marek, On Tue, 16 Oct 2012 07:16:51 +0200, Marek Vasut ma...@denx.de wrote: The following changes since commit bd23b22badadcdc414a900828253961fc5ec6c39: Merge branch 'ag...@denx.de-next' of git://git.denx.de/u-boot-staging (2012-10-15 13:37:22 -0700) are available in the git

Re: [U-Boot] [PATCH v2] lsxl: unset ncip for rescue mode

2012-10-16 Thread Michael Walle
Hi Prafulla, Am Donnerstag 04 Oktober 2012, 18:54:25 schrieb Michael Walle: Instead of using the serverip we get from the DHCP server, implicitly use the broadcast address, which is automatically set when no ncip environment variable is set. That way it isn't necessary to use a special DHCP

Re: [U-Boot] [STATUS] v2012.10 released, Merge Window is OPEN

2012-10-16 Thread Simon Glass
Hi, On Tue, Oct 16, 2012 at 7:08 AM, Otavio Salvador ota...@ossystems.com.br wrote: On Tue, Oct 16, 2012 at 10:43 AM, Simon Glass s...@chromium.org wrote: On Tue, Oct 16, 2012 at 3:35 AM, Wolfgang Denk w...@denx.de wrote: In message

Re: [U-Boot] [PATCH 3/5] am33xx/board: use cpu_mmc_init() for default mmc initialization

2012-10-16 Thread Peter Korsgaard
Tom == Tom Rini tr...@ti.com writes: Hi, #if defined(CONFIG_OMAP_HSMMC) !defined(CONFIG_SPL_BUILD) -int board_mmc_init(bd_t *bis) +int cpu_mmc_init(bd_t *bis) { int ret; - + ret = omap_mmc_init(0, 0, 0); if (ret) return ret; Tom What does this look like on your port? I don't have

Re: [U-Boot] [PATCH 5/5] am33xx: support board specific ddr settings

2012-10-16 Thread Peter Korsgaard
Tom == Tom Rini tr...@ti.com writes: Hi, Tom I would like to see the ddr information kept in Tom arch/arm/cpu/armv7/am33xx but prefixed with vendor/part information so Tom we can re-use it on other boards. So something like: /* Micron MT41J128M16JT-125 */ #define

Re: [U-Boot] reg: P2020 include config file - u-boot basic doubt

2012-10-16 Thread Scott Wood
On 10/16/2012 07:51:24 AM, vidya Krishnamoorthy wrote: Hi Anybody worked in P2020 ..Please clarify my basic doubt The e500 core datasheet says processor reset vector address is 0xFFC but in p2020 u-boot config file , CONFIG_RESET_VECTOR_ADDRESS is defined as0xEFFC. With boot

Re: [U-Boot] [PATCH 5/7] disk: Allow alternate EFI partition signature

2012-10-16 Thread Stephen Warren
On 10/15/2012 11:17 AM, Stefan Reinauer wrote: On Mon, Oct 15, 2012 at 8:19 AM, Stephen Warren swar...@wwwdotorg.org mailto:swar...@wwwdotorg.org wrote: On 10/12/2012 06:26 PM, Simon Glass wrote: From: Stefan Reinauer reina...@chromium.org mailto:reina...@chromium.org

[U-Boot] [PATCH 0/5] am33xx: support non-ti boards

2012-10-16 Thread Peter Korsgaard
The am33xx code currently contains a number of details specific to the ti(-derived) boards in the common code. This series restructures the arch code to make it possible to add other boards. This series does not yet any new boards, as the board I'm working on is using nand flash, and omap_gpmc

[U-Boot] [PATCH 4/5] am33xx: move generic parts of pinmux handling out from board/ti/am335x

2012-10-16 Thread Peter Korsgaard
So they are available for other boards. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- arch/arm/cpu/armv7/am33xx/Makefile |1 + arch/arm/cpu/armv7/am33xx/mux.c| 33 arch/arm/include/asm/arch-am33xx/mux.h | 261

[U-Boot] [PATCH 2/5] am335x/evm.c: don't make wdtimer/uart_base global

2012-10-16 Thread Peter Korsgaard
Only used here (and for SPL). Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- board/ti/am335x/evm.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/board/ti/am335x/evm.c b/board/ti/am335x/evm.c index a1fa443..9dd372c 100644 --- a/board/ti/am335x/evm.c

[U-Boot] [PATCH 1/5] am33xx: move ti i2c baseboard header handling to board/ti/am335x/evm.{c, h}

2012-10-16 Thread Peter Korsgaard
The i2c header is specific to ti(-derived) boards, and not generic for all am335x boards. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- arch/arm/cpu/armv7/am33xx/board.c | 235 arch/arm/include/asm/arch-am33xx/sys_proto.h | 27 ---

[U-Boot] [PATCH 5/5] am33xx: support board specific ddr settings

2012-10-16 Thread Peter Korsgaard
Move the hardcoded ddr2/ddr3 settings for the ti boards to board code, so other boards can use different types/timings. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- arch/arm/cpu/armv7/am33xx/emif4.c | 114 +++-

[U-Boot] [PATCH 3/5] am33xx/board: use cpu_mmc_init() for default mmc initialization

2012-10-16 Thread Peter Korsgaard
So platforms can override it with board_mmc_init(). Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- arch/arm/cpu/armv7/am33xx/board.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv7/am33xx/board.c b/arch/arm/cpu/armv7/am33xx/board.c

Re: [U-Boot] [PATCH v3 13/18] lcd: Add support for flushing LCD fb from dcache after update

2012-10-16 Thread Simon Glass
Hi, On Thu, Aug 9, 2012 at 12:43 AM, Lukasz Majewski l.majew...@samsung.com wrote: Hi Simon, This provides an option for the LCD to flush the dcache after each update (puts, scroll or clear). Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Put the LCD cache flush logic

Re: [U-Boot] [PATCH 1/9 V2] SOUND: Add I2S driver

2012-10-16 Thread Simon Glass
Hi, On Tue, Aug 21, 2012 at 11:44 PM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch adds driver for I2S interface specific to samsung. Signed-off-by: R. Chandrasekar rcse...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in V2: - renamed

Re: [U-Boot] [PATCH] powerpc/fm: fix TBI PHY address settings

2012-10-16 Thread Timur Tabi
Xie Shaohui-B21989 wrote: Is this still true with Fman v3? [S.H] No. Fman V3 does not need to set TBIPA on FM1@DTSEC1. Does this patch break Fman V3? -- Timur Tabi Linux kernel developer at Freescale ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 5/5] am33xx: support board specific ddr settings

2012-10-16 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/16/12 10:43, Peter Korsgaard wrote: Tom == Tom Rini tr...@ti.com writes: Hi, Tom I would like to see the ddr information kept in Tom arch/arm/cpu/armv7/am33xx but prefixed with vendor/part information so Tom we can re-use it on other

[U-Boot] [PATCH 4/4] ARM: tegra: increase CONFIG_SYS_TEXT_BASE

2012-10-16 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com The SPL has grown. Increase CONFIG_SYS_TEXT_BASE so SPL's BSS does not overlap the main U-Boot. Signed-off-by: Stephen Warren swar...@nvidia.com --- include/configs/tegra20-common.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH 1/4] ARM: fix u-boot.lds for -ffunction-sections/-fdata-sections

2012-10-16 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com When -ffunction-sections or -fdata-section are used, symbols are placed into sections such as .data.eserial1_device and .bss.serial_current. Update the linker script to explicitly include these. Without this change (at least with my gcc-4.5.3 built using

[U-Boot] [PATCH 2/4] ARM: tegra: combine duplicate Makefile rules

2012-10-16 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com The rules to generate u-boot-{no,}dtb-tegra.bin were almost identical. Combine them into a single paremeterized rule. This will allow the next patch to edit a single rule, rather than being cut/paste twice. Signed-off-by: Stephen Warren swar...@nvidia.com

[U-Boot] [PATCH 3/4] ARM: tegra: check for SPL size overflow in makefile

2012-10-16 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com If the SPL extends beyond CONFIG_SYS_TEXT_BASE, then it will likely corrupt the main U-Boot binary during execution, causing the main U-Boot binary to fail. Check for this situation during the build to avoid extremely annoying and hard-to-find bugs. Note

Re: [U-Boot] [PATCH 4/4] ARM: tegra: increase CONFIG_SYS_TEXT_BASE

2012-10-16 Thread Lucas Stach
Am Dienstag, den 16.10.2012, 15:50 -0600 schrieb Stephen Warren: From: Stephen Warren swar...@nvidia.com The SPL has grown. Increase CONFIG_SYS_TEXT_BASE so SPL's BSS does not overlap the main U-Boot. Is there any specific reason why the SPL is now bigger than before? Or is this just

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-10-16 Thread Graeme Russ
Hi Wolfgang, On Tue, Oct 16, 2012 at 9:43 PM, Wolfgang Denk w...@denx.de wrote: Dear Marek Vasut, In message 201210160831.20759.ma...@denx.de you wrote: In short, returning non-NULL from malloc(0) and expecting a CPU exception when it is de-referenced is not going to fly. We should not

Re: [U-Boot] [PATCH 4/4] ARM: tegra: increase CONFIG_SYS_TEXT_BASE

2012-10-16 Thread Stephen Warren
On 10/16/2012 04:09 PM, Lucas Stach wrote: Am Dienstag, den 16.10.2012, 15:50 -0600 schrieb Stephen Warren: From: Stephen Warren swar...@nvidia.com The SPL has grown. Increase CONFIG_SYS_TEXT_BASE so SPL's BSS does not overlap the main U-Boot. Is there any specific reason why the SPL is now

[U-Boot] [PATCH 2/3] omapimage: Add support for byteswapped SPI images

2012-10-16 Thread Tom Rini
Add MLO.byteswap as a target to spl/Makefile and un-guard the first MLO rule so we don't have to duplicate it. Signed-off-by: Tom Rini tr...@ti.com --- spl/Makefile |9 ++ tools/omapimage.c | 83 + 2 files changed, 68

[U-Boot] [PATCH 1/3] omap3_spi: Undo CONFIG_AM33XX D0/D1 change

2012-10-16 Thread Tom Rini
At some point the am335x evm hardware was updated to previosly used in all other designs layout, so remove the now incorrect code. Signed-off-by: Tom Rini tr...@ti.com --- drivers/spi/omap3_spi.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/spi/omap3_spi.c

[U-Boot] [PATCH 3/3] am33xx: Add SPI SPL as an option

2012-10-16 Thread Tom Rini
Add the required config.mk logic for this SoC as well as the BOOT_DEVICE define. Finally, enable the options on the am335x_evm. Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/am33xx/config.mk|1 + arch/arm/include/asm/arch-am33xx/spl.h |1 + include/configs/am335x_evm.h

[U-Boot] [PATCH] libfdt: Add helper function to create a trivial, empty tree

2012-10-16 Thread Gerald Van Baren
The libfdt read/write functions are now usable enough that it's become a moderately common pattern to use them to build and manipulate a device tree from scratch. For example, we do so ourself in our rw_tree1 testcase, and qemu is starting to use this model when building device trees for some

[U-Boot] [PATCH 03/32] include/linux/unaligned/generic.h: fix warning: preprocessor token __force redefined

2012-10-16 Thread Kim Phillips
include/linux/unaligned/generic.h:5:9: warning: preprocessor token __force redefined include/linux/compiler.h:10:10: this was the original definition fixup __force definitions in compat.h code appears to be placed there as a cover up from a code import from linux when u-boot didn't yet have a

[U-Boot] [PATCH 02/32] include/linux/compat.h: fix warning: preprocessor token __iomem redefined

2012-10-16 Thread Kim Phillips
include/linux/compat.h:4:9: warning: preprocessor token __user redefined include/linux/compiler.h:7:10: this was the original definition include/linux/compat.h:5:9: warning: preprocessor token __iomem redefined include/linux/compiler.h:12:10: this was the original definition fixup __iomem, __user

[U-Boot] [PATCH 01/32] include/linux/byteorder: import latest endian definitions from linux

2012-10-16 Thread Kim Phillips
u-boot's byteorder headers did not contain endianness attributions for use with sparse, causing a lot of false positives. Import the kernel's latest definitions, and enable them by including compiler.h and types.h. They come with 'const' added for some swab functions, so fix those up, too:

[U-Boot] [PATCH 08/32] arch/powerpc/lib/board.c, *traps.c: sparse fixes

2012-10-16 Thread Kim Phillips
traps.c:*:1: warning: symbol 'print_backtrace' was not declared. Should it be static? traps.c:66:6: warning: symbol 'show_regs' was not declared. Should it be static? traps.c:93:1: warning: symbol '_exception' was not declared. Should it be static? board.c:166:6: warning: symbol

[U-Boot] [PATCH 15/32] net/: sparse fixes

2012-10-16 Thread Kim Phillips
bootp.c:44:14: warning: symbol 'dhcp_state' was not declared. Should it be static? bootp.c:45:15: warning: symbol 'dhcp_leasetime' was not declared. Should it be static? bootp.c:46:10: warning: symbol 'NetDHCPServerIP' was not declared. Should it be static? arp.c:30:17: warning: symbol

[U-Boot] [PATCH 00/32] Initial sparse fix series

2012-10-16 Thread Kim Phillips
This 32-patch series only begins to address making u-boot source more 'sparseable,' or sparse-clean, ultimately to catch type, address space, and endianness mismatches and generally improve code quality. E.g., in this initial dose whose main purpose is to reduce the output volume to workable

[U-Boot] [PATCH 23/32] powerpc/mpc83xx: sparse fixes

2012-10-16 Thread Kim Phillips
fdt.c:91:78: warning: Using plain integer as NULL pointer fdt.c:103:78: warning: Using plain integer as NULL pointer speed.c:55:11: warning: symbol 'corecnf_tab' was not declared. Should it be static? speed.c:519:5: warning: symbol 'do_clocks' was not declared. Should it be static?

[U-Boot] [PATCH 30/32] drivers/mtd/cfi_flash.c: sparse fixes

2012-10-16 Thread Kim Phillips
cfi_flash.c:756:43: warning: Using plain integer as NULL pointer cfi_flash.c:1150:52: warning: cast to non-scalar cfi_flash.c:1433:46: warning: cast truncates bits from constant value (890089 becomes 89) cfi_flash.c:1490:61: warning: cast truncates bits from constant value (1f001f becomes 1f)

[U-Boot] [PATCH 04/32] include/linux/stddef.h: avoid 'warning: preprocessor token offsetof redefined'

2012-10-16 Thread Kim Phillips
hack to avoid: /opt/gcc-4.6.3-nolibc/powerpc-linux/bin/../lib/gcc/powerpc-linux/4.6.3/include/stddef.h:413:9: warning: preprocessor token offsetof redefined u-boot/include/linux/stddef.h:20:9: this was the original definition tried protecting with __KERNEL__, and #including compiler.h first.

  1   2   >