[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 ma

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 wrote: > HI Lei Wen, > > 2011/11/14 Lei Wen : >> 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 execution, so that

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 : > 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 ramp

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

2011-11-15 Thread Wolfgang Grandegger
Cc: Simon Glass Cc: Mike Frysinger Signed-off-by: Wolfgang Grandegger --- 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 b5626e6..2f63340 100644 --- a/drivers/usb/eth/smsc

[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 drivers/usb/et

[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 Cc: Wolfgang Denk Cc: Simon Glass Cc: Mike Frysinger Signed-off-by: Wolfgang Grandegger --- drivers/usb/eth/smsc95xx.c |6 +++--- 1 files changed, 3 insertions(+),

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 styli

[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 powe

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 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 to figure 6.1 and

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 wrote: >> On Sun, Nov 13, 2011 at 12:35 AM, Marek Vasut 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 almost compatible with esd

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 wrote: >> On Mon, Nov 14, 2011 at 7:11 AM, Marek Vasut wrote: >> >> i.MX6Q is freescale quad core processors with ARM cortex_a9 complex. >> >> This patch is to add the initial support for this processor. >> >> >> >> Signed-off-by: Jason Liu >> >> ---

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 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) >> >> >> Y

[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 Cc: Sandeep Paulraj --- arch/arm/cpu/arm926ejs/davinci/Makefile|2 +- .../arm/cpu/arm926ejs/davinci/pinmux.c |0 arch/arm/include/asm/arch-davinci/hardware.h |2 ++ board/davinci/common/Makefile |

[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 Cc: Stefano Babic Cc: Heiko Schocher --- .gitignore |1 + Makefile |7 +++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index 70a11f7..1c5defd 100644 --- a/.gitignore +++ b/.gitignore @@ -35,6 +35,7 @@ /u-

[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 w

[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 Cc: Heiko Schocher Cc: Sandeep Paulraj --- arch/arm/cpu/arm926ejs/davinci/Makefile |3 ++- arch/arm/cpu/arm926ejs/davinci/spl.c| 11 ++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/davinci/Makefile b/

[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 Cc: Heiko Schocher Cc: Sandeep Paulraj --- arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c | 34 +--

[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 Cc: Wolfgang Denk --- 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 --- a/arch/arm/lib/eabi_compat.c +++ b/arch/arm/lib/e

[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 Cc: Heiko Schocher Cc: Sandeep Paulraj Cc: Nagabhushana Netagunte --- board/davinci/da8xxevm/u-bo

[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 Cc: Albert Aribaud --- arch/arm/cpu/arm926ejs/start.S |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm/cpu/

[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 dri

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 explai

[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: Ber

[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 partition

[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: Ber

[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 gpt_

[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 Cc: Sandeep Paulraj Cc: Tom Rini --- Changes since v1: * Removed definition of CONFIG_SYS_CACHELINE_SIZE as it is no longer needed - since ARCH_DMA_MINALIGN is being used in previous patch. include/configs/o

[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 sometim

[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 c

[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 Signed-off-by: Fabio Estevam --- board/freescale/mx53loco/mx53loco.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/board/freescale/mx53loco/mx53loco.c b/board/freescale/mx53loco/mx53loco.c inde

[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 Signed-off-by: Fabio Estevam --- board/freescale/mx53evk/mx53evk.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/board/freescale/mx53evk/mx53evk.c b/board/freescale/mx53evk/mx53evk.c index 3356

[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 --- board/freescale/mx53ard/mx53ard.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/board/freescale/mx53ard/mx53ard.c b/board/freescale/mx53ard/mx53ard.c index be32aee..e5a1142 10

[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 --- 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 index 87fa7fa..55af4e4 1006

[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 --- board/freescale/mx51evk/mx51evk.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/board/freescale/mx51evk/mx51evk.c b/board/freescale/mx51evk/mx51evk.c index 37e6e4d..e5b0929 10

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

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

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

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

Re: [U-Boot] [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 wrote: > > Signed-off-by: Christian Riesch > Cc: Wolfgang Denk > --- >  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 eb3

[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 --- arch/powerpc/cpu/ppc4xx/usbdev.c |3 --

[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 --- arch/powerpc/cpu/ppc4xx/usb_ohci.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/arch/powerpc

[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: Stefa

[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 functi

[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 used

[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 --- arch/powerpc/cpu/p

[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 'sdram0_e

[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: v

[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: In

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 u

[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 --- post/lib_powerpc/fpu/20001122-1.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/post/lib_powe

[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 --- board/gdsys/405ep/dlvision-10g.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git

[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 --- board/esd/pci405/cmd_pci405.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/board/esd/pci405/cmd_p

[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 --- arch/powerpc/cpu/ppc4xx/iop480_uart.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/arch/powerpc

[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 n

[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: Stefa

[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 --- board/mpl/

[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 --- board/mpl/pip405/pip405.c |

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, NO

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

2011-11-15 Thread Anton Staaf
Tested-by: Anton Staaf 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 wrote: > Acked-by: Mike Frysinger > -mike > > ___ > U-Boot mailing

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

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 Warr

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 a

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 avai

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-t

[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): Be

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 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 files to perfor

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 wrote: >> ... rather than open-coding the register accesses. >> >> However, gpio_request() typically stores the "label" parameter in a global >> data structure. This causes problems when ca

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; > setup_pac

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

2011-11-15 Thread Wolfgang Denk
Dear Graeme, In message 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, when gd->reloc_off gets added, there > is a silent 4x multi

[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): l

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 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 just switches all > Tegra2 bo

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) > +{

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

2011-11-15 Thread Simon Glass
Hi Thierry, On Mon, Nov 14, 2011 at 11:27 PM, Thierry Reding wrote: > Tamonten is an NVIDIA Tegra2-based SO-DIMM processor module that is > derived from the Harmony reference design. > > Signed-off-by: Thierry Reding > --- >  board/avionic-design/common/tamonten.c |  164 > +

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

2011-11-15 Thread Simon Glass
Hi Thierry, On Mon, Nov 14, 2011 at 11:27 PM, Thierry Reding wrote: > The Plutux is a set-top box device based on the Tamonten processor > module. It can be connected to a display via an HDMI output. > > Changes in v2: >  * No longer override the default CONFIG_SYS_TEXT_BASE setting. > > Signed-o

[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 4.6

[U-Boot] [PATCH 02/12] drivers/mtd/dataflash.c: Fix GCC 4.6 warning

2011-11-15 Thread Anatolij Gustschin
Fix: dataflash.c: In function 'AT91F_DataflashInit': dataflash.c:42:6: warning: variable 'last_part' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin --- drivers/mtd/dataflash.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/d

[U-Boot] [PATCH 01/12] drivers/spi/atmel_spi.c: Fix GCC 4.6 warning

2011-11-15 Thread Anatolij Gustschin
Fix: atmel_spi.c: In function 'spi_xfer': atmel_spi.c:139:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin --- drivers/spi/atmel_spi.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/spi/atmel_spi.c b/driv

[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 --- drivers/net/at91_emac.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/net/at91

[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 --- board/cm4008

[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 --- board/cm41xx

[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 --- drivers/video/da8xx-fb.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/video/da8xx-fb.c

[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 Cc: Heiko Schocher --- drivers/i2c/davinci_i2c.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/d

[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': yaffs_gut

[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

[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 --- drivers/video/bus_vcxk.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/vid

[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 --- arch/arm/cpu/armv7/s5p-common/pwm.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv7

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 wrote: > Commit 79ad54400932d6484178a372fb3b659e3437473b broke MAC address > programming in the SMSC95xx register set. > > Cc: Marek Vasut > Cc: Wolfgang Denk > Cc: Simon Glass > Cc: Mike Frysinger > Signed-off-by: Wolfgang Gra

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 wrote: > Cc: Simon Glass > Cc: Mike Frysinger > Signed-off-by: Wolfgang Grandegger > --- >  drivers/usb/eth/smsc95xx.c |   10 +++--- >  1 files changed, 3 insertions(+), 7 deletions(-) Acked-by: Simon Glass > > diff --git a/drivers/usb

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 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 the git repository a

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 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 driv

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 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

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 > > 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

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 wrote: >> Hi Albert, >> >> On Tue, Nov 15, 2011 at 1:28 PM, Albert ARIBAUD >> >> wrote: >> > Hi Wolfgang, >> > >> > The following changes since commit >> > 5721385b187b3154c7768e6c182501022f4e2e45: >> > >> >   Merge branch 'master' of git://git.de

  1   2   >