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

2012-09-16 Thread Thierry Reding
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 thierry.red...@avionic-design.de wrote: On Sat, Sep 15, 2012 at 10:11:54PM +0200, Marek Vasut wrote: Dear Thierry Reding, On Fri, Sep 14, 2012 at 08:53:32AM -0700, Simon

[U-Boot] Problem Booting RTEMS with u-boot on Phycore LPC3250

2012-09-16 Thread SAeeD
Hello I have built an RTEMS 4.10.2 elf image for Phycore LPC3250. I am using u-boot as my bootloader. Although I can boot the image in binary format, unfortunately there is a problem to boot elf image with bootelf command. after executing bootelf command u-boot get stuck in an infinite loop with

Re: [U-Boot] Limit of kernel size

2012-09-16 Thread Dan Malek
On Sep 15, 2012, at 4:40 PM, J.Hwan Kim wrote: Is there limitation of the kernel size which u-boot loads? No. My kernel is very big, because I included the ramdisk into the kernel. My kernel size is over 40MB. When I load the kernel through u-boot, the prcedure hangs in the boot step.

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

2012-09-16 Thread José Miguel Gonçalves
On 09/14/2012 07:58 PM, Tom Rini wrote: On Fri, Sep 14, 2012 at 06:29:02PM +0100, Jos?? Miguel Gon??alves wrote: 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

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

2012-09-16 Thread José Miguel Gonçalves
On 09/14/2012 08:01 PM, Tom Rini wrote: On Fri, Sep 14, 2012 at 07:45:40PM +0100, Jos? Miguel Gon?alves wrote: On 14-09-2012 19:21, Marek Vasut wrote: Dear Jos? Miguel Gon?alves, NAND Flash driver with HW ECC for the S3C24XX SoCs. Currently it only supports SLC NAND chips. Signed-off-by:

Re: [U-Boot] Don't get any interrupts once I boot into Linux

2012-09-16 Thread Stefano Babic
On 14/09/2012 18:13, Benoît Thébaudeau wrote: Hi Stefano, Hi Benoît, On Friday, September 14, 2012 6:06:16 PM, Benoît Thébaudeau wrote: Hi Fabio, Greg, On Friday, September 14, 2012 5:15:17 PM, Fabio Estevam wrote: On Fri, Sep 14, 2012 at 12:04 PM, Greg Topmiller greg.topmil...@jdsu.com

Re: [U-Boot] [PATCH v2 10/11] Add u-boot-ubl.bin target to the Makefile

2012-09-16 Thread José Miguel Gonçalves
On 09/14/2012 08:08 PM, Tom Rini wrote: On Fri, Sep 14, 2012 at 06:29:01PM +0100, Jos?? Miguel Gon??alves wrote: Samsung's S3C24XX SoCs need this in order to generate a binary image with the SPL and U-Boot concatenated. Signed-off-by: Jos?? Miguel Gon??alves jose.goncal...@inov.pt --- Changes

Re: [U-Boot] [PATCH v2 01/11] ARM: fix relocation on ARM926EJS

2012-09-16 Thread José Miguel Gonçalves
On 09/15/2012 07:03 PM, Marek Vasut wrote: Dear José Miguel Gonçalves, Jumping to board_init_r is not performed due to a bug on address computation. Is your CONFIG_SYS_TEXT_BASE configured correctly? I don't detect any misbehavior on my arm926 boards. Maybe because you are not using it to

Re: [U-Boot] [PATCH v2 01/11] ARM: fix relocation on ARM926EJS

2012-09-16 Thread Marek Vasut
Dear José Miguel Gonçalves, On 09/15/2012 07:03 PM, Marek Vasut wrote: Dear José Miguel Gonçalves, Jumping to board_init_r is not performed due to a bug on address computation. Is your CONFIG_SYS_TEXT_BASE configured correctly? I don't detect any misbehavior on my arm926 boards.

Re: [U-Boot] [PATCH v2 01/11] ARM: fix relocation on ARM926EJS

2012-09-16 Thread José Miguel Gonçalves
On 09/16/2012 11:06 AM, Marek Vasut wrote: Dear José Miguel Gonçalves, On 09/15/2012 07:03 PM, Marek Vasut wrote: Dear José Miguel Gonçalves, Jumping to board_init_r is not performed due to a bug on address computation. Is your CONFIG_SYS_TEXT_BASE configured correctly? I don't detect any

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

