[U-Boot] [u-boot][PATCH] uboot/flexcan: fixup flexcan clock-frequency

2011-11-15 Thread Jia Hongtao
Make the fixup matchable with dts and kernel. Update the compatible from fsl,flexcan-v1.0 to fsl,p1010-flexcan and Change the clock-freq property to clock-frequency. We also change flexcan frequency from CCB-clock to CCB-clock/2 according to P1010 spec. We now keep the old interfaces to make

Re: [U-Boot] Nokia N900 - eMMC not working after commit 02f3029f1810b99869254d0cf0a71946a008a728

2011-11-15 Thread Lei Wen
Hi Macpaul, On Tue, Nov 15, 2011 at 11:34 AM, Macpaul Lin macp...@gmail.com wrote: HI Lei Wen, 2011/11/14 Lei Wen adrian.w...@gmail.com: Hi Macpaul, It seems some socs always treat cmd8 as failed...? I think it is reasonable to add a quirk configuration surround the judgement of cmd8

Re: [U-Boot] Nokia N900 - eMMC not working after commit 02f3029f1810b99869254d0cf0a71946a008a728

2011-11-15 Thread Macpaul Lin
Hi Lei Wen, 2011/11/15 Lei Wen adrian.w...@gmail.com: Hi Macpaul, Figure 6.1 http://i.imgur.com/bmoAX.jpg Figure 6.2 http://i.imgur.com/7fxdx.jpg As you can see, after the power ramp up to 74 clocks (1msec), the CMD0 can be send to the card. So it seems your controller will do power

[U-Boot] [PATCH v2 2/2] smsc95xx: Debug message cleanup

2011-11-15 Thread Wolfgang Grandegger
Cc: Simon Glass s...@chromium.org Cc: Mike Frysinger vap...@gentoo.org Signed-off-by: Wolfgang Grandegger w...@denx.de --- drivers/usb/eth/smsc95xx.c | 10 +++--- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/usb/eth/smsc95xx.c b/drivers/usb/eth/smsc95xx.c index

[U-Boot] [PATCH v2 0/2] smsc95xx: Fix MAC address programming and some minor issues

2011-11-15 Thread Wolfgang Grandegger
Changes since v1: - Use __get_unaligned_le16/32 as suggested by Mike Frysinger. - Use format %pM to print ethernet address. - Drop third patch as it is not really required/useful. Wolfgang Grandegger (2): smsc95xx: Fix MAC address programming smsc95xx: Debug message cleanup

[U-Boot] [PATCH v2 1/2] smsc95xx: Fix MAC address programming

2011-11-15 Thread Wolfgang Grandegger
Commit 79ad54400932d6484178a372fb3b659e3437473b broke MAC address programming in the SMSC95xx register set. Cc: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Simon Glass s...@chromium.org Cc: Mike Frysinger vap...@gentoo.org Signed-off-by: Wolfgang Grandegger w...@denx.de

Re: [U-Boot] [PATCH 1/3] smsc95xx: Fix MAC address programming

2011-11-15 Thread Wolfgang Grandegger
On 11/14/2011 05:50 PM, Mike Frysinger wrote: On Monday 14 November 2011 03:25:37 Wolfgang Grandegger wrote: On 11/11/2011 04:18 PM, Mike Frysinger wrote: mine might take a little longer due to wrangling with wolfgang. i'd suggest we go with your patch (although i have feedback on it).

[U-Boot] [PATCH] Improve Power Management in SMC911X driver.

2011-11-15 Thread Bertrand Cachet
From datasheet, when READY bit is set inside PM_CTRL register, it means that device is already in *normal* (D0) mode = it doesn't need to be wake-up. With this patch, we only wake-up (writing on TEST_BYTE register) if PM_MODE bits of PM_CTRL register is in sleep (D1/D2) mode. Improve code

[U-Boot] [PATCH] Revert mmc: retry the cmd8 to meet 74 clocks requirement in the spec

2011-11-15 Thread Macpaul Lin
This reverts commit 02f3029f1810b99869254d0cf0a71946a008a728. This patch add 3 times retry to CMD8 because the Marvell mmc controller doesn't obey the power ramp up process in the SD specification 6.4.1. (Please refer to figure 6.1 and 6.2 in the specification.) The CMD0 should be send after

Re: [U-Boot] [PATCH] Revert mmc: retry the cmd8 to meet 74 clocks requirement in the spec

2011-11-15 Thread Lei Wen
On Tue, Nov 15, 2011 at 5:35 PM, Macpaul Lin macp...@andestech.com wrote: This reverts commit 02f3029f1810b99869254d0cf0a71946a008a728. This patch add 3 times retry to CMD8 because the Marvell mmc controller doesn't obey the power ramp up process in the SD specification 6.4.1. (Please refer

Re: [U-Boot] [PATCH 5/6] i.mx: fsl_esdhc: add the i.mx6q support

2011-11-15 Thread Jason Hui
On Mon, Nov 14, 2011 at 6:42 PM, Marek Vasut marek.va...@gmail.com wrote: On Sun, Nov 13, 2011 at 12:35 AM, Marek Vasut marek.va...@gmail.com wrote: The mmc host controller on the i.mx6q is called usdhc which is redesigned based on the freescale esdhc controller. The usdhc controller is

