Re: [U-Boot] [PATCH v5 20/25] da850: Add README.da850

2012-08-29 Thread Prabhakar Lad
On Tuesday 28 August 2012 04:48 AM, Tom Rini wrote: This file documents when to build for da850evm and when to build for da850_am18xxevm. It also documents how to write the u-boot.ais file to persistent storage (such as SPI), in some cases as well as how to write a recovery image.

Re: [U-Boot] [PATCH v2 8/9] OMAP3: video: add macros to set display parameters

2012-08-29 Thread Stefano Babic
On 29/08/2012 00:29, Tom Rini wrote: On 08/28/2012 03:22 PM, Jeroen Hofstee wrote: On 08/28/2012 02:21 PM, Stefano Babic wrote: Add a common macros to set the registers for horizontal and vertical timing. Signed-off-by: Stefano Babic sba...@denx.de ---

Re: [U-Boot] [PATCH] M28: Fix the use of gpmi-nand in mtdparts

2012-08-29 Thread Stefano Babic
On 29/08/2012 03:12, Marek Vasut wrote: The mtd name of the NAND in Linux is gpmi-nand, not gpmi-nand.0 as it would be expected, since the controller doesn't support multiple NANDs attached to it as of now. Rectify this flub by adjusting default mtdparts. Signed-off-by: Marek Vasut

Re: [U-Boot] [PATCH 1/2] MX28: Cleanup mxsboot within make mrproper

2012-08-29 Thread Stefano Babic
On 29/08/2012 03:15, Marek Vasut wrote: Delete the mxsboot binary if make mrproper is called. Signed-off-by: Marek Vasut ma...@denx.de Cc: Wolfgang Denk w...@denx.de Cc: Stefano Babic sba...@denx.de Cc: Fabio Estevam feste...@gmail.com CC: Albert Aribaud albert.u.b...@aribaud.net ---

Re: [U-Boot] [PATCH 2/2] MX28: Fixup the ad-hoc use of DIGCTL_MICROSECONDS

2012-08-29 Thread Stefano Babic
On 29/08/2012 03:15, Marek Vasut wrote: Use proper struct-based access for this register in the SPL code. Signed-off-by: Marek Vasut ma...@denx.de Cc: Wolfgang Denk w...@denx.de Cc: Stefano Babic sba...@denx.de Cc: Fabio Estevam feste...@freescale.com ---

Re: [U-Boot] [PATCH 1/2] MX28: Add CONFIG_MX28_DEBUG

2012-08-29 Thread Stefano Babic
On 29/08/2012 03:14, Marek Vasut wrote: This functionality allows configuring SCRATCH0 and SCRATCH1 registers to special values, which make the SPL hang after the CPU was properly initialized. This is for bootstrap purposes only and MUST BE DISABLED for normal operation. Signed-off-by:

[U-Boot] [PATCH v3 0/6] Code cleaup for trats and universal

2012-08-29 Thread Piotr Wilczek
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 C210 boards. MMC initialisation for boards Trats and Universal C210 is done using pinmux. Low

[U-Boot] [PATCH v3 1/6] arm:exynos4:trats: Correct SDRAM configuration for trats

2012-08-29 Thread Piotr Wilczek
SDRAM setup alike to ORIGEN Dev board. 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 for v2: - no changes Changes for v3: - no changes include/configs/trats.h | 17 +++-- 1

[U-Boot] [PATCH v3 2/6] arm:exynos4:trats: Fix SDRAM size

2012-08-29 Thread Piotr Wilczek
Full 1GiB is visible 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 for v2: - no chages Changes for v3: - no changes board/samsung/trats/trats.c |8 +++- 1 files changed, 7

[U-Boot] [PATCH v3 4/6] arm:exynos4:trats: Use pinmux for mmc configuration

2012-08-29 Thread Piotr Wilczek
This patch use the pinmux for mmc configuration for Trats 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 for v2: - mmc initialisation using pinmux Changes for v3: - init SD card also when

[U-Boot] [PATCH v3 3/6] arm:exynos4:pinmux: Modify the gpio function for mmc

