Re: [U-Boot] [PATCH 03/71] serial: Properly spell out the structure member names of serial_driver

2012-09-18 Thread Michal Simek
On 09/17/2012 01:20 AM, Marek Vasut wrote: Properly spell out the whole structure member names when an initialized varible is instantiated from the struct serial_driver. In case the structure definition for struct serial_driver undergoes reordering, there will be no impact on variables defined

Re: [U-Boot] [PATCH 13/71] serial: microblaze: Move serial registration from serial_initialize()

2012-09-18 Thread Michal Simek
On 09/17/2012 01:20 AM, Marek Vasut wrote: Move the registration of xuartlite_serialN_device ports from default serial_initialize() into driver specific function called from serial_initialize(). This slims down the serial_initialize() call to a bare tracker of all possible serial port

Re: [U-Boot] [PATCH] Exynos5250: Enable PXE Support

2012-09-18 Thread Chander Kashyap
ping On 5 September 2012 16:08, Chander Kashyap chander.kash...@linaro.org wrote: Add PXE support for the Exynos5250. Signed-off-by: Chander Kashyap chander.kash...@linaro.org --- include/configs/smdk5250.h |6 ++ 1 file changed, 6 insertions(+) diff --git

[U-Boot] [PATCHv4] [RFC] DM: early_malloc for DM added.

2012-09-18 Thread Tomas Hlavacek
early_malloc for DM with support for more heaps and lightweight first heap on stack. Adaptation layer for seamless calling of early_malloc or dlmalloc from DM based on init stage added (dmmalloc() and related functions). Signed-off-by: Tomas Hlavacek tmshl...@gmail.com ---

[U-Boot] USB ehci driver query

2012-09-18 Thread Puneet Sharma
Hello, I am new to u-boot code. I am reading the usb host controller code for root hub configuration. I have some queries regarding some code. If anyone has got understanding about it pls explain it to me. In usb.c the core calls the usb controller driver (ehci-hcd.c) by issuing command

Re: [U-Boot] [PATCH V2 2/2] i.MX6: mx6qsabrelite: Add splash screen support

2012-09-18 Thread Stefano Babic
On 18/09/2012 01:14, Eric Nelson wrote: Hi Eric, Adds support for the Hannstar 1024 x 768 LVDS panel (Freescale part number MCIMX-LVDS1) to SABRE-Lite board. This commit is a rebase Fabio Estevan's patch from 5/31 to u-boot-video/master: http://patchwork.ozlabs.org/patch/162206/

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

2012-09-18 Thread Dirk Behme
On 17.09.2012 18:34, Fabio Estevam wrote: lowlevel_init.S is not used on mx6, Yes, but ... We use lowlevel_init.S on a not yet public custom board to do some early, custom specific initialization. So I would vote to keep this. But most probably non-mainline code isn't a reason to keep

[U-Boot] USB ehci driver query

2012-09-18 Thread Puneet Sharma
Hello, I am new to u-boot code. I am reading the usb host controller code for root hub configuration. I have some queries regarding some code. If anyone has got understanding about it pls explain it to me. In usb.c the core calls the usb controller driver (ehci-hcd.c) by issuing command

Re: [U-Boot] [PATCH v2 13/13] mxc nand: Add support for i.MX5

2012-09-18 Thread Benoît Thébaudeau
Hi Scott, On Tuesday, September 18, 2012 3:01:58 AM, Scott Wood wrote: On Tue, Aug 21, 2012 at 11:04:14PM +0200, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Scott Wood scottw...@freescale.com Cc: Stefano Babic sba...@denx.de --- Changes

[U-Boot] [PATCH v7 3/4] OMAP: networking support for SPL

2012-09-18 Thread Ilya Yanok
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 network code as much as possible. Unfortunately, it depends on environment which in turn depends on

Re: [U-Boot] [PATCH v6 3/4] OMAP: networking support for SPL