2012-09-16 Thread Pavel Herrmann
Hi On Thursday 13 September 2012 15:31:39 Tom Rini wrote: On Fri, Sep 07, 2012 at 11:19:03AM +0200, Pavel Herrmann wrote: On Friday 07 of September 2012 01:29:55 Marek Vasut wrote: Dear Pavel Herrmann, This driver uses files as block devices, can be used for testing disk

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

2012-09-16 Thread Pavel Herrmann
Move all extern declarations of sata_dev_desc into a single header file. Signed-off-by: Pavel Herrmann morpheus.i...@gmail.com --- drivers/block/ata_piix.c | 4 +--- drivers/block/dwc_ahsata.c | 1 + drivers/block/dwc_ahsata.h | 2 -- drivers/block/fsl_sata.c | 3 +--

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

2012-09-16 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 v5: use common sata extern header - this requires [PATCH] Fix

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

2012-09-16 Thread Marek Vasut
Dear Pavel Herrmann, Move all extern declarations of sata_dev_desc into a single header file. Signed-off-by: Pavel Herrmann morpheus.i...@gmail.com --- drivers/block/ata_piix.c | 4 +--- drivers/block/dwc_ahsata.c | 1 + drivers/block/dwc_ahsata.h | 2 --

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

2012-09-16 Thread Pavel Herrmann
On Sunday 16 September 2012 14:37:16 Marek Vasut wrote: Dear Pavel Herrmann, ... Won't include/sata.h work just fine ? I feel include/sata.h is a consumer-facing header, and implementation details such as the array used for all data-retention for command and drivers should not be there.

[U-Boot] [PATCH] MX6: drop binary constants from iomux header

2012-09-16 Thread Stefano Babic
Constants set with binary value (0b...) are not compiled from old toolchain when used by the clrsetbits_le32 macro. Replaces them with the corresponding hex value. The error reported (for example with the mx6qsabrelite board) is something like: mx6qsabrelite.c:369:1: error: invalid suffix b101

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

2012-09-16 Thread Marek Vasut
Dear Pavel Herrmann, On Sunday 16 September 2012 14:37:16 Marek Vasut wrote: Dear Pavel Herrmann, ... Won't include/sata.h work just fine ? I feel include/sata.h is a consumer-facing header, and implementation details such as the array used for all data-retention for command and

Re: [U-Boot] Limit of kernel size

2012-09-16 Thread J.Hwan Kim
2012년 09월 16일 14:14, Heiko Schocher 쓴 글: Hello J.Hwan, On 16.09.2012 01:40, J.Hwan Kim wrote: Hi, everyone Is there limitation of the kernel size which u-boot loads? Only as I know the maximum RAM size (minus the size U-Boot needs) My kernel is very big, because I included the ramdisk

Re: [U-Boot] [PATCH v2 01/11] ARM: fix relocation on ARM926EJS

2012-09-16 Thread Marek Vasut
Dear José Miguel Gonçalves, On 09/16/2012 11:06 AM, Marek Vasut wrote: Dear José Miguel Gonçalves, On 09/15/2012 07:03 PM, Marek Vasut wrote: Dear José Miguel Gonçalves, Jumping to board_init_r is not performed due to a bug on address computation. Is your

Re: [U-Boot] [PATCH v2 01/11] ARM: fix relocation on ARM926EJS

2012-09-16 Thread José Miguel Gonçalves
On 09/16/2012 04:36 PM, Marek Vasut wrote: Dear José Miguel Gonçalves, On 09/16/2012 11:06 AM, Marek Vasut wrote: Dear José Miguel Gonçalves, On 09/15/2012 07:03 PM, Marek Vasut wrote: Dear José Miguel Gonçalves, Jumping to board_init_r is not performed due to a bug on address

[U-Boot] [PATCH 0/4] Fix gcc warnings on MIPS 64 bit

2012-09-16 Thread daniel . schwierzeck
From: Daniel Schwierzeck daniel.schwierz...@gmail.com This series fixes the first bunch of gcc warnings appearing when compiling for MIPS 64 bit. For testing purposes all patches are also queued in branch testing at git://git.denx.de/u-boot-mips.git. The support for MIPS64 and qemu_mips64 is

[U-Boot] [PATCH 1/4] lib: vsprintf.c: fix checkpath.pl warnings