2012-08-29 Thread Piotr Wilczek
This patch add pinmux settings for Exynos4 for mmc0 and mmc2 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 for v2: - mmc initialisation code moved to pinmux instead of creating a new

[U-Boot] [PATCH v3 5/6] arm:exynos4:universal: Use pinmux for mmc configuration

2012-08-29 Thread Piotr Wilczek
This patch use the pinmux for mmc configuration for Universal C210 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 for v2: - mmc initialisation using pinmux Changes for v3: - init SD card

[U-Boot] [PATCH v3 6/6] arm:exynos4:universal: Eliminated low level init

2012-08-29 Thread Piotr Wilczek
Low level initialisation is done by another bootloader 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 for v2: - no changes Changes for v3: - no changes

[U-Boot] [PATCH] implement software SPI

2012-08-29 Thread Piotr Wilczek
This patch implements software SPI for the universal C210 board. SPI is used to configure video driver. Piotr Wilczek (1): arm:exynos4:universal_c210: implement software SPI board/samsung/universal_c210/universal.c | 36 ++ drivers/spi/soft_spi.c

[U-Boot] [PATCH] arm:exynos4:universal_c210: implement software SPI

2012-08-29 Thread Piotr Wilczek
This patch implements software SPI for the universal C210 board. 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: Wolfgang Denk w...@denx.de CC: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com

Re: [U-Boot] [PATCH] arm:at91-boards: remove console_init_f where unnecessary

2012-08-29 Thread esw
A lot of at91 boards have the console_init_f in board_init. This is useless cause it was called before by generic code in lib/board.c. Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com I have successfully tested this patch for eb_cpux9k2 and vl_ma2sc, so: Acked-by: Jens Scharsig

Re: [U-Boot] dreamplug spi partitions