2012-09-18 Thread Ilya Yanok
Hi Tom, On Tue, Sep 18, 2012 at 4:17 AM, Tom Rini tr...@ti.com wrote: Please add a GPLv2+ header to the file, thanks. Done. diff --git a/lib/vsprintf.c b/lib/vsprintf.c index e38a4b7..6bb819c 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c @@ -784,7 +784,7 @@ void panic(const char

Re: [U-Boot] [PATCHv4] [RFC] DM: early_malloc for DM added.

2012-09-18 Thread Marek Vasut
Dear Tomas Hlavacek, early_malloc for DM with support for more heaps and lightweight first heap on stack. Adaptation layer for seamless calling of early_malloc or dlmalloc from DM based on init stage added (dmmalloc() and related functions). Signed-off-by: Tomas Hlavacek

Re: [U-Boot] [PATCH v2 11/11] S3C24XX: Add support to MINI2416 board

2012-09-18 Thread José Miguel Gonçalves
Hi Tom, On 17-09-2012 16:11, Tom Rini wrote: On Mon, Sep 17, 2012 at 03:47:46PM +0100, Jos? Miguel Gon?alves wrote: On 17-09-2012 15:39, Tom Rini wrote: On Sun, Sep 16, 2012 at 10:11:07AM +0100, Jos? Miguel Gon?alves wrote: On 09/14/2012 07:58 PM, Tom Rini wrote: On Fri, Sep 14, 2012 at

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

2012-09-18 Thread Fabio Estevam
Hi Dirk, On Tue, Sep 18, 2012 at 5:02 AM, Dirk Behme dirk.be...@de.bosch.com wrote: On 17.09.2012 18:34, Fabio Estevam wrote: lowlevel_init.S is not used on mx6, Yes, but ... We use lowlevel_init.S on a not yet public custom board to do some early, custom specific initialization. So I

Re: [U-Boot] using initrd with U-boot on the imx28evk

2012-09-18 Thread Bill
Thanks to both of you for following up. Over the weekend, I switched to using the initramfs within the kernel configuration (in the Freescale kernel) and set the source directory to my rootfs that will be the ramdrive and it worked great! So I'll stick with this scenario. It's nice too in

Re: [U-Boot] [PATCH V2 2/2] i.MX6: mx6qsabrelite: Add splash screen support

2012-09-18 Thread Eric Nelson
Thanks for the review, Stefano. On 09/18/2012 12:47 AM, Stefano Babic wrote: On 18/09/2012 01:14, Eric Nelson wrote: Hi Eric, Adds support for the Hannstar 1024 x 768 LVDS panel (Freescale part number MCIMX-LVDS1) to SABRE-Lite board. This commit is a rebase Fabio Estevan's patch from 5/31

Re: [U-Boot] [PATCH] mx51evk: Add CONFIG_REVISION_TAG

2012-09-18 Thread Fabio Estevam
Hi Greg, On Tue, Sep 18, 2012 at 10:00 AM, Greg Topmiller greg.topmil...@jdsu.com wrote: Fabio/Benoit, I tried the get_board_rev alone and it worked on my mx51evk. In the FSL u-boot version I am using the set_board_rev is: static inline void set_board_rev(int rev) { system_rev |=

Re: [U-Boot] [PATCH] mx51evk: Add CONFIG_REVISION_TAG

2012-09-18 Thread Benoît Thébaudeau
Hi Greg, Fabio, On Tuesday, September 18, 2012 3:00:58 PM, Greg Topmiller wrote: Fabio/Benoit, I tried the get_board_rev alone and it worked on my mx51evk. In the FSL u-boot version I am using the set_board_rev is: static inline void set_board_rev(int rev) { system_rev |= (rev

Re: [U-Boot] using initrd with U-boot on the imx28evk

2012-09-18 Thread Marek Vasut
Dear Bill, Thanks to both of you for following up. Over the weekend, I switched to using the initramfs within the kernel configuration (in the Freescale kernel) and set the source directory to my rootfs that will be the ramdrive and it worked great! So I'll stick with this scenario. It's

Re: [U-Boot] [PATCH] mx51evk: Add CONFIG_REVISION_TAG

2012-09-18 Thread Fabio Estevam
On Tue, Sep 18, 2012 at 10:41 AM, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: It looks like there is confusion between the 3stack and Babbage boards here: Fabio, the code you refer to in FSL U-Boot comes from the Babbage board, while AFAIK, the mx51evk mainline U-Boot board

Re: [U-Boot] [PATCH] mx51evk: Add CONFIG_REVISION_TAG

2012-09-18 Thread Benoît Thébaudeau
On Tuesday, September 18, 2012 3:38:02 PM, Fabio Estevam wrote: On Tue, Sep 18, 2012 at 10:41 AM, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: It looks like there is confusion between the 3stack and Babbage boards here: Fabio, the code you refer to in FSL U-Boot comes from the

Re: [U-Boot] [PATCH V2 2/2] i.MX6: mx6qsabrelite: Add splash screen support

2012-09-18 Thread Stefano Babic
On 18/09/2012 15:28, Eric Nelson wrote: Do you have a reference to the patch so I can follow precedent? See http://patchwork.ozlabs.org/patch/177403/ Check changes in .h. Best regards, Stefano Babic -- = DENX Software

Re: [U-Boot] [PATCH] mx51evk: Add CONFIG_REVISION_TAG

2012-09-18 Thread Fabio Estevam
Hi Benoît, On Tue, Sep 18, 2012 at 10:54 AM, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: Now, I'm totally confused. FSL's website shows a board that really looks like a 3-stack board for its i.MX51 EVK:

Re: [U-Boot] [PATCH V2 2/2] i.MX6: mx6qsabrelite: Add splash screen support

2012-09-18 Thread Eric Nelson
On 09/17/2012 04:43 PM, Fabio Estevam wrote: Hi Eric, On Mon, Sep 17, 2012 at 8:14 PM, Eric Nelson eric.nel...@boundarydevices.com wrote: Adds support for the Hannstar 1024 x 768 LVDS panel (Freescale part number MCIMX-LVDS1) to SABRE-Lite board. This commit is a rebase Fabio Estevan's patch

Re: [U-Boot] [PATCH] mx51evk: Add CONFIG_REVISION_TAG

2012-09-18 Thread Fabio Estevam
On Tue, Sep 18, 2012 at 11:02 AM, Fabio Estevam feste...@gmail.com wrote: But back to the original patch: all you need to do is to pass set_board_rev(BOARD_REV2), so that the kernel can correctly identify the board revision correctly. To make it clearer: get_board_rev should return 0x51100 ,

Re: [U-Boot] using initrd with U-boot on the imx28evk

2012-09-18 Thread Bill
Good idea. Best, Bill On 9/18/2012 8:36 AM, Marek Vasut wrote: Dear Bill, Thanks to both of you for following up. Over the weekend, I switched to using the initramfs within the kernel configuration (in the Freescale kernel) and set the source directory to my rootfs that will be the

Re: [U-Boot] [PATCH] mx51evk: Add CONFIG_REVISION_TAG

2012-09-18 Thread Fabio Estevam
On Tue, Sep 18, 2012 at 11:16 AM, Greg Topmiller greg.topmil...@jdsu.com wrote: So how about something like this in the board specific code? u32 get_board_rev(void) { u32 myrev = get_cpu_rev(); myrev |= 0x100; /* BOARD_REV_2 */ return myrev; } Looks good, Greg. Regards,

Re: [U-Boot] [PATCH] mx51evk: Add CONFIG_REVISION_TAG

2012-09-18 Thread Stefano Babic
On 18/09/2012 15:41, Benoît Thébaudeau wrote: Hi Greg, Fabio, On Tuesday, September 18, 2012 3:00:58 PM, Greg Topmiller wrote: Fabio/Benoit, I tried the get_board_rev alone and it worked on my mx51evk. In the FSL u-boot version I am using the set_board_rev is: static inline void

Re: [U-Boot] [PATCH] mx51evk: Add CONFIG_REVISION_TAG

2012-09-18 Thread Stefano Babic
On 18/09/2012 16:02, Fabio Estevam wrote: So, do you mean that mainline U-Boot board naming is broken for mx51evk? No, the name in U-boot mainline is fine and it matches the name in the website. Right. I dislike if the name is different as the official name. As we can see, this generates

Re: [U-Boot] [PATCH V2 2/2] i.MX6: mx6qsabrelite: Add splash screen support

2012-09-18 Thread Stefano Babic
On 18/09/2012 16:02, Eric Nelson wrote: Hi Fabio and Stefano, While trying to understand this, I wonder whether the use of overwrite_console() addresses Wolfgang's original concern. I think the suggestion was to set the preboot variable to change things: Wolfgang's first concern was

[U-Boot] [PATCH v2] mx51evk: Add CONFIG_REVISION_TAG

2012-09-18 Thread Benoît Thébaudeau
FSL 2.6.35 kernel assumes that the bootloader passes the CONFIG_REVISION_TAG information. If this data is not present, the kernel misconfigures the TZIC, which results in the timer interrupt handler never being called, so the kernel deadlocks while calibrating its delay. Suggested-by: Greg

Re: [U-Boot] Please pull u-boot-mmc.git

2012-09-18 Thread Tom Rini
On Thu, Sep 06, 2012 at 03:37:22PM -0500, Andy Fleming wrote: Merge branch 'master' of git://git.denx.de/u-boot-avr32 (2012-09-04 09:17:27 +0200) are available in the git repository at: git://www.denx.de/git/u-boot-mmc.git master for you to fetch changes up to

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

2012-09-18 Thread Tom Rini
On Mon, Sep 10, 2012 at 11:41:49AM +0200, Stefan Roese wrote: The following changes since commit a6f0c4faa4c65a7b7048b12c9d180d7e1aad1721: Merge branch 'master' of git://git.denx.de/u-boot-avr32 (2012-09-04 09:17:27 +0200) are available in the git repository at:

Re: [U-Boot] Pull request - microblaze

2012-09-18 Thread Tom Rini
On Wed, Sep 12, 2012 at 12:13:17PM +0200, Michal Simek wrote: Dear Wolfgang, please pull the following changes to your tree. Thanks, Michal The following changes since commit a6f0c4faa4c65a7b7048b12c9d180d7e1aad1721: Wolfgang Denk (1): Merge branch 'master' of

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

2012-09-18 Thread Tom Rini
On Thu, Sep 13, 2012 at 01:38:33PM +0200, Andreas Bie??mann wrote: Dear Tom Rini, these two patches should go into this release. The 'Fix strict-aliasing' is a very old patch which was a long time untested. The new board was posted way before merge window close but required a patch that came

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

2012-09-18 Thread Tom Rini
On Fri, Sep 14, 2012 at 04:04:36AM +0200, Daniel Schwierzeck wrote: Hi Tom, this one is without qemu_mips64 support and without any warnings. The following changes since commit e66443fdb5355e68cfdbbdd37248c4b7eb4968f5: Makefile: fix HAVE_VENDOR_COMMON_LIB (2012-08-17 18:07:12 +0200)

Re: [U-Boot] Pull request: u-boot-fdt

2012-09-18 Thread Tom Rini
On Sat, Sep 15, 2012 at 09:54:14AM -0400, Jerry Van Baren wrote: Dear Tom, Please pull u-boot-fdt. This contains the FDT null address bug fix from Marek. Thanks, gvb P.S. Tom - Resent because I sent to the list from the wrong email account. The following changes since commit

Re: [U-Boot] [i2c] Pull request

2012-09-18 Thread Tom Rini
On Mon, Sep 17, 2012 at 12:03:44PM +0200, Heiko Schocher wrote: Hello Tom, The following changes since commit a6f0c4faa4c65a7b7048b12c9d180d7e1aad1721: Merge branch 'master' of git://git.denx.de/u-boot-avr32 (2012-09-04 09:17:27 +0200) are available in the git repository at:

Re: [U-Boot] Cache alignment warnings on Tegra (ARM)

2012-09-18 Thread Thierry Reding
On Mon, Sep 17, 2012 at 02:39:01PM -0700, Simon Glass wrote: Hi Thierry, On Sat, Sep 15, 2012 at 11:49 PM, Thierry Reding thierry.red...@avionic-design.de wrote: On Sat, Sep 15, 2012 at 07:45:30PM -0700, Simon Glass wrote: Hi, On Sat, Sep 15, 2012 at 1:41 PM, Thierry Reding

Re: [U-Boot] [GIT PULL] mpc83xx: mpc8308rdb enhancements

2012-09-18 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/17/12 20:09, Ira W. Snyder wrote: On Mon, Sep 17, 2012 at 06:18:12PM -0700, Tom Rini wrote: On Mon, Sep 17, 2012 at 06:36:56PM -0500, Kim Phillips wrote: Hi Tom, Ira improved mpc8308rdb h/w support by making it more comprehensive. Please

Re: [U-Boot] Weekly status

2012-09-18 Thread Tom Rini
On Mon, Sep 17, 2012 at 07:31:32AM -0700, Tom Rini wrote: Hey all, I had intended to send this last thing Friday but it slipped my mind. But with my intention to do -rc1 this Friday, this works too. That said... Here's where I'm at so far: - Locally, I believe I have all outstanding

Re: [U-Boot] [PATCH v2] mx51evk: Add CONFIG_REVISION_TAG

2012-09-18 Thread Fabio Estevam
On Tue, Sep 18, 2012 at 11:48 AM, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: FSL 2.6.35 kernel assumes that the bootloader passes the CONFIG_REVISION_TAG information. If this data is not present, the kernel misconfigures the TZIC, which results in the timer interrupt handler

Re: [U-Boot] [PATCH V2 2/2] i.MX6: mx6qsabrelite: Add splash screen support

2012-09-18 Thread Eric Nelson
Thanks Stefano, On 09/18/2012 07:42 AM, Stefano Babic wrote: On 18/09/2012 16:02, Eric Nelson wrote: Hi Fabio and Stefano, While trying to understand this, I wonder whether the use of overwrite_console() addresses Wolfgang's original concern. I think the suggestion was to set the preboot

Re: [U-Boot] [PATCH] mx51evk: Add CONFIG_REVISION_TAG

2012-09-18 Thread Benoît Thébaudeau
Fabio, On Tuesday, September 18, 2012 5:24:57 AM, Fabio Estevam wrote: Hi Benoît , On Mon, Sep 17, 2012 at 4:04 PM, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: +u32 get_board_rev(void) +{ + return get_cpu_rev(); +} Is this enough? Looking at FSL U-boot there

Re: [U-Boot] Pull request: nand flash

2012-09-18 Thread Tom Rini
On Mon, Sep 17, 2012 at 08:21:14PM -0500, Scott Wood wrote: The following changes since commit a6f0c4faa4c65a7b7048b12c9d180d7e1aad1721: Merge branch 'master' of git://git.denx.de/u-boot-avr32 (2012-09-04 09:17:27 +0200) are available in the git repository at:

Re: [U-Boot] [PATCH 00/71] serial: Massive rework of the serial subsystem

2012-09-18 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/17/12 16:12, Marek Vasut wrote: Dear Tom Rini, On Mon, Sep 17, 2012 at 01:20:25AM +0200, Marek Vasut wrote: This patchset is a STAGE 1 of preparation of the stdio and serial subsys for the driver model. [snip] 6) Remove unused code

Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Tom Rini
On Mon, Sep 17, 2012 at 01:21:27AM +0200, Marek Vasut wrote: Implement empty serial_* functions for SPL without serial support enabled. This is imperative to haave once serial multi is enabled unconditionally. Signed-off-by: Marek Vasut ma...@denx.de Cc: Marek Vasut marek.va...@gmail.com

[U-Boot] [RFC] mx6qsabresd: Add Ethernet support

2012-09-18 Thread Fabio Estevam
Add Ethernet support. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Hi, As far as I can see mx6qarm2 and mx6qsabresd has the same circuitry related to AR8031 Ethernet PHY. However, with this patch I still get 25MHz instead of 125MHz in the AR8031 CLKO pin and Ethernet is not

Re: [U-Boot] [PATCH 00/71] serial: Massive rework of the serial subsystem

2012-09-18 Thread Marek Vasut
Dear Tom Rini, [...] On the other hand, my stdio rework (step 2) managed to trim down the size a bit, so that might be small compensation. Can you give us a current example, both to help make sure everyone understands we won't have too big a growth overall and so that if you don't

Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Marek Vasut
Dear Tom Rini, On Mon, Sep 17, 2012 at 01:21:27AM +0200, Marek Vasut wrote: Implement empty serial_* functions for SPL without serial support enabled. This is imperative to haave once serial multi is enabled unconditionally. Signed-off-by: Marek Vasut ma...@denx.de Cc: Marek Vasut

Re: [U-Boot] using initrd with U-boot on the imx28evk

2012-09-18 Thread Wolfgang Denk
Dear Bill, In message 505875a7.3040...@techsi.com you wrote: Thanks to both of you for following up. Over the weekend, I switched to using the initramfs within the kernel configuration (in the Freescale kernel) and set the source directory to my rootfs that will be the ramdrive and it

Re: [U-Boot] [PATCH 08/71] serial: Implement serial_initfunc() macro

2012-09-18 Thread Tom Rini
On Mon, Sep 17, 2012 at 01:20:33AM +0200, Marek Vasut wrote: This macro simplifies declaration of weak aliases for per-driver functions, which register these drivers with the serial subsystem. The idea here is to push serial_register() calls from serial.c into the drivers. To avoid pile of

[U-Boot] [PATCH v3 01/11] Add configuration option to select printf() inclusion on SPL

2012-09-18 Thread José Miguel Gonçalves
The printf() implementation needs 4~5KB of storage space which may not be available when building an SPL for SoCs with scarce internal RAM (8KB or less). This patch adds a new option, CONFIG_SPL_PRINTF_SUPPORT, to deal with this. Signed-off-by: José Miguel Gonçalves jose.goncal...@inov.pt ---

[U-Boot] [PATCH v3 05/11] serial: Remove unnecessary delay in serial_s3c24x0

2012-09-18 Thread José Miguel Gonçalves
The loop used to make a delay after baudrate setting is not necessary. Moreover it is removed by the GCC optimizer (at least with GCC 4.6). Signed-off-by: José Miguel Gonçalves jose.goncal...@inov.pt --- Changes for v2: - New patch Changes for v3: - None ---

[U-Boot] [PATCH v3 07/11] rtc: Fix rtc_reset() on s3c24x0_rtc

2012-09-18 Thread José Miguel Gonçalves
rtc_reset() must set the RTC date to the UNIX Epoch. Signed-off-by: José Miguel Gonçalves jose.goncal...@inov.pt --- Changes for v2: - New patch Changes for v3: - None --- drivers/rtc/s3c24x0_rtc.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH v3 04/11] serial: Use a more precise baud rate generation for serial_s3c24x0

2012-09-18 Thread José Miguel Gonçalves
The values stored in the baud rate divisor register (UBRDIVn) and dividing slot register (UDIVSLOTn), are used to determine the serial baudrate. Previously only UBRDIVn was set. This patch initializes also UDIVSLOTn which allows to obtain a more precise baudrate. Signed-off-by: José Miguel

[U-Boot] [PATCH v3 00/11] S3C24XX: Add support to MINI2416 board

2012-09-18 Thread José Miguel Gonçalves
Support for the MINI2416 board based on a Samsung's S3C2416 SoC with 64MB DDR2 SDRAM, 256MB NAND Flash, a LAN9220 Ethernet Controller and a WM8731 Audio CODEC. Changes for v2: - Coding style cleanup - Removed new serial and rtc drivers - Use of in-tree serial and rtc drivers Changes for

[U-Boot] [PATCH v3 08/11] rtc: Don't allow setting unsuported years on s3c24x0_rtc

2012-09-18 Thread José Miguel Gonçalves
This RTC only supports a 100 years range so rtc_set() should not allow setting years bellow 1970 or above 2069. Signed-off-by: José Miguel Gonçalves jose.goncal...@inov.pt --- Changes for v2: - New patch Changes for v3: - None --- drivers/rtc/s3c24x0_rtc.c |5 + 1 file changed, 5

[U-Boot] [PATCH v3 06/11] rtc: Improve rtc_get() on s3c24x0_rtc

2012-09-18 Thread José Miguel Gonçalves
A better approach to avoid reading the RTC during updates, as sugested in the S3C2416 User's Manual. Signed-off-by: José Miguel Gonçalves jose.goncal...@inov.pt --- Changes for v2: - New patch Changes for v3: - Removed unneeded parenthesis --- drivers/rtc/s3c24x0_rtc.c | 10 --

[U-Boot] [PATCH v3 03/11] serial: Add support to 4 ports in serial_s3c24x0

2012-09-18 Thread José Miguel Gonçalves
S3C2416 and S3C2450 have 4 UARTs insted of 3 found on older chips. This patch adds support to the additional UART port and changes the mapping between CONFIG_SERIAL? and S3C24X0_UART? in order they have a direct correspondence. Signed-off-by: José Miguel Gonçalves jose.goncal...@inov.pt ---

[U-Boot] [PATCH v3 10/11] Add u-boot-pad.bin target to the Makefile

2012-09-18 Thread José Miguel Gonçalves
Samsung's S3C24XX SoCs need this in order to generate a binary image with a padded SPL concatenated with U-Boot. Signed-off-by: José Miguel Gonçalves jose.goncal...@inov.pt --- Changes for v2: - None Changes for v3: - Changed new binary target name from u-boot-ubl.bin to u-boot-pad.bin ---

[U-Boot] [PATCH v3 09/11] S3C24XX: Add NAND Flash driver

2012-09-18 Thread José Miguel Gonçalves
NAND Flash driver with HW ECC for the S3C24XX SoCs. Currently it only supports SLC NAND chips. Signed-off-by: José Miguel Gonçalves jose.goncal...@inov.pt --- Changes for v2: - Coding style cleanup - Use of clrsetbits_le32() - Use of register bit macros instead of magic numbers Changes

[U-Boot] [PATCH v3 11/11] S3C24XX: Add support to MINI2416 board

2012-09-18 Thread José Miguel Gonçalves
The MINI2416 board is based on a Samsung's S3C2416 SoC and has 64MB DDR2 SDRAM, 256MB NAND Flash, a LAN9220 Ethernet Controller and a WM8731 Audio CODEC. This U-Boot port was implemented and tested on a unit bought to Boardcon (http://www.armdesigner.com/) but there are some other chinese

Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Scott Wood
On 09/18/2012 12:13:57 PM, Marek Vasut wrote: Dear Tom Rini, On Mon, Sep 17, 2012 at 01:21:27AM +0200, Marek Vasut wrote: Implement empty serial_* functions for SPL without serial support enabled. This is imperative to haave once serial multi is enabled unconditionally.

Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/18/12 10:13, Marek Vasut wrote: Dear Tom Rini, On Mon, Sep 17, 2012 at 01:21:27AM +0200, Marek Vasut wrote: Implement empty serial_* functions for SPL without serial support enabled. This is imperative to haave once serial multi is

Re: [U-Boot] [PATCH 08/71] serial: Implement serial_initfunc() macro

2012-09-18 Thread Marek Vasut
Dear Tom Rini, On Mon, Sep 17, 2012 at 01:20:33AM +0200, Marek Vasut wrote: This macro simplifies declaration of weak aliases for per-driver functions, which register these drivers with the serial subsystem. The idea here is to push serial_register() calls from serial.c into the drivers.

Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Marek Vasut
Dear Tom Rini, On 09/18/12 10:13, Marek Vasut wrote: Dear Tom Rini, On Mon, Sep 17, 2012 at 01:21:27AM +0200, Marek Vasut wrote: Implement empty serial_* functions for SPL without serial support enabled. This is imperative to haave once serial multi is enabled unconditionally.

Re: [U-Boot] [PATCH v3 09/11] S3C24XX: Add NAND Flash driver

2012-09-18 Thread Scott Wood
On 09/18/2012 12:40:36 PM, José Miguel Gonçalves wrote: NAND Flash driver with HW ECC for the S3C24XX SoCs. Currently it only supports SLC NAND chips. Signed-off-by: José Miguel Gonçalves jose.goncal...@inov.pt --- Changes for v2: - Coding style cleanup - Use of clrsetbits_le32() - Use

Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Marek Vasut
Dear Scott Wood, On 09/18/2012 12:13:57 PM, Marek Vasut wrote: Dear Tom Rini, On Mon, Sep 17, 2012 at 01:21:27AM +0200, Marek Vasut wrote: Implement empty serial_* functions for SPL without serial support enabled. This is imperative to haave once serial multi is enabled

[U-Boot] [PATCH] ext4: cache-align buffers so the invalidation works

2012-09-18 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com DMA buffer cache invalidation requires that buffers have cache-aligned buffer locations and sizes. Use memalign() and ALLOC_CACHE_ALIGN_BUFFER() to ensure this. On Tegra at least, without this fix, the following fail commands fail in u-boot-master/ext4,

Re: [U-Boot] [PATCH] net: sh_eth: Add support R8A7740 of rmobile (arm core)

2012-09-18 Thread Joe Hershberger
Hi Nobuhiro Iwamatsu, On Mon, Sep 17, 2012 at 8:11 PM, Nobuhiro Iwamatsu iwama...@nigauri.org wrote: Hi, Joe. Could you pick this patch to your repository? This is in my backlog. Thanks, -Joe ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/18/12 11:01, Marek Vasut wrote: Dear Tom Rini, On 09/18/12 10:13, Marek Vasut wrote: Dear Tom Rini, On Mon, Sep 17, 2012 at 01:21:27AM +0200, Marek Vasut wrote: Implement empty serial_* functions for SPL without serial support

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

2012-09-18 Thread Benoît Thébaudeau
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 the embedded NAND Flash from an external storage device (USB stick, SD card, etc.). Hence, this patch makes it possible by adding a new FAT API to

Re: [U-Boot] [PATCH 1/2] patman: Use reverse order for changelog

2012-09-18 Thread Simon Glass
On Sat, Aug 18, 2012 at 10:46 AM, Otavio Salvador ota...@ossystems.com.br wrote: Specially when many revisions are need for a patchset, the most interesting information is about the last set of changes so we output the changelog in reverse order to easy identification of most recent change

Re: [U-Boot] [PATCH v2 13/13] mxc nand: Add support for i.MX5

2012-09-18 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/17/12 17:36, Scott Wood wrote: On Tue, Aug 21, 2012 at 11:04:14PM +0200, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Scott Wood scottw...@freescale.com Cc: Stefano Babic sba...@denx.de ---

Re: [U-Boot] [PATCH v3 09/11] S3C24XX: Add NAND Flash driver

2012-09-18 Thread José Miguel Gonçalves
On 18-09-2012 19:02, Scott Wood wrote: On 09/18/2012 12:40:36 PM, José Miguel Gonçalves wrote: NAND Flash driver with HW ECC for the S3C24XX SoCs. Currently it only supports SLC NAND chips. Signed-off-by: José Miguel Gonçalves jose.goncal...@inov.pt --- Changes for v2: - Coding style

Re: [U-Boot] Cache alignment warnings on Tegra (ARM)

2012-09-18 Thread Simon Glass
Hi Thierry, On Tue, Sep 18, 2012 at 7:54 AM, Thierry Reding thierry.red...@avionic-design.de wrote: On Mon, Sep 17, 2012 at 02:39:01PM -0700, Simon Glass wrote: Hi Thierry, On Sat, Sep 15, 2012 at 11:49 PM, Thierry Reding thierry.red...@avionic-design.de wrote: On Sat, Sep 15, 2012 at

Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Marek Vasut
Dear Tom Rini, On 09/18/12 11:01, Marek Vasut wrote: Dear Tom Rini, On 09/18/12 10:13, Marek Vasut wrote: Dear Tom Rini, On Mon, Sep 17, 2012 at 01:21:27AM +0200, Marek Vasut wrote: Implement empty serial_* functions for SPL without serial support enabled. This is imperative to

Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Scott Wood
On 09/18/2012 01:03:17 PM, Marek Vasut wrote: Dear Scott Wood, On 09/18/2012 12:13:57 PM, Marek Vasut wrote: Dear Tom Rini, On Mon, Sep 17, 2012 at 01:21:27AM +0200, Marek Vasut wrote: Implement empty serial_* functions for SPL without serial support enabled. This is imperative

Re: [U-Boot] [PATCH v3 09/11] S3C24XX: Add NAND Flash driver

2012-09-18 Thread Scott Wood
On 09/18/2012 01:22:58 PM, José Miguel Gonçalves wrote: On 18-09-2012 19:02, Scott Wood wrote: On 09/18/2012 12:40:36 PM, José Miguel Gonçalves wrote: +#define TACLS_VAL7/* CLE ALE duration setting (0~7) */ +#defineTWRPH0_VAL7/* TWRPH0 duration setting (0~7) */ +#define

Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/18/12 11:24, Marek Vasut wrote: Dear Tom Rini, On 09/18/12 11:01, Marek Vasut wrote: Dear Tom Rini, On 09/18/12 10:13, Marek Vasut wrote: Dear Tom Rini, On Mon, Sep 17, 2012 at 01:21:27AM +0200, Marek Vasut wrote: Implement empty

Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Marek Vasut
Dear Scott Wood, On 09/18/2012 01:03:17 PM, Marek Vasut wrote: Dear Scott Wood, On 09/18/2012 12:13:57 PM, Marek Vasut wrote: Dear Tom Rini, On Mon, Sep 17, 2012 at 01:21:27AM +0200, Marek Vasut wrote: Implement empty serial_* functions for SPL without serial

Re: [U-Boot] Cache alignment warnings on Tegra (ARM)

2012-09-18 Thread Marek Vasut
Dear Simon Glass, Hi Thierry, On Tue, Sep 18, 2012 at 7:54 AM, Thierry Reding thierry.red...@avionic-design.de wrote: On Mon, Sep 17, 2012 at 02:39:01PM -0700, Simon Glass wrote: Hi Thierry, On Sat, Sep 15, 2012 at 11:49 PM, Thierry Reding thierry.red...@avionic-design.de

Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/18/12 11:33, Marek Vasut wrote: Dear Scott Wood, [snip] I think I got some wires crossed and was thinking about printf/puts. We want those to be optimized away at compile time (not pointed to a stub at link time) on an SPL that has no output

Re: [U-Boot] [PATCH v3 09/11] S3C24XX: Add NAND Flash driver

2012-09-18 Thread José Miguel Gonçalves
On 18-09-2012 19:30, Scott Wood wrote: On 09/18/2012 01:22:58 PM, José Miguel Gonçalves wrote: On 18-09-2012 19:02, Scott Wood wrote: On 09/18/2012 12:40:36 PM, José Miguel Gonçalves wrote: +#define TACLS_VAL7/* CLE ALE duration setting (0~7) */ +#defineTWRPH0_VAL7/*

Re: [U-Boot] [PATCH 62/71] serial: spl: Implement empty functions for SPL

2012-09-18 Thread Marek Vasut
Dear Tom Rini, On 09/18/12 11:33, Marek Vasut wrote: Dear Scott Wood, [snip] I think I got some wires crossed and was thinking about printf/puts. We want those to be optimized away at compile time (not pointed to a stub at link time) on an SPL that has no output support, but once

Re: [U-Boot] Cache alignment warnings on Tegra (ARM)

2012-09-18 Thread Thierry Reding
On Tue, Sep 18, 2012 at 08:37:44PM +0200, Marek Vasut wrote: Dear Simon Glass, Hi Thierry, On Tue, Sep 18, 2012 at 7:54 AM, Thierry Reding thierry.red...@avionic-design.de wrote: On Mon, Sep 17, 2012 at 02:39:01PM -0700, Simon Glass wrote: Hi Thierry, On Sat, Sep 15,

Re: [U-Boot] [PATCH v2 5/8] FAT: Fix file contents listed as directory

2012-09-18 Thread Tom Rini
On Mon, Sep 03, 2012 at 04:08:02PM +0200, Beno??t Th??baudeau wrote: Dear Wolfgang Denk, On Sunday, September 2, 2012 5:21:15 PM, Wolfgang Denk wrote: Dear Beno??t Th??baudeau, In message 2017658963.332562.1342790429735.javamail.r...@advansee.com you wrote: With: fatls mmc 0

Re: [U-Boot] [U-Boot, 1/3] dm: sparc: net: Fixup greth compile warnings

2012-09-18 Thread Tom Rini
On Fri, Jul 27, 2012 at 08:04:32AM -, Marek Vasut wrote: greth.c: In function ???greth_recv???: greth.c:507:3: warning: format ???%lx??? expects argument of type ???long unsigned int???, but argument 2 has type ???unsigned int??? [-Wformat] greth.c:507:3: warning: format ???%lx???

[U-Boot] [PATCH] P4080/esdhc: make the P4080 ESDHC13 errata workaround conditional

2012-09-18 Thread Roy Zang
P4080 Rev3.0 fixes ESDHC13 errata, so update the code to make the workaround conditional. In formal release document, the errata number should be ESDHC13 instead of ESDHC136. Signed-off-by: Roy Zang tie-fei.z...@freescale.com --- for sdk1.3. fix defect ENGR180745

Re: [U-Boot] [U-Boot, 2/3] dm: sparc: common: Fixup cmd_bdinfo warnings

2012-09-18 Thread Tom Rini
On Fri, Jul 27, 2012 at 08:04:33AM -, Marek Vasut wrote: cmd_bdinfo.c: In function ???do_bdinfo???: cmd_bdinfo.c:220:9: warning: format ???%lx??? expects argument of type ???long unsigned int???, but argument 2 has type ???int??? [-Wformat] cmd_bdinfo.c:222:9: warning: format ???%lx???

Re: [U-Boot] [U-Boot, 3/3] dm: sparc: Fixup the compile warnings in sparc code

2012-09-18 Thread Tom Rini
On Fri, Jul 27, 2012 at 08:04:34AM -, Marek Vasut wrote: Signed-off-by: Marek Vasut ma...@denx.de Cc: Daniel Hellstrom dan...@gaisler.com Cc: u-boot...@lists.denx.de Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] spl: remove forced linking of commands into SPL

2012-09-18 Thread Tom Rini
On Wed, Aug 08, 2012 at 04:24:13PM -, Tyler Olmstead wrote: Remove linker command line options from the SPL makefile that force the inclusion of unreferenced command code from linked object files. As commands are not used in the SPL, these options resulted in an unnecessary increase in

Re: [U-Boot] [U-Boot, 1/5] fw_env: Add env vars describing U-Boot target board

2012-09-18 Thread Tom Rini
On Fri, Aug 10, 2012 at 07:45:15AM -, Beno?t Th?baudeau wrote: Commit 5e724ca did the same thing for env_common and env_embedded, but forgot fw_env. Signed-off-by: Beno?t Th?baudeau benoit.thebaud...@advansee.com Cc: Wolfgang Denk w...@denx.de Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot,2/5] env_common: Add missing ethprime