2012-09-16 Thread daniel . schwierzeck
From: Daniel Schwierzeck daniel.schwierz...@gmail.com Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- lib/vsprintf.c | 127 ++--- 1 file changed, 77 insertions(+), 50 deletions(-) diff --git a/lib/vsprintf.c b/lib/vsprintf.c

[U-Boot] [PATCH 2/4] lib: vsprintf.c: replace NUM_TYPE with s64/u64 types

2012-09-16 Thread daniel . schwierzeck
From: Daniel Schwierzeck daniel.schwierz...@gmail.com This fixes warnings when compiling with ELDK-5.2.1 for MIPS64: vsprintf.c: In function 'put_dec': vsprintf.c:258:9: warning: comparison of distinct pointer types lacks a cast [enabled by default] vsprintf.c:258:3: warning: passing argument 1

[U-Boot] [PATCH 3/4] common: cmd_elf.c: fix checkpath.pl warnings

2012-09-16 Thread daniel . schwierzeck
From: Daniel Schwierzeck daniel.schwierz...@gmail.com Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- common/cmd_elf.c | 134 +++ 1 file changed, 67 insertions(+), 67 deletions(-) diff --git a/common/cmd_elf.c

[U-Boot] [PATCH 4/4] common: cmd_elf.c: use uintptr_t for casts from u32 to void*

2012-09-16 Thread daniel . schwierzeck
From: Daniel Schwierzeck daniel.schwierz...@gmail.com This fixes warnings when compiling with ELDK-5.2.1 for MIPS64: cmd_elf.c: In function 'load_elf_image_phdr': cmd_elf.c:289:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cmd_elf.c: In function

Re: [U-Boot] [PATCH v2 01/11] ARM: fix relocation on ARM926EJS

2012-09-16 Thread Marek Vasut
Dear José Miguel Gonçalves, On 09/16/2012 04:36 PM, Marek Vasut wrote: Dear José Miguel Gonçalves, On 09/16/2012 11:06 AM, Marek Vasut wrote: Dear José Miguel Gonçalves, On 09/15/2012 07:03 PM, Marek Vasut wrote: Dear José Miguel Gonçalves, Jumping to board_init_r is not

[U-Boot] [PATCH] common/i2c: Add i2c write command

2012-09-16 Thread York Sun
Add i2c write command to write data from memory to i2c devices. Signed-off-by: York Sun york...@freescale.com --- common/cmd_i2c.c | 50 ++ 1 file changed, 50 insertions(+) diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c index 2cdc4ed..6099115

[U-Boot] [RFC PATCH v2 1/6] linux/usb/ch9.h: update with the version from Linux tree

2012-09-16 Thread Ilya Yanok
Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com --- drivers/usb/gadget/config.c |1 - drivers/usb/gadget/epautoconf.c |1 - drivers/usb/gadget/ether.c |1 - drivers/usb/gadget/s3c_udc_otg.c |1 - drivers/usb/gadget/usbstring.c |1 -

[U-Boot] [RFC PATCH v2 0/6] Port of MUSB driver from Linux

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

[U-Boot] [RFC PATCH v2 4/6] musb-new: dsps backend driver

2012-09-16 Thread Ilya Yanok
Backend driver for MUSB OTG controllers found on TI AM33xx and TI81xx SoCs (tested with AM33xx only). Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com --- Changes in v2: - rename backend config option to CONFIG_USB_MUSB_DSPS - we are providing host support now so add yourself to usb.h

[U-Boot] [RFC PATCH v2 2/6] usb: use linux/usb/ch9.h instead of usbdescriptors.h

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

[U-Boot] [RFC PATCH v2 5/6] am33xx: init OTG hardware and new musb gadget driver

2012-09-16 Thread Ilya Yanok
AM33xx has support for dual port MUSB OTG controller. This patch adds initialization for the controller using new MUSB gadget driver and ether gadget. Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com --- Changes in v2: - init both musb IPs (conditionally) from arch_init not from

[U-Boot] [RFC PATCH v2 6/6] am335x_evm: enable both musb gadget and host

2012-09-16 Thread Ilya Yanok
Enable musb gadget in Ethernet mode on port 0 and musb host on port1. Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com --- Changes in v2: - host support enabled - define CONFIG_ARCH_INIT as now musb_register() is called from arch_init() - use new config options

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

2012-09-16 Thread Marek Vasut
This patchset is a STAGE 1 of preparation of the stdio and serial subsys for the driver model. The idea of this patchset is: 1) Clean up the struct serial_device Do a coding style cleanup. 2) Replace .init and .uninit with .start and .stop This is to bring struct serial_device much closer