2012-08-29 Thread Ian Campbell
(lets add the u-boot list, like I should have done in the first place. For u-boot@ folks the thread starts at http://www.spinics.net/lists/arm-kernel/msg188462.html and concerns the discrepancy between the size of u-boot's environment defined by u-boot and the kernel) On Tue, 2012-08-28 at 11:30

[U-Boot] [PATCH v2 0/2] i2c:soft:multi: Support for multiple soft I2C buses at TRATS

2012-08-29 Thread Lukasz Majewski
Support for multiple I2C buses handling on Samsung's TRATS development board. Those patches add multiple I2C support for Samsung boards and enables it at Trats. Lukasz Majewski (2): i2c:soft:multi: Support for multiple soft I2C buses at Samsung boards i2c:soft:multi: Enable soft I2C

[U-Boot] [PATCH v2 1/2] i2c:soft:multi: Support for multiple soft I2C buses at Samsung boards

2012-08-29 Thread Lukasz Majewski
Support for multiple soft I2C buses. The goal is achieved by defining get_multi_{sda|scl}_pin functions to switch between multiple soft I2C buses. Common definition of I2C_{0|1} I2C buses is provided at i2c.h. TEST HW: Samsung's Exynos4210 evt.0.1 - Trats development board Signed-off-by:

[U-Boot] [PATCH v2 2/2] i2c:soft:multi: Enable soft I2C multibus at Trats development board

2012-08-29 Thread Lukasz Majewski
This commit enables multibus handling at Samsung's Trats development board. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes for v2: - CONFIG_SOFT_I2C_MULTI_BUS flag added to Trats

[U-Boot] [PATCH] MUSB driver: Timeout is never detected as the while loop does not end

2012-08-29 Thread Matej Frančeškin
Timeout variable is decremented once more when while condition is not met. Following if does not detect correctly that timeout has occurred. Because of this bug the usb start command on AM335X-EVM board did not detect correctly that USB device was not attached. timeout =

[U-Boot] Specifying flash page sizes

2012-08-29 Thread Ellis Andrew
Hi I have been using uboot to with a number of devices which have a 256 byte page. Currently I'm using a device with a 512 byte page. I have had problems getting Linux to run on my system, the initial problem was caused by the flash drivers in linux specifying a page of 256 bytes and not

Re: [U-Boot] [PATCH 1/2] MX28: Add CONFIG_MX28_DEBUG

2012-08-29 Thread Marek Vasut
Dear Stefano Babic, On 29/08/2012 03:14, Marek Vasut wrote: This functionality allows configuring SCRATCH0 and SCRATCH1 registers to special values, which make the SPL hang after the CPU was properly initialized. This is for bootstrap purposes only and MUST BE DISABLED for normal

Re: [U-Boot] [PATCH] MUSB driver: Timeout is never detected as the while loop does not end

2012-08-29 Thread Marek Vasut
Dear Matej Frančeškin, Timeout variable is decremented once more when while condition is not met. Following if does not detect correctly that timeout has occurred. Because of this bug the usb start command on AM335X-EVM board did not detect correctly that USB device was not attached.

[U-Boot] [PATCH v3 0/9] This patchset updates boards based on the TAM3517 SOM.

2012-08-29 Thread Stefano Babic
The MAC address provided by the manufacturer can be read from the EEPROM. Add also Video support to the mt_ventoux (TAM3517) board. Changes in v2: - Set dispc_config before checking for framebuffer - Use a common macro to set up the horizontal and vertical timing (Heiko Schocker) to not break

[U-Boot] [PATCH v3 3/9] OMAP3: mt_ventoux: Correct board pinmux

2012-08-29 Thread Stefano Babic
Fix some issues (some pins were not set as GPIOs) Signed-off-by: Stefano Babic sba...@denx.de --- board/teejet/mt_ventoux/mt_ventoux.h | 74 +++--- 1 file changed, 33 insertions(+), 41 deletions(-) diff --git a/board/teejet/mt_ventoux/mt_ventoux.h

[U-Boot] [PATCH v3 1/9] OMAP3: tam3517: add function to read MAC from EEPROM

2012-08-29 Thread Stefano Babic
The manufacturer delivers the TAM3517 SOM with 4 MAC address. They are stored on the EEPROM of the SOM. The patch adds a function to get their values and set the ethaddr variables. Signed-off-by: Stefano Babic sba...@denx.de --- Changes in v2: - Set dispc_config before checking for framebuffer -

[U-Boot] [PATCH v3 2/9] OMAP3: twister : get MAC address from EEPROM

2012-08-29 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de --- board/technexion/twister/twister.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/board/technexion/twister/twister.c b/board/technexion/twister/twister.c index c2b10ac..7429e93 100644 --- a/board/technexion/twister/twister.c +++

[U-Boot] [PATCH v3 4/9] OMAP3: mt_ventoux: activate GPIO4

2012-08-29 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de --- include/configs/mt_ventoux.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/mt_ventoux.h b/include/configs/mt_ventoux.h index 5db6d57..131670a 100644 --- a/include/configs/mt_ventoux.h +++ b/include/configs/mt_ventoux.h @@

[U-Boot] [PATCH v3 5/9] OMAP3: mt_ventoux: read MAC address from EEPROM

2012-08-29 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de --- board/teejet/mt_ventoux/mt_ventoux.c | 16 1 file changed, 16 insertions(+) diff --git a/board/teejet/mt_ventoux/mt_ventoux.c b/board/teejet/mt_ventoux/mt_ventoux.c index 9fbaedd..b7744a9 100644 ---

[U-Boot] [PATCH v3 7/9] video: drop duplicate set of DISPC_CONFIG register

2012-08-29 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de --- arch/arm/include/asm/arch-omap3/dss.h |1 - drivers/video/omap3_dss.c |3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/include/asm/arch-omap3/dss.h b/arch/arm/include/asm/arch-omap3/dss.h index

[U-Boot] [PATCH v3 6/9] OMAP3: mt_ventoux: disable the buzzer at start-up

2012-08-29 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de --- board/teejet/mt_ventoux/mt_ventoux.c | 14 ++ board/teejet/mt_ventoux/mt_ventoux.h |4 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/board/teejet/mt_ventoux/mt_ventoux.c

[U-Boot] [PATCH v3 9/9] OMAP3: mt_ventoux: added video support

2012-08-29 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de --- board/teejet/mt_ventoux/mt_ventoux.c | 83 ++ board/teejet/mt_ventoux/mt_ventoux.h |2 +- include/configs/mt_ventoux.h | 16 +++ 3 files changed, 100 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v3 8/9] OMAP3: video: add macros to set display parameters

