Re: [U-Boot] [PATCH] ARMv7: OMAP: Add init function for TWL4030 GBPR1 register

2012-03-01 Thread Igor Grinberg
Hi Jonathan, On 02/29/12 22:52, Jonathan Solnit wrote: The OMAP ROM code modifies the GBPR1 register, which can cause s/GBPR1/GPBR1/ unintended consequences. What do you mean by this? Can you please elaborate, what issues do you see? Also, why does the OMAP ROM code needs to touch the

Re: [U-Boot] Broken ecc.size when switching between sw and hw ecc (beagleboard)

2012-03-01 Thread Orjan Friberg
On 02/29/2012 10:00 PM, Scott Wood wrote: ECC mode is normally not something that you want to be runtime switchable, as changing it usually changes the on-flash format. It also requires driver cooperation -- the actual implementation (as opposed to the command-line wrapper) is in

Re: [U-Boot] [PATCH v3 2/2] usb: Add CONFIG to fetch string descriptor

2012-03-01 Thread puneets
Hi Marek, On Thursday 01 March 2012 02:59 AM, Marek Vasut wrote: Add CONFIG_USB_STRING_FETCH to fetch first string descriptor length and then pass this length to fetch string descriptor. Signed-off-by: Puneet Saxenapune...@nvidia.com --- Changes for V2: - Change existing config by

[U-Boot] Yaffs2 Patches for u-boot-2009.01

2012-03-01 Thread VISWANADHULA BALAJI
I am using u-boot-2009.01 for loading yaffs2 image on to the nand flash.But uboot is not supporting nand write.yaffs.How can i get the yaffs2 supported patch for u-boot-2009.01.Please help me. Please post this question on the mailing list Thanks, Graeme

Re: [U-Boot] [PATCH v3 2/2] usb: Add CONFIG to fetch string descriptor

2012-03-01 Thread Marek Vasut
Hi! Hi Marek, On Thursday 01 March 2012 02:59 AM, Marek Vasut wrote: Add CONFIG_USB_STRING_FETCH to fetch first string descriptor length and then pass this length to fetch string descriptor. Signed-off-by: Puneet Saxenapune...@nvidia.com --- Changes for V2: - Change

Re: [U-Boot] Yaffs2 Patches for u-boot-2009.01

2012-03-01 Thread Marek Vasut
I am using u-boot-2009.01 for loading yaffs2 image on to the nand flash.But uboot is not supporting nand write.yaffs.How can i get the yaffs2 supported patch for u-boot-2009.01.Please help me. Please update your uboot to most recent version. Is it possible? What device/platform do

Re: [U-Boot] Yaffs2 Patches for u-boot-2009.01

2012-03-01 Thread Graeme Russ
On 03/01/2012 10:39 PM, VISWANADHULA BALAJI wrote: I am using u-boot-2009.01 for loading yaffs2 image on to the nand flash.But uboot is not supporting nand write.yaffs.How can i get the yaffs2 supported patch for u-boot-2009.01.Please help me. Please post this question on the

Re: [U-Boot] Yaffs2 Patches for u-boot-2009.01

2012-03-01 Thread Marek Vasut
On 03/01/2012 10:39 PM, VISWANADHULA BALAJI wrote: I am using u-boot-2009.01 for loading yaffs2 image on to the nand flash.But uboot is not supporting nand write.yaffs.How can i get the yaffs2 supported patch for u-boot-2009.01.Please help me. Please post this question

[U-Boot] Yaffs2 Patches for u-boot-2009.01

2012-03-01 Thread VISWANADHULA BALAJI
Hi, I am using u-boot-2009.01 for loading yaffs2 image on to the nand flash.But uboot is not supporting nand write.yaffs.How can i get the yaffs2 supported patch for u-boot-2009.01.Please help me. Regards V.Balaji ___ U-Boot mailing list

Re: [U-Boot] [PATCH v2] mx31: Setup AIPS registers

2012-03-01 Thread Fabio Estevam
On Thu, Mar 1, 2012 at 3:30 AM, Dirk Behme dirk.be...@de.bosch.com wrote: Ah, thanks for the explanation! :) This does mean that you want the change in both, U-Boot and kernel, correct? Correct. Yes, we definitely should look at which parts are common. I haven't looked at the details, but

Re: [U-Boot] [PATCH v3 2/2] usb: Add CONFIG to fetch string descriptor

2012-03-01 Thread puneets
Hi Marek, On Thursday 01 March 2012 05:15 PM, Marek Vasut wrote: Hi! Hi Marek, On Thursday 01 March 2012 02:59 AM, Marek Vasut wrote: Add CONFIG_USB_STRING_FETCH to fetch first string descriptor length and then pass this length to fetch string descriptor. Signed-off-by: Puneet

Re: [U-Boot] [PATCH v3 2/2] usb: Add CONFIG to fetch string descriptor

2012-03-01 Thread Marek Vasut
Hi Marek, On Thursday 01 March 2012 05:15 PM, Marek Vasut wrote: Hi! Hi Marek, On Thursday 01 March 2012 02:59 AM, Marek Vasut wrote: Add CONFIG_USB_STRING_FETCH to fetch first string descriptor length and then pass this length to fetch string descriptor. Signed-off-by:

[U-Boot] Do we really need CONFIG_ARCH_CPU_INIT ?