Re: [U-Boot] [PATCH 2/6] i.mx: Add the initial support for freescale i.MX6Q processor

2011-11-15 Thread Jason Hui
On Mon, Nov 14, 2011 at 6:45 PM, Marek Vasut marek.va...@gmail.com wrote: On Mon, Nov 14, 2011 at 7:11 AM, Marek Vasut marek.va...@gmail.com wrote: i.MX6Q is freescale quad core processors with ARM cortex_a9 complex. This patch is to add the initial support for this processor.

Re: [U-Boot] [PATCH 2/6] i.mx: Add the initial support for freescale i.MX6Q processor

2011-11-15 Thread Jason Hui
On Mon, Nov 14, 2011 at 7:49 PM, Stefano Babic sba...@denx.de wrote: On 11/14/2011 10:42 AM, Jason Hui wrote: All get_usdhcX function are identical, except for two masks (MXC_CCM_CSCDR1_USDHCx_PODF_MASK and MXC_CCM_CSCMR1_USDHCx_CLK_SEL). Merge them in a get_usdhc_clk(usdhc_number) Yes,

[U-Boot] [RFC PATCH 1/8] arm, davinci: Move pinmux functions from board to arch tree

2011-11-15 Thread Christian Riesch
Signed-off-by: Christian Riesch christian.rie...@omicron.at Cc: Sandeep Paulraj s-paul...@ti.com --- arch/arm/cpu/arm926ejs/davinci/Makefile|2 +- .../arm/cpu/arm926ejs/davinci/pinmux.c |0 arch/arm/include/asm/arch-davinci/hardware.h |2 ++

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

2011-11-15 Thread Christian Riesch
Signed-off-by: Christian Riesch christian.rie...@omicron.at Cc: Stefano Babic sba...@denx.de Cc: Heiko Schocher h...@denx.de --- .gitignore |1 + Makefile |7 +++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index 70a11f7..1c5defd 100644

[U-Boot] [RFC PATCH 7/8] mkimage: Fix variable length header support

2011-11-15 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

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

2011-11-15 Thread Christian Riesch
Signed-off-by: Christian Riesch christian.rie...@omicron.at Cc: Heiko Schocher h...@denx.de Cc: Sandeep Paulraj s-paul...@ti.com --- arch/arm/cpu/arm926ejs/davinci/Makefile |3 ++- arch/arm/cpu/arm926ejs/davinci/spl.c| 11 ++- 2 files changed, 12 insertions(+), 2 deletions(-)

[U-Boot] [RFC PATCH 5/8] arm, davinci: Replace pinmuxing in da850_lowlevel.c

2011-11-15 Thread Christian Riesch
This patch replaces the pinmuxing functions from arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c by those of arch/arm/cpu/arm926ejs/davinci/pinmux.c Signed-off-by: Christian Riesch christian.rie...@omicron.at Cc: Heiko Schocher h...@denx.de Cc: Sandeep Paulraj s-paul...@ti.com ---

[U-Boot] [RFC PATCH 4/8] arm: printf() is not available in the SPL

2011-11-15 Thread Christian Riesch
Signed-off-by: Christian Riesch christian.rie...@omicron.at Cc: Wolfgang Denk w...@denx.de --- arch/arm/lib/eabi_compat.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/lib/eabi_compat.c b/arch/arm/lib/eabi_compat.c index eb3e26d..2d49a28 100644 ---

[U-Boot] [RFC PATCH 6/8] da850evm: Add a basic SPL for SPI boot

2011-11-15 Thread Christian Riesch
The code does not actually load u-boot from the SPI flash but rather illustrates how SPL support for this board could look like. This patch is for discussion only. Signed-off-by: Christian Riesch christian.rie...@omicron.at Cc: Heiko Schocher h...@denx.de Cc: Sandeep Paulraj s-paul...@ti.com Cc:

[U-Boot] [RFC PATCH 2/8] arm, davinci: Fix clear_bss for zero length bss

2011-11-15 Thread Christian Riesch
This patch fixes the clear_bss loop for bss sections that have zero length, i.e., where __bss_start == __bss_end__. Signed-off-by: Christian Riesch christian.rie...@omicron.at Cc: Albert Aribaud albert.u.b...@aribaud.net --- arch/arm/cpu/arm926ejs/start.S |8 +--- 1 files changed, 5

[U-Boot] [RFC PATCH 0/8] da850evm: Add SPL support for booting from SPI flash

2011-11-15 Thread Christian Riesch
Hi all, Heiko Schocher added patches for the low level configuration of the DA850 SoCs and I would like to use this code on my board. At the same time I would like to add support for this low level configuration for the da850evm board. This makes it possible to test/use the lowlevel functions also

Re: [U-Boot] [PATCH 2/6] i.mx: Add the initial support for freescale i.MX6Q processor

2011-11-15 Thread Stefano Babic
On 11/15/2011 11:10 AM, Jason Hui wrote: yes, we already had drivers/gpio/mxc_gpio.c driver. In this driver, we will use this structure. And it's the same as i.mx5 before. So why do you need to expose the structure, isn't it internal to the driver? Yes, it's internal to the gpio driver, but,