[U-Boot] [PATCH 04/71] serial: pxa: Implement default_serial_console in serial_pxa.c

2012-09-16 Thread Marek Vasut
Implement weak default_serial_console() function in serial_pxa driver, which gets available in case CONFIG_SERIAL_MULTI is enabled. This will get helpful in subsequent patches, which will encapsulate PXA's struct serial_device instances in serial_pxa driver. Signed-off-by: Marek Vasut

[U-Boot] [PATCH 01/71] serial: Coding style cleanup of struct serial_device

2012-09-16 Thread Marek Vasut
Do a simple cleanup of the struct serial_device and align it with current coding style. Checkpatch now reports no errors. Signed-off-by: Marek Vasut ma...@denx.de Cc: Marek Vasut marek.va...@gmail.com Cc: Tom Rini tr...@ti.com --- include/serial.h | 23 +++ 1 file changed,

[U-Boot] [PATCH 11/71] serial: pxa: Move serial registration from serial_initialize()

2012-09-16 Thread Marek Vasut
Move the registration of serial_XXuart 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 registration routines in U-Boot. The newly implemented

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

2012-09-16 Thread Marek Vasut
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 ifdef construct as it is now, create weak aliases to these

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

2012-09-16 Thread Marek Vasut
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 based on this structure. Signed-off-by: Marek

[U-Boot] [PATCH 09/71] serial: mpc8xx: Move serial registration from serial_initialize()

2012-09-16 Thread Marek Vasut
Move the registration of serial_smc and serial_scc ports from default serial_initialize() into CPU specific function called from serial_initialize(). This slims down the serial_initialize() call to a bare tracker of all possible serial port registration routines in U-Boot. The exports of both

[U-Boot] [PATCH 12/71] serial: s5p: Move serial registration from serial_initialize()

2012-09-16 Thread Marek Vasut
Move the registration of s5p_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 registration routines in U-Boot. The newly implemented

[U-Boot] [PATCH 17/71] serial: bfin: Adjust serial_register_bfin_uart()

2012-09-16 Thread Marek Vasut
Rename the serial_register_bfin_uart() to bfin_initialize_serial() to be consistent with the rest of the naming. Next, remove it's prototype from serial.h and properly insert it into serial.c as the rest of the serial initialization functions. Signed-off-by: Marek Vasut ma...@denx.de Cc: Marek

[U-Boot] [PATCH 02/71] serial: Rename .init() and .uninit() in serial_device

2012-09-16 Thread Marek Vasut
Rename .init() to .start() and .uninit() to .stop() in struct serial_device. This allows aligning struct serial_device with closer to struct stdio_dev. The real goal here is to allow these two structures to converge together and eventually make one to be a superset of the other. Signed-off-by:

[U-Boot] [PATCH 14/71] serial: mpc512x: Move serial registration from serial_initialize()

2012-09-16 Thread Marek Vasut
Move the registration of 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 registration routines in U-Boot. The newly implemented

[U-Boot] [PATCH 16/71] serial: bfin: Remove the bfin_serialN_device exports from serial.h

2012-09-16 Thread Marek Vasut
Remove the exports from serial.h as they are only used in the blackfin serial driver. Furthermore, they are only used for registration, which is handled already inside that driver and default_serial_port() call, which is also handled in that driver. Signed-off-by: Marek Vasut ma...@denx.de Cc:

[U-Boot] [PATCH 05/71] serial: pxa: Make use of default_serial_console in serial_pxa

2012-09-16 Thread Marek Vasut
Make use of the newly implemented weak default_serial_console in the serial_pxa driver. This removes all reimplementations of this function from board files. Signed-off-by: Marek Vasut ma...@denx.de Cc: Marek Vasut marek.va...@gmail.com Cc: Tom Rini tr...@ti.com --- board/balloon3/balloon3.c

[U-Boot] [PATCH 06/71] serial: pxa: Make local functions static

2012-09-16 Thread Marek Vasut
Make functions that are local-only static, so no hairy symbols stick out of the serial_pxa driver file. Signed-off-by: Marek Vasut ma...@denx.de Cc: Marek Vasut marek.va...@gmail.com Cc: Tom Rini tr...@ti.com --- drivers/serial/serial_pxa.c |6 +++--- 1 file changed, 3 insertions(+), 3