2012-08-29 Thread Stefano Babic
Add a common macros to set the registers for horizontal and vertical timing. Signed-off-by: Stefano Babic sba...@denx.de --- Changes in v2: - Use a common macro to set up the horizontal and vertical timing (Heiko Schocker) Changes in v3: - Add further macros to define the single fields (Jeroen

Re: [U-Boot] [PATCH 5/7] dm: gpio: Add draft GPIO core and convert sandbox to use it

2012-08-29 Thread Pavel Herrmann
Hi On Tuesday 21 August 2012 18:00:51 Marek Vasut wrote: ...snip... +/** + * gpio_request() - [COMPAT] Request GPIO + * gpio: GPIO number + * label:Name for the requested GPIO + * + * This function implements the API that's compatible with current + * GPIO API used in U-Boot. The

Re: [U-Boot] [PATCHv1] ARM: Add Altera SOCFPGA Cyclone5

2012-08-29 Thread Pavel Machek
Hi! Some observations: Not sure what to do with CONFIG_SPL_STACK: altera was just using symbol from linker script. Is there way to keep it like that? I'd hate to invent magic constant. Well, lets think about this. Previously, everyone has been saying use this spot in SRAM or use

Re: [U-Boot] [PATCHv1] ARM: Add Altera SOCFPGA Cyclone5

2012-08-29 Thread Pavel Machek
Hi! Ok, this is promissed patch for comments. socfpga spl.c now got reasonably smaller. It is on top of Looks good overall. I don't see asm/arch/spl.h but that's where you could put the extern for __stack_start and then define CONFIG_SPL_STACK to __stack_start. Yep, that works,

Re: [U-Boot] [PATCHv1] ARM: Add Altera SOCFPGA Cyclone5

2012-08-29 Thread Pavel Machek
Hi! I'll take a look. OTOH, ammount of code duplication here is quite low, and redoing it on top of SPL series will mean delaying merge, right? Yes, that might happen. But we learned in the past that if we don't try to do such code consolidations right from the beginning, it won't happen

Re: [U-Boot] [PATCHv1] ARM: Add Altera SOCFPGA Cyclone5

2012-08-29 Thread Stefan Roese
Hi Pavel, On 08/29/2012 02:30 PM, Pavel Machek wrote: Hi! I'll take a look. OTOH, ammount of code duplication here is quite low, and redoing it on top of SPL series will mean delaying merge, right? Yes, that might happen. But we learned in the past that if we don't try to do such code

Re: [U-Boot] [PATCHv1] ARM: Add Altera SOCFPGA Cyclone5

2012-08-29 Thread Pavel Machek
Hi! diff --git a/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds b/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds You should setup MEMORY declarations like the other u-boot-spl linker scripts do so we get build-time confirmation that we haven't exceeded our size limitations. Hmm, I tried, but I

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

2012-08-29 Thread Marek Vasut
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 buffer descriptor on each test for the E-bit being cleared. Apparently, there is

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

2012-08-29 Thread Marek Vasut
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 Cc: Joe Hershberger joe.hershber...@ni.com Cc: Fabio Estevam feste...@gmail.com Cc:

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

2012-08-29 Thread Marek Vasut
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 ota...@ossystems.com.br Cc: Stefano Babic sba...@denx.de --- drivers/net/fec_mxc.c |6

[U-Boot] [PATCH] ARM926: Add mb to the cache invalidate/flush

2012-08-29 Thread Marek Vasut
Add memory barrier to cache invalidate and flush calls. This prevents compiler from reordering the code around these, possibly generating invalid results. Signed-off-by: Marek Vasut ma...@denx.de CC: Albert Aribaud albert.u.b...@aribaud.net Cc: Fabio Estevam feste...@gmail.com Cc: Otavio Salvador

[U-Boot] [BUG] disk drivers do not free private memory

2012-08-29 Thread Pavel Herrmann
Hi, While implementing a loopback block device for the sandbox board, i have found an issue in block drivers. From what i can tell, none of the drivers ever free() their private data (that is sata_dev_desc[]-priv), some of them (dwc_ahsata, fsl_sata) do not even check if they are already

[U-Boot] Changes for u-boot-ti/master

2012-08-29 Thread Tom Rini
Hey all, If you have changes for u-boot-ti/master, please post them ASAP. The merge window formally closed on August 18th. I intend to only take bug fixes (rather than minor improvements) starting September 1. I will continue to review larger changes and start committing to u-boot-ti/next at

[U-Boot] [PATCH] Loop block device for sandbox

2012-08-29 Thread Pavel Herrmann
This driver uses files as block devices, can be used for testing disk operations on sandbox. Port count and filenames are set in board config. Signed-off-by: Pavel Herrmann morpheus.i...@gmail.com CC: Marek Vasut ma...@denx.de --- drivers/block/Makefile| 1 + drivers/block/loop.c |

Re: [U-Boot] [PATCH] Loop block device for sandbox

2012-08-29 Thread Pavel Herrmann
More CC On Wednesday 29 August 2012 17:46:43 Pavel Herrmann wrote: This driver uses files as block devices, can be used for testing disk operations on sandbox. Port count and filenames are set in board config. Signed-off-by: Pavel Herrmann morpheus.i...@gmail.com CC: Marek Vasut

[U-Boot] [PATCH] mx28evk: Add USB Ethernet support

2012-08-29 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Add USB Ethernet support. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- include/configs/mx28evk.h |3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h index 8d83495..edf873e

Re: [U-Boot] [PATCH v3 0/9] This patchset updates boards based on the TAM3517 SOM.

2012-08-29 Thread Tom Rini
On Wed, Aug 29, 2012 at 01:21:58PM +0200, Stefano Babic wrote: The MAC address provided by the manufacturer can be read from the EEPROM. Add also Video support to the mt_ventoux (TAM3517) board. Changes in v2: - Set dispc_config before checking for framebuffer - Use a common macro to set

Re: [U-Boot] [PATCH v10 00/16] split tegra20 arm7 code into separate SPL

2012-08-29 Thread Tom Warren
Allen/Albert, -Original Message- From: Allen Martin [mailto:amar...@nvidia.com] Sent: Tuesday, August 28, 2012 5:08 PM To: Tom Warren; swar...@wwwdotorg.org; s...@chromium.org; thierry.red...@avionic-design.de; d...@lynxeye.de Cc: u-boot@lists.denx.de; Allen Martin Subject: [PATCH

Re: [U-Boot] [PATCH v3 0/9] This patchset updates boards based on the TAM3517 SOM.

2012-08-29 Thread Tom Rini
On 08/29/2012 04:21 AM, Stefano Babic wrote: The MAC address provided by the manufacturer can be read from the EEPROM. Add also Video support to the mt_ventoux (TAM3517) board. Changes in v2: - Set dispc_config before checking for framebuffer - Use a common macro to set up the horizontal

Re: [U-Boot] [PATCH] SPL: Enable use of custom defined U-Boot entry point

2012-08-29 Thread Tom Rini
On Tue, Aug 28, 2012 at 10:50:59AM +0200, Stefan Roese wrote: By setting CONFIG_SYS_UBOOT_START boards can now use a different entry point for their U-Boot image. So the U-Boot entry point is not fixed to CONFIG_SYS_TEXT_BASE any more. Signed-off-by: Stefan Roese s...@denx.de Picked up for

Re: [U-Boot] [PATCHv1] ARM: Add Altera SOCFPGA Cyclone5

2012-08-29 Thread Tom Rini
On Wed, Aug 29, 2012 at 03:41:54PM +0200, Pavel Machek wrote: Hi! diff --git a/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds b/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds You should setup MEMORY declarations like the other u-boot-spl linker scripts do so we get build-time confirmation

[U-Boot] ./MAKEALL arm is buggy

2012-08-29 Thread Allen Martin
On Wed, Aug 29, 2012 at 09:55:17AM -0700, Tom Warren wrote: Allen/Albert, -Original Message- From: Allen Martin [mailto:amar...@nvidia.com] Sent: Tuesday, August 28, 2012 5:08 PM To: Tom Warren; swar...@wwwdotorg.org; s...@chromium.org; thierry.red...@avionic-design.de;

[U-Boot] [PATCH] MAKEALL: fix ARM board lists

2012-08-29 Thread Allen Martin
The LIST_arm rule included the Atmel boards twice (by virtue of including both LIST_at91 and LIST_ARM9) and was missing all the arm720t, arm946es, and arm1176 boards. Change this list to use boards_by_arch() which is less error prone. After this change ./MAKEALL arm and ./MAKEALL -a arm build

Re: [U-Boot] [PATCH] MAKEALL: fix ARM board lists

2012-08-29 Thread Tom Rini
On 08/29/2012 12:13 PM, Allen Martin wrote: The LIST_arm rule included the Atmel boards twice (by virtue of including both LIST_at91 and LIST_ARM9) and was missing all the arm720t, arm946es, and arm1176 boards. Change this list to use boards_by_arch() which is less error prone. After this

Re: [U-Boot] [PATCH] MAKEALL: fix ARM board lists

2012-08-29 Thread Allen Martin
On Wed, Aug 29, 2012 at 01:03:40PM -0700, Tom Rini wrote: On 08/29/2012 12:13 PM, Allen Martin wrote: The LIST_arm rule included the Atmel boards twice (by virtue of including both LIST_at91 and LIST_ARM9) and was missing all the arm720t, arm946es, and arm1176 boards. Change this list to

Re: [U-Boot] [PATCH] mx28evk: Add USB Ethernet support

2012-08-29 Thread Marek Vasut
Dear Fabio Estevam, From: Fabio Estevam fabio.este...@freescale.com Add USB Ethernet support. Reviewed-by: Marek Vasut ma...@denx.de Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- include/configs/mx28evk.h |3 +++ 1 file changed, 3 insertions(+) diff --git

[U-Boot] [PATCH] MX28: SPI: Fix CTRL0 not being written at end of DMA transfer

2012-08-29 Thread Marek Vasut
The final DMA descriptor doesn't properly write CTRL0 register during the DMA transfer. Properly write CTRL0 to make sure the transmission is complete. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam feste...@gmail.com Cc: Otavio Salvador ota...@ossystems.com.br Cc: Stefano Babic

Re: [U-Boot] [PATCH 6/6] powerpc/mpc8xxx: fix core id for multicore booting

2012-08-29 Thread Tabi Timur-B04825
On Fri, Aug 17, 2012 at 1:20 PM, York Sun york...@freescale.com wrote: + * 8-19 CHIP_ID,2’b00 - SoC 1 + * all others - reserved + * 20-24 CLUSTER_ID 5’b0 - CCM 1 + * all others - reserved + * 25-26 CORE_CLUSTER_ID 2’b00 - cluster 1 + *

Re: [U-Boot] [PATCH v10 00/16] split tegra20 arm7 code into separate SPL

2012-08-29 Thread Lucas Stach
Hello Tom, Am Mittwoch, den 29.08.2012, 09:55 -0700 schrieb Tom Warren: Allen/Albert, -Original Message- From: Allen Martin [mailto:amar...@nvidia.com] Sent: Tuesday, August 28, 2012 5:08 PM To: Tom Warren; swar...@wwwdotorg.org; s...@chromium.org;

Re: [U-Boot] [PATCH] MAKEALL: fix ARM board lists

2012-08-29 Thread Allen Martin
On Wed, Aug 29, 2012 at 01:13:39PM -0700, Allen Martin wrote: On Wed, Aug 29, 2012 at 01:03:40PM -0700, Tom Rini wrote: On 08/29/2012 12:13 PM, Allen Martin wrote: The LIST_arm rule included the Atmel boards twice (by virtue of including both LIST_at91 and LIST_ARM9) and was missing all

Re: [U-Boot] [PATCH v4 1/5] net/bootp: add VCI support for BOOTP also

2012-08-29 Thread Joe Hershberger
Hi Ilya, On Sun, Aug 5, 2012 at 4:21 PM, Ilya Yanok ilya.ya...@cogentembedded.com wrote: Vendor Class Identifier option is common to BOOTP and DHCP and can be useful without PXE. So send VCI in both BOOTP and DHCP requests if CONFIG_BOOTP_VCI_STRING is defined. Signed-off-by: Ilya Yanok

[U-Boot] [PATCH v2] MAKEALL: fix per arch board lists

2012-08-29 Thread Allen Martin
The LIST_arm rule included the Atmel boards twice (by virtue of including both LIST_at91 and LIST_ARM9) and was missing all the arm720t, arm946es, and arm1176 boards. Change this list to use boards_by_arch() which is less error prone. After this change ./MAKEALL arm and ./MAKEALL -a arm build

Re: [U-Boot] [PATCH v5 4/5] OMAP: networking support for SPL

2012-08-29 Thread Joe Hershberger
Hi Ilya, On Tue, Aug 7, 2012 at 3:07 AM, Ilya Yanok ilya.ya...@cogentembedded.com wrote: This patch adds support for networking in SPL. Some devices are capable of loading SPL via network so it makes sense to load the main U-Boot binary via network too. This patch tries to use existing

Re: [U-Boot] [PATCH] Loop block device for sandbox

2012-08-29 Thread Marek Vasut
Dear Pavel Herrmann, This driver uses files as block devices, can be used for testing disk operations on sandbox. Port count and filenames are set in board config. Signed-off-by: Pavel Herrmann morpheus.i...@gmail.com CC: Marek Vasut ma...@denx.de --- drivers/block/Makefile| 1 +

Re: [U-Boot] [PATCH v5 4/5] OMAP: networking support for SPL

2012-08-29 Thread Tom Rini
On 08/29/2012 02:25 PM, Joe Hershberger wrote: [snip] #include common.h +#ifdef CONFIG_SPL_BUILD +/* SPL needs only BOOTP + TFTP so undefine other stuff to save space */ +#undef CONFIG_CMD_DHCP +#undef CONFIG_CMD_CDP +#undef CONFIG_CMD_DNS +#undef CONFIG_CMD_LINK_LOCAL +#undef

Re: [U-Boot] [PATCHv1] ARM: Add Altera SOCFPGA Cyclone5

2012-08-29 Thread Pavel Machek
Hi! diff --git a/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds b/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds You should setup MEMORY declarations like the other u-boot-spl linker scripts do so we get build-time confirmation that we haven't exceeded our size limitations. Hmm,

Re: [U-Boot] [PATCHv1] ARM: Add Altera SOCFPGA Cyclone5

2012-08-29 Thread Pavel Machek
On Wed 2012-08-29 11:26:45, Tom Rini wrote: On Wed, Aug 29, 2012 at 03:41:54PM +0200, Pavel Machek wrote: Hi! diff --git a/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds b/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds You should setup MEMORY declarations like the other u-boot-spl

Re: [U-Boot] [PATCHv1] ARM: Add Altera SOCFPGA Cyclone5

2012-08-29 Thread Marek Vasut
Dear Pavel Machek, Minor ramblings below :) On Wed 2012-08-29 11:26:45, Tom Rini wrote: On Wed, Aug 29, 2012 at 03:41:54PM +0200, Pavel Machek wrote: Hi! diff --git a/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds b/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds You should

