Re: [U-Boot] [PATCH v4 2/2] ARM: kirkwood/orion5x: Use reset_cpu definition in include/common.h

2012-09-28 Thread Prafulla Wadaskar
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot- boun...@lists.denx.de] On Behalf Of Pavel Machek Sent: 25 September 2012 17:57 To: dingu...@altera.com Cc: ma...@denx.de; dinh.li...@gmail.com; cl...@altera.com; u- b...@lists.denx.de; tr...@ti.com; s...@denx.de

Re: [U-Boot] [PATCH] edminiv2: increase malloc len to 256K

2012-09-28 Thread Prafulla Wadaskar
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot- boun...@lists.denx.de] On Behalf Of Albert ARIBAUD Sent: 22 September 2012 06:27 To: u-boot@lists.denx.de Subject: [U-Boot] [PATCH] edminiv2: increase malloc len to 256K Malloc len of 128K caused a warning

Re: [U-Boot] [PATCH 2/2] km_kirkwood: enable MV88E6352_SWITCH support for kmnusa

2012-09-28 Thread Prafulla Wadaskar
-Original Message- From: Valentin Longchamp [mailto:valentin.longch...@keymile.com] Sent: 16 August 2012 16:55 To: u-boot@lists.denx.de Cc: holger.bru...@keymile.com; Prafulla Wadaskar; valentin.longch...@keymile.com Subject: [PATCH 2/2] km_kirkwood: enable MV88E6352_SWITCH

Re: [U-Boot] [PATCH v2 1/2] arm/km: add mv88e6352 configuration for kmnusa

2012-09-28 Thread Prafulla Wadaskar
-Original Message- From: Prafulla Wadaskar Sent: 21 August 2012 12:01 To: 'Valentin Longchamp'; u-boot@lists.denx.de Cc: Holger Brunck Subject: RE: [PATCH v2 1/2] arm/km: add mv88e6352 configuration for kmnusa -Original Message- From: Valentin Longchamp

Re: [U-Boot] Problems with a P2020 board

2012-09-28 Thread Mark Marshall
Hi. For the bootcount register, we wanted something that was only reset at power on (or never reset). We didn't find a suitable register in the P2020, and freescale support seemed to agree that there was no such register. (I'm now using a couple of alarm registers fromthe I2C RTC, a

Re: [U-Boot] [PATCH 1/2] Tegra20: Move some code files to common directories for upcoming Tegra30 patches.

2012-09-28 Thread Igor Grinberg
On 09/21/12 23:42, Tom Warren wrote: Move files that are going to be common between T20 and T30 into 'tegra-common' subdirs in AVP (arm720t), CPU (armv7), and shared (arch/arm/cpu/.) areas. Any files that are left behind in '/tegra20' will be copied to '/tegra30' subdirs and modified for that

Re: [U-Boot] [PATCH 2/2] Tegra20: Move some include files to arch-tegra for sharing with Tegra30

2012-09-28 Thread Igor Grinberg
On 09/21/12 23:42, Tom Warren wrote: The move is pretty straight-forward. ap20.h and tegra20.h were renamed to ap.h and tegra.h. Some files remain in arch-tegra20 but 'include' a file in 'arch-tegra' with #defines structs that will be common between T20 and T30 HW. HW-specific #defines,

[U-Boot] [PATCH] nand: Extending the nand_ecclayout struct based on Linux 3.5

2012-09-28 Thread Charles Hardin
NANDs with large page sizes are getting oob ares of 218 and 224 so the eccpos field needs to support these larger areas since BCH ECC correction with 24-bit over 1024 bytes will use 168 bytes of the oob for ECC and is required for current MLC NAND parts circa 2012. Signed-off-by: Charles Hardin

Re: [U-Boot] [PATCH v2 05/14] mx51: Fix USB PHY clocks

2012-09-28 Thread Igor Grinberg
Hi Benoît, please, see a minor #ifdef comment below On 09/27/12 22:21, Benoît Thébaudeau wrote: The i.MX51 has a single USB PHY clock, while the i.MX53 has two. These 3 clocks have different clock gate control bit-fields. The existing code was correct only for i.MX53, so this patch fixes

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

2012-09-28 Thread Igor Grinberg
On 09/25/12 22:12, Anatolij Gustschin wrote: On Fri, 21 Sep 2012 16:21:22 -0700 Tom Rini tr...@ti.com wrote: ... lcd.c: In function 'configuration_get_cmap': lcd.c:513:29: error: 'struct vidinfo' has no member named 'cmap' lcd.c: In function 'lcd_display_bitmap': lcd.c:787:6: warning:

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

2012-09-28 Thread Igor Grinberg
On 09/28/12 09:40, Igor Grinberg wrote: On 09/25/12 22:12, Anatolij Gustschin wrote: On Fri, 21 Sep 2012 16:21:22 -0700 Tom Rini tr...@ti.com wrote: ... lcd.c: In function 'configuration_get_cmap': lcd.c:513:29: error: 'struct vidinfo' has no member named 'cmap' lcd.c: In function

Re: [U-Boot] [PATCH v3 1/2] usb: ulpi: add indicator configuration function

2012-09-28 Thread Igor Grinberg
On 09/26/12 00:35, Lucas Stach wrote: Allows for easy configuration of the VBUS indicator related ULPI config bits. Also move the external indicator setup from ulpi_set_vbus() to the new function. Signed-off-by: Lucas Stach d...@lynxeye.de Acked-by: Igor Grinberg grinb...@compulab.co.il