[U-Boot] [PATCH 15/71] serial: ns16550: Move serial registration from serial_initialize()

2012-09-16 Thread Marek Vasut
Move the registration of eserialN_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 registration routines in U-Boot. The newly implemented

[U-Boot] [PATCH 07/71] serial: mpc512x: Properly define CONFIG_SYS_PSC3 in config files

2012-09-16 Thread Marek Vasut
Some of the boards using the mpc512x serial driver didn't properly define which PSC console to use. This caused breakage when building with CONFIG_SERIAL_MULTI enabled. Fix this by defining the default PSC console. Signed-off-by: Marek Vasut ma...@denx.de Cc: Marek Vasut marek.va...@gmail.com Cc:

[U-Boot] [PATCH 19/71] serial: bfin: Flip the jtag serial console to CONFIG_SERIAL_MULTI

2012-09-16 Thread Marek Vasut
Rework the emulation of serial console via JTAG from simple ad-hoc implementation of serial port routines to CONFIG_SERIAL_MULTI and enable CONFIG_SERIAL_MULTI unconditionally for blackfin. In order for the JTAG serial console to take precedence over all other serial ports available in system,

[U-Boot] [PATCH 10/71] serial: s3c24xx: Move serial registration from serial_initialize()

2012-09-16 Thread Marek Vasut
Move the registration of s3c24xx_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 registration routines in U-Boot. The newly implemented

[U-Boot] [PATCH 20/71] serial: mips: Implement CONFIG_SERIAL_MULTI into au1x00 serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into au1x00 serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the au1x00 driver. Also, add a weak implementation of

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

2012-09-16 Thread Marek Vasut
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 registration routines in U-Boot. The newly implemented

[U-Boot] [PATCH 18/71] serial: zoom2: Remove zoom2 serial prototypes from serial.h

2012-09-16 Thread Marek Vasut
Remove the prototypes for zoom2_serial_deviceN from serial.h . This can't be done right away, as they are referenced from the zoom2 config file. Therefore, adjust the code so the config file only specifies number of the port. Then, replace the simple return in default_serial_console() with a

[U-Boot] [PATCH 22/71] serial: mips: Implement CONFIG_SERIAL_MULTI into JZ serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into JZ serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the JZ driver. Also, add a weak implementation of default_serial_console()

[U-Boot] [PATCH 21/71] serial: mips: Implement CONFIG_SERIAL_MULTI into asc serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into asc serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the asc driver. Also, add a weak implementation of default_serial_console()

[U-Boot] [PATCH 23/71] serial: powerpc: Implement CONFIG_SERIAL_MULTI into mpc5xx serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into mpc5xx serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the mpc5xx driver. Also, add a weak implementation of

[U-Boot] [PATCH 24/71] serial: powerpc: Implement CONFIG_SERIAL_MULTI into mpc8220 serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into mpc8220 serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the mpc8220 driver. Also, add a weak implementation of

[U-Boot] [PATCH 25/71] serial: powerpc: Implement CONFIG_SERIAL_MULTI into mpc8260 serial drivers

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into both SCC and SMC mpc8260 serial drivers. These drivers were so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the mpc8260 drivers. Also, add a weak

[U-Boot] [PATCH 26/71] serial: powerpc: Implement CONFIG_SERIAL_MULTI into mpc85xx serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into mpc85xx serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the mpc85xx driver. Also, add a weak implementation of

[U-Boot] [PATCH 27/71] serial: powerpc: Implement CONFIG_SERIAL_MULTI into iop480 serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into iop480 serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the iop480 driver. Also, add a weak implementation of

[U-Boot] [PATCH 34/71] serial: powerpc: Implement CONFIG_SERIAL_MULTI into cpci750 serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into cpci750 serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the cpci750 driver. Also, add a weak implementation of

[U-Boot] [PATCH 30/71] serial: powerpc: Implement CONFIG_SERIAL_MULTI into marvell serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into marvell serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the marvell driver. Also, add a weak implementation of

[U-Boot] [PATCH 28/71] serial: sparc: Implement CONFIG_SERIAL_MULTI into leon2 serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into leon2 serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the leon2 driver. Also, add a weak implementation of

[U-Boot] [PATCH 31/71] serial: powerpc: Implement CONFIG_SERIAL_MULTI into amirix serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into amirix serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the amirix driver. Also, add a weak implementation of