Re: [U-Boot] [PATCH 5/6] i.mx: fsl_esdhc: add the i.mx6q support

2011-11-15 Thread Stefano Babic
On 11/15/2011 10:46 AM, Jason Hui wrote: Well this is insane, is the datasheet for mx6q available already so I can check for myself? This is mx6q usdhc design and datasheet is not public now. Without this, the mmc driver does not work. Can you at least add a useful comment explaining why

[U-Boot] [PATCH v3] Improve Power Management in SMC911X driver.

2011-11-15 Thread Bertrand Cachet
From datasheet, when READY bit is set inside PM_CTRL register, it means that device is already in *normal* (D0) mode = it doesn't need to be wake-up. With this patch, we only wake-up (writing on TEST_BYTE register) if PM_MODE bits of PM_CTRL register is in sleep (D1/D2) mode. Signed-off-by:

[U-Boot] uboot

2011-11-15 Thread siddharth baisane
Hi, I am trying to boot beagle board by uart can anybody help me on this issue? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 0/2] omap3evm: Add support for EFI partitions

2011-11-15 Thread Premi, Sanjeev
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Premi, Sanjeev Sent: Tuesday, November 15, 2011 12:15 PM To: Tom Rini Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH 0/2] omap3evm: Add support for EFI partitions

[U-Boot] [PATCH v4] Improve Power Management in SMC911X driver.

2011-11-15 Thread Bertrand Cachet
From datasheet, when READY bit is set inside PM_CTRL register, it means that device is already in *normal* (D0) mode = it doesn't need to be wake-up. With this patch, we only wake-up (writing on TEST_BYTE register) if PM_MODE bits of PM_CTRL register is in sleep (D1/D2) mode. Signed-off-by:

[U-Boot] [PATCHv2 0/2] omap3evm: Add support for EFI partitions

2011-11-15 Thread Sanjeev Premi
After enabling CONFIG_EFI_PARTITION, following errors were noticed. part_efi.c: In function 'print_part_efi': part_efi.c:133:5: warning: passing argument 3 of 'is_gpt_valid' from incompatible pointer type part_efi.c:95:12: note: expected 'struct gpt_header *' but arg ument is of type 'struct

[U-Boot] [PATCHv2 1/2] part_efi: Fix compile errors

2011-11-15 Thread Sanjeev Premi
Fix errors noticed after enabling CONFIG_EFI_PARTITION for the OMAP3 EVM board: part_efi.c: In function 'print_part_efi': part_efi.c:133:5: warning: passing argument 3 of 'is_gpt_valid' from incompatible pointer type part_efi.c:95:12: note: expected 'struct gpt_header *' but arg ument is of type

[U-Boot] [PATCHv2 2/2] omap3evm: Add support for EFI partitions

2011-11-15 Thread Sanjeev Premi
Defines CONFIG_EFI_PARTITION for OMAP3 EVM. Signed-off-by: Sanjeev Premi pr...@ti.com Cc: Sandeep Paulraj s-paul...@ti.com Cc: Tom Rini tom.r...@gmail.com --- Changes since v1: * Removed definition of CONFIG_SYS_CACHELINE_SIZE as it is no longer needed - since ARCH_DMA_MINALIGN is being

[U-Boot] [STATUS] Help needed - urgently

2011-11-15 Thread Wolfgang Denk
Hello all, I guess most of you will already have noticed that my activity on the mailing list has significantly declined recently. I'm sorry for that, but I find myself in a situation where I have even less time available for U-Boot than usually. In the result, the number of unapplied (and

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

2011-11-15 Thread s-paulraj
The following changes since commit 06194b6b65f701a9d6ef2d9b4123c4afe57d8783: Nagabhushana Netagunte (1): da850: add new config file for AM18xx are available in the git repository at: git://git.denx.de/u-boot-ti.git master Heiko Schocher (3): arm, davinci: da850/dm365 lowlevel

[U-Boot] [PATCH 1/5] mx53loco: Configure the pins as GPIOs prior to using gpio_get_value

2011-11-15 Thread Fabio Estevam
Configure the pins as GPIO prior to using gpio_get_value. Cc: Jason Liu r64...@freescale.com Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/freescale/mx53loco/mx53loco.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH 3/5] mx53evk: Configure the pins as GPIOs prior to using gpio_get_value

2011-11-15 Thread Fabio Estevam
Configure the pins as GPIO prior to using gpio_get_value. Cc: Jason Liu r64...@freescale.com Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/freescale/mx53evk/mx53evk.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/board/freescale/mx53evk/mx53evk.c

[U-Boot] [PATCH 2/5] mx53ard: Configure the pins as GPIOs prior to using gpio_get_value

2011-11-15 Thread Fabio Estevam
Configure the pins as GPIO prior to using gpio_get_value. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/freescale/mx53ard/mx53ard.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/board/freescale/mx53ard/mx53ard.c

[U-Boot] [PATCH 4/5] mx53smd: Configure the pins as GPIOs prior to using gpio_get_value

2011-11-15 Thread Fabio Estevam
Configure the pins as GPIO prior to using gpio_get_value. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/freescale/mx53smd/mx53smd.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/board/freescale/mx53smd/mx53smd.c b/board/freescale/mx53smd/mx53smd.c

