Re: [U-Boot] [PATCHv2 5/8] drivers: mtd: spi: Modify read/write command for sfl256s flash.

2013-07-30 Thread Sourav Poddar
Hi Jagan, On Tuesday 23 July 2013 07:53 PM, Sourav Poddar wrote: + jagan, On Tuesday 23 July 2013 02:29 PM, Sourav Poddar wrote: Reading using the already supported read command is causing regression after 4k bytes, as a result doing a page by page read. Its happening, because ti qpsi control

Re: [U-Boot] [PATCH v3 1/4] arm, am33xx: add defines for gmii_sel_register bits

2013-07-30 Thread Heiko Schocher
Hello Mugunthan, Am 30.07.2013 10:40, schrieb Mugunthan V N: On 7/30/2013 1:23 PM, Heiko Schocher wrote: Signed-off-by: Heiko Schocher --- - changes for v2: defined all bits used in the gmii_sel register as Tom Rini suggested - changes for v3: rebased against u-boot-ti commit bb2a5d8f

Re: [U-Boot] [PATCH] video: add L5F31188 TFT-LCD panel driver

2013-07-30 Thread Heiko Schocher
Hello Hyungwon Am 31.07.2013 03:38, schrieb Hyungwon Hwang: This is u-boot driver for L5F31188 panel. I've tested it in the board based on MIPI DSI with EXYNOS4 series, and it worked well. Thanks, Hyungwon Hwang Signed-off-by: Hyungwon Hwang Signed-off-by: Donghwa Lee --- drivers/video/Mak

Re: [U-Boot] [PATCH 05/11] ARM: mxs: Add Creative ZEN XFi3 board

2013-07-30 Thread Heiko Schocher
Hello Marek, Am 30.07.2013 23:37, schrieb Marek Vasut: Add STMP3780-based XFi3 board. This board is a small PMP device sporting a CPU which was later rebranded to i.MX233 . Currently supported is USB gadget mode and both external SD and internal Phison SD-NAND bridge . Signed-off-by: Marek Vasu

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-30 Thread Heiko Schocher
Hello Wolfgang, Am 31.07.2013 07:18, schrieb Wolfgang Denk: Dear Albert ARIBAUD, In message<20130731000921.724f5c71@lilith> you wrote: board_init_f() is supposed to initialize just enough of the system to allow relocation. Is initializing i2c necessary in this context? On some boards, yes.

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-30 Thread Heiko Schocher
Hello Albert, Am 31.07.2013 00:09, schrieb Albert ARIBAUD: Hi Stephen, On Tue, 30 Jul 2013 15:51:44 -0600, Stephen Warren wrote: On 07/30/2013 03:46 PM, Simon Glass wrote: On Tue, Jul 30, 2013 at 3:32 PM, Stephen Warrenmailto:swar...@wwwdotorg.org>> wrote: On 07/30/2013 03:21 PM, Si

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-30 Thread Heiko Schocher
Hello Simon, Am 31.07.2013 00:05, schrieb Simon Glass: Hi Stephen, On Tue, Jul 30, 2013 at 3:51 PM, Stephen Warrenwrote: On 07/30/2013 03:46 PM, Simon Glass wrote: On Tue, Jul 30, 2013 at 3:32 PM, Stephen Warrenmailto:swar...@wwwdotorg.org>> wrote: On 07/30/2013 03:21 PM, Simon Glass

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-30 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <20130731000921.724f5c71@lilith> you wrote: > > board_init_f() is supposed to initialize just enough of the system to > allow relocation. Is initializing i2c necessary in this context? On some boards, yes. For example, if they store the environment in an I2C atta

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-30 Thread Heiko Schocher
Hello Stephen, Am 30.07.2013 22:00, schrieb Stephen Warren: On 07/30/2013 01:22 PM, Stephen Warren wrote: On 07/29/2013 10:28 PM, Heiko Schocher wrote: Hello Stephen, Am 29.07.2013 18:12, schrieb Stephen Warren: On 05/04/2013 06:01 AM, Heiko Schocher wrote: From: Simon Glass This enables C

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-30 Thread Heiko Schocher
Hello Stephen, Am 30.07.2013 21:22, schrieb Stephen Warren: On 07/29/2013 10:28 PM, Heiko Schocher wrote: Hello Stephen, Am 29.07.2013 18:12, schrieb Stephen Warren: On 05/04/2013 06:01 AM, Heiko Schocher wrote: From: Simon Glass This enables CONFIG_SYS_I2C on Tegra, updating existing board

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-30 Thread Heiko Schocher
Hello Stephen Am 30.07.2013 20:56, schrieb Stephen Warren: On 07/29/2013 10:28 PM, Heiko Schocher wrote: Hello Stephen, Am 29.07.2013 18:12, schrieb Stephen Warren: On 05/04/2013 06:01 AM, Heiko Schocher wrote: From: Simon Glass This enables CONFIG_SYS_I2C on Tegra, updating existing boards

[U-Boot] [PATCH] video: add L5F31188 TFT-LCD panel driver

2013-07-30 Thread Hyungwon Hwang
This is u-boot driver for L5F31188 panel. I've tested it in the board based on MIPI DSI with EXYNOS4 series, and it worked well. Thanks, Hyungwon Hwang Signed-off-by: Hyungwon Hwang Signed-off-by: Donghwa Lee --- drivers/video/Makefile |1 + drivers/video/l5f31188.c | 201

[U-Boot] [PATCH] config.mk: Delete unnecessary code