Re: [U-Boot] [PATCH v3 2/2] tegra20: add USB ULPI init code

2012-09-28 Thread Igor Grinberg
On 09/26/12 00:35, Lucas Stach wrote: This adds the required code to set up a ULPI USB port. It is mostly a port of the Linux ULPI setup code with some tweaks added for more correctness, discovered along the way of debugging this. To use this both CONFIG_USB_ULPI and

Re: [U-Boot] [PATCH v2] mx6: Remove lowlevel_init.S

2012-09-28 Thread Stefano Babic
On 22/09/2012 18:24, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com lowlevel_init.S is not used on mx6, so remove the file and the associated calls. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Hi Fabio, I am testing the -next branch. MX5 does not

Re: [U-Boot] [PATCH v4 0/6] Code cleaup for trats and universal

2012-09-28 Thread Minkyu Kang
Dear Piotr Wilczek, On 20 September 2012 19:19, Piotr Wilczek p.wilc...@samsung.com wrote: This patch fixes SDRAM configuration and size visibility fot Trats board. Code for MMC initialisation is moved from board file to pinmux. MMC0 and MMC2 are supported. Both tested on Trats and Universal

Re: [U-Boot] [PATCH v2 01/14] mx5/6: Define default SoC input clock frequencies

2012-09-28 Thread Stefano Babic
On 27/09/2012 22:19, Benoît Thébaudeau wrote: Define default SoC input clock frequencies for i.MX5/6 in order to get rid of duplicated definitions. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de Cc: Jason Liu r64...@freescale.com Cc: Matt

Re: [U-Boot] [PATCH v2 02/14] mx5 clocks: Cleanup

2012-09-28 Thread Stefano Babic
On 27/09/2012 22:20, Benoît Thébaudeau wrote: Clean up the i.MX5 clock driver: - Use readl() and writel() instead of their __raw_ counterparts. - Use the clr/setbits_le32() family of macros rather than expanding code. - Use accessor macros for bit-fields instead of _MASK and _OFFSET.

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

2012-09-28 Thread Igor Grinberg
On 09/28/12 10:21, Anatolij Gustschin wrote: On Fri, 28 Sep 2012 09:40:49 +0200 Igor Grinberg grinb...@compulab.co.il wrote: ... You can still trust the submitter, Nikita ran the MAKEALL for arm and ppc. The problem is that it was back in the beginning of August... It is just the time frame

Re: [U-Boot] [PATCH v2 03/14] mx5: Use explicit clock gate names

2012-09-28 Thread Stefano Babic
On 27/09/2012 22:21, Benoît Thébaudeau wrote: Use clock gate definitions having names showing clearly the gated clock instead of names giving only a register field index. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- This change

Re: [U-Boot] [PATCH 6/7] mx25: Define cpu_eth_init() only if needed

2012-09-28 Thread Stefano Babic
On 27/09/2012 23:43, Benoît Thébaudeau wrote: Hi Fabio, On Thursday, September 27, 2012 10:55:22 PM, Fabio Estevam wrote: Hi Benoît, On Thu, Sep 27, 2012 at 5:28 PM, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: The FEC is the only SoC Ethernet support available on i.MX25, so

[U-Boot] [PATCH 1/2] remove unnecessary code in ata_piix

2012-09-28 Thread Pavel Herrmann
We set sata_curr_device to 0 right after returning from init_sata(), so there's no point in setting it to the last scanned driver at this point. Note: there are more duplicities with cmd_sata, but those might be required, as the code seems to reset the entire controller on every scan, ignoring the

[U-Boot] [PATCH v2 2/2] Fix checkpatch warnings about externs in *.c

2012-09-28 Thread Pavel Herrmann
Move all extern declarations of sata_dev_desc[] into sata.h to make checkpatch happy, inslude sata.h in every sata driver, and remove now duplicit declarations of sata API functions. Signed-off-by: Pavel Herrmann morpheus.i...@gmail.com --- Changes for v2: use include/sata.h instead of a

[U-Boot] [PATCH v6 1/2] Loop block device for sandbox

2012-09-28 Thread Pavel Herrmann
This driver uses files as block devices, can be used for testing disk operations on sandbox. A new command sata_loop is introduced to load files in runtime. Signed-off-by: Pavel Herrmann morpheus.i...@gmail.com --- Changes for v6: sync with new version of Fix checkpatch warnings about externs

[U-Boot] [PATCH] omap4_panda: remove CONFIG_PANDA, not used

2012-09-28 Thread Peter Meerwald
From: Peter Meerwald p.meerw...@bct-electronic.com Signed-off-by: Peter Meerwald pme...@pmeerw.net --- include/configs/omap4_panda.h |1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h index b4756be..eacb5f5 100644 ---

Re: [U-Boot] [PATCH v2 09/14] mx5 clocks: Fix get_ipg_per_clk()

2012-09-28 Thread Stefano Babic
On 27/09/2012 22:23, Benoît Thébaudeau wrote: This fixes the IPG PERCLK frequency printed by the clocks command. The issue was that get_ipg_per_clk() used periph_clk instead of lp_apm in the case CCM.CBCMR.perclk_lp_apm_sel is set. It also fixes I²C support. Hi Benoît, I understand

Re: [U-Boot] [PATCH v4 2/2] ARM: kirkwood/orion5x: Use reset_cpu definition in include/common.h