[U-Boot] [PATCH 36/71] serial: powerpc: Implement CONFIG_SERIAL_MULTI into ml2 serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into ml2 serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the ml2 driver. Also, add a weak implementation of default_serial_console()

[U-Boot] [PATCH 35/71] serial: powerpc: Implement CONFIG_SERIAL_MULTI into evb64260 serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into evb64260 serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the evb64260 driver. Also, add a weak implementation of

[U-Boot] [PATCH 38/71] serial: powerpc: Implement CONFIG_SERIAL_MULTI into p3mx serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into p3mx serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the p3mx driver. Also, add a weak implementation of

[U-Boot] [PATCH 29/71] serial: sparc: Implement CONFIG_SERIAL_MULTI into leon3 serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into leon3 serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the leon3 driver. Also, add a weak implementation of

[U-Boot] [PATCH 33/71] serial: powerpc: Implement CONFIG_SERIAL_MULTI into cogent serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into cogent serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the cogent driver. Also, add a weak implementation of

[U-Boot] [PATCH 40/71] serial: arm: Implement CONFIG_SERIAL_MULTI into altera serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into altera serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the altera driver. Also, add a weak implementation of

[U-Boot] [PATCH 39/71] serial: arm: Implement CONFIG_SERIAL_MULTI into altera_jtag serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into altera_jtag serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the altera_jtag driver. Also, add a weak implementation of

[U-Boot] [PATCH 43/71] serial: mcf: Implement CONFIG_SERIAL_MULTI into MCF serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into MCF serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the MCF driver. Also, add a weak implementation of default_serial_console()

[U-Boot] [PATCH 42/71] serial: arm: Implement CONFIG_SERIAL_MULTI into lpc32xx serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into lpc32xx serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the lpc32xx driver. Also, add a weak implementation of

[U-Boot] [PATCH 41/71] serial: arm: Implement CONFIG_SERIAL_MULTI into atmel serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into atmel serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the atmel driver. Also, add a weak implementation of

[U-Boot] [PATCH 45/71] serial: oc: Implement CONFIG_SERIAL_MULTI into OpenCores serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into OpenCores serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the OpenCores driver. Also, add a weak implementation of

[U-Boot] [PATCH 46/71] serial: arm: Implement CONFIG_SERIAL_MULTI into s3c4510b serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into s3c4510b serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the s3c4510b driver. Also, add a weak implementation of

[U-Boot] [PATCH 44/71] serial: Implement CONFIG_SERIAL_MULTI into ns9750 serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into ns9750 serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the ns9750 driver. Also, add a weak implementation of

[U-Boot] [PATCH 47/71] serial: arm: Implement CONFIG_SERIAL_MULTI into s3c64xx serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into s3c64xx serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the s3c64xx driver. Also, add a weak implementation of

[U-Boot] [PATCH 49/71] serial: arm: Implement CONFIG_SERIAL_MULTI into clps7111 serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into clps7111 serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the clps7111 driver. Also, add a weak implementation of

[U-Boot] [PATCH 48/71] serial: sandbox: Implement CONFIG_SERIAL_MULTI into sandbox serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into sandbox serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the sandbox driver. Also, add a weak implementation of

[U-Boot] [PATCH 52/71] serial: arm: Implement CONFIG_SERIAL_MULTI into ks8695 serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into ks8695 serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the ks8695 driver. Also, add a weak implementation of

[U-Boot] [PATCH 53/71] serial: arm: Implement CONFIG_SERIAL_MULTI into lh7a40x serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into lh7a40x serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the lh7a40x driver. Also, add a weak implementation of

[U-Boot] [PATCH 54/71] serial: arm: Implement CONFIG_SERIAL_MULTI into lpc2292 serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into lpc2292 serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the lpc2292 driver. Also, add a weak implementation of

[U-Boot] [PATCH 51/71] serial: arm: Implement CONFIG_SERIAL_MULTI into ixp serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into ixp serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the ixp driver. Also, add a weak implementation of default_serial_console()

[U-Boot] [PATCH 61/71] serial: sh: Implement CONFIG_SERIAL_MULTI into sh serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into sh serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the sh driver. Also, add a weak implementation of default_serial_console()