[U-Boot] [PATCH 5/5] mx51evk: Configure the pins as GPIOs prior to using gpio_get_value

2011-11-15 Thread Fabio Estevam
Configure the pins as GPIO prior to using gpio_get_value. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/freescale/mx51evk/mx51evk.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/board/freescale/mx51evk/mx51evk.c

Re: [U-Boot] [PATCH v2 2/2] smsc95xx: Debug message cleanup

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

Re: [U-Boot] [PATCH v2 1/2] smsc95xx: Fix MAC address programming

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

Re: [U-Boot] [RFC PATCH 4/8] arm: printf() is not available in the SPL

2011-11-15 Thread Tom Rini
On Tue, Nov 15, 2011 at 3:37 AM, Christian Riesch christian.rie...@omicron.at wrote: Signed-off-by: Christian Riesch christian.rie...@omicron.at Cc: Wolfgang Denk w...@denx.de ---  arch/arm/lib/eabi_compat.c |    3 +++  1 files changed, 3 insertions(+), 0 deletions(-) diff --git

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

2011-11-15 Thread Stefan Roese
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 [-Wunused-but-set-variable] Signed-off-by: Stefan Roese s...@denx.de ---

[U-Boot] [PATCH 01/19] usb_ohci.c: Fix GCC 4.6 build warnings

2011-11-15 Thread Stefan Roese
Fix: usb_ohci.c: In function 'dl_transfer_length': usb_ohci.c:756:8: warning: variable 'tdINFO' set but not used [-Wunused-but-set-variable] Signed-off-by: Stefan Roese s...@denx.de --- arch/powerpc/cpu/ppc4xx/usb_ohci.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 03/19] 4xx_enet.c: Fix GCC 4.6 build warnings

2011-11-15 Thread Stefan Roese
Fix: 4xx_enet.c: In function 'ppc_4xx_eth_init': 4xx_enet.c:875:6: warning: variable 'ethgroup' set but not used [-Wunused-but-set-variable] I used __maybe_unused here intentionally, since all other alternatives to fix this compilation warning would result in more ifdef's. Signed-off-by: Stefan

[U-Boot] [PATCH 04/19] 4xx_pcie.c: Fix GCC 4.6 build warnings

2011-11-15 Thread Stefan Roese
Fix: 4xx_pcie.c: In function 'pcie_read_config': 4xx_pcie.c:230:6: warning: variable 'address' set but not used [-Wunused-but-set-variable] 4xx_pcie.c: In function 'pcie_write_config': 4xx_pcie.c:290:6: warning: variable 'address' set but not used [-Wunused-but-set-variable] 4xx_pcie.c: In

[U-Boot] [PATCH 05/19] 4xx_ibm_ddr2_autocalib.c: Fix GCC 4.6 build warnings

2011-11-15 Thread Stefan Roese
Fix: 4xx_ibm_ddr2_autocalib.c: In function 'get_membase': 4xx_ibm_ddr2_autocalib.c:157:8: warning: variable 'bxcf' set but not used [-Wunused-but-set-variable] 4xx_ibm_ddr2_autocalib.c: In function 'DQS_calibration_methodB': 4xx_ibm_ddr2_autocalib.c:722:8: warning: variable 'rffd' set but not

[U-Boot] [PATCH 07/19] 44x_spd_ddr.c: Fix GCC 4.6 build warnings

2011-11-15 Thread Stefan Roese
Fix: 44x_spd_ddr.c: In function 'program_cfg0': 44x_spd_ddr.c:384:16: warning: variable 'dimm_64bit' set but not used [-Wunused-but-set-variable] 44x_spd_ddr.c:383:16: warning: variable 'dimm_32bit' set but not used [-Wunused-but-set-variable] Signed-off-by: Stefan Roese s...@denx.de ---

[U-Boot] [PATCH 06/19] cmd_ecctest.c: Fix GCC 4.6 build warnings

2011-11-15 Thread Stefan Roese
Fix: cmd_ecctest.c: In function 'inject_ecc_error': cmd_ecctest.c:116:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] cmd_ecctest.c: In function 'rewrite_ecc_parity': cmd_ecctest.c:154:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] Signed-off-by:

[U-Boot] [PATCH 09/19] 40x_spd_sdram.c: Fix GCC 4.6 build warnings

2011-11-15 Thread Stefan Roese
Fix: 40x_spd_sdram.c: In function 'spd_sdram': 40x_spd_sdram.c:137:6: warning: variable 'sdram0_b3cr' set but not used [-Wunused-but-set-variable] 40x_spd_sdram.c:136:6: warning: variable 'sdram0_b2cr' set but not used [-Wunused-but-set-variable] 40x_spd_sdram.c:129:6: warning: variable

[U-Boot] [PATCH 11/19] sata_dwc.c: Fix GCC 4.6 build warnings

2011-11-15 Thread Stefan Roese
Fix: sata_dwc.c: In function 'sata_dwc_softreset': sata_dwc.c:444:5: warning: variable 'status' set but not used [-Wunused-but-set-variable] sata_dwc.c:443:6: warning: variable 'serror' set but not used [-Wunused-but-set-variable] sata_dwc.c: In function 'scan_sata': sata_dwc.c:654:16: warning:

