Re: [U-Boot] [PATCH 9/9] mx6qsabrelite: Add splaschscreen support

2012-06-03 Thread Fabio Estevam
On Sat, Jun 2, 2012 at 9:12 PM, Troy Kisky wrote: > If 0x1f is the Hannstar LVDS address, then you definitely should NOT use > 0x1f for the > > CONFIG_SYS_I2C_SLAVE value. > > > CONFIG_SYS_I2C_SLAVE is meant to define which address the processor will > respond to > in a multi-master bus environme

[U-Boot] [PATCH 1/6] imx31_phycore: Remove CONFIG_SYS_I2C_SLAVE definition

2012-06-03 Thread Fabio Estevam
From: Fabio Estevam According to include/i2c.h: "/* * Many boards/controllers/drivers don't support an I2C slave interface so * provide a default slave address for them for use in common code. A real * value for CONFIG_SYS_I2C_SLAVE should be defined for any board which does * support a sla

[U-Boot] [PATCH 2/6] mx35pdk: Remove CONFIG_SYS_I2C_SLAVE definition

2012-06-03 Thread Fabio Estevam
From: Fabio Estevam According to include/i2c.h: "/* * Many boards/controllers/drivers don't support an I2C slave interface so * provide a default slave address for them for use in common code. A real * value for CONFIG_SYS_I2C_SLAVE should be defined for any board which does * support a sla

[U-Boot] [PATCH 3/6] mx53ard: Remove CONFIG_SYS_I2C_SLAVE definition

2012-06-03 Thread Fabio Estevam
According to include/i2c.h: "/* * Many boards/controllers/drivers don't support an I2C slave interface so * provide a default slave address for them for use in common code. A real * value for CONFIG_SYS_I2C_SLAVE should be defined for any board which does * support a slave interface. */ #ifn

[U-Boot] [PATCH 4/6] mx53evk: Remove CONFIG_SYS_I2C_SLAVE definition

2012-06-03 Thread Fabio Estevam
From: Fabio Estevam According to include/i2c.h: "/* * Many boards/controllers/drivers don't support an I2C slave interface so * provide a default slave address for them for use in common code. A real * value for CONFIG_SYS_I2C_SLAVE should be defined for any board which does * support a sla

[U-Boot] [PATCH 5/6] mx53loco: Remove CONFIG_SYS_I2C_SLAVE definition

2012-06-03 Thread Fabio Estevam
From: Fabio Estevam According to include/i2c.h: "/* * Many boards/controllers/drivers don't support an I2C slave interface so * provide a default slave address for them for use in common code. A real * value for CONFIG_SYS_I2C_SLAVE should be defined for any board which does * support a sla

[U-Boot] [PATCH 6/6] mx53smd: Remove CONFIG_SYS_I2C_SLAVE definition

2012-06-03 Thread Fabio Estevam
From: Fabio Estevam According to include/i2c.h: "/* * Many boards/controllers/drivers don't support an I2C slave interface so * provide a default slave address for them for use in common code. A real * value for CONFIG_SYS_I2C_SLAVE should be defined for any board which does * support a sla

[U-Boot] (no subject)

2012-06-03 Thread Stijn Souffriau
Fixed a comment ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH resend] Added UBL_MAGIC_PLL number for ublimage + added automatic page size calculation

2012-06-03 Thread Stijn Souffriau
--- tools/mkimage.h |6 ++ tools/ublimage.c | 31 +-- tools/ublimage.h |2 ++ 3 files changed, 37 insertions(+), 2 deletions(-) diff --git a/tools/mkimage.h b/tools/mkimage.h index 5fe1a48..cd835f0 100644 --- a/tools/mkimage.h +++ b/tools/mkimage.h @@ -1

Re: [U-Boot] [PATCH 1/2] menu: Added support to use user defined functions