2013-07-30 Thread Masahiro Yamada
Currently no makefiles set the following variables: CONFIG_SPL_TEXT_BASE CONFIG_UBOOT_PAD_TO CONFIG_RESET_VECTOR_ADDRESS For all targets which use above macros they are set in header files (include/configs/*.h), so we do not need to set them as CPPFLAGS. Signed-off-by: Masahiro Yamada --- conf

Re: [U-Boot] [PATCH] config.mk: Add -Wundef to CFLAGS

2013-07-30 Thread Masahiro Yamada
Hello Albert > Will the patch cause some targets to break? I don't think so because -Wundef option just prints warnings. GCC manual says: -Wundef Warn if an undefined identifier is evaluated in an ‘#if’ directive. After applying this patch, I noticed warnings like follows: include/common.h

Re: [U-Boot] [PATCH 05/11] ARM: mxs: Add Creative ZEN XFi3 board

2013-07-30 Thread Marek Vasut
Dear Otavio Salvador, > On Tue, Jul 30, 2013 at 7:46 PM, Marek Vasut wrote: > > Dear Otavio Salvador, > > > > [...] > > > >> > + mxsfb_write_register(0x36, 0xaf); > >> > + mxsfb_write_register(0x37, 0); > >> > + mxsfb_write_register(0x38, 0xdb); > >> > + mxsfb_write_regi

Re: [U-Boot] [PATCH 03/11] video: Add System-Mode configuration hook into mxsfb

2013-07-30 Thread Marek Vasut
Dear Otavio Salvador, > On Tue, Jul 30, 2013 at 7:45 PM, Marek Vasut wrote: > > Dear Otavio Salvador, > > > >> On Tue, Jul 30, 2013 at 6:37 PM, Marek Vasut wrote: > >> > Add hook that allow configuring SmartLCD attached the MXS LCDIF > >> > controller operating in System-Mode. This hook can be

Re: [U-Boot] [PATCH 05/11] ARM: mxs: Add Creative ZEN XFi3 board

2013-07-30 Thread Otavio Salvador
On Tue, Jul 30, 2013 at 7:46 PM, Marek Vasut wrote: > Dear Otavio Salvador, > > [...] > >> > + mxsfb_write_register(0x36, 0xaf); >> > + mxsfb_write_register(0x37, 0); >> > + mxsfb_write_register(0x38, 0xdb); >> > + mxsfb_write_register(0x39, 0); >> > + mxsfb_write_reg

Re: [U-Boot] [PATCH 03/11] video: Add System-Mode configuration hook into mxsfb

2013-07-30 Thread Otavio Salvador
On Tue, Jul 30, 2013 at 7:45 PM, Marek Vasut wrote: > Dear Otavio Salvador, > >> On Tue, Jul 30, 2013 at 6:37 PM, Marek Vasut wrote: >> > Add hook that allow configuring SmartLCD attached the MXS LCDIF >> > controller operating in System-Mode. This hook can be overriden >> > by a platform-specifi

Re: [U-Boot] [PATCH 05/11] ARM: mxs: Add Creative ZEN XFi3 board

2013-07-30 Thread Marek Vasut
Dear Otavio Salvador, [...] > > + mxsfb_write_register(0x36, 0xaf); > > + mxsfb_write_register(0x37, 0); > > + mxsfb_write_register(0x38, 0xdb); > > + mxsfb_write_register(0x39, 0); > > + mxsfb_write_register(0x20, 0); > > + mxsfb_write_register(0x21, 0); > > +

Re: [U-Boot] [PATCH 03/11] video: Add System-Mode configuration hook into mxsfb

2013-07-30 Thread Marek Vasut
Dear Otavio Salvador, > On Tue, Jul 30, 2013 at 6:37 PM, Marek Vasut wrote: > > Add hook that allow configuring SmartLCD attached the MXS LCDIF > > controller operating in System-Mode. This hook can be overriden > > by a platform-specific SmartLCD programming routine, which writes > > the SmartLC

Re: [U-Boot] [PATCH] tools/Makefile: Move _GNU_SOURCE to Makefile

2013-07-30 Thread Simon Glass
On Tue, Jul 30, 2013 at 4:26 PM, York Sun wrote: > Commit 669dfc2e adds libfdt_env.h to HOSTCPPFLAGS. It causes stdio.h > to be included before _GNU_SOURCE is defined in C files. On some old hosts > some prototypes are protected by #ifdef __USE_GNU, which is set when > _GNU_SOURCE is defined. >

[U-Boot] [PATCH] tools/Makefile: Move _GNU_SOURCE to Makefile

2013-07-30 Thread York Sun
Commit 669dfc2e adds libfdt_env.h to HOSTCPPFLAGS. It causes stdio.h to be included before _GNU_SOURCE is defined in C files. On some old hosts some prototypes are protected by #ifdef __USE_GNU, which is set when _GNU_SOURCE is defined. Signed-off-by: York Sun --- Compiled on powerpc 83xx, 85xx,

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-30 Thread Simon Glass
Hi Albert, On Tue, Jul 30, 2013 at 4:09 PM, Albert ARIBAUD wrote: > Hi Stephen, > > On Tue, 30 Jul 2013 15:51:44 -0600, Stephen Warren > wrote: > > > On 07/30/2013 03:46 PM, Simon Glass wrote: > > > On Tue, Jul 30, 2013 at 3:32 PM, Stephen Warren > > > wrote: > > >

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-30 Thread Albert ARIBAUD
Hi Stephen, On Tue, 30 Jul 2013 15:51:44 -0600, Stephen Warren wrote: > On 07/30/2013 03:46 PM, Simon Glass wrote: > > On Tue, Jul 30, 2013 at 3:32 PM, Stephen Warren > > wrote: > > > > On 07/30/2013 03:21 PM, Simon Glass wrote: > > > On Tue, Jul 30, 2013

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-30 Thread Simon Glass
Hi Stephen, On Tue, Jul 30, 2013 at 3:51 PM, Stephen Warren wrote: > On 07/30/2013 03:46 PM, Simon Glass wrote: > > On Tue, Jul 30, 2013 at 3:32 PM, Stephen Warren > > wrote: > > > > On 07/30/2013 03:21 PM, Simon Glass wrote: > > > On Tue, Jul 30, 2013 at 2:

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-30 Thread Stephen Warren
On 07/30/2013 03:46 PM, Simon Glass wrote: > On Tue, Jul 30, 2013 at 3:32 PM, Stephen Warren > wrote: > > On 07/30/2013 03:21 PM, Simon Glass wrote: > > On Tue, Jul 30, 2013 at 2:00 PM, Stephen Warren > mailto:swar...@wwwdotorg.org> > >

Re: [U-Boot] [PATCH 05/11] ARM: mxs: Add Creative ZEN XFi3 board

2013-07-30 Thread Otavio Salvador
On Tue, Jul 30, 2013 at 6:37 PM, Marek Vasut wrote: > Add STMP3780-based XFi3 board. This board is a small PMP device > sporting a CPU which was later rebranded to i.MX233 . Currently > supported is USB gadget mode and both external SD and internal > Phison SD-NAND bridge . > > Signed-off-by: Mare

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-30 Thread Simon Glass
On Tue, Jul 30, 2013 at 3:32 PM, Stephen Warren wrote: > On 07/30/2013 03:21 PM, Simon Glass wrote: > > On Tue, Jul 30, 2013 at 2:00 PM, Stephen Warren > > wrote: > ... > > Oh, with the options Tegra has enabled, perhaps the call sequence is: > > > > board_in

Re: [U-Boot] getline prototype issue

2013-07-30 Thread Simon Glass
On Tue, Jul 30, 2013 at 3:38 PM, York Sun wrote: > On 07/30/2013 02:29 PM, York Sun wrote: > > On 07/30/2013 02:17 PM, Simon Glass wrote: > >> Hi York, > >> > >> On Tue, Jul 30, 2013 at 3:12 PM, York Sun >> > wrote: > >> > >> Simon, > >> > >> Your patch > >>

Re: [U-Boot] [PATCH 03/11] video: Add System-Mode configuration hook into mxsfb

2013-07-30 Thread Otavio Salvador
On Tue, Jul 30, 2013 at 6:37 PM, Marek Vasut wrote: > Add hook that allow configuring SmartLCD attached the MXS LCDIF > controller operating in System-Mode. This hook can be overriden > by a platform-specific SmartLCD programming routine, which writes > the SmartLCD specific values into it's regis

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-30 Thread Simon Glass
On Tue, Jul 30, 2013 at 3:21 PM, Stephen Warren wrote: > On 07/30/2013 03:19 PM, Simon Glass wrote: > > Hi Stephen, > > > > On Tue, Jul 30, 2013 at 1:22 PM, Stephen Warren > > wrote: > ... > > I think when init_sequence_f[] is running, there may be no serial > >

Re: [U-Boot] getline prototype issue

2013-07-30 Thread York Sun
On 07/30/2013 02:29 PM, York Sun wrote: > On 07/30/2013 02:17 PM, Simon Glass wrote: >> Hi York, >> >> On Tue, Jul 30, 2013 at 3:12 PM, York Sun > > wrote: >> >> Simon, >> >> Your patch >> >> commit 669dfc2ed8d853d6bcdcafa1de6aca22929465e5 >> Author: Si

[U-Boot] [PATCH 10/11] ARM: mxs: Enable 4x6 font for X-Fi3

2013-07-30 Thread Marek Vasut
This device has a very small screen and thus can benefit from using smaller font. Enable it. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Otavio Salvador Cc: Stefano Babic --- include/configs/xfi3.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/xfi3.h b/include/co

[U-Boot] [PATCH 07/11] video: Encapsulate font in video_font_data.h

2013-07-30 Thread Marek Vasut
This patch moves all the font configuration values into video_font_data.h so they are all in the right place with the font. The video_font.h now only includes video_font_data.h and will allow us to select and include different font once more fonts are added. Signed-off-by: Marek Vasut Cc: Anatoli

[U-Boot] [PATCH 11/11] ARM: mxs: Enable 4x6 font for Fuze+

2013-07-30 Thread Marek Vasut
This device has a very small screen and thus can benefit from using smaller font. Enable it. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Otavio Salvador Cc: Stefano Babic --- include/configs/sansa_fuze_plus.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/sansa_fu

[U-Boot] [PATCH 01/11] dma: apbh: Add special circular mode for LCD

2013-07-30 Thread Marek Vasut
Add special function that executes a specially crafted circular DMA descriptor. The function doesn't wait for the descriptor to finish the transfer, since the descritor never finishes. This is useful when operating a SmartLCD through the LCDIF interface, as the LCDIF does not give us any means to h

[U-Boot] [PATCH 06/11] ARM: mxs: Add SanDisk Sansa Fuze+ board

2013-07-30 Thread Marek Vasut
Add STMP3780-based Sansa Fuze+ board. This board is a small PMP device sporting a CPU which was later rebranded to i.MX233 . Currently supported is USB gadget mode and MMC . Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Otavio Salvador Cc: Stefano Babic --- MAINTAINERS

[U-Boot] [PATCH 05/11] ARM: mxs: Add Creative ZEN XFi3 board

2013-07-30 Thread Marek Vasut
Add STMP3780-based XFi3 board. This board is a small PMP device sporting a CPU which was later rebranded to i.MX233 . Currently supported is USB gadget mode and both external SD and internal Phison SD-NAND bridge . Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Otavio Salvador Cc: Stefano Bab

[U-Boot] [PATCH 09/11] video: Fix cfb_console for 4-bit wide font

2013-07-30 Thread Marek Vasut
The cfb_console can't handle 4-bit wide font properly, since with 4-bit wide font, all 8 bits are drawn. Unbreak the video_drawchars() function to correctly render 4-bits only on such fonts. Signed-off-by: Marek Vasut Cc: Anatolij Gustschin --- drivers/video/cfb_console.c | 21 +++

[U-Boot] [PATCH 02/11] video: Allocate the MXSFB framebuffer aligned

2013-07-30 Thread Marek Vasut
Allocate the framebuffer aligned so it can be flushed and the flush_dcache_range() function won't complain. Signed-off-by: Marek Vasut Cc: Anatolij Gustschin Cc: Fabio Estevam Cc: Otavio Salvador Cc: Stefano Babic --- drivers/video/mxsfb.c |3 ++- 1 file changed, 2 insertions(+), 1 delet

[U-Boot] [PATCH 00/11] ARM: mxs: Various MX23 adjustments

2013-07-30 Thread Marek Vasut
This patchset implements support for two boards which I have. They have some specific hardware requirements, so they are a nice benchmark for U-Boot on MXS. The patchset can be broken into two parts: First six patches add support for SanDisk Sansa Fuze+ and Creative X-Fi3, both boards based on STM

[U-Boot] [PATCH 03/11] video: Add System-Mode configuration hook into mxsfb

2013-07-30 Thread Marek Vasut
Add hook that allow configuring SmartLCD attached the MXS LCDIF controller operating in System-Mode. This hook can be overriden by a platform-specific SmartLCD programming routine, which writes the SmartLCD specific values into it's registers. Also, this patch makes sure the SYNC signals are off f

[U-Boot] [PATCH 04/11] video: Implement continuous screen refresh for SmartLCD into mxsfb

2013-07-30 Thread Marek Vasut
The LCDIF interface doesn't give us any means to do continuous refresh when driving a SmartLCD. To work this around, we produce a special circular DMA descriptor, which only writes the HW_LCDIF_CTRL0 register and sets the RUN bit. Signed-off-by: Marek Vasut Cc: Anatolij Gustschin Cc: Fabio Estev

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-30 Thread Stephen Warren
On 07/30/2013 03:21 PM, Simon Glass wrote: > On Tue, Jul 30, 2013 at 2:00 PM, Stephen Warren > wrote: ... > Oh, with the options Tegra has enabled, perhaps the call sequence is: > > board_init_f() (which uses init_sequence_f[]) -> init_func_i2c() -> > i2c

Re: [U-Boot] getline prototype issue

2013-07-30 Thread York Sun
On 07/30/2013 02:17 PM, Simon Glass wrote: > Hi York, > > On Tue, Jul 30, 2013 at 3:12 PM, York Sun > wrote: > > Simon, > > Your patch > > commit 669dfc2ed8d853d6bcdcafa1de6aca22929465e5 > Author: Simon Glass mailto:s...@chromium.org>> > Date:

Re: [U-Boot] [PATCH 0/5] SPDX-License-Identifier: coverting more files

2013-07-30 Thread Roger Meier
Hi Wolfgang, Quoting Wolfgang Denk : The following patch series converts some more files to the new SPDX License Identifier scheme. Note that some of the patches are non-trivial, i. e. these should be reviewed carefully. This patch series assumes that Roger Meier's previous patch "libfdt: SPD

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-30 Thread Simon Glass
Hi Stephen, On Tue, Jul 30, 2013 at 2:00 PM, Stephen Warren wrote: > On 07/30/2013 01:22 PM, Stephen Warren wrote: > > On 07/29/2013 10:28 PM, Heiko Schocher wrote: > >> Hello Stephen, > >> > >> Am 29.07.2013 18:12, schrieb Stephen Warren: > >>> On 05/04/2013 06:01 AM, Heiko Schocher wrote: > >>>

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-30 Thread Stephen Warren
On 07/30/2013 03:19 PM, Simon Glass wrote: > Hi Stephen, > > On Tue, Jul 30, 2013 at 1:22 PM, Stephen Warren > wrote: ... > I think when init_sequence_f[] is running, there may be no serial > console to report errors. If so, moving the I2C initialization to t

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-30 Thread Simon Glass
Hi Stephen, On Tue, Jul 30, 2013 at 1:22 PM, Stephen Warren wrote: > On 07/29/2013 10:28 PM, Heiko Schocher wrote: > > Hello Stephen, > > > > Am 29.07.2013 18:12, schrieb Stephen Warren: > >> On 05/04/2013 06:01 AM, Heiko Schocher wrote: > >>> From: Simon Glass > >>> > >>> This enables CONFIG_SYS

Re: [U-Boot] getline prototype issue

2013-07-30 Thread Simon Glass
Hi York, On Tue, Jul 30, 2013 at 3:12 PM, York Sun wrote: > Simon, > > Your patch > > commit 669dfc2ed8d853d6bcdcafa1de6aca22929465e5 > Author: Simon Glass > Date: Mon Mar 11 06:30:27 2013 + > > fdt: Ensure that libfdt_env.h comes from U-Boot > > adds libfdt_env.h to HOSTCPPFLAGS. The

[U-Boot] getline prototype issue

2013-07-30 Thread York Sun
Simon, Your patch commit 669dfc2ed8d853d6bcdcafa1de6aca22929465e5 Author: Simon Glass Date: Mon Mar 11 06:30:27 2013 + fdt: Ensure that libfdt_env.h comes from U-Boot adds libfdt_env.h to HOSTCPPFLAGS. The causes a problem with one of our older hosts. On the old hosts, getline protot

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-30 Thread Stephen Warren
On 07/30/2013 01:22 PM, Stephen Warren wrote: > On 07/29/2013 10:28 PM, Heiko Schocher wrote: >> Hello Stephen, >> >> Am 29.07.2013 18:12, schrieb Stephen Warren: >>> On 05/04/2013 06:01 AM, Heiko Schocher wrote: From: Simon Glass This enables CONFIG_SYS_I2C on Tegra, updating existi

Re: [U-Boot] Please pull u-boot-ti/master

2013-07-30 Thread Albert ARIBAUD
Hi Tom, On Tue, 30 Jul 2013 09:29:55 -0400, Tom Rini wrote: > Hello, > > The following changes since commit 8b485ba12b0defa0c4ed3559789250238f8331a8: > > Merge branch 'u-boot/master' into u-boot-arm/master (2013-07-25 17:57:46 > +0200) > > are available in the git repository at: > > >

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-30 Thread Stephen Warren
On 07/29/2013 10:28 PM, Heiko Schocher wrote: > Hello Stephen, > > Am 29.07.2013 18:12, schrieb Stephen Warren: >> On 05/04/2013 06:01 AM, Heiko Schocher wrote: >>> From: Simon Glass >>> >>> This enables CONFIG_SYS_I2C on Tegra, updating existing boards and >>> the Tegra >>> i2c driver to support

Re: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

2013-07-30 Thread Stephen Warren
On 07/29/2013 10:28 PM, Heiko Schocher wrote: > Hello Stephen, > > Am 29.07.2013 18:12, schrieb Stephen Warren: >> On 05/04/2013 06:01 AM, Heiko Schocher wrote: >>> From: Simon Glass >>> >>> This enables CONFIG_SYS_I2C on Tegra, updating existing boards and >>> the Tegra >>> i2c driver to support

[U-Boot] [PULL] u-boot-usb/master

2013-07-30 Thread Marek Vasut
The following changes since commit 9fab4bf4cc077c21e43941866f3f2c196f28670d: powerpc/ppc4xx: Convert new gdsys files to SPDX license tags (2013-07-26 15:32:59 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to 8bc3603675f7b

[U-Boot] KVM on ARM Chromebook

2013-07-30 Thread Alexander Spyridakis
Hello all, Since there was much interest, as of late, to see KVM/ARM running on Samsung's Exynos5250 Chromebook, and given the fact that we are not aware of any current work done on this, we take the opportunity to inform you that you can test KVM on the ARM Chromebook by following this guide: htt

Re: [U-Boot] [PATCH v3 4/7] ARM: switch to non-secure state during bootm execution

2013-07-30 Thread Christoffer Dall
On Tue, Jul 30, 2013 at 01:32:14PM +0200, Andre Przywara wrote: > On 07/30/2013 12:02 AM, Christoffer Dall wrote: > >On Wed, Jul 10, 2013 at 01:54:16AM +0200, Andre Przywara wrote: > > > >[...] > > > >>diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c > >>index 1b6e0ac..7b0619e 100644 > >>--

Re: [U-Boot] [PATCH v3 6/7] ARM: extend non-secure switch to also go into HYP mode

2013-07-30 Thread Christoffer Dall
On Tue, Jul 30, 2013 at 01:59:29PM +0200, Andre Przywara wrote: > On 07/30/2013 12:02 AM, Christoffer Dall wrote: > >On Wed, Jul 10, 2013 at 01:54:18AM +0200, Andre Przywara wrote: [...] > >> > >>+_hyp_trap: > >>+ mrs lr, elr_hyp @ for older asm: .byte 0x00, 0xe3, 0x0e, 0xe1 > > > >this

Re: [U-Boot] [PATCH v3 5/7] ARM: add SMP support for non-secure switch

2013-07-30 Thread Christoffer Dall
On Tue, Jul 30, 2013 at 01:51:33PM +0200, Andre Przywara wrote: > On 07/30/2013 12:02 AM, Christoffer Dall wrote: > >On Wed, Jul 10, 2013 at 01:54:17AM +0200, Andre Przywara wrote: > >>Currently the non-secure switch is only done for the boot processor. > >>To enable full SMP support, we have to sw

Re: [U-Boot] Please pull u-boot-cfi-flash

2013-07-30 Thread Tom Rini
On Tue, Jul 30, 2013 at 10:36:32AM +0200, Stefan Roese wrote: > Hi Tim, > > please pull this CFI patch: > > The following changes since commit 9fab4bf4cc077c21e43941866f3f2c196f28670d: > > powerpc/ppc4xx: Convert new gdsys files to SPDX license tags (2013-07-26 > 15:32:59 -0400) > > are ava

Re: [U-Boot] Please pull u-boot-ti/master

2013-07-30 Thread Tom Rini
On Tue, Jul 30, 2013 at 11:45:43AM +0200, Stefan Roese wrote: > Hi Tom, > > On 07/30/2013 04:21 AM, Tom Rini wrote: > > Hey, > > > > The following changes since commit 8b485ba12b0defa0c4ed3559789250238f8331a8: > > > > Merge branch 'u-boot/master' into u-boot-arm/master (2013-07-25 17:57:46 >

Re: [U-Boot] Please pull u-boot-ti/master

2013-07-30 Thread Tom Rini
On Mon, Jul 29, 2013 at 10:21:06PM -0400, Tom Rini wrote: > Hey, > > The following changes since commit 8b485ba12b0defa0c4ed3559789250238f8331a8: > > Merge branch 'u-boot/master' into u-boot-arm/master (2013-07-25 17:57:46 > +0200) > > are available in the git repository at: > > > git://

[U-Boot] Please pull u-boot-ti/master

2013-07-30 Thread Tom Rini
Hello, The following changes since commit 8b485ba12b0defa0c4ed3559789250238f8331a8: Merge branch 'u-boot/master' into u-boot-arm/master (2013-07-25 17:57:46 +0200) are available in the git repository at: git://git.denx.de/u-boot-ti.git master for you to fetch changes up to fdce7b633a1de2

Re: [U-Boot] [PATCH V3 0/6] omap3_beagle: configs: improve BOOT_CMD options

2013-07-30 Thread Tom Rini
On Mon, Jul 15, 2013 at 07:11:27AM -0500, Nishanth Menon wrote: > With the latest transition to device tree, there is a need to simplify > the load of device tree depending on board type etc. While at it, simplify > few other changes as well. > > Testing: > with a uEnv.txt as: > bootdir=/ > bootp

Re: [U-Boot] [PATCH v3 1/2] gpio: tca642x: Add the tca642x gpio expander driver

2013-07-30 Thread Tom Rini
On Thu, Jul 11, 2013 at 01:10:27PM -0500, Dan Murphy wrote: > Add the tca642x gpio expander driver > > Datasheet: > http://www.ti.com/product/tca6424a > > Signed-off-by: Dan Murphy Applied to u-boot-ti/master along with 2/2, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] omap3/sys_info: fix printout of OMAP36XX L3 freqency

2013-07-30 Thread Tom Rini
On Mon, Jul 08, 2013 at 03:21:34PM +0200, Andreas Bie??mann wrote: > The OMAP36xx/OMAP37xx family uses L3 frequency of 200MHz instead of 165MHz > used by OMAP34xx/OMAP35xx. > > Also fix checkpatch warning about alignment. > > Signed-off-by: Andreas Bie??mann Applied to u-boot-ti/master, thanks

Re: [U-Boot] [PATCH v4 0/8] am335x: NOR support

2013-07-30 Thread Tom Rini
On Thu, Jul 18, 2013 at 03:12:57PM -0400, Tom Rini wrote: > Hey all, > > This series adds NOR support to am335x_evm, along with a few generic > changes to make gpmc clearer (for per-board things like different NOR > chips, etc). This series depends on the last go-round of the am335x > falcon mod

Re: [U-Boot] [PATCH 1/1] board/ti/am335x/README: Document NAND programming

2013-07-30 Thread Tom Rini
On Wed, Jul 17, 2013 at 12:24:30PM -0400, Tom Rini wrote: > The AM335x GP EVM ships with NAND. Document programming of the chip > including the redundant locations that the ROM will check. > > Signed-off-by: Tom Rini Applied to u-boot-ti/master with Scott's comment fixed. -- Tom signature.

Re: [U-Boot] net, phy, cpsw: fix gigabit register access

2013-07-30 Thread Tom Rini
On Tue, Jul 23, 2013 at 03:32:36PM +0200, Heiko Schocher wrote: > accessing a lan9303 switch with the cpsw driver results in wrong > speed detection, as the switch sets the BMSR_ERCAP in BMSR > register, and follow read of the MII_STAT1000 register fails, as > the switch does not support it. Curre

Re: [U-Boot] [PATCH v2 0/5] Improve falcon mode and am335x_evm docs

2013-07-30 Thread Tom Rini
On Mon, Jul 08, 2013 at 12:15:13PM -0400, Tom Rini wrote: > Hey all, > > The following 5 patches update docs for falcon mode, and am335x_evm. The > first adds a quick general note about how failure is decided in falcon mode > and we drop back to U-Boot. The rest update slightly, and then docume

Re: [U-Boot] [PATCH 0/7] Ethernet bringup patchset for DRA7xx EVM

2013-07-30 Thread Tom Rini
On Mon, Jul 08, 2013 at 04:04:36PM +0530, Mugunthan V N wrote: > This patch series brings up the CPSW ethernet in DRA7xx EVM and > it is based on the master branch on git://git.denx.de/u-boot.git > > This patch is also tested with basic boot of Omap 5 and tftp > download test with AM335x EVM. >

Re: [U-Boot] spl_mmc.c: Detect missing kernel image in RAW MMC

2013-07-30 Thread Tom Rini
On Fri, Jun 28, 2013 at 02:43:01PM -0400, Tom Rini wrote: > Currently, we assume that if we can read from MMC correctly, we have > found a valid image. This is not the case as an empty area will read > just fine. Add a check for a valid IH_MAGIC. > > Signed-off-by: Tom Rini > Reviewed-by: Pete

Re: [U-Boot] da850evm: Use clrbits function with correct endianess

2013-07-30 Thread Tom Rini
On Fri, Jun 14, 2013 at 02:22:36PM +0200, Christian Riesch wrote: > The current code uses clrbits_be32 which is incorrect since we are on > a little endian machine here. This patch fixes this issue and also removes > some unnecessary code: Reading the current GPIO bank state is not required > if w

Re: [U-Boot] [U-Boot, 2/3] arm: omap3: spl: Fix problem with 8bit NAND devices

2013-07-30 Thread Tom Rini
On Fri, Jun 14, 2013 at 10:55:00AM +0200, Stefan Roese wrote: > Currently in OMAP3 SPL, the GPMC for NAND is configured for 16bit > access. This patch adds support for 8bit NAND devices as well. > > Signed-off-by: Stefan Roese > Cc: Tom Rini Applied to u-boot-ti/master, thanks! -- Tom sign

Re: [U-Boot] [PATCH v2 0/6] Enhance support for BeagleBone Black

2013-07-30 Thread Tom Rini
On Thu, Jul 11, 2013 at 09:54:57AM -0400, Justin Waters wrote: > There are a number of differences between the BeagleBone Black > and other AM335x boards that require some modification of the > default AM335x EVM configuration. In particular, it lacks NAND > flash, has multiple MMC interfaces, and

[U-Boot] RNG implementation fails

2013-07-30 Thread André Schaller
HI, I wanted to include a RNG implementation of the Mersenne-Twister into the SPL part of u-boot. However, although the (standalone) code compiles and runs fine on my linux box, u-boot stops to boot and I am not sure why. I am sure I am missing a rather basic design principle of the u-boot code bu

Re: [U-Boot] [PATCH v3 3/3] arm: omap3: Add SPL support to cm_t35

2013-07-30 Thread Stefan Roese
Hi Albert, On 07/30/2013 02:10 PM, Albert ARIBAUD wrote: >> Add SPL U-Boot support to replace x-loader on the Compulab cm_t35 >> board. Currently only the 256MiB SDRAM board versions are supported. >> >> Tested by booting via MMC and NAND. >> >> Signed-off-by: Stefan Roese >> Cc: Tom Rini >> Cc:

Re: [U-Boot] [PATCH v3 3/3] arm: omap3: Add SPL support to cm_t35

2013-07-30 Thread Albert ARIBAUD
Hi Stefan, On Tue, 30 Jul 2013 12:52:10 +0200, Stefan Roese wrote: > Add SPL U-Boot support to replace x-loader on the Compulab cm_t35 > board. Currently only the 256MiB SDRAM board versions are supported. > > Tested by booting via MMC and NAND. > > Signed-off-by: Stefan Roese > Cc: Tom Rini

Re: [U-Boot] [IMPORTANT NOTE] License handling

2013-07-30 Thread Wolfgang Denk
Dear Graeme Russ, In message you wrote: > > The idea would be to reduce the license text in U-Boot to just the > SPDX-License-Identifier, but we should also provide details on where the > original file came from. I guess this is the next (harder) step. Full agreement here. But actually this ha

Re: [U-Boot] [PATCH] config.mk: Add -Wundef to CFLAGS

2013-07-30 Thread Albert ARIBAUD
Hi Masahiro, On Tue, 30 Jul 2013 11:57:05 +0900, Masahiro Yamada wrote: > In U-boot source, some '#if' directives evaluate > undefined identifiers. > > To find and fix them, this commit adds -Wundef to CFLAGS. > > Signed-off-by: Masahiro Yamada > --- > config.mk | 2 +- > 1 file changed, 1 i

Re: [U-Boot] [PATCH v3 6/7] ARM: extend non-secure switch to also go into HYP mode

2013-07-30 Thread Andre Przywara
On 07/30/2013 12:02 AM, Christoffer Dall wrote: On Wed, Jul 10, 2013 at 01:54:18AM +0200, Andre Przywara wrote: For the KVM and XEN hypervisors to be usable, we need to enter the kernel in HYP mode. Now that we already are in non-secure state, HYP mode switching is within short reach. While doi

Re: [U-Boot] [PATCH v3 5/7] ARM: add SMP support for non-secure switch

2013-07-30 Thread Andre Przywara
On 07/30/2013 12:02 AM, Christoffer Dall wrote: On Wed, Jul 10, 2013 at 01:54:17AM +0200, Andre Przywara wrote: Currently the non-secure switch is only done for the boot processor. To enable full SMP support, we have to switch all secondary cores into non-secure state also. So we add an entry p

Re: [U-Boot] [PATCH v3 2/7] ARM: add secure monitor handler to switch to non-secure state

2013-07-30 Thread Andre Przywara
On 07/30/2013 12:02 AM, Christoffer Dall wrote: n Wed, Jul 10, 2013 at 01:54:14AM +0200, Andre Przywara wrote: A prerequisite for using virtualization is to be in HYP mode, which requires the CPU to be in non-secure state first. Add new file in arch/arm/cpu/armv7 to hold a monitor handler routin

Re: [U-Boot] [PATCH v3 4/7] ARM: switch to non-secure state during bootm execution

2013-07-30 Thread Andre Przywara
On 07/30/2013 12:02 AM, Christoffer Dall wrote: On Wed, Jul 10, 2013 at 01:54:16AM +0200, Andre Przywara wrote: [...] diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index 1b6e0ac..7b0619e 100644 --- a/arch/arm/lib/bootm.c +++ b/arch/arm/lib/bootm.c @@ -34,6 +34,10 @@ #include #i

Re: [U-Boot] [IMPORTANT NOTE] License handling

2013-07-30 Thread Graeme Russ
Hi Masahiro On Tue, Jul 30, 2013 at 8:50 PM, Masahiro Yamada wrote: > Hello, Wolfgang. > > > > - New files being added to U-Boot should no longer include a > > multi-line license header; instead, they shall contain a single line > > Unique Lincense Identifier, i. e. a line like this: > > > >

Re: [U-Boot] [IMPORTANT NOTE] License handling

2013-07-30 Thread Wolfgang Denk
Dear Masahiro Yamada, In message <20130730195026.79dc.aa925...@jp.panasonic.com> you wrote: > > Does this rule apply to files imported from other projects? Yes, it does. The whole process only makes sense when all files in the U-Boot source tree can be identified based on the SPDX ID strings.

[U-Boot] [PATCH v3 3/3] arm: omap3: Add SPL support to cm_t35

2013-07-30 Thread Stefan Roese
Add SPL U-Boot support to replace x-loader on the Compulab cm_t35 board. Currently only the 256MiB SDRAM board versions are supported. Tested by booting via MMC and NAND. Signed-off-by: Stefan Roese Cc: Tom Rini Cc: Igor Grinberg --- v3: - Some instability of this SDRAM setup has been detected

Re: [U-Boot] [IMPORTANT NOTE] License handling

2013-07-30 Thread Masahiro Yamada
Hello, Wolfgang. > - New files being added to U-Boot should no longer include a > multi-line license header; instead, they shall contain a single line > Unique Lincense Identifier, i. e. a line like this: > > SPDX-License-Identifier:GPL-2.0+ I have a question about this. Does

Re: [U-Boot] Please pull u-boot-ti/master

2013-07-30 Thread Stefan Roese
Hi Tom, On 07/30/2013 04:21 AM, Tom Rini wrote: > Hey, > > The following changes since commit 8b485ba12b0defa0c4ed3559789250238f8331a8: > > Merge branch 'u-boot/master' into u-boot-arm/master (2013-07-25 17:57:46 > +0200) > > are available in the git repository at: > > > git://git.denx.d

Re: [U-Boot] [PATCH v3 1/4] arm, am33xx: add defines for gmii_sel_register bits

2013-07-30 Thread Mugunthan V N
On 7/30/2013 1:23 PM, Heiko Schocher wrote: > Signed-off-by: Heiko Schocher > > --- > - changes for v2: > defined all bits used in the gmii_sel register as > Tom Rini suggested > - changes for v3: > rebased against u-boot-ti commit bb2a5d8f87fffb4fadfb205837decbd1b3e75f88 > --- > arch/arm/i

[U-Boot] Please pull u-boot-cfi-flash

2013-07-30 Thread Stefan Roese
Hi Tim, please pull this CFI patch: The following changes since commit 9fab4bf4cc077c21e43941866f3f2c196f28670d: powerpc/ppc4xx: Convert new gdsys files to SPDX license tags (2013-07-26 15:32:59 -0400) are available in the git repository at: git://www.denx.de/git/u-boot-cfi-flash.git mast

Re: [U-Boot] [PATCH] cfi_flash: Add prototypes of overridable functions

2013-07-30 Thread Stefan Roese
On 07/30/2013 07:36 AM, Masahiro Yamada wrote: >> Is this patch still needed? > > Yes, I think so. Okay: Applied to u-boot-cfi-flash. Thanks, Stefan ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 4/5] board/esd/cpci750/mv_eth.c: Fix license

2013-07-30 Thread Stefan Roese
On 07/28/2013 10:12 PM, Wolfgang Denk wrote: > The file header indicated that this file was GPL-2.0+, but actually > the code was derived from (Marvell based) Linux source code which is > only GPL-2.0. Fix this. > > Signed-off-by: Wolfgang Denk > Cc: Stefan Roese > Cc: Matthias Fuchs Acked-by

Re: [U-Boot] [PATCH 3/5] SPDX-License-Identifier: convert PIBS licensed files

2013-07-30 Thread Stefan Roese
On 07/28/2013 10:12 PM, Wolfgang Denk wrote: > This commit adapts the files that were derived from PIBS (PowerPC > Initialization and Boot Software) codeto using SPDX License > Identifiers. > > So far, SPDX has not assigned an official License ID for the PIBS > license yet, so this should be consi

[U-Boot] [PATCH v3 3/4] arm, am335x: add watchdog support

2013-07-30 Thread Heiko Schocher
Add TI OMAP 16xx & 24xx/34xx 32KHz (non-secure) watchdog support. Signed-off-by: Heiko Schocher Reviewed-by: Tom Rini Cc: Albert Aribaud --- - changes for v2: - add Reviedwed-by from Tom Rini - fixed subject - add SPDX-License-Identifier - changes for v3: - add a more detailed commen

[U-Boot] [PATCH v3 1/4] arm, am33xx: add defines for gmii_sel_register bits

2013-07-30 Thread Heiko Schocher
Signed-off-by: Heiko Schocher --- - changes for v2: defined all bits used in the gmii_sel register as Tom Rini suggested - changes for v3: rebased against u-boot-ti commit bb2a5d8f87fffb4fadfb205837decbd1b3e75f88 --- arch/arm/include/asm/arch-am33xx/cpu.h | 21 + board/

[U-Boot] [PATCH v3 2/4] arm, spl: add watchdog library to SPL

2013-07-30 Thread Heiko Schocher
Signed-off-by: Heiko Schocher Cc: Tom Rini --- - changes for v2: none - changes for v3: rebased against u-boot-ti commit bb2a5d8f87fffb4fadfb205837decbd1b3e75f88 --- doc/README.SPL | 2 +- spl/Makefile | 1 + 2 Dateien geändert, 2 Zeilen hinzugefügt(+), 1 Zeile entfernt(-) diff --git a/d

[U-Boot] [PATCH v3 0/4] arm, am335x: add support for siemens boards

2013-07-30 Thread Heiko Schocher
add support for the am335x based boards from siemens: dxr2: - DDR3 128MiB - NAND 256MiB - Ethernet with external Switch SMSC LAN9303 - no PMIC - internal Watchdog - DFU support pxm2: - DDR2 512 MiB - NAND 1024 MiB - PMIC - PHY atheros ar803x - USB Host - internal Watchdog

Re: [U-Boot] [PATCH V2 4/4] musb: Disable extra prints

2013-07-30 Thread Heiko Schocher
Hello Lokesh, Am 30.07.2013 07:18, schrieb Lokesh Vutla: There are many musb prints in SPL and U-Boot log. These prints are required only during musb debug. So replacing printk with pr_debug in musb_core. Signed-off-by: Lokesh Vutla --- drivers/usb/musb-new/musb_core.c | 20

  1   2   >