[U-Boot] [PATCH 08/19] 44x_spd_ddr2.c: Fix GCC 4.6 build warnings

2011-11-15 Thread Stefan Roese
44x_spd_ddr2.c: In function 'initdram': 44x_spd_ddr2.c:450:17: warning: variable 'dimm_spd' set but not used [-Wunused-but-set-variable] 44x_spd_ddr2.c: In function 'program_copt1': 44x_spd_ddr2.c:1003:16: warning: variable 'ddrtype' set but not used [-Wunused-but-set-variable] 44x_spd_ddr2.c:

Re: [U-Boot] [PATCH] tegra2: Change CONFIG_SYS_TEXT_BASE to 0x00108000.

2011-11-15 Thread Stephen Warren
Thierry Reding wrote at Tuesday, November 15, 2011 12:19 AM: NVIDIA's flashing tools assume that the bootloader is loaded at address 0x00108000. Instead of requiring non-standard builds of those tools which allow a load address of 0x00E08000, this commit just switches all Tegra2 boards to use

[U-Boot] [PATCH 10/19] 20001122-1.c: Fix GCC 4.6 build warning

2011-11-15 Thread Stefan Roese
Fix: 20001122-1.c: In function 'fpu_post_test_math1': 20001122-1.c:37:22: warning: variable 'p' set but not used [-Wunused-but-set-variable] Signed-off-by: Stefan Roese s...@denx.de --- post/lib_powerpc/fpu/20001122-1.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 13/19] dlvision-10g.c: Fix GCC 4.6 build warnings

2011-11-15 Thread Stefan Roese
Fix: dlvision-10g.c: In function 'print_fpga_info': dlvision-10g.c:90:11: warning: variable 'feature_compression' set but not used [-Wunused-but-set-variable] Signed-off-by: Stefan Roese s...@denx.de --- board/gdsys/405ep/dlvision-10g.c |2 -- 1 files changed, 0 insertions(+), 2

[U-Boot] [PATCH 12/19] nand_boot.c: Fix GCC 4.6 build warnings

2011-11-15 Thread Stefan Roese
Fix: nand_boot.c: In function 'nand_read_page': nand_boot.c:190:6: warning: variable 'stat' set but not used [-Wunused-but-set-variable] nand_boot.c: In function 'nand_boot': nand_boot.c:271:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] Signed-off-by: Stefan Roese

[U-Boot] [PATCH 14/19] cmd_pci405.c: Fix GCC 4.6 build warnings

2011-11-15 Thread Stefan Roese
Fix: cmd_pci405.c: In function 'do_loadpci': cmd_pci405.c:45:6: warning: variable 'status' set but not used [-Wunused-but-set-variable] Signed-off-by: Stefan Roese s...@denx.de --- board/esd/pci405/cmd_pci405.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 16/19] iop480_uart.c: Fix GCC 4.6 build warnings

2011-11-15 Thread Stefan Roese
Fix: iop480_uart.c: In function 'serial_init': iop480_uart.c:137:16: warning: variable 'val' set but not used [-Wunused-but-set-variable] Signed-off-by: Stefan Roese s...@denx.de --- arch/powerpc/cpu/ppc4xx/iop480_uart.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 17/19] auto_update.c: Fix GCC 4.6 build warnings

2011-11-15 Thread Stefan Roese
Fix: ../common/auto_update.c: In function 'au_check_header_valid': ../common/auto_update.c:94:16: warning: variable 'checksum' set but not used [-Wunused-but-set-variable] ../common/auto_update.c: In function 'do_auto_update': ../common/auto_update.c:400:30: warning: variable 'got_ctrlc' set but

[U-Boot] [PATCH 15/19] cmd_dasa_sim.c: Fix GCC 4.6 build warnings

2011-11-15 Thread Stefan Roese
Fix: cmd_dasa_sim.c: In function 'updatePci9054': cmd_dasa_sim.c:135:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] cmd_dasa_sim.c: In function 'clearPci9054': cmd_dasa_sim.c:189:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] Signed-off-by:

[U-Boot] [PATCH 18/19] mip405.c: Fix GCC 4.6 build warnings

2011-11-15 Thread Stefan Roese
Fix: mip405.c: In function 'init_sdram': mip405.c:250:4: warning: variable 'tctp_clocks' set but not used [-Wunused-but-set-variable] mip405.c: In function 'initdram': mip405.c:629:9: warning: variable 'ds' set but not used [-Wunused-but-set-variable] Signed-off-by: Stefan Roese s...@denx.de

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

2011-11-15 Thread Stefan Roese
Fix: pip405.c: In function 'board_early_init_f': pip405.c:192:16: warning: variable 'tctp_clocks' set but not used [-Wunused-but-set-variable] pip405.c:182:16: warning: variable 'dataout' set but not used [-Wunused-but-set-variable] Signed-off-by: Stefan Roese s...@denx.de ---

Re: [U-Boot] [PATCH 2/3 v2] devkit3250: add Timll DevKit3250 board initial support