Re: [U-Boot] [PATCHv1] ARM: Add Altera SOCFPGA Cyclone5

2012-08-29 Thread Tom Rini
On 08/29/2012 04:21 PM, Pavel Machek wrote: Hi! diff --git a/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds b/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds You should setup MEMORY declarations like the other u-boot-spl linker scripts do so we get build-time confirmation that we haven't exceeded

Re: [U-Boot] [PATCHv1] ARM: Add Altera SOCFPGA Cyclone5

2012-08-29 Thread Tom Rini
On 08/29/2012 04:34 PM, Pavel Machek wrote: On Wed 2012-08-29 11:26:45, Tom Rini wrote: On Wed, Aug 29, 2012 at 03:41:54PM +0200, Pavel Machek wrote: Hi! diff --git a/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds b/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds You should setup MEMORY declarations

[U-Boot] [PATCH v2 0/5] pci: light update work on common pci code

2012-08-29 Thread Andrew Sharp
[PATCH 1/5] pci: fix errant data types and corresponding access functions [PATCH 2/5] [cosmetic] pci: clean up some whitespace and formatting [PATCH 3/5] pci: minor cleanup of CONFIG_PCI_PNP usage [PATCH 4/5] pci: update pci_ids.h with a few new entries [PATCH 5/5] pci: add CONFIG_PCI_ENUM_ONLY