2012-03-01 Thread Fabio Estevam
Hi, Currently CONFIG_ARCH_CPU_INIT is used to select arch_cpu_init() function. arch_cpu_init() does CPU level initialization, so why do we need to include CONFIG_ARCH_CPU_INIT in the include/configs/boardXYZ files, which are board related files ? For example: Let's say boards X, Y and Z are

Re: [U-Boot] Do we really need CONFIG_ARCH_CPU_INIT ?

2012-03-01 Thread Marek Vasut
Hi, Currently CONFIG_ARCH_CPU_INIT is used to select arch_cpu_init() function. arch_cpu_init() does CPU level initialization, so why do we need to include CONFIG_ARCH_CPU_INIT in the include/configs/boardXYZ files, which are board related files ? For example: Let's say boards X, Y

Re: [U-Boot] [PATCH v3 1/2] usb: align buffers at cacheline

2012-03-01 Thread puneets
On Thursday 01 March 2012 03:05 AM, Marek Vasut wrote: As DMA expects the buffers to be equal and larger then cache lines, This aligns buffers at cacheline. Signed-off-by: Puneet Saxenapune...@nvidia.com --- Changes for V2: - Use ARCH_DMA_MINALIGN directly - Use ALIGN to align size

[U-Boot] [PATCH 1/3] ARM: lib: Remove CONFIG_ARCH_CPU_INIT dependency

2012-03-01 Thread Fabio Estevam
Create a weak-aliased arch_cpu_init, so that we can get rid of CONFIG_ARCH_CPU_INIT and always call arch_cpu_init. This way we do not need to define CONFIG_ARCH_CPU_INIT in every board file, since arch_cpu_init() is supposed to handle common CPU level code. Signed-off-by: Fabio Estevam

[U-Boot] [PATCH 2/3] ARM: mx6: Remove CONFIG_ARCH_CPU_INIT

2012-03-01 Thread Fabio Estevam
No need to define CONFIG_ARCH_CPU_INIT. All mx6 based boards should use arch_cpu_init(). Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- arch/arm/cpu/armv7/mx6/soc.c|2 -- include/configs/mx6qarm2.h |1 - include/configs/mx6qsabrelite.h |1 - 3 files changed, 0

[U-Boot] [PATCH 3/3] ARM: mx28: Remove CONFIG_ARCH_CPU_INIT

2012-03-01 Thread Fabio Estevam
No need to define CONFIG_ARCH_CPU_INIT. All mx28 based boards should use arch_cpu_init(). Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- arch/arm/cpu/arm926ejs/mx28/mx28.c |2 -- include/configs/m28evk.h |1 - include/configs/mx28evk.h |1 - 3 files

Re: [U-Boot] [PATCH] ARM: Add .data/.rodata/.bss section starts to gd_t

2012-03-01 Thread Albert ARIBAUD
Hi Peter, Le 29/02/2012 17:42, Peter Barada a écrit : On 02/28/2012 05:04 PM, Albert ARIBAUD wrote: Hi Peter, Le 27/02/2012 23:00, Peter Barada a écrit : When debugging u-boot, after relocation its tedious to calculate positions of the various sections (.data, .rodata, .bss). To make it

[U-Boot] [PATCH V2 00/18] OMAP5: Add the Changes required for OMAP5 ES1.0 silicon

2012-03-01 Thread R Sricharan
OMAP5 soc support is already present in the mainline. The below are the changes that were identified during the actual silicon wakeup. Briefly, the changes address clocks, ddr, mux, poweric, mmc, io settings required/recommended for the ip. Couple of bug fixes are also added as a part of this

[U-Boot] [PATCH V2 09/18] OMAP4/5: Make the sysctrl structure common

2012-03-01 Thread R Sricharan
Make the sysctrl structure common, so that it can be used in generic functions across socs. Also change the base address of the system control module, to include all the registers and not simply the io regs. Signed-off-by: R Sricharan r.sricha...@ti.com --- arch/arm/cpu/armv7/omap4/hwinit.c

[U-Boot] [PATCH V2 12/18] OMAP5: ddr: Change the ddr device name.

2012-03-01 Thread R Sricharan
The ddr part name used in OMAP5 ES1.0 soc is a SAMSUNG part and not a ELPIDA part. So change this. Signed-off-by: R Sricharan r.sricha...@ti.com --- arch/arm/cpu/armv7/omap5/Makefile |2 +- .../cpu/armv7/omap5/{sdram_elpida.c = sdram.c}| 30 ++-- 2

[U-Boot] [PATCH V2 10/18] OMAP4/5: device: Add support to get the device type.

2012-03-01 Thread R Sricharan
Add support to identify the device as GP/EMU/HS. Signed-off-by: R Sricharan r.sricha...@ti.com --- arch/arm/cpu/armv7/omap-common/hwinit-common.c |6 +- arch/arm/include/asm/arch-omap4/omap.h |4 arch/arm/include/asm/arch-omap5/omap.h |4 3 files

[U-Boot] [PATCH V2 08/18] OMAP5: SRAM: Change the SRAM base address.

2012-03-01 Thread R Sricharan
The full internal SRAM of size 128kb is public in the case of OMAP5 soc. So change the base address accordingly. Signed-off-by: R Sricharan r.sricha...@ti.com --- arch/arm/include/asm/arch-omap5/omap.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH V2 11/18] OMAP5: defconfig: Align the defconfig for 5430 ES1.0

2012-03-01 Thread R Sricharan
Adding the nessecary changes for OMAP5430 ES1.0 silicon. Signed-off-by: R Sricharan r.sricha...@ti.com --- include/configs/omap5_evm.h | 21 ++--- 1 files changed, 6 insertions(+), 15 deletions(-) diff --git a/include/configs/omap5_evm.h b/include/configs/omap5_evm.h index

