Re: [U-Boot] [PATCH v5 0/2] Factorize ARM startup code as much as possible.

2013-01-08 Thread Albert ARIBAUD
Hi Albert, On Tue, 8 Jan 2013 21:18:01 +0100, Albert ARIBAUD wrote: > The goal of this series is to scrub the start.S files > which have proliferated across arch/arm and eliminate > code redundancy. > > This series only factorizes the C runtime framework, > that is, the assembly code responsib

[U-Boot] [PATCH] MPC8308: Fixup clocks in PCI Host configuration

2013-01-08 Thread Barry Grussling
While trying to bring up a custom MPC8308 based board I found that the clocking was wrong. The comment in include/configs/mpc8308_p1m.h led me to believe setting HRCWH_PCI_HOST and HRCWH_PCI1_ARBITER_ENABLE in the CONFIG_SYS_HRCW_HIGH should allow the system to work, but on my newer version of the

Re: [U-Boot] [PATCH] Introduce a global bool type

2013-01-08 Thread Wolfgang Denk
Dear York Sun, In message <50ec79e1.1080...@freescale.com> you wrote: > > No disagree. How shall we close this? Will some change like below > acceptable? > > diff --git a/include/linux/types.h b/include/linux/types.h > index 925ece7..f07ba41 100644 > --- a/include/linux/types.h > +++ b/include/li

Re: [U-Boot] [PATCH] Introduce a global bool type

2013-01-08 Thread Scott Wood
On 01/08/2013 03:43:34 PM, York Sun wrote: On 01/08/2013 01:39 PM, Wolfgang Denk wrote: > Dear York Sun, > > In message <50ec79e1.1080...@freescale.com> you wrote: >> >> No disagree. How shall we close this? Will some change like below >> acceptable? >> >> diff --git a/include/linux/types.h b/inc

Re: [U-Boot] [PATCH] Introduce a global bool type

2013-01-08 Thread York Sun
On 01/08/2013 01:39 PM, Wolfgang Denk wrote: > Dear York Sun, > > In message <50ec79e1.1080...@freescale.com> you wrote: >> >> No disagree. How shall we close this? Will some change like below >> acceptable? >> >> diff --git a/include/linux/types.h b/include/linux/types.h >> index 925ece7..f07ba41

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

2013-01-08 Thread Tom Rini
On Tue, Jan 08, 2013 at 04:07:59PM +0100, Albert ARIBAUD wrote: > Hello Tom, > > The following changes since commit > 96764df1b47ddebfb50fadf5af72530b07b5fc89: > > Merge samsung, imx, tegra into u-boot-arm/master (2012-12-22 11:59:14 > +0100) > > are available in the git repository at: > >

Re: [U-Boot] Selecting from multiple device trees at runtime

2013-01-08 Thread Stephen Warren
On 01/08/2013 10:58 AM, Simon Glass wrote: > Hi Stephen, > > On Tue, Jan 8, 2013 at 9:37 AM, Stephen Warren wrote: >> On 01/08/2013 09:51 AM, Simon Glass wrote: >>> Hi Stephen, >>> >>> On Tue, Jan 8, 2013 at 8:42 AM, Stephen Warren >>> wrote: On 01/07/2013 08:16 PM, Simon Glass wrote:

Re: [U-Boot] Selecting from multiple device trees at runtime

2013-01-08 Thread Simon Glass
Hi Stephen, On Tue, Jan 8, 2013 at 2:37 PM, Stephen Warren wrote: > On 01/08/2013 10:58 AM, Simon Glass wrote: >> Hi Stephen, >> >> On Tue, Jan 8, 2013 at 9:37 AM, Stephen Warren wrote: >>> On 01/08/2013 09:51 AM, Simon Glass wrote: Hi Stephen, On Tue, Jan 8, 2013 at 8:42 AM, Step

[U-Boot] [PATCH] Fix SPL build for non-ARM targets

