Re: [U-Boot] [PATCH v2 1/2] ubi: Only read the actual size of the VID header

2012-11-06 Thread Stefan Roese
On 11/05/2012 05:46 PM, Joe Hershberger wrote: > If sub-page reads are supported, this will save reading unneeded data > > Signed-off-by: Joe Hershberger > --- > > drivers/mtd/ubi/io.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mtd/ubi/io.c b/drivers/mtd/u

Re: [U-Boot] SMSC LAN9514 on TI DM37x board

2012-11-06 Thread Felix Radensky
Hi Marek, On 11/06/2012 12:57 AM, Marek Vasut wrote: Can you please avoid top-posting? Does U-Boot even support your USB device? Sorry about top-posting. My USB device is supported by smsc95xx.c driver in drivers/usb/eth. Thanks a lot. Felix. On 11/02/2012 08:38 AM, Felix Radensky wrote:

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-11-06 Thread Andreas Bießmann
Dear Dimax, On 06.11.2012 08:51, Dimax wrote: > Well so far no luck, > Actually I'm not sure how to start. But I will try to go on "with a > little help from my friends". > > I) > The first question that raised is a compiler. I see two options: > 1. Use the cross compiler - this is what more like

Re: [U-Boot] [PULL] please pull u-boot-atmel/master