[U-Boot] [PATCH v2 1/5] pci: fix errant data types and corresponding access functions

2012-08-29 Thread Andrew Sharp
In a couple of places, unsigned int and pci_config_*_dword were being used when u16 and _word should be used. Unsigned int was also being used in a couple of places that should be pci_addr_t. Signed-off-by: Andrew Sharp andywy...@gmail.com --- drivers/pci/pci.c |7 ---

[U-Boot] [PATCH v2 3/5] pci: minor cleanup of CONFIG_PCI_PNP usage

2012-08-29 Thread Andrew Sharp
Refactor the common PCI code just a tiny bit surrounding the PCI_PNP (pciauto) stuff. Makes the code a tiny bit easier to read, and also makes it more obvious that almost no platform needs to setup or use the pci_config_table stuff. Signed-off-by: Andrew Sharp andywy...@gmail.com ---

[U-Boot] [PATCH v2 4/5] pci: update pci_ids.h with a few new entries

2012-08-29 Thread Andrew Sharp
Add some recent entries to pci_ids.h for Intel and AMD/ATI devices that are somewhat relevant to u-boot. Signed-off-by: Andrew Sharp andywy...@gmail.com --- include/pci_ids.h | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/include/pci_ids.h

[U-Boot] [PATCH v2 2/5] [cosmetic] pci: clean up some whitespace and formatting