[U-Boot] [PATCH V2 02/18] OMAP5: board: Add pinmux data for omap5_evm board.

2012-03-01 Thread R Sricharan
Adding the full pinmux data for OMAP5430 sevm board. Signed-off-by: R Sricharan r.sricha...@ti.com --- arch/arm/include/asm/arch-omap5/mux_omap5.h | 502 +-- board/ti/omap5_evm/mux_data.h | 489 ++ 2 files changed, 509

[U-Boot] [PATCH V2 17/18] mmc: omap5evm: Add eMMC saveenv support

2012-03-01 Thread R Sricharan
From: Balaji T K balaj...@ti.com Save env to eMMC Signed-off-by: Balaji T K balaj...@ti.com --- include/configs/omap5_evm.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/omap5_evm.h b/include/configs/omap5_evm.h index 2dc9811..6c91ee8 100644 ---

[U-Boot] [PATCH V2 01/18] OMAP5: clocks: Change clock settings as required for ES1.0 silicon.

2012-03-01 Thread R Sricharan
Aligning all the clock related settings like the dpll frequencies, their respective clock outputs, etc to the ideal values recommended for OMAP5430 ES1.0 silicon. Signed-off-by: R Sricharan r.sricha...@ti.com --- arch/arm/cpu/armv7/omap-common/clocks-common.c |5 +

[U-Boot] [PATCH V2 15/18] power: twl6035: add palmas PMIC support

2012-03-01 Thread R Sricharan
palmas/TWL6035 is power IC for omap5 evm boards Signed-off-by: Balaji T K balaj...@ti.com --- board/ti/omap5_evm/evm.c|6 +++--- drivers/power/Makefile |1 + drivers/power/twl6035.c | 40 include/configs/omap5_evm.h |5 +

[U-Boot] [PATCH V2 06/18] OMAP5: hwinit: Add the missing break statement

2012-03-01 Thread R Sricharan
The break statement is missing in init_omap_revision function, resulting in a wrong revision identification. So fixing this. Signed-off-by: R Sricharan r.sricha...@ti.com --- arch/arm/cpu/armv7/omap5/hwinit.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH V2 16/18] omap5: pbias ldo9 turn on

2012-03-01 Thread R Sricharan
From: Balaji T K balaj...@ti.com Add omap5 pbias configuration for mmc1/sd lines and set voltage for sd data i/o lines Signed-off-by: Balaji T K balaj...@ti.com --- arch/arm/include/asm/arch-omap5/omap.h |7 +++-- drivers/mmc/omap_hsmmc.c | 33

[U-Boot] [PATCH V2 18/18] OMAP5: reset: Use cold reset in case of 5430ES1.0

2012-03-01 Thread R Sricharan
Warm reset is not functional in case of omap5430ES1.0. So use cold reset instead. Signed-off-by: R Sricharan r.sricha...@ti.com --- arch/arm/cpu/armv7/omap-common/reset.S |2 ++ arch/arm/cpu/armv7/omap5/hwinit.c | 16 2 files changed, 18 insertions(+), 0 deletions(-)

[U-Boot] [PATCH V2 13/18] OMAP4/5: emif: Correct the emif power mgt shadow register bit fields.

2012-03-01 Thread R Sricharan
PD_TIM bit field which specifies the power down timing is defined to occupy bits 8-11, where as it is actually from 12-15 bits. So correcting this. Signed-off-by: R Sricharan r.sricha...@ti.com --- arch/arm/include/asm/emif.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff

[U-Boot] [PATCH V2 05/18] OMAP5: palmas: Configure nominal opp vdd values

2012-03-01 Thread R Sricharan
The nominal opp vdd values as recommended for ES1.0 silicon is set for mpu, core, mm domains using palmas. Signed-off-by: R Sricharan r.sricha...@ti.com --- arch/arm/cpu/armv7/omap-common/clocks-common.c | 15 +++ arch/arm/cpu/armv7/omap4/clocks.c | 15 +++

[U-Boot] [PATCH V2 14/18] arm: omap5: correct boot device mode7 for eMMC

2012-03-01 Thread R Sricharan
From: Balaji T K balaj...@ti.com In OMAP5 Boot device mode of 6 and 7 should be mapped to mmc2/eMMC Signed-off-by: Balaji T K balaj...@ti.com --- arch/arm/cpu/armv7/omap-common/spl.c |1 + arch/arm/cpu/armv7/omap-common/spl_mmc.c |1 + arch/arm/include/asm/omap_common.h |5

[U-Boot] [PATCH V2 07/18] OMAP4/5: Make the silicon revision variable common.

2012-03-01 Thread R Sricharan
The different silicon revision variable names was defined for OMAP4 and OMAP5 socs. Making the variable common so that some code can be made generic. Signed-off-by: R Sricharan r.sricha...@ti.com --- arch/arm/cpu/armv7/omap4/hwinit.c | 20 ++--

[U-Boot] [PATCH V2 03/18] OMAP5: io: Configure the io settings for omap5430 sevm board.

2012-03-01 Thread R Sricharan
The control module provides options to set various signal integrity parameters like the output impedance, slew rate, load capacitance for different pad groups. Configure these as required for the omap5430 sevm board. Signed-off-by: R Sricharan r.sricha...@ti.com ---

[U-Boot] [PATCH V2 04/18] OMAP5: emif/ddr: Change emif settings as required for ES1.0 silicon.