2011-11-15 Thread Vladimir Zapolskiy
On 15.11.2011 09:48, Igor Grinberg wrote: On 11/15/11 09:25, Vladimir Zapolskiy wrote: Hi Igor, On 15.11.2011 08:42, Igor Grinberg wrote: Hi Vladimir, On 11/14/11 19:43, Vladimir Zapolskiy wrote: This change adds a basic support for Embest/Timll DevKit3250 board, NOR and UART are the only

Re: [U-Boot] [PATCH] disk: part_efi: fix regression due to incorrect buffer usage

2011-11-15 Thread Anton Staaf
Tested-by: Anton Staaf robot...@chromium.org Mike, do you think you could pull this into staging as per Wolfgang's recent request for help? Thanks, Anton On Sun, Oct 30, 2011 at 8:44 AM, Mike Frysinger vap...@gentoo.org wrote: Acked-by: Mike Frysinger vap...@gentoo.org -mike

Re: [U-Boot] Using Micron (Numonyx) m28w640hcb with u-boot (Solved)

2011-11-15 Thread Gudjon I. Gudjonsson
Hello Vipin Now I have spent the whole day on trying to mount the device from Linux as a read/write partition but without luck. Ideally, it should have happened now Setting FORCE_WORD_WRITE to 1 in the cfi_cmdset_0001.c fixes the problem. #define FORCE_WORD_WRITE 1 but it is set to 0 by

Re: [U-Boot] [PATCH] tegra2: Change CONFIG_SYS_TEXT_BASE to 0x00108000.

2011-11-15 Thread Tom Warren
Yes, USE_PRIVATE_LIBGCC=yes is needed for any U-Boot Tegra build, regardless. It has to do with lib functions executing on the ARM7TDMI (AVP) IIRC. Tom -Original Message- From: Stephen Warren Sent: Tuesday, November 15, 2011 11:03 AM To: Thierry Reding; u-boot@lists.denx.de Cc: Tom

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

2011-11-15 Thread Albert ARIBAUD
Hi Stefano, Le 11/11/2011 11:40, Stefano Babic a écrit : Hi Albert, please pull from u-boot-imx. The following changes since commit 06194b6b65f701a9d6ef2d9b4123c4afe57d8783: da850: add new config file for AM18xx (2011-11-10 16:30:41 +0100) are available in the git repository at:

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

2011-11-15 Thread Albert ARIBAUD
Hi Marek, Le 12/11/2011 03:44, Marek Vasut a écrit : Hi Albert, I chose a few significant patches that should make it to .12. The following changes since commit 06194b6b65f701a9d6ef2d9b4123c4afe57d8783: da850: add new config file for AM18xx (2011-11-10 16:30:41 +0100) are available in

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

2011-11-15 Thread Albert ARIBAUD
Hi Sandeep, Le 15/11/2011 16:11, s-paul...@ti.com a écrit : The following changes since commit 06194b6b65f701a9d6ef2d9b4123c4afe57d8783: Nagabhushana Netagunte (1): da850: add new config file for AM18xx are available in the git repository at: git://git.denx.de/u-boot-ti.git

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

2011-11-15 Thread Albert ARIBAUD
Hi Wolfgang, 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: git://git.denx.de/u-boot-arm.git master Alexander Holler (1):

Re: [U-Boot] [PATCH 0/3] devkit3250: add Timll DevKit3250 board initial support

2011-11-15 Thread Vladimir Zapolskiy
Hello Albert, I kindly ask you to pick up these changes based on u-boot-arm/next. Thank you very much in advance. On 14.11.2011 19:43, Vladimir Zapolskiy wrote: This patchset adds generic NXP LPC32XX SoC support and basic support for Embest/Timll DevKit3250 board, which powered by this SoC.

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

2011-11-15 Thread Stephen Warren
On 11/02/2011 08:30 PM, Andy Fleming wrote: On Mon, Oct 31, 2011 at 11:51 AM, Stephen Warren swar...@nvidia.com wrote: Pass the GPIO numbers for power and card detect to tegra2_mmc_init(), and modify that function to perform all required GPIO initialization. This removes the need for board

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

2011-11-15 Thread Stephen Warren
On 10/11/2011 06:07 PM, Simon Glass wrote: Hi Stephen, On Thu, Oct 6, 2011 at 3:52 PM, Stephen Warren swar...@nvidia.com wrote: ... rather than open-coding the register accesses. However, gpio_request() typically stores the label parameter in a global data structure. This causes problems

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

2011-11-15 Thread Mike Frysinger
On Tuesday 15 November 2011 13:01:52 Stefan Roese wrote: --- a/arch/powerpc/cpu/ppc4xx/usbdev.c +++ b/arch/powerpc/cpu/ppc4xx/usbdev.c - int temp, temp1; ... /*copy packet */ setup_packet_pt[0] = *(unsigned int *)USB2D0_FIFO_0;

Re: [U-Boot] Bug introduced in x86 cleanup patches

2011-11-15 Thread Wolfgang Denk
Dear Graeme, In message calbutcjfyqwb4ttf_nwjgk6haceeb1pntqzufk_npxwts3c...@mail.gmail.com you wrote: My recent x86 cleanup added a small, but very nasty, bug at line 231 of arch/x86/lib/board.c: offset_ptr_ram = offset_ptr_rom + gd-reloc_off Because offset_ptr_rom is a pointer,

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