2012-06-03 Thread Marek Vasut
Dear Pali Rohár, Please CC proper custodians in order to get reviews next time. [...] > --- a/include/menu.h > +++ b/include/menu.h > @@ -21,12 +21,14 @@ > struct menu; > > struct menu *menu_create(char *title, int timeout, int prompt, > - void (*item_data_print)(v

Re: [U-Boot] [PATCH 1/2] menu: Added support to use user defined functions

2012-06-03 Thread Pali Rohár
On Sunday 03 June 2012 11:59:16 Marek Vasut wrote: > > --- a/include/menu.h > > +++ b/include/menu.h > > @@ -21,12 +21,14 @@ > > > > struct menu; > > > > struct menu *menu_create(char *title, int timeout, int > > prompt, > > > > - void (*item_data_print)(void *)); > > +

Re: [U-Boot] [PATCH 2/2] New command bootmenu: ANSI terminal Boot Menu support

2012-06-03 Thread Marek Vasut
Dear Pali Rohár, > Signed-off-by: Pali Rohár Try keeping the subject line short and add a patch description instead. Btw. Try avoiding unicode characters in the patch. Also, is "Pali" your real name that you have on your IDs etc. ? > --- > common/Makefile |1 + > common/cmd_boo

Re: [U-Boot] [PATCH 1/2] menu: Added support to use user defined functions

2012-06-03 Thread Marek Vasut
Dear Pali Rohár, > On Sunday 03 June 2012 11:59:16 Marek Vasut wrote: > > > --- a/include/menu.h > > > +++ b/include/menu.h > > > @@ -21,12 +21,14 @@ > > > > > > struct menu; > > > > > > struct menu *menu_create(char *title, int timeout, int > > > prompt, > > > > > > -

Re: [U-Boot] [PATCH 2/2] New command bootmenu: ANSI terminal Boot Menu support

2012-06-03 Thread Luka Perkov
Hi Marek, On Sun, Jun 03, 2012 at 12:06:55PM +0200, Marek Vasut wrote: > Dear Pali Rohár, > > > Signed-off-by: Pali Rohár > > Try keeping the subject line short and add a patch description instead. Btw. > Try > avoiding unicode characters in the patch. Also, is "Pali" your real name that > y

[U-Boot] [PATCH] da850/omap-l138: Enable auto negotiation in RMII mode

2012-06-03 Thread Prabhakar Lad
From: Rajashekhara, Sudhakar On DA850/OMAP-L138 it was observed that in RMII mode, auto negotiation was not performed. This patch enables auto negotiation in RMII mode. Without this patch, EMAC initialization takes more time and sometimes tftp fails in RMII mode. Signed-off-by: Rajashekhara, Sud

[U-Boot] [PATCH] da850/omap-l138: enable SPI flash in RMII mode

2012-06-03 Thread Prabhakar Lad
From: Rajashekhara, Sudhakar According to DA850/OMAP-L138 schematics, GP2[6] line has to be driven high for RMII mode to work. In RMII mode, SPI flash becomes un-usable. But during testing it was found out that, driving GP2[6] low also enables RMII and in this configuration SPI flash is also acce

[U-Boot] [PATCH 0/7] feature additions and fixes for da850/omap-l138

2012-06-03 Thread Prabhakar Lad
From: Lad, Prabhakar This series adds MMC/SD, NAND and NOR SPL support for Logic PD's DA850/OMAP-L138 EVM. This series also fixes some issues found on the EVM during testing. The patches are sent in a series as these patches need to be applied in the order they are sent. Lad, Prabhakar (5): da

[U-Boot] [PATCH 1/7] da850/omap-l138: Add MMC support for DA850/OMAP-L138

2012-06-03 Thread Prabhakar Lad
From: Lad, Prabhakar This patch adds support for MMC/SD on DA850/OMAP-L138. Signed-off-by: Lad, Prabhakar Signed-off-by: Rajashekhara, Sudhakar Signed-off-by: Hadli, Manjunath --- arch/arm/cpu/arm926ejs/davinci/da850_pinmux.c | 13 ++ arch/arm/include/asm/arch-davinci/hardware.h

[U-Boot] [PATCH 4/7] da850/omap-l138: Make MMC and NOR support mutually exclusive

2012-06-03 Thread Prabhakar Lad
From: Rajashekhara, Sudhakar On Logic PD Rev.3 DA850/OMAP-L138 EVM, NOR and MMC/SD cannot work together. This patch enables the MMC/SD support only when NOR support is disabled. NOR Flash identification works even without this patch, but erase and write will have issues. Signed-off-by: Rajashekh

[U-Boot] [PATCH 7/7] da850/omap-l138: add support for direct NOR boot mode

2012-06-03 Thread Prabhakar Lad
From: Lad, Prabhakar This patch adds support for direct NOR boot mode on da850/omap-l138. Define the CONFIG_DIRECT_NOR_BOOT macro along with CONFIG_USE_NOR in the DA850/OMAP-L138 configuration file to enable this feature. Signed-off-by: Lad, Prabhakar Signed-off-by: Rajashekhara, Sudhakar Sig

[U-Boot] [PATCH 2/7] da850/omap-l138: modifications for Logic PD Rev.3 AM18xx EVM

2012-06-03 Thread Prabhakar Lad
From: Rajashekhara, Sudhakar AHCLKR/UART1_RTS/GP0[11] pin needs to be configured for MMC and NOR to work on DA850/OMAP-L138 Rev.3 EVM. When GP0[11] is low, the SD0 interface will not work, but NOR flash will. When GP0[11] is high, SD0 will work but NOR flash will not. Signed-off-by: Rajashekhara

[U-Boot] [PATCH 5/7] da850/omap-l138: Fix NAND flash timings

2012-06-03 Thread Prabhakar Lad
From: Lad, Prabhakar Though Commit id a3f88293ddd13facd734769c1664d35ab4ed681f (da850evm: setup the NAND flash timings) has configured the AEMIF timings, they are not exactly in sync with the timings used in Linux. Linux is configuring the timing register as 0x0804, where as currently it conf

[U-Boot] [PATCH 6/7] da850/omap-l138: Add support for NAND SPL

2012-06-03 Thread Prabhakar Lad
From: Lad, Prabhakar This patch adds support for NAND SPL on DA850/OMAP-L138. Signed-off-by: Lad, Prabhakar Signed-off-by: Rajashekhara, Sudhakar Signed-off-by: Hadli, Manjunath --- arch/arm/cpu/arm926ejs/davinci/spl.c | 13 ++- include/configs/da850evm.h | 39 +

[U-Boot] [PATCH 3/7] da850/omap-l138: Add support to read u-boot image from MMC/SD

2012-06-03 Thread Prabhakar Lad
From: Lad, Prabhakar DA850/OMAP-L138 does not support strict MMC/SD boot mode. SPL will be in SPI flash and U-Boot image will be in MMC/SD card. SPL will do the low level initialization and then loads the u-boot image from MMC/SD card. Define the CONFIG_SPL_MMC_LOAD macro in the DA850/OMAP-L138

Re: [U-Boot] [PATCH] fix IDE_BUS(dev) macro

2012-06-03 Thread Vágó Tibor
Hi, I've tested this IDE patch on my NAS6220 and it works. U-boot detect both HDD correctly and boot from them. Cheers, Tibor Original message IDE_BUS assumes that each bus has two devices and thus returns the first bus even when the second one should be probed. Signed-off-

Re: [U-Boot] [PATCH] fix IDE_BUS(dev) macro

2012-06-03 Thread Vágó Tibor
Hi, I've tested this IDE patch on my NAS6220 and it works. U-boot detect both HDD correctly and boot from them. Cheers, Tibor Original message IDE_BUS assumes that each bus has two devices and thus returns the first bus even when the second one should be probed. Signed-off-

Re: [U-Boot] [PATCH 2/2] New command bootmenu: ANSI terminal Boot Menu support

2012-06-03 Thread Marek Vasut
Dear Luka Perkov, > Hi Marek, > > On Sun, Jun 03, 2012 at 12:06:55PM +0200, Marek Vasut wrote: > > Dear Pali Rohár, > > > > > Signed-off-by: Pali Rohár > > > > Try keeping the subject line short and add a patch description instead. > > Btw. Try avoiding unicode characters in the patch. Also, i

Re: [U-Boot] [PATCH] fix IDE_BUS(dev) macro

2012-06-03 Thread Rogan Dawes
On 19/04/2012 08:38, Albert ARIBAUD wrote: Hi Dave, Le 18/04/2012 23:37, David Purdy a écrit : On Tue, Apr 17, 2012 at 2:06 PM, Luka Perkov wrote: IDE_BUS assumes that each bus has two devices and thus returns the first bus even when the second one should be probed. Signed-off-by: Simon Baatz

Re: [U-Boot] [PATCH 2/2] New command bootmenu: ANSI terminal Boot Menu support

2012-06-03 Thread Luka Perkov
Hi Marek, On Sun, Jun 03, 2012 at 08:27:53PM +0200, Marek Vasut wrote: > > > Try keeping the subject line short and add a patch description instead. > > > Btw. Try avoiding unicode characters in the patch. Also, is "Pali" your > > > real name that you have on your IDs etc. ? > > > > What kind of

Re: [U-Boot] [PATCH] fix IDE_BUS(dev) macro

2012-06-03 Thread Luka Perkov
Hi Tibor, On Sun, Jun 03, 2012 at 05:03:13PM +0200, Vágó Tibor wrote: > Hi, > > I've tested this IDE patch on my NAS6220 and it works. > > U-boot detect both HDD correctly and boot from them. Thank you for testing. Regards, Luka ___ U-Boot mailing li

Re: [U-Boot] [PATCH] fix IDE_BUS(dev) macro

2012-06-03 Thread Luka Perkov
Hi Rogan, On Sun, Jun 03, 2012 at 10:23:15PM +0200, Rogan Dawes wrote: > I had something similar for my DNS323 port (orion5x-based), which > other people may be remembering. > > http://lists.denx.de/pipermail/u-boot/2010-August/075589.html > > I seem to recall Wolfgang was not terribly enthused

[U-Boot] [PATCH] MIPS: bootm.c: make checkpatch.pl clean

2012-06-03 Thread Daniel Schwierzeck
Signed-off-by: Daniel Schwierzeck --- arch/mips/lib/bootm.c | 102 - 1 file changed, 51 insertions(+), 51 deletions(-) diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c index 9930abf..608c1a7 100644 --- a/arch/mips/lib/bootm.c +++ b/arch/

[U-Boot] [PATCH] MIPS: bootm_qemu_mips.c: make checkpatch.pl clean

2012-06-03 Thread Daniel Schwierzeck
Signed-off-by: Daniel Schwierzeck --- arch/mips/lib/bootm_qemu_mips.c | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/arch/mips/lib/bootm_qemu_mips.c b/arch/mips/lib/bootm_qemu_mips.c index bb6442a..0815c9c 100644 --- a/arch/mips/lib/bootm_qemu_m

[U-Boot] [PATCH] MIPS: board.c: move extern declarations to u-boot-mips.h

2012-06-03 Thread Daniel Schwierzeck
This fixes some remaining checkpatch.pl warnings. Signed-off-by: Daniel Schwierzeck --- arch/mips/include/asm/u-boot-mips.h | 11 +++ arch/mips/lib/board.c |7 --- include/common.h|3 +++ 3 files changed, 14 insertions(+), 7 deletions(-) c

[U-Boot] [GIT PULL] u-boot-mips/master

2012-06-03 Thread Daniel Schwierzeck
Dear Wolfgang, please pull some checkpatch.pl cleanups for MIPS. The following changes since commit 4398d55991eb3c2484a2a8e991d701e5d7a64874: net: sh-eth: Add support Gigabit of SH7734 (2012-05-23 17:53:09 -0500) are available in the git repository at: git://git.denx.de/u-boot-mips.git mas

[U-Boot] [PATCH] malloc: remove extern declarations of malloc_bin_reloc() in board.c files

2012-06-03 Thread Daniel Schwierzeck
Declare malloc_bin_reloc() in malloc.h and remove all extern declarations in various board.c files to get rid of one checkpatch.pl warning. Signed-off-by: Daniel Schwierzeck Cc: Wolfgang Denk Cc: Andreas Bießmann Cc: Jason Jin Cc: Macpaul Lin Cc: Daniel Hellstrom --- arch/avr32/lib/board.c

[U-Boot] [PATCH] mmc: fix wrong timeout check in mmc_send_status()

2012-06-03 Thread Jongman Heo
(!timeout) condition check in mmc_send_status() can never be met, because do-while loop ends up with negative timeout value, -1. Fix it by using pre-decrement. Signed-off-by: Jongman Heo --- drivers/mmc/mmc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/

Re: [U-Boot] [PATCH v2 4/7] tegra: Allow boards to perform early GPIO setup

2012-06-03 Thread Thierry Reding
* Tom Warren wrote: > Thierry, > > > -Original Message- > > From: Thierry Reding [mailto:thierry.red...@avionic-design.de] > > Sent: Friday, May 25, 2012 11:00 AM > > To: Stephen Warren > > Cc: u-boot@lists.denx.de; Tom Warren; Simon Glass > > Subject: Re: [PATCH v2 4/7] tegra: Allow board

Re: [U-Boot] [PATCH] mmc: fix wrong timeout check in mmc_send_status()

2012-06-03 Thread Graeme Russ
Hi Jongman, On Mon, Jun 4, 2012 at 3:32 PM, Jongman Heo wrote: > (!timeout) condition check in mmc_send_status() can never be met, > because do-while loop ends up with negative timeout value, -1. > > Fix it by using pre-decrement. > > Signed-off-by: Jongman Heo > --- >  drivers/mmc/mmc.c |    2