2012-03-01 Thread R Sricharan
The OMAP5 silicon has new DDR PHY design, which includes a external PHY as well. So configuring the ext PHY parameters here. Also the EMIF timimg registers and a couple of DDR mode registers needs to be updated based on the testing from the actual silicon. Signed-off-by: R Sricharan

Re: [U-Boot] usb ethernet working on panda?

2012-03-01 Thread Kumar Gala
On Feb 29, 2012, at 12:17 AM, Govindraj wrote: On Wed, Feb 29, 2012 at 4:47 AM, Kumar Gala ga...@kernel.crashing.org wrote: Does anyone have usb ethernet working on top of git tree on a panda board? yes. If so any gotcha's or details on how you have it working. I use following

Re: [U-Boot] [PATCH 4/7] i.MX28: Enable additional DRAM address bits

2012-03-01 Thread Fabio Estevam
On Sun, Feb 26, 2012 at 7:15 PM, Marek Vasut ma...@denx.de wrote: Signed-off-by: Marek Vasut ma...@denx.de ---  arch/arm/cpu/arm926ejs/mx28/spl_mem_init.c |    2 +-  1 files changed, 1 insertions(+), 1 deletions(-) Could you please elaborate a commit message for this? From what I could see

Re: [U-Boot] [PATCH] ARM: Add .data/.rodata/.bss section starts to gd_t

2012-03-01 Thread Peter Barada
On 03/01/2012 09:22 AM, Albert ARIBAUD wrote: Hi Peter, Le 29/02/2012 17:42, Peter Barada a écrit : On 02/28/2012 05:04 PM, Albert ARIBAUD wrote: Hi Peter, Le 27/02/2012 23:00, Peter Barada a écrit : When debugging u-boot, after relocation its tedious to calculate positions of the various

Re: [U-Boot] [PATCH] nios2: move gd and bd into BSS

2012-03-01 Thread Mike Frysinger
On Thursday 01 March 2012 02:09:05 Thomas Chou wrote: --- a/arch/nios2/lib/board.c +++ b/arch/nios2/lib/board.c +gd_t gd_data; +bd_t bd_data; mark both static --- a/include/configs/nios2-generic.h +++ b/include/configs/nios2-generic.h * MEMORY ORGANIZATION * -Monitor at top of

Re: [U-Boot] Broken ecc.size when switching between sw and hw ecc (beagleboard)