2013-01-08 Thread Albert ARIBAUD
Signed-off-by: Albert ARIBAUD --- drivers/mtd/nand/Makefile |4 1 file changed, 4 insertions(+) diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile index 2c3812c..c77c0c4 100644 --- a/drivers/mtd/nand/Makefile +++ b/drivers/mtd/nand/Makefile @@ -79,6 +79,10 @@ COBJS-$(CO

[U-Boot] [PATCH] board sc3: fix warning about nested comment

2013-01-08 Thread Jeroen Hofstee
cc: Heiko Schocher Signed-off-by: Jeroen Hofstee --- board/sc3/init.S |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/board/sc3/init.S b/board/sc3/init.S index d374db4..6352368 100644 --- a/board/sc3/init.S +++ b/board/sc3/init.S @@ -71,7 +71,8 @@ ext_bus_cntlr_init:

Re: [U-Boot] NOR NAND Interference question

2013-01-08 Thread Andrei
Hi Scott, Thanks for you replay and sorry for my not speedy answer comments below. On Mon, 2013-01-07 at 18:37 -0600, Scott Wood wrote: > On 01/04/2013 05:47:06 PM, Andrei wrote: > > Hi, > > Recently I am start getting strange problem > > with u-boot-2011.09. MPC8313ERDB like > > configuration (

Re: [U-Boot] [PATCH] MPC8308: Fixup clocks in PCI Host configuration

2013-01-08 Thread Kim Phillips
On Tue, 8 Jan 2013 10:24:05 -0800 Barry Grussling wrote: > While trying to bring up a custom MPC8308 based board I found > that the clocking was wrong. The comment in > include/configs/mpc8308_p1m.h led me to believe > setting HRCWH_PCI_HOST and HRCWH_PCI1_ARBITER_ENABLE in the > CONFIG_SYS_HRCW

Re: [U-Boot] [PATCH] arm:exynos4:pinmux: Modify the gpio function for mmc

2013-01-08 Thread Minkyu Kang
On 08/01/13 23:03, Albert ARIBAUD wrote: > Hi Minkyu, > > On Tue, 08 Jan 2013 10:50:58 +0900, Minkyu Kang > wrote: >> On 03/01/13 16:31, Piotr Wilczek wrote: >>> This patch add pinmux settings for Exynos4 for mmc0 and mmc2 >>> >>> Signed-off-by: Piotr Wilczek >>> Signed-off-by: Kyungmin Park >>

[U-Boot] [PATCH] tegra30: fix UART2 pinmux table entry

2013-01-08 Thread Allen Martin
UART2_TXD and UART2_RXD mux 0 SFIO entries should be IRDA not UARTB. Signed-off-by: Allen Martin --- arch/arm/cpu/tegra30-common/pinmux.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/tegra30-common/pinmux.c b/arch/arm/cpu/tegra30-common/pinmux.c index

Re: [U-Boot] [PATCH v2] video:cache:fix: Enable dcache flush at LCD subsystem for Exynos based boards

2013-01-08 Thread Minkyu Kang
On 08/01/13 22:48, Lukasz Majewski wrote: > lcd_set_flush_dcache(1) function is called from exynos_fb.c configuration file > to enable lcd_sync function. > > Tested-at: TRATS (Exynos 4210) > Tested-by: Lukasz Majewski > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > Cc: Minkyu

Re: [U-Boot] Selecting from multiple device trees at runtime

2013-01-08 Thread Curt Brune
On 01/08/2013 02:37 PM, Stephen Warren wrote: Besides, it seems that storing a bunch of *.dtb in /boot is far easier than screwing around with FIT images, which just seem like a hopeless mess to me; why put a filesystem inside a file when there's already a /boot filesystem that you could use...

[U-Boot] [PATCH] powerpc/85xx: select -mcpu=8540 to match -Wa, e500

2013-01-08 Thread Scott Wood
This allows building with toolchains that by default target e6500. When targetting e6500, GCC generates a two-operand form of mfcr which gas normally maps to mfocr. However, when we tell gas to target e500 rather than e6500, it rejects two-operand mfcr. Tell GCC to target a least-common-denomina

[U-Boot] [PATCH] powerpc: fix 8xx and 82xx type-punning warnings with GCC 4.7

2013-01-08 Thread Scott Wood
C99's strict aliasing rules are insane to use in low-level code such as a bootloader, but as Wolfgang has rejected -fno-strict-aliasing in the past, add a union so that 16-bit accesses can be performed. Compile-tested only. Signed-off-by: Scott Wood --- arch/powerpc/cpu/mpc8260/commproc.c

[U-Boot] [PATCH] fdt: fix dts preprocessor options

2013-01-08 Thread Allen Martin
Using "-ansi" preprocessor option will cause dts lines that begin with '#' to choke the preprocessor. Change to "-x assembler-with-cpp" instead which is what the kernel uses to preprocess dts files. Signed-off-by: Allen Martin --- dts/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deleti

Re: [U-Boot] [PATCH V2] fs: fat: Fix mkcksum() function parameters

2013-01-08 Thread Aaron Williams
Hi Marek, This patch is broken. It breaks detecting duplicate filenames. The problem is that you are using sizeof(name) and sizeof(ext). This does not work since this just reports the size of the pointer in gcc 4.7, which according to our compiler guy is the correct behavior. Instead of using

Re: [U-Boot] [PATCH] MPC8308: Fixup clocks in PCI Host configuration

2013-01-08 Thread Barry Grussling
> I don't have an 8308 and nothing relevant shows up in the errata, so > modulo modifying the rcwh read with an i/o accessor (in_be32) and it > still failing, we ought to amend the comment with this new info. > > cc'ing Ilya, in case he can test on his 8308. Sounds good to have more testing. I am

[U-Boot] [PATCH V2] MPC8308: Fixup clocks in PCI Host configuration

2013-01-08 Thread Barry Grussling
While trying to bring up a custom MPC8308 based board I found that the clocking was wrong. The comment in include/configs/mpc8308_p1m.h led me to believe setting HRCWH_PCI_HOST and HRCWH_PCI1_ARBITER_ENABLE in the CONFIG_SYS_HRCW_HIGH should allow the system to work, but on my newer version of the

Re: [U-Boot] [PATCH] tegra30: fix UART2 pinmux table entry

2013-01-08 Thread Stephen Warren
On 01/08/2013 06:23 PM, Allen Martin wrote: > UART2_TXD and UART2_RXD mux 0 SFIO entries should be IRDA not UARTB. IRDA is just a needlessly different synonym for UARTB; there shouldn't be any mention of IRDA in the pinmux code anywhere, or any users of the pinmux code. ___

Re: [U-Boot] [PATCH] fdt: fix dts preprocessor options

2013-01-08 Thread Stephen Warren
On 01/08/2013 07:07 PM, Allen Martin wrote: > Using "-ansi" preprocessor option will cause dts lines that begin with > '#' to choke the preprocessor. Change to "-x assembler-with-cpp" > instead which is what the kernel uses to preprocess dts files. Well, it's what the kernel hopefully /will/ use

[U-Boot] [PATCH 0/3 V5] EXYNOS5: MAX77686 add FDT support

2013-01-08 Thread Rajeshwari Shinde
Add FDT support to PMIC MAX77686 chip. Changes in V2: - Changed chip address from 06 to 6. - Corrected indentation errors. Changes in V3: - Rebased on top of the latest implementation of PMIC Changes in V4: - Corrected PMIC register address Changes in V5:

[U-Boot] [PATCH 1/3 V5] EXYNOS5: FDT: Add compatible strings for PMIC

2013-01-08 Thread Rajeshwari Shinde
Add required compatible information for PMIC Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V2: - None Changes in V3: - converted the pmic name to small letters. Changes in V4: - None Changes in V5: - Rebased on latest u-boot-samsung tree.

[U-Boot] [PATCH 2/3 V5] EXYNOS5: Add device node for PMIC

2013-01-08 Thread Rajeshwari Shinde
Add device node for MAX77686 Signed-off-by: Rajeshwari Shinde --- Changes in V2: - Changed reg value from 06 to 6. Chnages in V3: - converted the pmic name to small letters. Changes in V4: - Corrected PMIC register address Changes in V5: - None board/samsung/dts/e

[U-Boot] [PATCH 3/3 V5] PMIC: MAX77686: Add FDT Support

2013-01-08 Thread Rajeshwari Shinde
This patch adds fdt support to MAX77686. Signed-off-by: Rajeshwari Shinde --- Changes in V2: - Corrected indentation errors. Changes in V3: - Rebased on top of the latest implementation of PMIC Changes in V4: - Corrected PMIC register address Changes in V5:

Re: [U-Boot] [PATCH 1/2] net: Remove call of srand from eth_random_enetaddr()

2013-01-08 Thread Christian Riesch
Hello Wolfgang, Thank you for your comments. On Tuesday, January 8, 2013, Wolfgang Denk wrote: > Dear Christian Riesch, > > In message > <419e5c6e-b2ef-44c2-a4c1-bb25c50fc...@mary.at.omicron.at> > you wrote: > > Currently eth_random_enetaddr() seeds the random number generator with > > get_timer

<    1   2