2012-08-29 Thread Andrew Sharp
I tried to clean up the white space and formatting offenses and inconsistencies in the generic PCI code that obviously has been around for some time. Emphasis on large increases in readability and maintainability and consistency. I omitted the platform/processor specific files in the drivers/pci

[U-Boot] [PATCH v2 5/5] pci: add CONFIG_PCI_ENUM_ONLY for platforms that don't need PCI setup done

2012-08-29 Thread Andrew Sharp
Introduce CONFIG_PCI_ENUM_ONLY variable for platforms that just want a quick enumberation of the PCI devices, but don't need any setup work done. This is very beneficial on platforms that have u-boot loaded by another boot loader which does a more sophisticated job of setup of PCI devices than

Re: [U-Boot] patman doesn't send patches

2012-08-29 Thread Ilya Yanok
Hi Stefan, Stefan Roese sr at denx.de writes: Or does patman not even try to send, once checkpatch warning/errors are detected? That's it. Normally you don't want to send patches that are not chackpatch-clean. If you are sure that problems are irrelevant use -i switch to ignore them.

Re: [U-Boot] [PATCH 2/2 V3] SMDK5250: Config: Enable MAX77686 pmic chip

2012-08-29 Thread Minkyu Kang
On 24 August 2012 19:39, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch enables MAX77686 pmic chip for SMDK5250. Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in V3: - Rebased on latest u-boot-samsung tree board/samsung/smdk5250/smdk5250.c |4