2012-09-18 Thread Tom Rini
On Fri, Aug 10, 2012 at 07:45:31AM -, Beno?t Th?baudeau wrote: The ethprime env var was missing from env_common. Signed-off-by: Beno?t Th?baudeau benoit.thebaud...@advansee.com Cc: Wolfgang Denk w...@denx.de Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, 3/5] env import/export: Remove from help if disabled

2012-09-18 Thread Tom Rini
On Fri, Aug 10, 2012 at 07:45:44AM -, Beno?t Th?baudeau wrote: Signed-off-by: Beno?t Th?baudeau benoit.thebaud...@advansee.com Cc: Wolfgang Denk w...@denx.de Acked-by: Mike Frysinger vap...@gentoo.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, v4, 1/7] env: cosmetic: drop assignment i = iomux_doenv()

2012-09-18 Thread Tom Rini
On Fri, Aug 24, 2012 at 12:11:36AM -, Gerlando Falauto wrote: iomux_doenv() can only return 0 or 1. So there is no need to save its return value in variable i, as checking its truth value within an if statement is enough. Signed-off-by: Gerlando Falauto gerlando.fala...@keymile.com

Re: [U-Boot] [U-Boot,1/2,V2] ARM: Remove apollon board

2012-09-18 Thread Tom Rini
On Wed, Sep 05, 2012 at 05:16:55PM -, Marek Vasut wrote: This board is the only board that still sticks to OneNAND IPL. Remove this board, since we have SPL around for a while and OneNAND is well supported in the SPL framework. The board can be revived if necessary. Signed-off-by:

Re: [U-Boot] [U-Boot,2/2] IPL: Remove remains of OneNAND IPL

2012-09-18 Thread Tom Rini
On Wed, Sep 05, 2012 at 05:09:08PM -, Marek Vasut wrote: After removing the Apollon board, remove the OneNAND IPL too. There are no users for it any more. Signed-off-by: Marek Vasut ma...@denx.de Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Minkyu Kang proms...@gmail.com Cc: Tom

Re: [U-Boot] env_nand: fix incorrect size parameter to ALLOC_CACHE_ALIGN_BUFFER

2012-09-18 Thread Tom Rini
On Fri, Sep 07, 2012 at 09:15:33AM -, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com The third parameter to ALLOC_CACHE_ALIGN_BUFFER is not size (as named), but rather count (number of elements of the type to allocate). The current code ends up allocating one copy of

  1   2   >