2011-11-15 Thread Anatolij Gustschin
Hello Wolfgang, 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: git://git.denx.de/u-boot-video.git master Che-Liang Chiou (4):

Re: [U-Boot] [PATCH] tegra2: Change CONFIG_SYS_TEXT_BASE to 0x00108000.

2011-11-15 Thread Simon Glass
Hi Thierry. On Mon, Nov 14, 2011 at 11:19 PM, Thierry Reding thierry.red...@avionic-design.de wrote: NVIDIA's flashing tools assume that the bootloader is loaded at address 0x00108000. Instead of requiring non-standard builds of those tools which allow a load address of 0x00E08000, this commit

Re: [U-Boot] [PATCH v2 3/3] tegra2: Add Avionic Design Medcom support.

2011-11-15 Thread Stephen Warren
Thierry Reding wrote at Tuesday, November 15, 2011 12:27 AM: The Medcom is a 16:9 15 terminal that is used for patient infotainment in hospitals. ... +/* + * Routine: gpio_config_uart + * Description: Does nothing on Medcom - no conflict w/SPI. + */ +void gpio_config_uart(void) +{ +} I'd

[U-Boot] [PATCH 00/12] Some GCC 4.6 build warning fixes

2011-11-15 Thread Anatolij Gustschin
These patches can also be pulled from git://git.denx.de/u-boot-video.git gcc46-warning-fixes Anatolij Gustschin (12): drivers/spi/atmel_spi.c: Fix GCC 4.6 warning drivers/mtd/dataflash.c: Fix GCC 4.6 warning drivers/net/at91_emac.c: Fix GCC 4.6 warning drivers/net/enc28j60.c: Fix GCC

[U-Boot] [PATCH 03/12] drivers/net/at91_emac.c: Fix GCC 4.6 warning

2011-11-15 Thread Anatolij Gustschin
Fix: at91_emac.c: In function 'at91emac_write_hwaddr': at91_emac.c:477:15: warning: variable 'dev' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin ag...@denx.de --- drivers/net/at91_emac.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 06/12] board/cm4008/flash.c: Fix GCC 4.6 warnings

2011-11-15 Thread Anatolij Gustschin
Fix: flash.c: In function 'flash_erase': flash.c:209:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] flash.c: In function 'write_data': flash.c:373:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin ag...@denx.de ---

[U-Boot] [PATCH 05/12] board/cm41xx/flash.c: Fix GCC 4.6 warnings

2011-11-15 Thread Anatolij Gustschin
Fix: flash.c: In function 'flash_erase': flash.c:209:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] flash.c: In function 'write_data': flash.c:373:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin ag...@denx.de ---

[U-Boot] [PATCH 07/12] drivers/video/da8xx-fb.c: Fix GCC 4.6 warning

2011-11-15 Thread Anatolij Gustschin
Fix: da8xx-fb.c: In function 'video_hw_init': da8xx-fb.c:688:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin ag...@denx.de --- drivers/video/da8xx-fb.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH 04/12] drivers/net/enc28j60.c: Fix GCC 4.6 warnings

2011-11-15 Thread Anatolij Gustschin
Fix: enc28j60.c: In function 'enc_receive': enc28j60.c:435:5: warning: variable 'eir_reg' set but not used [-Wunused-but-set-variable] enc28j60.c: In function 'enc_poll': enc28j60.c:503:5: warning: variable 'estat_reg' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin

[U-Boot] [PATCH 09/12] drivers/i2c/davinci_i2c.c: Fix GCC 4.6 warning

2011-11-15 Thread Anatolij Gustschin
Fix: davinci_i2c.c: In function 'flush_rx': davinci_i2c.c:81:6: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin ag...@denx.de Cc: Heiko Schocher h...@denx.de --- drivers/i2c/davinci_i2c.c |4 +--- 1 files changed, 1 insertions(+), 3

[U-Boot] [PATCH 11/12] fs/yaffs2/yaffs_guts.c: Fix some GCC 4.6 warnings

2011-11-15 Thread Anatolij Gustschin
Fix: yaffs_guts.c: In function 'yaffs_CheckChunkErased': yaffs_guts.c:854:6: warning: variable 'result' set but not used yaffs_guts.c: In function 'yaffs_UpdateObjectHeader': yaffs_guts.c:3463:6: warning: variable 'result' set but not used yaffs_guts.c: In function 'yaffs_GrabChunkCache':

[U-Boot] [PATCH 12/12] drivers/rtc/s3c24x0_rtc.c: fix GCC 4.6 warnings

2011-11-15 Thread Anatolij Gustschin
Fix: s3c24x0_rtc.c: In function 'rtc_get': s3c24x0_rtc.c:67:53: warning: variable 'a_armed' set but not used s3c24x0_rtc.c:67:45: warning: variable 'a_year' set but not used s3c24x0_rtc.c:67:38: warning: variable 'a_mon' set but not used s3c24x0_rtc.c:67:30: warning: variable 'a_date' set but not

[U-Boot] [PATCH 08/12] drivers/video/bus_vcxk.c: Fix GCC 4.6 warning