[U-Boot] [PATCH 63/71] serial: mxs: spl: Remove empty serial_* functions from SPL code

2012-09-16 Thread Marek Vasut
Remove the empty bodies from serial_* functions from MXS SPL code. These empty implementations are now in common/serial.c instead so declaring them also in the SPL code would cause a colision once serial multi is enabled unconditionally. Signed-off-by: Marek Vasut ma...@denx.de Cc: Marek Vasut

[U-Boot] [PATCH 64/71] serial: ns16550: Call usbtty_poll only in non-SPL build

2012-09-16 Thread Marek Vasut
Having both USBTTY and CONFIG_SERIAL_MULTI enabled in SPL, the usbtty.c file is protected in Makefile to not be compiled into the SPL. Yet, the ns16550 serial driver does not contain such protection. Add it to avoid missing symbol error. Signed-off-by: Marek Vasut ma...@denx.de Cc: Marek Vasut

[U-Boot] [PATCH 55/71] serial: Implement CONFIG_SERIAL_MULTI into max3100 serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into max3100 serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the max3100 driver. Also, add a weak implementation of

[U-Boot] [PATCH 58/71] serial: arm: Implement CONFIG_SERIAL_MULTI into pl01x serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into pl01x serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the pl01x driver. Also, add a weak implementation of

[U-Boot] [PATCH 60/71] serial: arm: Implement CONFIG_SERIAL_MULTI into sa1100 serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into sa1100 serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the sa1100 driver. Also, add a weak implementation of

[U-Boot] [PATCH 50/71] serial: arm: Implement CONFIG_SERIAL_MULTI into imx serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into imx serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the imx driver. Also, add a weak implementation of default_serial_console()

[U-Boot] [PATCH 59/71] serial: arm: Implement CONFIG_SERIAL_MULTI into s3c44b0 serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into s3c44b0 serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the s3c44b0 driver. Also, add a weak implementation of

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

2012-09-16 Thread Marek Vasut
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 Cc: Tom Rini tr...@ti.com --- common/serial.c | 12 1

[U-Boot] [PATCH 70/71] serial: Compile common/serial.c by default

2012-09-16 Thread Marek Vasut
Compile common/serial.c by default both into SPL and into non-SPL builds, since CONFIG_SERIAL_MULTI is now the default state. Also having common/serial.c in by default now, it's pointless to keep -DCONFIG_SERIAL_MULTI in CPPFLAGS any longer, so remove it as well. Signed-off-by: Marek Vasut

[U-Boot] [PATCH 56/71] serial: arm: Implement CONFIG_SERIAL_MULTI into mxc serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into mxc serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the mxc driver. Also, add a weak implementation of default_serial_console()

[U-Boot] [PATCH 66/71] serial: Unconditionally enable CONFIG_SERIAL_MULTI

2012-09-16 Thread Marek Vasut
Enable CONFIG_SERIAL_MULTI for all builds of U-Boot. That includes both SPL builds and non-SPL builds, everything. To avoid poluting this patch with removal of ifdef-endif constructions containing CONFIG_SERIAL_MULTI, the CONFIG_SERIAL_MULTI is temporarily added into CPPFLAGS in config.mk . This

[U-Boot] [PATCH 57/71] serial: arm: Implement CONFIG_SERIAL_MULTI into netarm serial driver

2012-09-16 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into netarm serial driver. This driver was so far only usable directly, but this patch also adds support for the multi method. This allows using more than one serial driver alongside the netarm driver. Also, add a weak implementation of

[U-Boot] [PATCH 65/71] serial: Use puts() and hang() instead of panic() in SPL

2012-09-16 Thread Marek Vasut
If case the get_current() call fails before relocation, the U-Boot must try to print an error message, fail and either reset or halt. Such error is critical enough to halt the system, as it means the system is in very bad state. This is now also used in SPL, since CONFIG_SERIAL_MULTI is enabled

[U-Boot] [PATCH 67/71] serial: Remove CONFIG_SERIAL_MULTI from config files

2012-09-16 Thread Marek Vasut
Remove any notion of CONFIG_SERIAL_MULTI from board config files. Since CONFIG_SERIAL_MULTI is now enabled by default, it is useless to specify this config option in the board config files. Therefore remove it. Signed-off-by: Marek Vasut ma...@denx.de Cc: Marek Vasut marek.va...@gmail.com Cc: Tom

  1   2   >