2012-11-06 Thread Andreas Bießmann
Hi Albert, On 05.11.2012 14:09, Albert ARIBAUD wrote: > Hi Andreas, > > On Mon, 5 Nov 2012 11:19:30 +0100, Andreas Bießmann > wrote: > >> Dear Albert Aribaud, >> >> The following changes since commit 46d626d3926cf6b9f9c477782c5a0ee620a424cd: >> >> socfpga/spl: Remove malloc.h (2012-11-04 16:

Re: [U-Boot] [PATCH] at91: move get_chip_id() and get_extension_chip_id() to cpu.c, which can share with all at91 board.

2012-11-06 Thread Andreas Bießmann
Dear Josh Wu, On 05.11.2012 11:18, Andreas Bießmann wrote: > Dear Josh Wu, > > On 01.11.2012 11:57, Josh Wu wrote: >> Signed-off-by: Josh Wu >> --- >> arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c | 12 >> arch/arm/cpu/arm926ejs/at91/cpu.c| 11 +++ >>

Re: [U-Boot] [PATCH] video: atmel: implement lcd_setcolreg funtion

2012-11-06 Thread Andreas Bießmann
Dear Bo Shen, On 05.11.2012 10:38, Andreas Bießmann wrote: > Dear Bo Shen, > > On 29.10.2012 08:00, Bo Shen wrote: >> Signed-off-by: Bo Shen >> --- >> drivers/video/atmel_hlcdfb.c |6 ++ >> 1 file changed, 6 insertions(+) > > Applied to u-boot-atmel/master, thanks! > Patch was remove

Re: [U-Boot] generic mmc bug in reading sd card capacity

2012-11-06 Thread Romain Izard
On 2012-11-02, victor wrote: > Hi All, > > Accord to SD spec 2.0, the formula to find out sd card capacity is: > > memory capacity = (C_SIZE+1) * 512K byte > and > C_SIZE is from CSD [69:48] > > Thus, the code in generic mmc is wrong for the high capacity sd card. My > patch is below. > W

Re: [U-Boot] USB mass storage gadget patch

2012-11-06 Thread victor
Lukasz, > Hi victor, > > Regarding UMS support: > > The last version posted at u-boot ML can be found at [**]: > http://thread.gmane.org/gmane.comp.boot-loaders.u- > boot/113004/match=ums > > > +if (fsg_fs_bulk_out_desc.bEndpointAddress != 0x1) > + fsg_fs_bulk_out_desc.bEndpointAddress = 0

[U-Boot] [PATCH v3 0/2] rework common/lcd

2012-11-06 Thread Andreas Bießmann
This series rework the CLUT management in common/lcd and use the driver API lcd_setcolreg() for that. The change was first requested from Marek Vasut due to a compiler warning (type-punned pointer stuff) encountered with eldk 4.2 and introduced in 203c37b8c5556aad1901ce4954792afd718c7d42 BEWARE th

[U-Boot] [PATCH v3 1/2] video: atmel: implement lcd_setcolreg funtion

2012-11-06 Thread Andreas Bießmann
From: Bo Shen Signed-off-by: Bo Shen Signed-off-by: Andreas Bießmann --- since v2: * add this single patch drivers/video/atmel_hlcdfb.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/video/atmel_hlcdfb.c b/drivers/video/atmel_hlcdfb.c index beb7fa3..4110d4d 100644 --- a

[U-Boot] [PATCH v3 2/2] common/lcd: use lcd_setcolreg() to setup CLUT

2012-11-06 Thread Andreas Bießmann
The lcd_setcolreg() is a API provided by the lcd driver and used to setup the color lookup table. However the lcd driver setup the CLUT by using a lot of ifdiffery and accessing the CLUT arrays directly instead. Remove that and use the API. Signed-off-by: Andreas Bießmann Cc: Marek Vasut Cc: Ana

[U-Boot] [PATCH 0/5 v2] Add DT based ethernet driver for SMDK5250

2012-11-06 Thread Hatim Ali
This patch series enables the DT support on SMDK5250. Ethernet is the first driver whose discovery is based on DT node. More DT based drivers to be added subsequently Changes since v1: - Renamed the smdk5250.h file to exynos5250-dt.h to create a common configuration file which ca

[U-Boot] [PATCH 1/5 v2] EXYNOS5: FDT: add initial dts file for EXYNOS5250, SMDK5250

2012-11-06 Thread Hatim Ali
This patch adds initial dts file for EXYNOS5250 SoC. This dts file currently include only ethernet devices and properties. More devices to be added in subsequent patches. Also add the dts file for SMDK5250 board which uses the EXYNOS5250 dts file. Signed-off-by: Hatim Ali Acked-by: Simon Glass -

[U-Boot] [PATCH 2/5 v2] fdt: exynos5: Add DT node definition for SROM and SMSC9215

2012-11-06 Thread Hatim Ali
Add the compatibility string and constant for the ethernet driver so the device tree parsing code can recognize it. Signed-off-by: Hatim Ali Acked-by: Simon Glass --- Changes since v1: - Removed extra blank line before COMPAT_SMSC_LAN9215 - Added Acked-by: Simon Glass diff --git

[U-Boot] [PATCH 3/5 v2] exynos5: Add DT based driver for SMC911X ethernet

2012-11-06 Thread Hatim Ali
Add device tree based ethernet driver for SMC911X controller on SMDK5250 boards. Signed-off-by: Hatim Ali Acked-by: Simon Glass --- Changes since v1: - Added Acked-by Simon Glass diff --git a/arch/arm/include/asm/arch-exynos/sromc.h b/arch/arm/include/asm/arch-exynos/sromc.h index f616

[U-Boot] [PATCH 4/5] exynos5: config: Rename the smdk5250.h to exynos5250-dt.h

2012-11-06 Thread Hatim Ali
Create a common configuration file for all exynos5250 based boards. Going forward we will be using DT based driver discovery for all the boards based on Exynos5. The different boards added will have there own config.h files which internally will include this file and specify their specific DT files

[U-Boot] [PATCH 5/5] SMDK5250: config: Add configuration file for SMDK5250 board

2012-11-06 Thread Hatim Ali
Add the configuration file for exynos5250 based SMDK5250 board. Signed-off-by: Hatim Ali diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h new file mode 100644 index 000..81f83a8 --- /dev/null +++ b/include/configs/smdk5250.h @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2012 Sam

[U-Boot] [PATCH 0/8] Add TMU support for Exynos5250 based SMDK5250

2012-11-06 Thread Hatim Ali
The patch series add support for TMU driver using device tree for Exynos5250 based SMDK5250 board. This patch series is dependent on the patch series "Add DT based ethernet driver for SMDK5250" by Hatim Ali Akshay Saraswat (5): EXYNOS5: FDT: Add TMU device node values EXYNOS5: TMU: Add driver

[U-Boot] [PATCH 1/8] EXYNOS5: FDT: Add TMU device node values

2012-11-06 Thread Hatim Ali
From: Akshay Saraswat Fdt entry for Exynos TMU driver specific pre-defined values used for calibration of current temperature and defining threshold values. Signed-off-by: Akshay Saraswat diff --git a/arch/arm/dts/exynos5250.dtsi b/arch/arm/dts/exynos5250.dtsi index fa4d498..db22db6 100644 ---

[U-Boot] [PATCH 2/8] EXYNOS5: TMU: Add driver for Thermal Management Unit

2012-11-06 Thread Hatim Ali
From: Akshay Saraswat Adding Exynos Thermal Management Unit driver to monitor SOC temperature and take actions corresponding to states of TMU. System will shutdown if tripping temperature is reached. Signed-off-by: Akshay Saraswat diff --git a/arch/arm/include/asm/arch-exynos/exynos-tmu.h b/a

[U-Boot] [PATCH 3/8] EXYNOS5: Power down API for Thermal Management Unit

2012-11-06 Thread Hatim Ali
From: Akshay Saraswat Adding API in power for system shutdown when tripping value is reached in Exynos Thermal Management Unit. Signed-off-by: Akshay Saraswat diff --git a/arch/arm/cpu/armv7/exynos/power.c b/arch/arm/cpu/armv7/exynos/power.c index d4bce6d..a6d8827 100644 --- a/arch/arm/cpu/ar

[U-Boot] [PATCH 4/8] GEN: Add a poll function to monitor events

2012-11-06 Thread Hatim Ali
From: Akshay Saraswat Add a generic polling function to continuously monitor events and trigger actions corresponding to them. Signed-off-by: Akshay Saraswat diff --git a/README b/README index 2572add..72b3b67 100644 --- a/README +++ b/README @@ -2814,6 +2814,13 @@ Configuration Settings:

[U-Boot] [PATCH 5/8] EXYNOS5: TMU: Add TMU status polling

2012-11-06 Thread Hatim Ali
From: Akshay Saraswat This adds call to tmu_init() and TMU status polling in board_poll_devices() funtion to monitor temperature change of the SOC. Signed-off-by: Akshay Saraswat diff --git a/board/samsung/smdk5250/smdk5250.c b/board/samsung/smdk5250/smdk5250.c index ac7346d..19eb2e0 100644 -

[U-Boot] [PATCH 6/8] EXYNOS5: Config: Enable support for Exynos TMU driver

2012-11-06 Thread Hatim Ali
Enables TMU driver support for exynos5250 Signed-off-by: Akshay Saraswat diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h index 12f555c..2f4315a 100644 --- a/include/configs/exynos5250-dt.h +++ b/include/configs/exynos5250-dt.h @@ -106,6 +106,12 @@ #define CONFIG_B

[U-Boot] [PATCH 7/8] GEN: TMU: Add u-boot command to read current temp

2012-11-06 Thread Hatim Ali
From: Alim Akhtar Adds a new u-boot command to read current temprature from tmu driver. Signed-off-by: Alim Akhtar diff --git a/common/Makefile b/common/Makefile index dca2f53..b56ffa2 100644 --- a/common/Makefile +++ b/common/Makefile @@ -159,6 +159,7 @@ COBJS-$(CONFIG_CMD_STRINGS) += cmd_str

[U-Boot] [PATCH 8/8] EXYNOS5: Config: Enable tmu command

2012-11-06 Thread Hatim Ali
This enables the tmu command to read the current SOC temperature with the help of TMU Signed-off-by: Alim Akhtar diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h index 2f4315a..2b9271c 100644 --- a/include/configs/exynos5250-dt.h +++ b/include/configs/exynos5250-dt.

Re: [U-Boot] SMSC LAN9514 on TI DM37x board

2012-11-06 Thread Ilya Yanok
On Tue, Nov 6, 2012 at 9:24 AM, Felix Radensky wrote: > Hi Marek, > > > On 11/06/2012 12:57 AM, Marek Vasut wrote: > >> Can you please avoid top-posting? Does U-Boot even support your USB >> device? >> >> > Sorry about top-posting. My USB device is supported by smsc95xx.c driver > in drivers/usb/e

Re: [U-Boot] [PATCH 2/3] md5: Fix gcc-4.7 build problem in md5

2012-11-06 Thread Pavel Machek
On Tue 2012-11-06 01:56:50, Marek Vasut wrote: > Dear Pavel Machek, > > > Hi! > > > > In message <20121105200340.GA15821@xo-6d-61-c0.localdomain> you wrote: > > >> > > > /* Append length in bits and transform */ > > >> > > > > > >> > > > - ctx->in32[14] = ctx->bits[

Re: [U-Boot] USB mass storage gadget patch

2012-11-06 Thread victor
Lukasz, > Lukasz, > > > Hi victor, > > > > Regarding UMS support: > > > > The last version posted at u-boot ML can be found at [**]: > > http://thread.gmane.org/gmane.comp.boot-loaders.u- > > boot/113004/match=ums > > > > > > +if (fsg_fs_bulk_out_desc.bEndpointAddress != 0x1) > > + fsg_fs_bulk_

Re: [U-Boot] [PATCH 1/3] common: add ifdefs around bouncebuf.c body

2012-11-06 Thread Stephen Warren
On 11/05/2012 04:47 PM, Simon Glass wrote: > Hi Stephen, > > On Mon, Nov 5, 2012 at 3:04 PM, Stephen Warren wrote: >> From: Stephen Warren >> >> If a U-Boot config file enables CONFIG_BOUNCE_BUFFER only for the main >> U-Boot build and not for the SPL, then config.mk will contain >> CONFIG_BOUNC

Re: [U-Boot] [PATCH 1/3] common: add ifdefs around bouncebuf.c body

2012-11-06 Thread Stephen Warren
On 11/05/2012 05:54 PM, Marek Vasut wrote: > Dear Stephen Warren, > >> From: Stephen Warren >> >> If a U-Boot config file enables CONFIG_BOUNCE_BUFFER only for the main >> U-Boot build and not for the SPL, then config.mk will contain >> CONFIG_BOUNCE_BUFFER=y, so common/Makefile will build bounce

Re: [U-Boot] [PATCH 2/3] common: rework bouncebuf implementation

2012-11-06 Thread Stephen Warren
On 11/05/2012 04:54 PM, Simon Glass wrote: > Hi Stephen, > > On Mon, Nov 5, 2012 at 3:04 PM, Stephen Warren wrote: >> The current bouncebuf API requires all parameters to be passed to both >> bounce_buffer_start() and bounce_buffer_stop(). This works fine when >> both functions are called from th

Re: [U-Boot] [PATCH 3/3] mmc: tegra: use bounce buffer APIs

2012-11-06 Thread Stephen Warren
On 11/05/2012 05:00 PM, Simon Glass wrote: > Hi Stephen, > > On Mon, Nov 5, 2012 at 3:04 PM, Stephen Warren wrote: >> From: Stephen Warren >> >> Tegra's MMC driver does DMA, and hence needs cache-aligned buffers. In >> some cases (e.g. user load commands) this cannot be guaranteed by callers >>

Re: [U-Boot] [PATCH 3/3] mmc: tegra: use bounce buffer APIs

2012-11-06 Thread Simon Glass
Hi Stephen, On Tue, Nov 6, 2012 at 10:50 AM, Stephen Warren wrote: > On 11/05/2012 05:00 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Mon, Nov 5, 2012 at 3:04 PM, Stephen Warren wrote: >>> From: Stephen Warren >>> >>> Tegra's MMC driver does DMA, and hence needs cache-aligned buffers. In >>>

Re: [U-Boot] [PATCH 2/3] common: rework bouncebuf implementation

2012-11-06 Thread Stephen Warren
On 11/05/2012 04:54 PM, Simon Glass wrote: > Hi Stephen, > > On Mon, Nov 5, 2012 at 3:04 PM, Stephen Warren wrote: >> From: Stephen Warren >> >> The current bouncebuf API requires all parameters to be passed to both >> bounce_buffer_start() and bounce_buffer_stop(). This works fine when >> both

Re: [U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-06 Thread Benoît Thébaudeau
Dear Lucas Stach, On Tuesday, November 6, 2012 8:43:43 AM, Lucas Stach wrote: > Am Dienstag, den 06.11.2012, 00:56 +0100 schrieb Marek Vasut: > > Dear Benoît Thébaudeau, > > > > > Dear Marek Vasut, > > > > > > On Monday, November 5, 2012 11:54:12 PM, Marek Vasut wrote: > > > > Dear Benoît Thébau

[U-Boot] [PATCH] USB: add arrow key support to usb_kbd

2012-11-06 Thread Allen Martin
Check for scancodes for arrow keys and map them to ^F/^B, ^N/^P. Control characters are used instead of ANSI sequence because the queueing code in usb_kbd doesn't handle the data increase when one keypress generates 3 keycodes. The real fix is to convert this driver to use the input subsystem and

[U-Boot] [PATCH V2 1/4] Replace CONFIG_MMC_BOUNCE_BUFFER with CONFIG_BOUNCE_BUFFER in configs

2012-11-06 Thread Stephen Warren
From: Stephen Warren Commits 6dc71c8 "MMC: MXS: Toggle the generic bounce buffer on the boards" and 49a627f "MMC: Remove the MMC bounce buffer" replaced CONFIG_MMC_BOUNCE_BUFFER with CONFIG_BOUNCE_BUFFER, but missed converting a few boards over to the new option. Fix this. Signed-off-by: Stephen

[U-Boot] [PATCH V2 3/4] common: rework bouncebuf implementation

2012-11-06 Thread Stephen Warren
From: Stephen Warren The current bouncebuf API requires all parameters to be passed to both bounce_buffer_start() and bounce_buffer_stop(). Modify the bouncebuf start function to accept a state structure as a parameter, and only require that state struct to be passed to the stop function. This si

[U-Boot] [PATCH V2 2/4] bouncebuf: remove dummy implementation

2012-11-06 Thread Stephen Warren
From: Stephen Warren If any driver ever needs to use the bounce buffer API, it always needs to use it. As such, providing a dummy implementation of those APIs when CONFIG_BOUNCE_BUFFER isn't defined does not make sense. Remove the dummy implementation. Signed-off-by: Stephen Warren --- v2: New

[U-Boot] [PATCH V2 4/4] mmc: tegra: use bounce buffer APIs

2012-11-06 Thread Stephen Warren
From: Stephen Warren Tegra's MMC driver does DMA, and hence needs cache-aligned buffers. In some cases (e.g. user load commands) this cannot be guaranteed by callers of the MMC APIs. To solve this, modify the Tegra MMC driver to use the new bounce_buffer_*() APIs. Note: Ideally, all U-Boot code

[U-Boot] [PATCH] am335x_evm: Fix Ethernet LED issue on BeagleBone

2012-11-06 Thread Andrew Bradford
The default value for PRM_RSTTIME1 on am335x is 0x06 leading to a very short assertion of SYS_RESETn on BeagleBones. For PRM_RSTTIME1 values less than 0x80, some BeagleBones will end up with inverted Ethernet LEDs upon warm software reset leading to incorrect display of the Ethernet link status on

[U-Boot] [PATCH v3 2/9] x86: Allow excluding reset vector code from u-boot

2012-11-06 Thread Simon Glass
From: Gabe Black When running from coreboot we don't want this code. This version works by ifdef-ing out all of the code that would go into those sections and all the code that refers to it. The sections are then empty, and the linker will either leave them empty for the loader to ignore or remo

Re: [U-Boot] [PATCH] USB: add arrow key support to usb_kbd

2012-11-06 Thread Stephen Warren
On 11/06/2012 02:26 PM, Allen Martin wrote: > Check for scancodes for arrow keys and map them to ^F/^B, ^N/^P. > Control characters are used instead of ANSI sequence because the > queueing code in usb_kbd doesn't handle the data increase when one > keypress generates 3 keycodes. The real fix is to

[U-Boot] [PATCH v2] video: Provide an API to access video parameters

2012-11-06 Thread Anatolij Gustschin
From: Stefan Reinauer Create a basic API to provide access to video parameters such as screen size, and to position the cursor on the screen. Also add a prototype for video_display_bitmap() which was missing. Signed-off-by: Stefan Reinauer Signed-off-by: Simon Glass Signed-off-by: Anatolij Gus

Re: [U-Boot] [PATCH 6/7] fs: Add a Coreboot Filesystem (CBFS) driver and commands

2012-11-06 Thread Simon Glass
Hi Wolfgang, On Mon, Nov 5, 2012 at 11:27 PM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message > you > wrote: >> >> Well I found a very short version: >> >> * Use of this source code is governed by a BSD-style license that can be >> * found in the LICENSE file. >> >> but it is inaccur

Re: [U-Boot] [PATCH 6/7] fs: Add a Coreboot Filesystem (CBFS) driver and commands

2012-11-06 Thread Wolfgang Denk
Dear Simon Glass, In message you wrote: > > >> Well I found a very short version: > >> > >> * Use of this source code is governed by a BSD-style license that can be > >> * found in the LICENSE file. > >> > >> but it is inaccurate. We could perhaps change it to: > >> > >> * Use of this source

Re: [U-Boot] [PATCH 6/7] fs: Add a Coreboot Filesystem (CBFS) driver and commands

2012-11-06 Thread Simon Glass
Hi Wolfgang, On Tue, Nov 6, 2012 at 2:23 PM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message > you > wrote: >> >> >> Well I found a very short version: >> >> >> >> * Use of this source code is governed by a BSD-style license that can be >> >> * found in the LICENSE file. >> >> >> >>

Re: [U-Boot] [PATCH 2/3] md5: Fix gcc-4.7 build problem in md5

2012-11-06 Thread Marek Vasut
Dear Pavel Machek, > On Tue 2012-11-06 01:56:50, Marek Vasut wrote: > > Dear Pavel Machek, > > > > > Hi! > > > > > > In message <20121105200340.GA15821@xo-6d-61-c0.localdomain> you wrote: > > > >> > > > /* Append length in bits and transform */ > > > >> > > > > > > >> >

Re: [U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-06 Thread Marek Vasut
Dear Lucas Stach, [...] > > > > > What do you think? > > > > > > > > What about passing port private / platform data instead of ID ? > > > > > > The ID is already passed to ehci_hcd_init(), so we have to live with it > > > if we don't want to change the newly introduced multi-controller > > > i

Re: [U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-06 Thread Marek Vasut
Dear Benoît Thébaudeau, > Dear Lucas Stach, > > On Tuesday, November 6, 2012 8:43:43 AM, Lucas Stach wrote: > > Am Dienstag, den 06.11.2012, 00:56 +0100 schrieb Marek Vasut: > > > Dear Benoît Thébaudeau, > > > > > > > Dear Marek Vasut, > > > > > > > > On Monday, November 5, 2012 11:54:12 PM, Ma

Re: [U-Boot] [PATCH 1/3] common: add ifdefs around bouncebuf.c body

2012-11-06 Thread Marek Vasut
Dear Stephen Warren, > On 11/05/2012 05:54 PM, Marek Vasut wrote: > > Dear Stephen Warren, > > > >> From: Stephen Warren > >> > >> If a U-Boot config file enables CONFIG_BOUNCE_BUFFER only for the main > >> U-Boot build and not for the SPL, then config.mk will contain > >> CONFIG_BOUNCE_BUFFER=

Re: [U-Boot] [PATCH 1/3] common: add ifdefs around bouncebuf.c body

2012-11-06 Thread Stephen Warren
On 11/06/2012 03:43 PM, Marek Vasut wrote: > Dear Stephen Warren, > >> On 11/05/2012 05:54 PM, Marek Vasut wrote: >>> Dear Stephen Warren, >>> From: Stephen Warren If a U-Boot config file enables CONFIG_BOUNCE_BUFFER only for the main U-Boot build and not for the SPL, then con

Re: [U-Boot] [PATCH] USB: add arrow key support to usb_kbd

2012-11-06 Thread Marek Vasut
Dear Allen Martin, > Check for scancodes for arrow keys and map them to ^F/^B, ^N/^P. > Control characters are used instead of ANSI sequence because the > queueing code in usb_kbd doesn't handle the data increase when one > keypress generates 3 keycodes. The real fix is to convert this driver > t

Re: [U-Boot] [PATCH] USB: add arrow key support to usb_kbd

2012-11-06 Thread Simon Glass
Hi Marek, On Tue, Nov 6, 2012 at 2:49 PM, Marek Vasut wrote: > Dear Allen Martin, > >> Check for scancodes for arrow keys and map them to ^F/^B, ^N/^P. >> Control characters are used instead of ANSI sequence because the >> queueing code in usb_kbd doesn't handle the data increase when one >> keyp

Re: [U-Boot] [PATCH] USB: add arrow key support to usb_kbd

2012-11-06 Thread Simon Glass
On Tue, Nov 6, 2012 at 1:26 PM, Allen Martin wrote: > Check for scancodes for arrow keys and map them to ^F/^B, ^N/^P. > Control characters are used instead of ANSI sequence because the > queueing code in usb_kbd doesn't handle the data increase when one > keypress generates 3 keycodes. The real

Re: [U-Boot] [PATCH V2 1/4] Replace CONFIG_MMC_BOUNCE_BUFFER with CONFIG_BOUNCE_BUFFER in configs

2012-11-06 Thread Simon Glass
On Tue, Nov 6, 2012 at 1:27 PM, Stephen Warren wrote: > From: Stephen Warren > > Commits 6dc71c8 "MMC: MXS: Toggle the generic bounce buffer on the > boards" and 49a627f "MMC: Remove the MMC bounce buffer" replaced > CONFIG_MMC_BOUNCE_BUFFER with CONFIG_BOUNCE_BUFFER, but missed > converting a fe

Re: [U-Boot] [PATCH V2 3/4] common: rework bouncebuf implementation

2012-11-06 Thread Simon Glass
On Tue, Nov 6, 2012 at 1:27 PM, Stephen Warren wrote: > From: Stephen Warren > > The current bouncebuf API requires all parameters to be passed to both > bounce_buffer_start() and bounce_buffer_stop(). Modify the bouncebuf > start function to accept a state structure as a parameter, and only > re

Re: [U-Boot] [PATCH V2 2/4] bouncebuf: remove dummy implementation

2012-11-06 Thread Simon Glass
On Tue, Nov 6, 2012 at 1:27 PM, Stephen Warren wrote: > From: Stephen Warren > > If any driver ever needs to use the bounce buffer API, it always needs > to use it. As such, providing a dummy implementation of those APIs when > CONFIG_BOUNCE_BUFFER isn't defined does not make sense. Remove the du

Re: [U-Boot] [PATCH v3 1/2] video: atmel: implement lcd_setcolreg funtion

2012-11-06 Thread Marek Vasut
Dear Andreas Bießmann, > From: Bo Shen Missing commit message > Signed-off-by: Bo Shen > Signed-off-by: Andreas Bießmann > --- > since v2: > * add this single patch > > drivers/video/atmel_hlcdfb.c |6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/video/atmel_hlcdf

Re: [U-Boot] [PATCH V2 4/4] mmc: tegra: use bounce buffer APIs

2012-11-06 Thread Simon Glass
Hi Stephen, On Tue, Nov 6, 2012 at 1:27 PM, Stephen Warren wrote: > From: Stephen Warren > > Tegra's MMC driver does DMA, and hence needs cache-aligned buffers. In > some cases (e.g. user load commands) this cannot be guaranteed by callers > of the MMC APIs. To solve this, modify the Tegra MMC d

Re: [U-Boot] [PATCH] USB: add arrow key support to usb_kbd

2012-11-06 Thread Allen Martin
On Tue, Nov 06, 2012 at 02:49:29PM -0800, Marek Vasut wrote: > Dear Allen Martin, > > > Check for scancodes for arrow keys and map them to ^F/^B, ^N/^P. > > Control characters are used instead of ANSI sequence because the > > queueing code in usb_kbd doesn't handle the data increase when one > > k

Re: [U-Boot] [PATCH] USB: add arrow key support to usb_kbd

2012-11-06 Thread Marek Vasut
Dear Simon Glass, > Hi Marek, > > On Tue, Nov 6, 2012 at 2:49 PM, Marek Vasut wrote: > > Dear Allen Martin, > > > >> Check for scancodes for arrow keys and map them to ^F/^B, ^N/^P. > >> Control characters are used instead of ANSI sequence because the > >> queueing code in usb_kbd doesn't handl

Re: [U-Boot] [PATCH 1/3] common: add ifdefs around bouncebuf.c body

2012-11-06 Thread Marek Vasut
Dear Stephen Warren, > On 11/06/2012 03:43 PM, Marek Vasut wrote: > > Dear Stephen Warren, > > > >> On 11/05/2012 05:54 PM, Marek Vasut wrote: > >>> Dear Stephen Warren, > >>> > From: Stephen Warren > > If a U-Boot config file enables CONFIG_BOUNCE_BUFFER only for the main > >>>

Re: [U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-06 Thread Lucas Stach
Dear Marek Vasut, Am Dienstag, den 06.11.2012, 23:35 +0100 schrieb Marek Vasut: > Dear Lucas Stach, > > [...] > > > > > > > What do you think? > > > > > > > > > > What about passing port private / platform data instead of ID ? > > > > > > > > The ID is already passed to ehci_hcd_init(), so we

Re: [U-Boot] Merging device trees at runtime for module-based systems

2012-11-06 Thread Grant Likely
On Wed, Oct 31, 2012 at 11:00 PM, Daniel Mack wrote: > cc devicetree-discuss. Here's a reference to the full thread: > > http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/145221/ Interesting. I only just was made aware of this thread. There is a similar discussion going on kicked off by th

[U-Boot] [PATCH v2 0/8] NAND support for AM33XX

2012-11-06 Thread Ilya Yanok
These series add support for NAND on AM33XX. AM33XX has the same GPMC controller as OMAP3 so the first part of the series just add required defines/initialization to enable the existing omap_gpmc driver to work on AM33XX. The rest of the series adds support for BCH8 error correction code. We use GP

[U-Boot] [PATCH v2 1/8] OMAP: include sys_proto.h from boot-common

2012-11-06 Thread Ilya Yanok
Include asm/arch/sys_proto.h for gpmc_init prototype. Without this we get a warning while building for AM335x. Signed-off-by: Ilya Yanok --- arch/arm/cpu/armv7/omap-common/boot-common.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/cpu/armv7/omap-common/boot-common.c b/arch/a

[U-Boot] [PATCH v2 2/8] am335x_evm: add nand pinmux definition

2012-11-06 Thread Ilya Yanok
Add NAND pins mux settings for AM335X devices. Enable NAND pins for AM335X EVM board. Signed-off-by: Ilya Yanok --- Changes in v2: -fix nand mux settings (profiles 2&3 don't have NAND) board/ti/am335x/mux.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/board/ti

[U-Boot] [PATCH v2 3/8] am33xx: NAND support

2012-11-06 Thread Ilya Yanok
TI AM33XX has the same GPMC controller as OMAP3 so we could just use the existing omap_gpmc driver. This patch adds adds required definitions/intialization. Signed-off-by: Ilya Yanok --- Changes in v2: - rebased on current master - clean up mem.c (remove unused stuff that was copied from OMAP3

[U-Boot] [PATCH v2 4/8] am335x_evm: enable NAND support

2012-11-06 Thread Ilya Yanok
Enable NAND support for AM335X boards. Signed-off-by: Ilya Yanok --- Changes in v2: - rebased onto master - minor config style fix (wrt nand) board/ti/am335x/board.c |2 ++ include/configs/am335x_evm.h | 12 2 files changed, 14 insertions(+) diff --git a/board/ti/am3

[U-Boot] [PATCH v2 5/8] am33xx: add ELM support

2012-11-06 Thread Ilya Yanok
From: Mansoor Ahamed AM33XX has Error Location Module (ELM) that can be used in conjuction with GPMC controller to implement BCH codes fully in hardware. This code is mostly taken from arago tree. Signed-off-by: Mansoor Ahamed Signed-off-by: Ilya Yanok --- Changes in v2: - fix wrong braces i

[U-Boot] [PATCH v2 6/8] omap_gpmc: BCH8 support (ELM based)

2012-11-06 Thread Ilya Yanok
From: Mansoor Ahamed This patch adds support for BCH8 error correction code to omap_gpmc driver. We use GPMC to generate codes/syndromes but we need ELM to find error locations from given syndrome. Signed-off-by: Mansoor Ahamed [ilya: merge it with omap_gpmc driver, some fixes and cleanup] Sign

[U-Boot] [PATCH v2 8/8] am335x_evm: enable SPL NAND support

2012-11-06 Thread Ilya Yanok
Enable booting from NAND support from AM335x boards as well as environment in NAND. Signed-off-by: Ilya Yanok --- include/configs/am335x_evm.h | 38 -- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/include/configs/am335x_evm.h b/include/co

[U-Boot] [PATCH v2 7/8] am33xx_spl_bch: simple SPL nand loader for AM33XX

2012-11-06 Thread Ilya Yanok
AM33XX with BCH8 can't work with nand_spl_simple correctly because custom read_page implementation is required for proper syndrome generation. This simple driver mostly duplicates nand_spl_simple but has nand_read_page changed to suit our needs. Signed-off-by: Ilya Yanok --- drivers/mtd/nand/M

Re: [U-Boot] [PATCH] USB: add arrow key support to usb_kbd

2012-11-06 Thread Allen Martin
On Tue, Nov 06, 2012 at 02:56:37PM -0800, Marek Vasut wrote: > Dear Simon Glass, > > > Hi Marek, > > > > On Tue, Nov 6, 2012 at 2:49 PM, Marek Vasut wrote: > > > Dear Allen Martin, > > > > > >> Check for scancodes for arrow keys and map them to ^F/^B, ^N/^P. > > >> Control characters are used i

Re: [U-Boot] [PATCH] USB: add arrow key support to usb_kbd

2012-11-06 Thread Stephen Warren
On 11/06/2012 03:56 PM, Marek Vasut wrote: > Dear Simon Glass, > >> Hi Marek, >> >> On Tue, Nov 6, 2012 at 2:49 PM, Marek Vasut wrote: >>> Dear Allen Martin, >>> Check for scancodes for arrow keys and map them to ^F/^B, ^N/^P. Control characters are used instead of ANSI sequence because

Re: [U-Boot] [PATCH 1/3] common: add ifdefs around bouncebuf.c body

2012-11-06 Thread Stephen Warren
On 11/06/2012 03:57 PM, Marek Vasut wrote: > Dear Stephen Warren, > >> On 11/06/2012 03:43 PM, Marek Vasut wrote: >>> Dear Stephen Warren, >>> On 11/05/2012 05:54 PM, Marek Vasut wrote: > Dear Stephen Warren, > >> From: Stephen Warren >> >> If a U-Boot config file enables

Re: [U-Boot] [Drivers PATCH 17/19] imls: Add support to list images in NAND device

2012-11-06 Thread Scott Wood
On 11/02/2012 12:40:02 PM, Vipin Kumar wrote: imls does not list the images in NAND devices. This patch implements this support for legacy type images. Signed-off-by: Vipin Kumar --- common/cmd_bootm.c | 98 ++ 1 file changed, 98 inserti

Re: [U-Boot] [PATCH v2 1/2] ubi: Only read the actual size of the VID header

2012-11-06 Thread Joe Hershberger
Hi Stefan, On Tue, Nov 6, 2012 at 2:19 AM, Stefan Roese wrote: > On 11/05/2012 05:46 PM, Joe Hershberger wrote: >> If sub-page reads are supported, this will save reading unneeded data >> >> Signed-off-by: Joe Hershberger >> --- >> >> drivers/mtd/ubi/io.c | 2 +- >> 1 file changed, 1 insertion(

Re: [U-Boot] [PATCH 0/5 v2] Add DT based ethernet driver for SMDK5250

2012-11-06 Thread Simon Glass
Hi Katin, On Tue, Nov 6, 2012 at 2:13 AM, Hatim Ali wrote: > This patch series enables the DT support on SMDK5250. > Ethernet is the first driver whose discovery is based on DT node. > More DT based drivers to be added subsequently > > Changes since v1: > - Renamed the smdk5250.h file to

[U-Boot] [PATCH v5 0/13] Port of MUSB driver from Linux (changes from Linux)

2012-11-06 Thread Ilya Yanok
Current MUSB driver in U-Boot uses old UDC API while new gagdet client drivers need new gadget API. Also current MUSB driver has some significant limitations (like inability to handle tx for endpoints other than ep0). So I think port of new Linux driver is desirable. This is initial port, performe

[U-Boot] [PATCH v5 02/13] usb: use linux/usb/ch9.h instead of usbdescriptors.h

2012-11-06 Thread Ilya Yanok
Linux usb/ch9.h seems to have all the same information (and more) as usbdescriptors.h so use the former instead of the later one. As a consequense of this change USB_SPEED_* values don't correspond directly to EHCI speed encoding anymore, I've added necessary recoding in EHCI driver. Also there is

[U-Boot] [PATCH v5 01/13] linux/usb/ch9.h: update with the version from Linux tree

2012-11-06 Thread Ilya Yanok
Signed-off-by: Ilya Yanok --- drivers/usb/gadget/config.c |1 - drivers/usb/gadget/epautoconf.c |1 - drivers/usb/gadget/ether.c |1 - drivers/usb/gadget/s3c_udc_otg.c |1 - drivers/usb/gadget/usbstring.c |1 - include/linux/usb/ch9.h | 514 +++

[U-Boot] [PATCH v5 04/13] musb-new: dsps backend driver

2012-11-06 Thread Ilya Yanok
Backend driver for MUSB OTG controllers found on TI AM33xx and TI81xx SoCs (tested with AM33xx only). Signed-off-by: Ilya Yanok --- Changes in v2: - rename backend config option to CONFIG_USB_MUSB_DSPS - we are providing host support now so add yourself to usb.h arch/arm/include/asm/omap_mus

[U-Boot] [PATCH v5 05/13] am33xx: init OTG hardware and new musb gadget driver

2012-11-06 Thread Ilya Yanok
AM33xx has support for dual port MUSB OTG controller. This patch adds initialization for the controller using new MUSB gadget driver and ether gadget. Signed-off-by: Ilya Yanok --- Changes in v5: - rebase onto master (board_eth_init moved to board/) Changes in v3: - use clrsetbits_le32 for US

[U-Boot] [PATCH v5 07/13] musb-new: am35x backend driver

2012-11-06 Thread Ilya Yanok
Backend driver for MUSB OTG controllers found on TI AM35x. It seems that on AM35X interrupt status registers can be updated _before_ core registers. As we don't use true interrupts in U-Boot and poll interrupt status registers instead this can result in interrupt handler being called with non-upda

[U-Boot] [PATCH v5 06/13] am335x_evm: enable both musb gadget and host

2012-11-06 Thread Ilya Yanok
Enable musb gadget in Ethernet mode on port 0 and musb host on port1. Signed-off-by: Ilya Yanok --- Changes in v5: - rebase onto master (board_eth_init moved to board/) - don't init usb ether in SPL board/ti/am335x/board.c | 23 +-- include/configs/am335x_evm.h |

[U-Boot] [PATCH v5 08/13] OMAP3: am35x_def.h: add USB defines

2012-11-06 Thread Ilya Yanok
Add defines for MUSB IP block on AM35X SoCs. Signed-off-by: Ilya Yanok --- arch/arm/include/asm/arch-omap3/am35x_def.h | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/include/asm/arch-omap3/am35x_def.h b/arch/arm/include/asm/arch-omap3/am35x_def.h in

[U-Boot] [PATCH v5 10/13] am3517_evm: switch to musb-new

2012-11-06 Thread Ilya Yanok
Use new musb framework instead of the old one on AM3517_EVM. Signed-off-by: Ilya Yanok --- board/logicpd/am3517evm/am3517evm.c | 74 +++ include/configs/am3517_evm.h| 37 -- 2 files changed, 90 insertions(+), 21 deletions(-) diff --gi

[U-Boot] [PATCH v5 11/13] musb-new: omap2plus backend driver

2012-11-06 Thread Ilya Yanok
Backend driver for MUSB OTG controllers found on TI OMAP2/3/4 (tested only on OMAP3 Beagle). Signed-off-by: Ilya Yanok --- arch/arm/include/asm/omap_musb.h|4 + drivers/usb/musb-new/Makefile |1 + drivers/usb/musb-new/linux-compat.h |9 + drivers/usb/musb-new/omap2430.c

[U-Boot] [PATCH v5 12/13] omap3_beagle: add musb-new init

2012-11-06 Thread Ilya Yanok
Add initialization for new MUSB framework. Signed-off-by: Ilya Yanok --- board/ti/beagle/beagle.c | 43 include/configs/omap3_beagle.h |2 ++ 2 files changed, 45 insertions(+) diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c

[U-Boot] [PATCH v5 09/13] OMAP3: am35x: add musb functions

2012-11-06 Thread Ilya Yanok
AM35XX specific functions for integrated USB PHY/MUSB IP. Signed-off-by: Ilya Yanok --- arch/arm/cpu/armv7/omap3/Makefile |1 + arch/arm/cpu/armv7/omap3/am35x_musb.c | 75 arch/arm/include/asm/arch-omap3/musb.h | 28 3 files changed, 1

[U-Boot] [PATCH v5 13/13] omap3_beagle: use new MUSB intstead of the old one

2012-11-06 Thread Ilya Yanok
Enable using of new MUSB framework on Beagle. NOTE! This is not just a change of backend code: top-level behavior is also changed, we now use USB device port for USB Ethernet instead of serial. Signed-off-by: Ilya Yanok --- include/configs/omap3_beagle.h | 11 --- 1 file changed, 4

[U-Boot] [PATCH v2 2/7] video: Implement additional video API functions in cfb_console

2012-11-06 Thread Anatolij Gustschin
From: Stefan Reinauer Implement the new video API functions to provide access to screen size, etc. Signed-off-by: Stefan Reinauer Signed-off-by: Simon Glass Signed-off-by: Anatolij Gustschin --- Changes in v2: - fix compiler warning for some boards (ipek01, lwmon5, etc): cfb_console.

Re: [U-Boot] [PATCH 0/8] Add TMU support for Exynos5250 based SMDK5250

2012-11-06 Thread Simon Glass
Hi Hatim, On Tue, Nov 6, 2012 at 2:18 AM, Hatim Ali wrote: > The patch series add support for TMU driver using device tree for Exynos5250 > based SMDK5250 board. > This patch series is dependent on the patch series > "Add DT based ethernet driver for SMDK5250" by Hatim Ali > > Akshay Saraswat (5)

Re: [U-Boot] [PATCH 1/8] EXYNOS5: FDT: Add TMU device node values

2012-11-06 Thread Simon Glass
On Tue, Nov 6, 2012 at 2:18 AM, Hatim Ali wrote: > From: Akshay Saraswat > > Fdt entry for Exynos TMU driver specific pre-defined values used for > calibration of current temperature and defining threshold values. > > Signed-off-by: Akshay Saraswat Acked-by: Simon Glass ___

Re: [U-Boot] [PATCH 2/8] EXYNOS5: TMU: Add driver for Thermal Management Unit

2012-11-06 Thread Simon Glass
On Tue, Nov 6, 2012 at 2:18 AM, Hatim Ali wrote: > From: Akshay Saraswat > > Adding Exynos Thermal Management Unit driver to monitor SOC > temperature and take actions corresponding to states of TMU. > System will shutdown if tripping temperature is reached. > > Signed-off-by: Akshay Saraswat A

Re: [U-Boot] [PATCH 3/8] EXYNOS5: Power down API for Thermal Management Unit

2012-11-06 Thread Simon Glass
Hi Hatim, On Tue, Nov 6, 2012 at 2:18 AM, Hatim Ali wrote: > From: Akshay Saraswat > > Adding API in power for system shutdown when tripping value is reached > in Exynos Thermal Management Unit. > > Signed-off-by: Akshay Saraswat > > diff --git a/arch/arm/cpu/armv7/exynos/power.c > b/arch/arm/

Re: [U-Boot] [PATCH 4/8] GEN: Add a poll function to monitor events

2012-11-06 Thread Simon Glass
Hi, On Tue, Nov 6, 2012 at 2:18 AM, Hatim Ali wrote: > From: Akshay Saraswat > > Add a generic polling function to continuously monitor events and > trigger actions corresponding to them. > > Signed-off-by: Akshay Saraswat For mainline I think the GEN tag should be removed. > > diff --git a/R

  1   2   >