2011-11-15 Thread Anatolij Gustschin
Fix: bus_vcxk.c: In function 'vcxk_display_bitmap': bus_vcxk.c:396:16: warning: variable 'compression' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin ag...@denx.de --- drivers/video/bus_vcxk.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 10/12] arch/arm/cpu/armv7/s5p-common/pwm.c: fix GCC 4.6 warning

2011-11-15 Thread Anatolij Gustschin
Fix: pwm.c: In function 'pwm_config': pwm.c:85:16: warning: variable 'timer_rate_hz' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin ag...@denx.de --- arch/arm/cpu/armv7/s5p-common/pwm.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH v2 1/2] smsc95xx: Fix MAC address programming

2011-11-15 Thread Simon Glass
Hi Wolfgang, On Tue, Nov 15, 2011 at 1:19 AM, Wolfgang Grandegger w...@denx.de wrote: Commit 79ad54400932d6484178a372fb3b659e3437473b broke MAC address programming in the SMSC95xx register set. Cc: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Simon Glass

Re: [U-Boot] [PATCH v2 2/2] smsc95xx: Debug message cleanup

2011-11-15 Thread Simon Glass
On Tue, Nov 15, 2011 at 1:19 AM, Wolfgang Grandegger w...@denx.de wrote: Cc: Simon Glass s...@chromium.org Cc: Mike Frysinger vap...@gentoo.org Signed-off-by: Wolfgang Grandegger w...@denx.de ---  drivers/usb/eth/smsc95xx.c |   10 +++---  1 files changed, 3 insertions(+), 7 deletions(-)

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

2011-11-15 Thread Simon Glass
Hi Albert, On Tue, Nov 15, 2011 at 1:28 PM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Wolfgang, 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

Re: [U-Boot] [PATCH 5/6] i.mx: fsl_esdhc: add the i.mx6q support

2011-11-15 Thread Jason Hui
On Tue, Nov 15, 2011 at 7:56 PM, Stefano Babic sba...@denx.de wrote: On 11/15/2011 10:46 AM, Jason Hui wrote: Well this is insane, is the datasheet for mx6q available already so I can check for myself? This is mx6q usdhc design and datasheet is not public now. Without this, the mmc driver

Re: [U-Boot] [PATCH 5/6] i.mx: fsl_esdhc: add the i.mx6q support

2011-11-15 Thread Marek Vasut
On Tue, Nov 15, 2011 at 7:56 PM, Stefano Babic sba...@denx.de wrote: On 11/15/2011 10:46 AM, Jason Hui wrote: Well this is insane, is the datasheet for mx6q available already so I can check for myself? This is mx6q usdhc design and datasheet is not public now. Without this, the mmc

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

2011-11-15 Thread Marek Vasut
On Tuesday 15 November 2011 13:01:52 Stefan Roese wrote: --- a/arch/powerpc/cpu/ppc4xx/usbdev.c +++ b/arch/powerpc/cpu/ppc4xx/usbdev.c - int temp, temp1; ... /*copy packet */ setup_packet_pt[0] = *(unsigned int *)USB2D0_FIFO_0;

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

2011-11-15 Thread Marek Vasut
Hi Albert, On Tue, Nov 15, 2011 at 1:28 PM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Wolfgang, The following changes since commit 5721385b187b3154c7768e6c182501022f4e2e45: Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx (2011-11-08 07:44:52 +0100)

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

2011-11-15 Thread Simon Glass
Hi, On Tue, Nov 15, 2011 at 6:27 PM, Marek Vasut marek.va...@gmail.com wrote: Hi Albert, On Tue, Nov 15, 2011 at 1:28 PM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Wolfgang, The following changes since commit 5721385b187b3154c7768e6c182501022f4e2e45:   Merge branch

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

2011-11-15 Thread Mike Frysinger
On Tuesday 15 November 2011 22:45:52 Simon Glass wrote: On Tue, Nov 15, 2011 at 6:27 PM, Marek Vasut wrote: On Tue, Nov 15, 2011 at 1:28 PM, Albert ARIBAUD wrote: Hi Wolfgang, The following changes since commit 5721385b187b3154c7768e6c182501022f4e2e45: Merge branch

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

2011-11-15 Thread Simon Glass
Hi Mike, On Tue, Nov 15, 2011 at 7:53 PM, Mike Frysinger vap...@gentoo.org wrote: On Tuesday 15 November 2011 22:45:52 Simon Glass wrote: On Tue, Nov 15, 2011 at 6:27 PM, Marek Vasut wrote: On Tue, Nov 15, 2011 at 1:28 PM, Albert ARIBAUD wrote: Hi Wolfgang, The following changes

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

2011-11-15 Thread Simon Glass
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_buf.76' does break strict-aliasing rules usb_ohci.c:1081: note: initialized from here usb_ohci.c:1084:

[U-Boot] [PATCH 2/2] Fix warnings in yaffs

2011-11-15 Thread Simon Glass
Sorry if this is already fixed somewhere - I could not find it. This fixes the warnings show below. yaffs_tagscompat.c: In function 'yaffs_TagsCompatabilityReadChunkWithTagsFromNAND': yaffs_tagscompat.c:151: warning: dereferencing pointer 'tu' does break strict-aliasing rules

  1   2   >