2012-09-28 Thread Pavel Machek
Albert, could you apply this? It is trivial cleanup, and while marked 2/2, it is really independend. Applied to u-boot-marvell.git master branch Thanks! Pavel -- (english) http://www.livejournal.com/~pavelmachek

Re: [U-Boot] [PATCH] omap4_panda: remove CONFIG_PANDA, not used

2012-09-28 Thread R, Sricharan
Hi, [snip..] include/configs/omap4_panda.h |1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h index b4756be..eacb5f5 100644 --- a/include/configs/omap4_panda.h +++ b/include/configs/omap4_panda.h @@ -31,7 +31,6 @@ /* *

[U-Boot] [PATCH] pmc405de and zeus: remove the env_ptr externs

2012-09-28 Thread Igor Grinberg
The env_ptr is already declared in environment.h, so there is no need to redeclare in board files (especially after including the environment.h) Remove those declarations. Signed-off-by: Igor Grinberg grinb...@compulab.co.il Cc: Stefan Roese s...@denx.de Cc: Matthias Fuchs

Re: [U-Boot] [PATCH] pmc405de and zeus: remove the env_ptr externs

2012-09-28 Thread Stefan Roese
On 09/28/2012 12:04 PM, Igor Grinberg wrote: The env_ptr is already declared in environment.h, so there is no need to redeclare in board files (especially after including the environment.h) Remove those declarations. Thanks for spotting. I'll queue this up soon. Thanks, Stefan

Re: [U-Boot] [PATCH v2 05/14] mx51: Fix USB PHY clocks

2012-09-28 Thread Benoît Thébaudeau
Hi Igor, On Friday, September 28, 2012 9:26:38 AM, Igor Grinberg wrote: Hi Benoît, please, see a minor #ifdef comment below On 09/27/12 22:21, Benoît Thébaudeau wrote: The i.MX51 has a single USB PHY clock, while the i.MX53 has two. These 3 clocks have different clock gate control

Re: [U-Boot] [PATCH 5/7] mx25: Clean up clocks API

2012-09-28 Thread Stefano Babic
On 27/09/2012 22:27, Benoît Thébaudeau wrote: Use the standard mxc_get_clock() instead of exporting internal functions and using literal constant values. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de ---

Re: [U-Boot] [PATCH 4/7] mx25 clocks: Fix MXC_FEC_CLK

2012-09-28 Thread Stefano Babic
On 27/09/2012 22:27, Benoît Thébaudeau wrote: mxc_get_clock(MXC_FEC_CLK) should return the IPG clock, not the AHB clock. Also, imx_get_fecclk() was correct but reimplemented the calculation of the IPG clock, so remove the duplicated code. Signed-off-by: Benoît Thébaudeau

[U-Boot] [PATCH v4 0/4] Exynos: Support for display drivers

2012-09-28 Thread Piotr Wilczek
This patchset add support for display on Universal C210 board. Max8998 is modified to power on display, new driver ld9040 is added and support for LCD display on universal C210 board is added. Changes in v2: - removed unnecessary function for fimd clock set; - code cleanup - removed patch for fix

[U-Boot] [PATCH v4 1/4] misc:max8998 Add LDO macros

2012-09-28 Thread Piotr Wilczek
Add LDO7 and LDO17 macros to max8998_pmic.h necessary to power on the LCD. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com --- Changes in v2: - none. Changes in v3: - none. Changes in v4: - none.

[U-Boot] [PATCH v4 2/4] drivers: video: Add ld9040 video driver

2012-09-28 Thread Piotr Wilczek
Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com CC: Donghwa Lee dh09@samsung.com --- This patch depends on software SPI: 1346228122-13444-2-git-send-email-p.wilc...@samsung.com Changes in v2: - none

[U-Boot] [PATCH v4 3/4] drivers: video: fix image position

2012-09-28 Thread Piotr Wilczek
This patch fixes image position on screen when images's height or width is biger than the lcd's. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com --- Changes in v2: - none. Changes in v3: - none Changes

[U-Boot] [PATCH v4 4/4] exynos4: universal_C210: add display support

2012-09-28 Thread Piotr Wilczek
This patch add support for display on Universal C210 board. Width of displyed logo must be not bigger than 480 pixel and is limited by width of the screen. Tizen logo size is 520x120 pixels and should be resized. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park

Re: [U-Boot] [PATCH v2 09/14] mx5 clocks: Fix get_ipg_per_clk()

2012-09-28 Thread Benoît Thébaudeau
Hi Stefano, On Friday, September 28, 2012 11:31:11 AM, Stefano Babic wrote: On 27/09/2012 22:23, Benoît Thébaudeau wrote: This fixes the IPG PERCLK frequency printed by the clocks command. The issue was that get_ipg_per_clk() used periph_clk instead of lp_apm in the case

Re: [U-Boot] [PATCH v2 05/14] mx51: Fix USB PHY clocks

2012-09-28 Thread Stefano Babic
On 28/09/2012 12:27, Benoît Thébaudeau wrote: Hi Igor, On Friday, September 28, 2012 9:26:38 AM, Igor Grinberg wrote: Hi Benoît, please, see a minor #ifdef comment below On 09/27/12 22:21, Benoît Thébaudeau wrote: The i.MX51 has a single USB PHY clock, while the i.MX53 has two. These 3

Re: [U-Boot] [PATCH v2 09/14] mx5 clocks: Fix get_ipg_per_clk()

2012-09-28 Thread Stefano Babic
On 28/09/2012 12:42, Benoît Thébaudeau wrote: Hi Stefano, On Friday, September 28, 2012 11:31:11 AM, Stefano Babic wrote: On 27/09/2012 22:23, Benoît Thébaudeau wrote: This fixes the IPG PERCLK frequency printed by the clocks command. The issue was that get_ipg_per_clk() used periph_clk

Re: [U-Boot] [U-Boot, v3] FAT: Make it possible to read from any file position

2012-09-28 Thread Benoît Thébaudeau
Hi Tom, On Thursday, September 27, 2012 6:20:55 PM, Tom Rini wrote: On Tue, Sep 18, 2012 at 08:14:56AM -, Beno?t Th?baudeau wrote: When storage devices contain files larger than the embedded RAM, it is useful to be able to read these files by chunks, e.g. for a software update to

Re: [U-Boot] [PATCH v2 09/14] mx5 clocks: Fix get_ipg_per_clk()

2012-09-28 Thread Benoît Thébaudeau
Hi Stefano, On Friday, September 28, 2012 12:45:31 PM, Stefano Babic wrote: On 28/09/2012 12:42, Benoît Thébaudeau wrote: Hi Stefano, On Friday, September 28, 2012 11:31:11 AM, Stefano Babic wrote: On 27/09/2012 22:23, Benoît Thébaudeau wrote: This fixes the IPG PERCLK frequency

Re: [U-Boot] [PATCH v2 05/14] mx51: Fix USB PHY clocks

2012-09-28 Thread Benoît Thébaudeau
Hi Stefano, On Friday, September 28, 2012 12:43:53 PM, Stefano Babic wrote: On 28/09/2012 12:27, Benoît Thébaudeau wrote: Hi Igor, On Friday, September 28, 2012 9:26:38 AM, Igor Grinberg wrote: Hi Benoît, please, see a minor #ifdef comment below On 09/27/12 22:21, Benoît

Re: [U-Boot] [PATCH] mxc: Fix SDHC multi-instance clock

2012-09-28 Thread Benoît Thébaudeau
On Thursday, September 27, 2012 10:31:02 PM, Benoît Thébaudeau wrote: On mxc, each SDHC instance has a dedicated clock, so gd-sdhc_clk is not suitable for the multi-instance use case (initialization made directly with fsl_esdhc_initialize()). This patch fixes this issue by adding a

Re: [U-Boot] [PATCH] tools: Add cleanpatch

2012-09-28 Thread Fabio Estevam
On Fri, Sep 28, 2012 at 9:42 AM, Otavio Salvador ota...@ossystems.com.br wrote: Please take it from master so it is easier to track from the hash. Using the stable tree will force the check of another tree. I don't understand your explanation. As suggested by Marek I will point to this commit

Re: [U-Boot] [PATCH v2] mx6: Remove lowlevel_init.S

2012-09-28 Thread Fabio Estevam
Hi Stefano, On Fri, Sep 28, 2012 at 5:30 AM, Stefano Babic sba...@denx.de wrote: What does happen now to the poor MX5 ? lowlevel_init is not called anymore, I presume... Which board did you test this with, please? Regards, Fabio Estevam ___ U-Boot

Re: [U-Boot] [PATCH v2] mx6: Remove lowlevel_init.S

2012-09-28 Thread Benoît Thébaudeau
Hi Fabio, On Friday, September 28, 2012 3:21:22 PM, Fabio Estevam wrote: Hi Stefano, On Fri, Sep 28, 2012 at 5:30 AM, Stefano Babic sba...@denx.de wrote: What does happen now to the poor MX5 ? lowlevel_init is not called anymore, I presume... Which board did you test this with,

Re: [U-Boot] [PATCH v2] mx6: Remove lowlevel_init.S

2012-09-28 Thread Benoît Thébaudeau
On Friday, September 28, 2012 3:35:41 PM, Benoît Thébaudeau wrote: Hi Fabio, On Friday, September 28, 2012 3:21:22 PM, Fabio Estevam wrote: Hi Stefano, On Fri, Sep 28, 2012 at 5:30 AM, Stefano Babic sba...@denx.de wrote: What does happen now to the poor MX5 ? lowlevel_init is

[U-Boot] [PATCH v2] tools: Add cleanpatch

2012-09-28 Thread Fabio Estevam
There are some errors reported by checkpatch.pl that can be easily cleaned up by using the cleanpatch tool. Import the cleanpatch script from linux kernel 3.5.4 stable version as from the following commit: commit cb3ed5b7e09c6c0462e396d55e3fecc0980a333a Author: H. Peter Anvin h...@zytor.com

Re: [U-Boot] [PATCH v1 2/4] mpc83xx: add support for mpc8309

2012-09-28 Thread Gerlando Falauto
On 09/28/2012 01:18 AM, Kim Phillips wrote: On Thu, 27 Sep 2012 09:21:19 +0200 Gerlando Falautogerlando.fala...@keymile.com wrote: On 09/27/2012 03:22 AM, Kim Phillips wrote: [...] so far the 8308 and the 8360 are the only SoCs that don't have a 'tens'/MPC83Xx defines. The 8360 can get

[U-Boot] [PATCH V2 0/6] add zip command support for uboot

2012-09-28 Thread Lei Wen
Change since V1: add CONFIG_CMD_ZIP into README description This patch set add zip command support for uboot. The first two patches import deflate and trees functions from zlib 1.2.5 without any change. While the third patch did the necessary change to make the import file could be built passed

[U-Boot] [PATCH V2 2/6] lib: zlib: import trees file from 1.2.5

2012-09-28 Thread Lei Wen
Signed-off-by: Lei Wen lei...@marvell.com --- Changelog: No change lib/zlib/trees.c | 1244 ++ lib/zlib/trees.h | 128 ++ 2 files changed, 1372 insertions(+), 0 deletions(-) create mode 100644 lib/zlib/trees.c create mode 100644

[U-Boot] [PATCH V2 4/6] lib: zlib: remove the limitation for cannot using 0 as start

2012-09-28 Thread Lei Wen
We often need the requirement that compressing those memory range start from 0, but the default deflate code in zlib prevent us to do this. Considering the special case of uboot, that it could access all memory range, it is reasonable to be able to also take the address space from 0 into

[U-Boot] [PATCH V2 6/6] common: add zip command support

2012-09-28 Thread Lei Wen
Signed-off-by: Lei Wen lei...@marvell.com --- Changelog: Add README description for new added zip command README |6 + common/Makefile |1 + common/cmd_zip.c | 60 ++ 3 files changed, 67 insertions(+), 0 deletions(-)

Re: [U-Boot] [PATCH 0/6] add zip command support for uboot

2012-09-28 Thread Lei Wen
Hi Tom, If the patch is generally accepted, I would update with another version with the README update included. Yes, please v2 things with an updated README. Thanks. I have updated the patch set, please help re-check it. Thanks, Lei ___

[U-Boot] [PATCH V2 3/6] lib: zlib: include deflate into zlib build

2012-09-28 Thread Lei Wen
Add a new config CONFIG_GZIP_ENABLED, if enabled, the uboot bin would include zlib's deflate method which could be used for compressing. Signed-off-by: Lei Wen lei...@marvell.com --- Changelog: No change include/u-boot/zlib.h | 40 +++- lib/zlib/trees.c

[U-Boot] [PATCH V2 5/6] lib: add gzip lib function callback

2012-09-28 Thread Lei Wen
Signed-off-by: Lei Wen lei...@marvell.com --- Changelog: No change include/common.h |7 +++ lib/Makefile |1 + lib/gzip.c | 142 ++ 3 files changed, 150 insertions(+), 0 deletions(-) create mode 100644 lib/gzip.c diff --git

Re: [U-Boot] [PATCH v3 1/2] usb: ulpi: add indicator configuration function

2012-09-28 Thread Lucas Stach
Am Freitag, den 28.09.2012, 10:15 +0200 schrieb Igor Grinberg: On 09/26/12 00:35, Lucas Stach wrote: Allows for easy configuration of the VBUS indicator related ULPI config bits. Also move the external indicator setup from ulpi_set_vbus() to the new function. Signed-off-by: Lucas

Re: [U-Boot] [PATCH v4 15/16] lcd: Add CONSOLE_SCROLL_LINES option to speed console

2012-09-28 Thread Lucas Stach
Am Donnerstag, den 27.09.2012, 17:44 -0700 schrieb Simon Glass: When the cursor position gets to the end of the LCD console we normally scroll by one line. This adds an option to increase that value. Console scrolling is often slow, and if a large amount of output is being sent, increasing

Re: [U-Boot] [PATCH v2] mx6: Remove lowlevel_init.S

2012-09-28 Thread Stefano Babic
On 28/09/2012 15:21, Fabio Estevam wrote: Hi Stefano, On Fri, Sep 28, 2012 at 5:30 AM, Stefano Babic sba...@denx.de wrote: What does happen now to the poor MX5 ? lowlevel_init is not called anymore, I presume... Which board did you test this with, please? I tested on a mx53qsb, but I

Re: [U-Boot] [PATCH v2 09/14] mx5 clocks: Fix get_ipg_per_clk()

2012-09-28 Thread Stefano Babic
On 28/09/2012 14:55, Benoît Thébaudeau wrote: Ah, thanks - it is clear now. For the full story, I²C was completely broken on my custom i.MX51 platform because of this issue. The command i2c probe only detected address 0x00, and if run again, it hung. Ok - this explains to myself why I

Re: [U-Boot] [PATCH v2 05/14] mx51: Fix USB PHY clocks

2012-09-28 Thread Stefano Babic
On 28/09/2012 15:00, Benoît Thébaudeau wrote: OK, so should I eventually send for that an update only of this specific patch (not the full series), or will it just be fine with the current v2? Not the full series, send an update only for this patch, thanks. Best regards, Stefano --

Re: [U-Boot] [PATCH] nand: add ID for Micron MT29F8G08A

2012-09-28 Thread Lucas Stach
Hi Scott, Am Donnerstag, den 27.09.2012, 17:27 -0500 schrieb Scott Wood: On 09/27/2012 05:19:23 PM, Lucas Stach wrote: Am Donnerstag, den 27.09.2012, 17:13 -0500 schrieb Scott Wood: On 09/27/2012 05:08:03 PM, Lucas Stach wrote: Am Donnerstag, den 27.09.2012, 16:53 -0500 schrieb Scott

Re: [U-Boot] RMII ethernet problems on i.MX6 Solo

2012-09-28 Thread Carolyn Smith
On Thu, Sep 27, 2012 at 2:07 PM, Carolyn Smith carolynsm...@gmail.com wrote: On Thu, Sep 27, 2012 at 12:00 PM, Fabio Estevam feste...@gmail.com wrote: On Thu, Sep 27, 2012 at 3:27 PM, Carolyn Smith carolynsm...@gmail.com wrote: Hello, Has anyone had any success getting RMII ethernet to

Re: [U-Boot] [PATCH] arm: fdt: Relocate fdt along with other data

2012-09-28 Thread Stephen Warren
On 09/27/2012 07:41 PM, Simon Glass wrote: Rather than leave the fdt down next to the code/data, we really should relocate it along with everything else. For CONFIG_OF_EMBED this happens automatically, but for CONFIG_OF_SEPARATE it does not. Add code to copy the fdt and point to the new copy

Re: [U-Boot] RMII ethernet problems on i.MX6 Solo

2012-09-28 Thread Fabio Estevam
Hi Carolyn, On Fri, Sep 28, 2012 at 12:20 PM, Carolyn Smith carolynsm...@gmail.com wrote: As it turns out, I found the magic bullet late last night and got ethernet working on my board. The secret turned out to be the IOMUXC_ENET_IPG_CLK_RMII_SELECT_INPUT daisy chain register. I had it set

[U-Boot] [PATCH] disk: allow - or empty string to fall back to $bootdevice

2012-09-28 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Commit 10a37fd disk: get_device_and_partition() auto partition prevented the use of - on the command-line to request fallback to the $bootdevice environment variable instead. This patch allows that, or an empty string to be used. Tested: setenv bootfile

Re: [U-Boot] [U-Boot, v3] FAT: Make it possible to read from any file position

2012-09-28 Thread Stephen Warren
On 09/28/2012 05:32 AM, Benoît Thébaudeau wrote: Hi Tom, On Thursday, September 27, 2012 6:20:55 PM, Tom Rini wrote: On Tue, Sep 18, 2012 at 08:14:56AM -, Beno?t Th?baudeau wrote: When storage devices contain files larger than the embedded RAM, it is useful to be able to read these

[U-Boot] [GIT PULL] Pull request: u-boot-imx

2012-09-28 Thread Stefano Babic
Hi Albert, some fixes for the release. Please pull from u-boot-imx, thanks. The following changes since commit 1d9b033269263a69f7402f508c17b242fc7fea43: mx35pdk: README: Remove NAND references (2012-09-17 13:17:17 +0200) are available in the git repository at:

Re: [U-Boot] [PATCH] api: net: fix length check in eth_receive()

2012-09-28 Thread Joe Hershberger
Hi Michael, On Mon, Jun 25, 2012 at 3:50 PM, Michael Walle mich...@walle.cc wrote: [removed Piotr Kruszynski from CC because mail address does not exist anymore] Hi Joe, Am Montag 25 Juni 2012, 22:25:56 schrieb Joe Hershberger: Hi Michael, On Fri, Jun 22, 2012 at 4:24 PM, Michael Walle

Re: [U-Boot] [PATCH] net: bugfix: NetSetTimeout assumes CONFIG_SYS_HZ=1000

2012-09-28 Thread Joe Hershberger
Hi Tetsuyuki, On Mon, Jun 25, 2012 at 7:37 AM, Tetsuyuki Kobayashi k...@kmckk.co.jp wrote: NetSetTimeout sets incorrect value to timeDelta when CONFIG_SYS_HZ != 1000. Signed-off-by: Tetsuyuki Kobayashi k...@kmckk.co.jp --- I decided this doesn't hurt and it sort-of documents what must be

Re: [U-Boot] [U-Boot-DM] [PATCH 09/10] dm: net: Move IXP NPE to drivers/net/

2012-09-28 Thread Joe Hershberger
Hi Marek, On Sat, Jul 21, 2012 at 10:02 AM, Marek Vasut ma...@denx.de wrote: Signed-off-by: Marek Vasut ma...@denx.de Cc: Bryan Hundven bryanhund...@gmail.com Cc: Michael Schwingen rincew...@discworld.dascon.de Cc: Wolfgang Denk w...@denx.de Cc: Albert Aribaud albert.u.b...@aribaud.net Cc:

Re: [U-Boot] [PATCH 4/5] net: emaclite: Support OF initialization

2012-09-28 Thread Joe Hershberger
Hi Michal, On Fri, Jun 29, 2012 at 2:37 AM, Michal Simek mon...@monstr.eu wrote: Support new CONFIG_OF_CONTROL option where device probing is done based on device tree description. Signed-off-by: Michal Simek mon...@monstr.eu CC: Joe Hershberger joe.hershber...@gmail.com --- Applied,

Re: [U-Boot] [U-Boot-DM] [PATCH] dm: net: Fixup the armada100 FEC driver

2012-09-28 Thread Joe Hershberger
Hi Marek, On Fri, Jul 27, 2012 at 2:50 PM, Marek Vasut ma...@denx.de wrote: Apply the following questionable adjustment to silence GCC. armada100_fec.c: In function ‘armdfec_send’: armada100_fec.c:589:2: warning: dereferencing type-punned pointer will break strict-aliasing rules

Re: [U-Boot] [PATCH v1 2/4] mpc83xx: add support for mpc8309

2012-09-28 Thread Kim Phillips
On Fri, 28 Sep 2012 16:08:39 +0200 Gerlando Falauto gerlando.fala...@keymile.com wrote: On 09/28/2012 01:18 AM, Kim Phillips wrote: On Thu, 27 Sep 2012 09:21:19 +0200 Gerlando Falautogerlando.fala...@keymile.com wrote: On 09/27/2012 03:22 AM, Kim Phillips wrote: [...] so far the 8308

[U-Boot] [PATCH] tegra: nand: make ONFI detection work

2012-09-28 Thread Lucas Stach
Add the missing bits to the Tegra NAND driver to make ONFI detection work properly. Also add it to the Tegra default config, as it seems to be a reasonable thing to have it available on all boards that use any kind of NAND. Signed-off-by: Lucas Stach d...@lynxeye.de ---

Re: [U-Boot] [PATCHv2 1/5] net: introduce transparent driver private in ueth_data

2012-09-28 Thread Joe Hershberger
Hi Lucas, On Wed, Aug 22, 2012 at 4:04 PM, Lucas Stach d...@lynxeye.de wrote: Avoid clutter in ueth_data. Individual drivers should not mess with structures belonging to the core like this. Signed-off-by: Lucas Stach d...@lynxeye.de Reviewed-by: Marek Vasut ma...@denx.de Acked-by: Marek

Re: [U-Boot] [PATCHv2 2/5] net: asix: split out basic reset function

2012-09-28 Thread Joe Hershberger
Hi Lucas, On Wed, Aug 22, 2012 at 4:04 PM, Lucas Stach d...@lynxeye.de wrote: The basic device reset ensures that the device is ready to service commands and does not need to get redone before each network operation. Split out the basic reset from asix_init() and instead call it from

Re: [U-Boot] [PATCHv2 3/5] net: asix: add write_hwaddr function

2012-09-28 Thread Joe Hershberger
Hi Lucas, On Wed, Aug 22, 2012 at 4:04 PM, Lucas Stach d...@lynxeye.de wrote: All ASIX chipsets aside from AX88172 are able to set the MAC address on the hardware level. Add a function to expose this ability. To differentiate between chip types we now carry flags as driver private data.

Re: [U-Boot] [PATCHv2 4/5] net: asix: add read_mac function

2012-09-28 Thread Joe Hershberger
Hi Lucas, On Wed, Aug 22, 2012 at 4:05 PM, Lucas Stach d...@lynxeye.de wrote: Initial device MAC should be read while getting info about the device, so it's wrong to only read it in asix_init(). Add a dedicated function to read the initial MAC, which is also able to handle devices that have

Re: [U-Boot] [PATCHv2 5/5] net: asix: add AX88772B support

2012-09-28 Thread Joe Hershberger
Hi Lucas, On Wed, Aug 22, 2012 at 4:05 PM, Lucas Stach d...@lynxeye.de wrote: Add AX88772B ID together with two fixes needed to make this work. 1. The packet length check has to be adjusted, as all ASIX chips only use 11 bits to indicate the length. AX88772B uses the other bits to indicate

Re: [U-Boot] [PATCH 2/4 v3] net: Add driver for Zynq Gem IP

2012-09-28 Thread Joe Hershberger
Hi Michal, On Fri, Sep 14, 2012 at 1:23 AM, Michal Simek mon...@monstr.eu wrote: Device driver for Zynq Gem IP. Signed-off-by: Michal Simek mon...@monstr.eu CC: Joe Hershberger joe.hershber...@gmail.com CC: Marek Vasut ma...@denx.de Applied, thanks. -Joe

Re: [U-Boot] [PATCH] eth_write_hwaddr: Return error for invalid MACs

2012-09-28 Thread Joe Hershberger
Hi Benoît, On Fri, Aug 10, 2012 at 12:56 PM, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: If dev-enetaddr was supposed to be set with dev-write_hwaddr() but the MAC address was not valid, return an error. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Joe

Re: [U-Boot] [PATCH] net/phy: support the mv88e6352 switch

2012-09-28 Thread Joe Hershberger
Hi Valentin, On Thu, Aug 16, 2012 at 6:17 AM, Valentin Longchamp valentin.longch...@keymile.com wrote: This patch add support for the configuration of an external switch from the 88E6xxx series from Marvell trough an MDIO link using indirect adressing. This can be used if we do not want to use

Re: [U-Boot] [PATCH 1/2] Add Vitesse VSC8662 PHY support

2012-09-28 Thread Joe Hershberger
Hi York, On Fri, Aug 17, 2012 at 1:28 PM, York Sun york...@freescale.com wrote: From: Priyanka Jain priyanka.j...@freescale.com -VSC8662 is Dual Port 10/100/1000Base-T Phy, 100Base-FX/1000/Base-X Gigabit Ethernt Transceiver Phy. -Its register set and features are similar to other Vitesse

Re: [U-Boot] [PATCH 1/2] FEC: Do not pass unaligned buffer to network stack

2012-09-28 Thread Joe Hershberger
Hi Marek, On Sun, Aug 26, 2012 at 3:19 PM, Marek Vasut ma...@denx.de wrote: Do not pass unaligned RX buffer to the upper layers. The upper layer, especially in the ARP case, recycles the buffer and passes it back into the FEC, into it's TX path. With caches enabled, the FEC hangs on this from

Re: [U-Boot] [PATCH 2/2] FEC: Properly align address over the buffers for cache ops

2012-09-28 Thread Joe Hershberger
Hi Marek, On Sun, Aug 26, 2012 at 3:19 PM, Marek Vasut ma...@denx.de wrote: Align the address that's to be invalidated/flushed properly. Signed-off-by: Marek Vasut ma...@denx.de Cc: Benoit Thebaudeau benoit.thebaudeau@advans Cc: Eric Nelson eric.nel...@boundarydevices.com Cc: Fabio Estevam

Re: [U-Boot] [PATCH 1/3] FEC: Remove endless loop in the FEC driver

2012-09-28 Thread Joe Hershberger
Hi Marek, On Wed, Aug 29, 2012 at 8:49 AM, Marek Vasut ma...@denx.de wrote: The FEC hardware sometimes errors out on data transfer and hangs in the tightloop adjusted by this patch. So add timeout into the tightloop to make such a hang recoverable. Signed-off-by: Marek Vasut ma...@denx.de

Re: [U-Boot] [PATCH 2/3] FEC: Rework the TX wait mechanism

2012-09-28 Thread Joe Hershberger
Hi Marek, On Wed, Aug 29, 2012 at 8:49 AM, Marek Vasut ma...@denx.de wrote: The mechanism waiting for transmission to finish in fec_send() now relies on the E-bit being cleared in the TX buffer descriptor. In case of data cache being on, this means invalidation of data cache above this TX

Re: [U-Boot] [PATCH 3/3] FEC: Replace magic contants

2012-09-28 Thread Joe Hershberger
Hi Marek, On Wed, Aug 29, 2012 at 8:49 AM, Marek Vasut ma...@denx.de wrote: Replace the magic contant 1 24 with properly defined bits. Signed-off-by: Marek Vasut ma...@denx.de Cc: Joe Hershberger joe.hershber...@ni.com Cc: Fabio Estevam feste...@gmail.com Cc: Otavio Salvador

Re: [U-Boot] [PATCH v4] PXE: FDT: Add support for fdt in PXE

2012-09-28 Thread Joe Hershberger
Hi Chander, On Fri, Sep 7, 2012 at 12:36 AM, Chander Kashyap chander.kash...@linaro.org wrote: Now DT support is becoming common for all new SoC's. Hence it is better to have option for getting specific FDT from the remote server. This patch adds support for new label i.e. 'fdt'. This will

Re: [U-Boot] [PATCH] Quietly ignore DHCP Option 28 (Broadcast Address)

2012-09-28 Thread Joe Hershberger
Hi Brian, On Tue, Sep 11, 2012 at 2:22 PM, Brian Rzycki b...@freescale.com wrote: Some DHCP servers (notably dnsmasq) always transmit DHCP Option 28, Broadcast Address as specified in RFC 2132. Without this patch u-boot displays the warning: *** Unhandled DHCP Option in OFFER/ACK: 28 The

Re: [U-Boot] [PATCH] disk: allow - or empty string to fall back to $bootdevice

2012-09-28 Thread Tom Rini
On Fri, Sep 28, 2012 at 09:34:09AM -0600, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Commit 10a37fd disk: get_device_and_partition() auto partition prevented the use of - on the command-line to request fallback to the $bootdevice environment variable instead. This patch

Re: [U-Boot] [U-Boot, v3] FAT: Make it possible to read from any file position

2012-09-28 Thread Tom Rini
On Fri, Sep 28, 2012 at 09:34:42AM -0600, Stephen Warren wrote: On 09/28/2012 05:32 AM, Beno??t Th??baudeau wrote: Hi Tom, On Thursday, September 27, 2012 6:20:55 PM, Tom Rini wrote: On Tue, Sep 18, 2012 at 08:14:56AM -, Beno?t Th?baudeau wrote: When storage devices contain files

Re: [U-Boot] UBI problems on current u-boot

2012-09-28 Thread Charles Hardin
Part of this can be referenced by the linux commit where ECC errors are handled as common place for MLC nand parts, and a bitflip threshold is setup to return EUCLEAN out of the mtdcore.c. So, the work above avoids the UBI side effect of doing the PEB relocation on getting the bit error

[U-Boot] [PATCH v3 05/14] mx51: Fix USB PHY clocks

2012-09-28 Thread Benoît Thébaudeau
The i.MX51 has a single USB PHY clock, while the i.MX53 has two. These 3 clocks have different clock gate control bit-fields. The existing code was correct only for i.MX53, so this patch fixes the i.MX51 use case. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic

Re: [U-Boot] [PATCH 1/2] remove unnecessary code in ata_piix

2012-09-28 Thread Marek Vasut
Dear Pavel Herrmann, We set sata_curr_device to 0 right after returning from init_sata(), so there's no point in setting it to the last scanned driver at this point. Note: there are more duplicities with cmd_sata, but those might be required, as the code seems to reset the entire controller

Re: [U-Boot] [PATCH v2 2/2] Fix checkpatch warnings about externs in *.c

2012-09-28 Thread Marek Vasut
Dear Pavel Herrmann, Move all extern declarations of sata_dev_desc[] into sata.h to make checkpatch happy, inslude sata.h in every sata driver, and remove now duplicit declarations of sata API functions. Signed-off-by: Pavel Herrmann morpheus.i...@gmail.com WFM Reviewed-by: Marek Vasut

Re: [U-Boot] [PATCH v6 1/2] Loop block device for sandbox

2012-09-28 Thread Marek Vasut
Dear Pavel Herrmann, This driver uses files as block devices, can be used for testing disk operations on sandbox. A new command sata_loop is introduced to load files in runtime. The description might use a little bit of caressing here :) [...] + if (os_lseek(fd, start_byte,

[U-Boot] [PATCH] sandbox: Add asm/errno.h

2012-09-28 Thread Simon Glass
This file is required for all archs. Fixes a sandbox build break on ext4. Signed-off-by: Simon Glass s...@chromium.org --- arch/sandbox/include/asm/errno.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 arch/sandbox/include/asm/errno.h diff --git

  1   2   3   >