2012-03-01 Thread Scott Wood
On 03/01/2012 03:17 AM, Orjan Friberg wrote: On 02/29/2012 10:00 PM, Scott Wood wrote: ECC mode is normally not something that you want to be runtime switchable, as changing it usually changes the on-flash format. It also requires driver cooperation -- the actual implementation (as opposed to

Re: [U-Boot] [PATCH] ARMv7: OMAP: Add init function for TWL4030 GBPR1 register

2012-03-01 Thread Jonathan Solnit
Hi Igor. On Thu, Mar 1, 2012 at 12:41 AM, Igor Grinberg grinb...@compulab.co.ilwrote: Hi Jonathan, On 02/29/12 22:52, Jonathan Solnit wrote: The OMAP ROM code modifies the GBPR1 register, which can cause s/GBPR1/GPBR1/ unintended consequences. What do you mean by this? Can you

Re: [U-Boot] [PATCH v7 15/20] tegra: fdt: Add function to return peripheral/clock ID

2012-03-01 Thread Tom Warren
Simon, -Original Message- From: Simon Glass [mailto:s...@chromium.org] Sent: Tuesday, February 28, 2012 11:08 AM To: U-Boot Mailing List Cc: Tom Warren; Stephen Warren; Simon Glass; linux-te...@vger.kernel.org; Jerry Van Baren; Devicetree Discuss Subject: [PATCH v7 15/20] tegra:

Re: [U-Boot] [PATCH 1/3] ARM: lib: Remove CONFIG_ARCH_CPU_INIT dependency

2012-03-01 Thread Marek Vasut
Create a weak-aliased arch_cpu_init, so that we can get rid of CONFIG_ARCH_CPU_INIT and always call arch_cpu_init. This way we do not need to define CONFIG_ARCH_CPU_INIT in every board file, since arch_cpu_init() is supposed to handle common CPU level code. Acked-by: Marek Vasut

Re: [U-Boot] [PATCH 2/3] ARM: mx6: Remove CONFIG_ARCH_CPU_INIT

2012-03-01 Thread Marek Vasut
No need to define CONFIG_ARCH_CPU_INIT. All mx6 based boards should use arch_cpu_init(). Acked-by: Marek Vasut ma...@denx.de Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- arch/arm/cpu/armv7/mx6/soc.c|2 -- include/configs/mx6qarm2.h |1 -

Re: [U-Boot] [PATCH 3/3] ARM: mx28: Remove CONFIG_ARCH_CPU_INIT

2012-03-01 Thread Marek Vasut
No need to define CONFIG_ARCH_CPU_INIT. All mx28 based boards should use arch_cpu_init(). Acked-by: Marek Vasut ma...@denx.de Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- arch/arm/cpu/arm926ejs/mx28/mx28.c |2 -- include/configs/m28evk.h |1 -

Re: [U-Boot] [PATCH 4/7] i.MX28: Enable additional DRAM address bits

2012-03-01 Thread Marek Vasut
On Sun, Feb 26, 2012 at 7:15 PM, Marek Vasut ma...@denx.de wrote: Signed-off-by: Marek Vasut ma...@denx.de --- arch/arm/cpu/arm926ejs/mx28/spl_mem_init.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Could you please elaborate a commit message for this? From what I

Re: [U-Boot] [PATCH v3 1/2] usb: align buffers at cacheline

2012-03-01 Thread Marek Vasut
On Thursday 01 March 2012 03:05 AM, Marek Vasut wrote: As DMA expects the buffers to be equal and larger then cache lines, This aligns buffers at cacheline. Signed-off-by: Puneet Saxenapune...@nvidia.com --- Changes for V2: - Use ARCH_DMA_MINALIGN directly - Use

Re: [U-Boot] [PATCH 4/7] i.MX28: Enable additional DRAM address bits

2012-03-01 Thread Fabio Estevam
On Thu, Mar 1, 2012 at 3:34 PM, Marek Vasut ma...@denx.de wrote: If I could get my hands on Office 2010 to open that stupid memory thing supplied by freescale, I would. But since I can't ... basically, this is magic which enables all fourteen address lines. From what I remember, the piece at

[U-Boot] u-boot.lds question

2012-03-01 Thread Will Khan
Hi all, I'm trying to upgrade my u-boot from 16 May 2009 release (out of tree customized version) to the release version December 2011. I'm a novice with u-boot, but after some hacking, I've had some success, but there are a few questions: When I build (for powerpc MPC8349), I get the

Re: [U-Boot] [PATCH v4 5/9] tegra: i2c: Add I2C driver

2012-03-01 Thread Mike Frysinger
On Wednesday 29 February 2012 12:31:25 Simon Glass wrote: --- /dev/null +++ b/arch/arm/include/asm/arch-tegra2/tegra_i2c.h +/* Convert i2c slave address to be put on bus */ +#define I2C_ADDR_ON_BUS(chip)(chip 1) i'm not sure the desc here is correct ... it's at least a

Re: [U-Boot] u-boot.lds question

2012-03-01 Thread Mike Frysinger
On Thursday 01 March 2012 01:06:58 Will Khan wrote: When I look at u-boot.lds (in the main directory), it shows the incorrect path to start.o. u-boot.lds is generated through the make all process. When I manually fix the start.o pathname in u-boot.lds, everything builds fine. My question is

Re: [U-Boot] Do we really need CONFIG_ARCH_CPU_INIT ?

2012-03-01 Thread Albert ARIBAUD
Le 01/03/2012 14:23, Fabio Estevam a écrit : Hi, Currently CONFIG_ARCH_CPU_INIT is used to select arch_cpu_init() function. arch_cpu_init() does CPU level initialization, so why do we need to include CONFIG_ARCH_CPU_INIT in the include/configs/boardXYZ files, which are board related files ?

Re: [U-Boot] [PATCH 1/3] ARM: lib: Remove CONFIG_ARCH_CPU_INIT dependency

2012-03-01 Thread Albert ARIBAUD
Le 01/03/2012 15:02, Fabio Estevam a écrit : Create a weak-aliased arch_cpu_init, so that we can get rid of CONFIG_ARCH_CPU_INIT and always call arch_cpu_init. This way we do not need to define CONFIG_ARCH_CPU_INIT in every board file, since arch_cpu_init() is supposed to handle common CPU

Re: [U-Boot] [PATCH 1/3] ARM: lib: Remove CONFIG_ARCH_CPU_INIT dependency

2012-03-01 Thread Fabio Estevam
On Thu, Mar 1, 2012 at 5:51 PM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: This adds (some) (functionally dead) code to all boards that did not require arch_cpu_init(). Yes, it adds a return 0 only. Is this terribly bad? Isn't it better than having to select CONFIG_ARCH_CPU_INIT for

Re: [U-Boot] [PATCH 1/3] mtd/NAND: Add FSMC driver support

2012-03-01 Thread Scott Wood
On 02/27/2012 03:38 AM, Amit Virdi wrote: + /* + * This is a temporary erase check. A newly erased page read + * would result in an ecc error because the oob data is also + * erased to FF and the calculated ecc for an FF data is not +

Re: [U-Boot] Do we really need CONFIG_ARCH_CPU_INIT ?

2012-03-01 Thread Simon Glass
+Graeme Hi, On Thu, Mar 1, 2012 at 5:23 AM, Fabio Estevam feste...@gmail.com wrote: Hi, Currently CONFIG_ARCH_CPU_INIT is used to select arch_cpu_init() function. arch_cpu_init() does CPU level initialization, so why do we need to include CONFIG_ARCH_CPU_INIT in the

Re: [U-Boot] [PATCH 1/3] ARM: lib: Remove CONFIG_ARCH_CPU_INIT dependency

2012-03-01 Thread Albert ARIBAUD
Le 01/03/2012 21:57, Fabio Estevam a écrit : On Thu, Mar 1, 2012 at 5:51 PM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: This adds (some) (functionally dead) code to all boards that did not require arch_cpu_init(). Yes, it adds a return 0 only. Is this terribly bad? Well... Isn't it

Re: [U-Boot] memory corruption on nios2 due to overlap of gbl data and malloc

2012-03-01 Thread Albert ARIBAUD
Hi Graeme, Le 29/02/2012 23:41, Graeme Russ a écrit : Hi Mike, On Thu, Mar 1, 2012 at 9:29 AM, Mike Frysingervap...@gentoo.org wrote: On Wednesday 29 February 2012 17:22:26 Graeme Russ wrote: On Thu, Mar 1, 2012 at 6:04 AM, Mike Frysinger wrote: On Tuesday 28 February 2012 18:32:57 Graeme

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

2012-03-01 Thread Albert ARIBAUD
Hi Marek, Le 29/02/2012 22:38, Marek Vasut a écrit : Hi Marek, Le 27/02/2012 21:53, Marek Vasut a écrit : Hi Marek, Le 27/02/2012 14:03, Marek Vasut a écrit : The following changes since commit 417c2c787e32784b5de975065a7d1dd5b3cc8ecd: at91: modified NAND flash timing on otc570 board

Re: [U-Boot] memory corruption on nios2 due to overlap of gbl data and malloc

2012-03-01 Thread Graeme Russ
Hi Albert, On Fri, Mar 2, 2012 at 8:57 AM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Graeme, Le 29/02/2012 23:41, Graeme Russ a écrit : Hi Mike, On Thu, Mar 1, 2012 at 9:29 AM, Mike Frysingervap...@gentoo.org  wrote: On Wednesday 29 February 2012 17:22:26 Graeme Russ wrote: On

Re: [U-Boot] Do we really need CONFIG_ARCH_CPU_INIT ?

2012-03-01 Thread Graeme Russ
Hi Simon, Fabio, Stefano, Marek, Albert On Fri, Mar 2, 2012 at 8:28 AM, Simon Glass s...@chromium.org wrote: +Graeme Hi, On Thu, Mar 1, 2012 at 5:23 AM, Fabio Estevam feste...@gmail.com wrote: Hi, Currently CONFIG_ARCH_CPU_INIT is used to select arch_cpu_init() function. arch_cpu_init()

[U-Boot] u-boot.lds question

2012-03-01 Thread Will Khan
On Thursday 01 March 2012 01:06:58 Will Khan wrote: When I look at u-boot.lds (in the main directory), it shows the incorrect path to start.o. u-boot.lds is generated through the make all process. When I manually fix the start.o pathname in u-boot.lds, everything builds fine. My

Re: [U-Boot] u-boot.lds question

2012-03-01 Thread Mike Frysinger
On Thursday 01 March 2012 17:47:52 Will Khan wrote: One of my issues is that when I remove it and a new one is created, it is always created with the wrong path for start.o. As well, when I make changes to the cpu subdir one, it doesn't affect anything. In fact, I can delete it and a new one

Re: [U-Boot] [PATCH 2/3] ventana: define CONFIG_MACH_VENTANA

2012-03-01 Thread Stephen Warren
On 03/01/2012 03:55 PM, Troy Kisky wrote: On 3/1/2012 2:30 PM, Stephen Warren wrote: On 03/01/2012 02:13 PM, Troy Kisky wrote: ventana uses board/nvidia/seaboard/seaboard.c which uses machine_is_ventana. diff --git a/include/configs/ventana.h b/include/configs/ventana.h +#define

[U-Boot] [PATCH v2] nios2: move gd and bd into BSS

2012-03-01 Thread Thomas Chou
As suggested by Graeme Russ, move gd and bd data structrures to BSS instead of calculating the locations around the stack and heap. Signed-off-by: Thomas Chou tho...@wytron.com.tw --- For u-boot. v2, mark gd/bd static arch/nios2/lib/board.c | 12 +---

[U-Boot] Patch mkimage : Imx Boot Image Support

2012-03-01 Thread Bud Miljkovic
I am having a hard time locating the patch file that adds Freescale imx Boot Image support. Can somebody point me to the right place. Bud ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] nios2: move gd and bd into BSS

2012-03-01 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 v4] sh: i2c: Add support I2C controller of SH7734

2012-03-01 Thread Nobuhiro Iwamatsu
Hi, Mike. 2012/3/1 Mike Frysinger vap...@gentoo.org: On Wednesday 29 February 2012 21:58:42 Nobuhiro Iwamatsu wrote: --- /dev/null +++ b/drivers/i2c/sh_sh7734_i2c.c +#include common.h +#include asm/io.h should include i2c.h too so you know your funcs match the prototypes everyone else

Re: [U-Boot] Patch mkimage : Imx Boot Image Support

2012-03-01 Thread Fabio Estevam
On Fri, Mar 2, 2012 at 12:17 AM, Bud Miljkovic bud_miljko...@trimble.com wrote: I am having a hard time locating the patch file that adds Freescale imx Boot Image support.  Can somebody point  me to the right place. tools/imximage.c is the file. In order to build it: make u-boot.imx You can

[U-Boot] [PATCH] sh: i2c: Add support I2C controller of SH7734

2012-03-01 Thread Nobuhiro Iwamatsu
Renesas SH7734 has two I2C interfaceis. This supports these I2C. V5: - include i2c.h. - Add check of icsr bit polling logic. - Implement i2c_probe. V4: - Remove sh_i2c_dump_reg function. - Use puts() when there's no format. - Chnage check for I2C bus number. - Remove space

Re: [U-Boot] u-boot.lds question

2012-03-01 Thread Will Khan
On Thursday 01 March 2012 17:47:52 Will Khan wrote: One of my issues is that when I remove it and a new one is created, it is always created with the wrong path for start.o. As well, when I make changes to the cpu subdir one, it doesn't affect anything. In fact, I can delete it

Re: [U-Boot] [PATCH] sh: i2c: Add support I2C controller of SH7734

2012-03-01 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

[U-Boot] [PATCH 1/3] gplugd: use CONFIG_MACH_TYPE instead of MACH_TYPE_SHEEVAD

2012-03-01 Thread Troy Kisky
mach-type update will rename MACH_TYPE_SHEEVAD to MACH_TYPE_GPLUGD Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- board/Marvell/gplugd/gplugd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/Marvell/gplugd/gplugd.c b/board/Marvell/gplugd/gplugd.c

[U-Boot] [PATCH 2/3] ventana: define CONFIG_MACH_VENTANA

2012-03-01 Thread Troy Kisky
ventana uses board/nvidia/seaboard/seaboard.c which uses machine_is_ventana. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- include/configs/ventana.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/ventana.h b/include/configs/ventana.h

Re: [U-Boot] [PATCH 2/3] ventana: define CONFIG_MACH_VENTANA

2012-03-01 Thread Stephen Warren
On 03/01/2012 02:13 PM, Troy Kisky wrote: ventana uses board/nvidia/seaboard/seaboard.c which uses machine_is_ventana. diff --git a/include/configs/ventana.h b/include/configs/ventana.h +#define CONFIG_MACH_VENTANA It'd be nice not to have to do this; that header already does: #define

Re: [U-Boot] [PATCH 3/3] ARM: Update mach-types

2012-03-01 Thread Stephen Warren
On 03/01/2012 02:13 PM, Troy Kisky wrote: This updates u-boot to the same as the Dec 6, 2011 mach-types upate to Linux. diff --git a/include/configs/ventana.h b/include/configs/ventana.h #define CONFIG_MACH_VENTANA +/* + * FIXME: This belongs in mach-types.h. However, we only pull

Re: [U-Boot] [PATCH 3/3] ARM: Update mach-types

2012-03-01 Thread Albert ARIBAUD
Hi Troy, Le 01/03/2012 22:13, Troy Kisky a écrit : diff --git a/include/configs/ea20.h b/include/configs/ea20.h index b4610d9..da49ae8 100644 --- a/include/configs/ea20.h +++ b/include/configs/ea20.h @@ -24,6 +24,18 @@ #define __CONFIG_H /* + * FIXME: This belongs in mach-types.h.

[U-Boot] i2c support for u-boot

2012-03-01 Thread yannick . niane
Hi All, I'm trying to build u-boot with i2c support for a mba2440 board. U-boot version is mba2440-uboot1.1.1. In mba2440.h config file i have selected the i2c commands : #define CONFIG_COMMANDS \ (CONFIG_CMD_DFL | \ CFG_CMD_CACHE

Re: [U-Boot] [PATCH 3/3] ARM: Update mach-types

2012-03-01 Thread Troy Kisky
On 3/1/2012 2:54 PM, Albert ARIBAUD wrote: Hi Troy, Le 01/03/2012 22:13, Troy Kisky a écrit : diff --git a/include/configs/ea20.h b/include/configs/ea20.h index b4610d9..da49ae8 100644 --- a/include/configs/ea20.h +++ b/include/configs/ea20.h @@ -24,6 +24,18 @@ #define __CONFIG_H /* + *

[U-Boot] [PATCH 1/4] OMAP3+: Introduce generic logic for OMAP voltage controller

2012-03-01 Thread Nishanth Menon
OMAP Voltage controller is used to generically talk to PMICs on OMAP3,4,5 over I2C_SR. Instead of replicating code in multiple SoC code, introduce a common voltage controller logic which can be re-used from elsewhere. With this change, we replace setup_sri2c with omap_vc_init which has the same

[U-Boot] [PATCH 0/4] OMAP3+: Fix voltage bringup sequence

2012-03-01 Thread Nishanth Menon
Current configuration results in the following voltage waveform (example 4460 Panda ES): |---| (SET1 default 1.4V) | (programmed voltage) | - (This switch happens on mux7,pullup)

[U-Boot] [PATCH 2/4] OMAP4460: TPS Ensure SET1 is selected after voltage configuration

2012-03-01 Thread Nishanth Menon
TPS SET0/SET1 register is selected by a GPIO pin on OMAP4460 platforms. Currently we control this pin with a mux configuration as part of boot sequence. Current configuration results in the following voltage waveform: |---| (SET1 default 1.4V)

[U-Boot] [PATCH 3/4] OMAP4: scale voltage of core before MPU scales

2012-03-01 Thread Nishanth Menon
OMAP4 requires that parent domains scale ahead of dependent domains. This is due to the restrictions in timing closure. To ensure a consistent behavior across all OMAP4 SoC, ensure that vdd_core scale first, then vdd_mpu and finally vdd_iva. As part of doing this refactor the logic to allow for

[U-Boot] [PATCH 4/4] OMAP5: scale voltage of core before MPU scales

2012-03-01 Thread Nishanth Menon
OMAP5 requires that parent domains scale ahead of dependent domains. This is due to the restrictions in timing closure. To ensure a consistent behavior accross all OMAP5 SoCs, ensure that vdd_core scale first, then vdd_mpu and finally vdd_iva. Reported-by: Isabelle Gros i-g...@ti.com Reported-by:

Re: [U-Boot] [PATCH] Enable high speed support for USB device framework and usbtty

2012-03-01 Thread Amit Virdi
Hi Marek, +#if defined(CONFIG_USBD_HS) +/** + * usbd_device_qualifier_descriptor + * @device: which device + * @port: which port + * + * Return the specified qualifier descriptor for the specified device. + */ +struct usb_qualifier_descriptor *usbd_device_qualifier_descriptor( +

Re: [U-Boot] i2c support for u-boot

2012-03-01 Thread Heiko Schocher
Hello yannick.ni...@micromentis.com, yannick.ni...@micromentis.com wrote: Hi All, I'm trying to build u-boot with i2c support for a mba2440 board. U-boot version is mba2440-uboot1.1.1. you use a very old version of u-boot, you should update to current version. In mba2440.h config file

Re: [U-Boot] [PATCH v3 1/2] usb: align buffers at cacheline

2012-03-01 Thread puneets
Hi, On Friday 02 March 2012 12:08 AM, Marek Vasut wrote: On Thursday 01 March 2012 03:05 AM, Marek Vasut wrote: As DMA expects the buffers to be equal and larger then cache lines, This aligns buffers at cacheline. Signed-off-by: Puneet Saxenapune...@nvidia.com --- Changes for V2: - Use

Re: [U-Boot] [PATCH 3/3] ARM: Update mach-types

2012-03-01 Thread Wolfgang Denk
Dear Troy Kisky, In message 4f4ffd1f.4080...@boundarydevices.com you wrote: Not sure I understand why we have a machine_ix_xxx() here. Could you explain? Amicalement, Because board/nvidia/seaboard/seaboard.c uses machine_is_ventana but that machine is no longer in mach-types. Then

Re: [U-Boot] [PATCH] Avoid using GNU basename

2012-03-01 Thread Wolfgang Denk
Dear Keith Mok, In message CAHjoi4eR+n=qq8vzakwwglipsffrbwhrhwynvfjn4y0f9eq...@mail.gmail.com you wrote: There is no GNU basename support in MacOS. Use generic POSIX basename defined in libgen.h instead. ... int fp, ep; const char *prg; + char *prog_pathname; -

[U-Boot] [PATCH] mkenvimage: fix usage message

2012-03-01 Thread Wolfgang Denk
Don;t use argv[0] for usage() because it may or may not be clobbered by the previous call to basename(). Use prg instead as it is done in the rest of the code. Signed-off-by: Wolfgang Denk w...@denx.de --- tools/mkenvimage.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

Re: [U-Boot] Do we really need CONFIG_ARCH_CPU_INIT ?

2012-03-01 Thread Stefan Roese
On Thursday 01 March 2012 14:48:12 Marek Vasut wrote: ,so that CONFIG_ARCH_CPU_INIT is not needed anymore. Before I go further in this route to remove CONFIG_ARCH_CPU_INIT from other places, I would like to know if this makes sense. I'm all for this. Me too. Thanks, Stefan

Re: [U-Boot] [v3 2/3] USB: Armada100: EHCI Driver for Armada100 SOCs

2012-03-01 Thread Prafulla Wadaskar
-Original Message- From: Ajay Bhargav [mailto:ajay.bhar...@einfochips.com] Sent: 13 February 2012 18:58 To: li...@bohmer.net Cc: Prafulla Wadaskar; marek.va...@gmail.com; u-boot@lists.denx.de; Ajay Bhargav Subject: [v3 2/3] USB: Armada100: EHCI Driver for Armada100 SOCs This

Re: [U-Boot] [v3 1/3] USB: Armada100: Add UTMI PHY interface driver

2012-03-01 Thread Prafulla Wadaskar
-Original Message- From: Ajay Bhargav [mailto:ajay.bhar...@einfochips.com] Sent: 13 February 2012 18:58 To: li...@bohmer.net Cc: Prafulla Wadaskar; marek.va...@gmail.com; u-boot@lists.denx.de; Ajay Bhargav Subject: [v3 1/3] USB: Armada100: Add UTMI PHY interface driver This

Re: [U-Boot] [PATCH] Armada100: gplugD: Add FAT EXT2 command support

2012-03-01 Thread Prafulla Wadaskar
-Original Message- From: Ajay Bhargav [mailto:ajay.bhar...@einfochips.com] Sent: 13 February 2012 19:01 To: Prafulla Wadaskar Cc: marek.va...@gmail.com; u-boot@lists.denx.de; Ajay Bhargav Subject: [PATCH] Armada100: gplugD: Add FAT EXT2 command support This patch adds FAT and

Re: [U-Boot] [PATCH] ARM: dreamplug: Enable FDT support

2012-03-01 Thread Prafulla Wadaskar
-Original Message- From: Ian Campbell [mailto:i...@hellion.org.uk] Sent: 28 February 2012 12:49 To: u-boot@lists.denx.de Cc: Ian Campbell; Jason; Prafulla Wadaskar Subject: [PATCH] ARM: dreamplug: Enable FDT support I have tested booting both FDT and non-FDT based Linux kernels

Re: [U-Boot] [v3 3/3] Armada100: gplugD: Add USB command support

2012-03-01 Thread Prafulla Wadaskar
-Original Message- From: Ajay Bhargav [mailto:ajay.bhar...@einfochips.com] Sent: 13 February 2012 18:58 To: li...@bohmer.net Cc: Prafulla Wadaskar; marek.va...@gmail.com; u-boot@lists.denx.de; Ajay Bhargav Subject: [v3 3/3] Armada100: gplugD: Add USB command support This patch

[U-Boot] Pull request for u-boot-marvell.git

2012-03-01 Thread Prafulla Wadaskar
Hi Albert Please kindly pull The following changes since commit 2271e7c6e8eef883b834fb7d07911848a54fde13: prabhakar.cse...@gmail.com (1): Ethernut 5: fix build error are available in the git repository at: u-boot-marvell.git on next branch. Ajay Bhargav (4): USB: Armada100:

  1   2   >