Re: [U-Boot] [PULL] please pull u-boot-atmel/master into u-boot-arm/master

2012-09-28 Thread Albert ARIBAUD
Hi Andreas, On Tue, 25 Sep 2012 09:46:06 +0200, "Andreas Bießmann" wrote: > Dear Albert Aribaud, > > any chance to get this pulled before -rc2? > > Best regards > > Andreas Bießmann > > On 22.09.2012 05:36, Andreas Bießmann wrote: > > Another resent ... sorry for the noise! > > I found the r

Re: [U-Boot] [PATCH 2/3 V2] common: Implement support for linker-generated arrays

2012-09-28 Thread Marek Vasut
Dear Joe Hershberger, [...] > While ll_entry_count is great and all, it is more natural to compare > your list pointer to The End (tm) or not. It would make client code > capable of being cleaner if you also include ll_entry_end() as well. Ain't that #define ll_entry_end(_type, u) \ ll_entry_

Re: [U-Boot] [PATCH 0/5 V2] Linker-generated arrays

2012-09-28 Thread Marek Vasut
Dear Marek Vasut, > This is a first stab at the linker-generated array. Basically, this > concept is a generic abstraction of how u_boot_cmd works today. The > patch 2/4 contains a huge pile of documentation which should clarify > most of the questions. > > I don't see size growth, I see size flu

[U-Boot] [PATCH 1/5 V2] common: Add symbol handling for generic lists into Makefile

2012-09-28 Thread Marek Vasut
This patch adds essential components for generation of the contents of the linker section that is used by the linker-generated array. All of the contents is held in a separate file, u-boot.lst, which is generated at runtime just before U-Boot is linked. The purpose of this code is to especially ge

Re: [U-Boot] [PATCH 2/3 V2] common: Implement support for linker-generated arrays

2012-09-28 Thread Joe Hershberger
Hi Marek, On Tue, Sep 25, 2012 at 11:11 AM, Marek Vasut wrote: > This patch adds support for linker-generated array. These arrays > are a generalization of the U-Boot command declaration approach. > > Basically, the idea is to generate an array, where elements of the > array are statically initia

[U-Boot] [PATCH 4/5] common: Convert the U-Boot commands to LG-arrays

2012-09-28 Thread Marek Vasut
This patch converts the old method of creating a list of command onto the new LG-arrays code. The old u_boot_cmd section is converted to new u_boot_list_cmd subsection and LG-array macros used as needed. Minor adjustments had to be made to the common code to work with the LG-array macros, mostly t

[U-Boot] [PATCH 1/5] common: Add symbol handling for generic lists into Makefile

2012-09-28 Thread Marek Vasut
This patch adds essential components for generation of the contents of the linker section that is used by the linker-generated array. All of the contents is held in a separate file, u-boot.lst, which is generated at runtime just before U-Boot is linked. The purpose of this code is to especially ge

[U-Boot] [PATCH 2/5] common: Implement support for linker-generated arrays

2012-09-28 Thread Marek Vasut
This patch adds support for linker-generated array. These arrays are a generalization of the U-Boot command declaration approach. Basically, the idea is to generate an array, where elements of the array are statically initialized at compile time and each element is declared separatelly at differen

[U-Boot] [PATCH 0/5 V2] Linker-generated arrays

2012-09-28 Thread Marek Vasut
This is a first stab at the linker-generated array. Basically, this concept is a generic abstraction of how u_boot_cmd works today. The patch 2/4 contains a huge pile of documentation which should clarify most of the questions. I don't see size growth, I see size fluctiation in the order of tens o

[U-Boot] [PATCH 4/4] doc: kerneldoc: tmpl: Implement template for LG-arrays

2012-09-28 Thread Marek Vasut
Implement kerneldoc template for linker-generated arrays. This is the first template in U-Boot that is used to generate kerneldoc style documentation. This template is very basic. Signed-off-by: Marek Vasut --- doc/DocBook/Makefile |2 +- doc/DocBook/linker_lists.tmpl | 46 +++

[U-Boot] [PATCH 3/4] doc: kerneldoc: Implement "Example" section handling

2012-09-28 Thread Marek Vasut
The default kernel-doc strips starting spaces from every single line in the Example section. This makes the code look bad. Thus, implement special handling for this section. Signed-off-by: Marek Vasut --- tools/kernel-doc/kernel-doc |3 +++ 1 file changed, 3 insertions(+) diff --git a/tools

[U-Boot] [PATCH 2/4] doc: kerneldoc: Add nicer CSS stylesheet for HTML docs

2012-09-28 Thread Marek Vasut
Import basic CSS stylesheet for the HTML documentation. The base for the stylesheet is taken from: http://ds9a.nl/docbook/minimal-page.html I customized the CSS a bit further, for example to add curvy corners to example section and change the tint of gray. The HTML documentation does not

[U-Boot] [PATCH 0/4] Implant kernel-doc from Linux kernel

2012-09-28 Thread Marek Vasut
This patch series implants slightly modified kernel-doc documentation generator from Linux kernel into U-Boot. First patch pulls in all the necessary components with minor modifications made to them to work with the layout of U-Boot source tree and without kbuild. Further patch implement CSS to ma

[U-Boot] [PATCH 2/7] video: Implement additional video API functions in cfb_console

2012-09-28 Thread Simon Glass
From: Stefan Reinauer Implement the new video API functions to provide access to screen size, etc. Signed-off-by: Stefan Reinauer Signed-off-by: Simon Glass --- drivers/video/cfb_console.c | 32 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a

[U-Boot] [PATCH 7/7] video: Skip bitmaps which do not fit into the screen in cfb_console

2012-09-28 Thread Simon Glass
From: Vadim Bendebury The cfb console driver is trying to prevent bitmaps to spill over the screen, but the calculations assume that at least part of the bitmap fits into the screen area. In reality there could be bitmap elements which are completely out of the screen area, they just need to be d

[U-Boot] [PATCH 3/7] lcd: Provide an API to access LCD parameters

2012-09-28 Thread Simon Glass
From: Vadim Bendebury Create a basic API to provide access to lcd parameters such as screen size, and to position the cursor on the screen. This matches up with the video API for the same purpose. Unfortunately they are not yet combined. Signed-off-by: Vadim Bendebury Signed-off-by: Simon Glas

[U-Boot] [PATCH 5/7] lcd: Fix fb offset calculation for bpix == 16 in BMP display

2012-09-28 Thread Simon Glass
From: Tom Wai-Hong Tam For bpix == 16, each pixel is 2-byte. fb offset should shift more x bytes. Signed-off-by: Tom Wai-Hong Tam Signed-off-by: Simon Glass --- common/lcd.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/common/lcd.c b/common/lcd.c index 7c6cb09

[U-Boot] [PATCH 1/7] video: Provide an API to access video parameters

2012-09-28 Thread Simon Glass
From: Stefan Reinauer Create a basic API to provide access to video parameters such as screen size, and to position the cursor on the screen. Also add a prototype for video_display_bitmap() which was missing. Signed-off-by: Stefan Reinauer Signed-off-by: Simon Glass --- common/cmd_bmp.c |

[U-Boot] [PATCH 4/7] lcd: Fix BMP decode bug that skips the wrong padded row

2012-09-28 Thread Simon Glass
From: Tom Wai-Hong Tam This change fixed 2 things: - Rename padded_line to padded_width since it is (width + padded_row) not line. - When finished a line, should skip the padded_row that is (padded_width - width) instead of (width - padded_width). Reference: http://en.wikipedia.org/wiki/BMP

[U-Boot] [PATCH 6/7] lcd: Implement RLE8 bitmap decoding

2012-09-28 Thread Simon Glass
From: Tom Wai-Hong Tam Add support for drawing compressed RLE8 bitmaps. Reference: http://www.digicamsoft.com/bmp/bmp.html Signed-off-by: Che-Liang Chiou Signed-off-by: Tom Wai-Hong Tam Signed-off-by: Simon Glass --- README |5 ++ common/lcd.c | 144 ++

[U-Boot] [PATCH 0/7] lcd/video: Add parameter API and compressed bitmaps

2012-09-28 Thread Simon Glass
This series contains patches to create an API to read lcd/video parameters such as the screen size. It also adds support for displaying compressed bitmaps. Ultimately it would be nice to unify lcd and video more, and this is a step towards that. Board files still need to decide which to use, but t

[U-Boot] [PULL] u-boot-testing / dm-serial-1

2012-09-28 Thread Marek Vasut
Please apply to u-boot/next. They are now compile tested on arm and ppc (and blackfin with gentoo compiler). The following changes since commit d05eb7acf0f6ad5682ab75c25af52921e9fa5863: MAINTAINERS: Move dbau1x00 to orphaned. (2012-09-27 13:04:42 -0700) are available in the git repository at

[U-Boot] [PULL] u-boot-testing / dm-stringify

2012-09-28 Thread Marek Vasut
Please apply to u-boot/next. They are now compile tested on arm and ppc. Albert's comment addresses and patches are assigned to Tom in PW. The following changes since commit d05eb7acf0f6ad5682ab75c25af52921e9fa5863: MAINTAINERS: Move dbau1x00 to orphaned. (2012-09-27 13:04:42 -0700) are ava

[U-Boot] [PATCH 70/70] serial: Enhance the manual relocation

2012-09-28 Thread Marek Vasut
Enhance the manual relocation of drivers operations structure by checking if the entries are NULL and increment them only if they are not. This allows for setting any entry to NULL and it will survive the manual relocation. Signed-off-by: Marek Vasut Cc: Marek Vasut Cc: Tom Rini Cc: Anatolij Gu

[U-Boot] [PATCH 68/70] serial: Remove CONFIG_SERIAL_MULTI from remaining sources

2012-09-28 Thread Marek Vasut
Remove the parts depending either on disabled CONFIG_SERIAL_MULTI or ifdefs around CONFIG_SERIAL_MULTI parts since CONFIG_SERIAL_MULTI is now enabled by default. Signed-off-by: Marek Vasut Cc: Marek Vasut Cc: Tom Rini Cc: Anatolij Gustschin Cc: Stefan Roese --- arch/arm/lib/board.c

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

2012-09-28 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 Cc: Ma

[U-Boot] [PATCH 66/70] serial: Remove CONFIG_SERIAL_MULTI from config files

2012-09-28 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 Cc: Marek Vasut Cc: Tom Rini Cc: Anatolij Gustschin Cc:

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

2012-09-28 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 un

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

2012-09-28 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 default_serial_con

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

2012-09-28 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 default_serial

[U-Boot] [PATCH 65/70] serial: Unconditionally enable CONFIG_SERIAL_MULTI

2012-09-28 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 wi

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

2012-09-28 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() ret

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

2012-09-28 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 Cc: Marek Vasut Cc: Tom Rini -

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

2012-09-28 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 Cc: Marek Vasut Cc: Tom Rini C

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

2012-09-28 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() r

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

2012-09-28 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 default_serial_conso

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

2012-09-28 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 default_serial_con

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

2012-09-28 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 default_serial_conso

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

2012-09-28 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 default_serial_con

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

2012-09-28 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 default_serial_console

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

2012-09-28 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 default_serial_conso

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

2012-09-28 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 default_serial_con

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

2012-09-28 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() r

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

2012-09-28 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 default_serial_con

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

2012-09-28 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 default_serial_con

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

2012-09-28 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() r

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

2012-09-28 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 default_serial_con

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

2012-09-28 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 default_serial_c

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

2012-09-28 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 default_serial_c

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

2012-09-28 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() r

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

2012-09-28 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() r

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

2012-09-28 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 default_serial_console()

[U-Boot] [PATCH 32/70] serial: powerpc: Implement CONFIG_SERIAL_MULTI into bmw serial driver

2012-09-28 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into bmw 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 bmw driver. Also, add a weak implementation of default_serial_console() r

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

2012-09-28 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 default_serial_con

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

2012-09-28 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 default_serial_con

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

2012-09-28 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 default_serial_conso

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

2012-09-28 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 default_serial_console

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

2012-09-28 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 default_serial_c

[U-Boot] [PATCH 37/70] serial: powerpc: Implement CONFIG_SERIAL_MULTI into sconsole serial driver

2012-09-28 Thread Marek Vasut
Implement support for CONFIG_SERIAL_MULTI into sconsole 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 sconsole driver. Also, add a weak implementation of default_serial_c

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

2012-09-28 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 default_se

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

2012-09-28 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 default_serial_conso

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

2012-09-28 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 default_serial_console

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

2012-09-28 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 default_serial_console

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

2012-09-28 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 default_serial_conso

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

2012-09-28 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 default_serial_con

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

2012-09-28 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 implementation

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

2012-09-28 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 default_serial_con

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

2012-09-28 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 default_serial_conso

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

2012-09-28 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() ret

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

2012-09-28 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 default_serial_conso

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

2012-09-28 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 default_serial_conso

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

2012-09-28 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 default_serial_conso

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

2012-09-28 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() r

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

2012-09-28 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, imp

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

2012-09-28 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 switch

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

2012-09-28 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 s5p_se

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

2012-09-28 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 Cc: Marek Vasut Cc:

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

2012-09-28 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 Cc: Marek Vasut Cc: Tom R

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

2012-09-28 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 ns16550_s

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

2012-09-28 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 03/70] serial: Properly spell out the structure member names of serial_driver

2012-09-28 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 14/70] serial: mpc512x: Move serial registration from serial_initialize()

2012-09-28 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 mpc512x_se

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

2012-09-28 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 functions,

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

2012-09-28 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 seri

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

2012-09-28 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 Cc: Marek Vasut Cc: Tom Rini --- drivers/serial/serial_pxa.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/serial/serial_pxa

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

2012-09-28 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 Cc: Marek Vasut Cc: Tom Rini Cc: Anatolij Gustschin

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

2012-09-28 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 Cc: Marek V

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

2012-09-28 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: Mar

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

2012-09-28 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 s3

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

2012-09-28 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 t

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

2012-09-28 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 pxa_serial_

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

2012-09-28 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 Cc: Marek Vasut Cc: Tom Rini --- board/balloon3/balloon3.c |5 - board/palmld/pal

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

2012-09-28 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 Cc: Marek Vasut Cc: Tom Rini --- include/serial.h | 23 +++ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a

[U-Boot] [PATCH 2/2] spi: Add SPI flash test

2012-09-28 Thread Simon Glass
It is useful to have a basic SPI flash test, which tests that the SPI chip, the SPI bus and the driver are behaving. This test erases part of the flash, writes data and reads it back as a sanity check that all is well. Use CONFIG_SF_TEST to enable it. Signed-off-by: Simon Glass --- README

[U-Boot] [PATCH 1/2] spi: Add progress percentage and write speed to `sf update`

2012-09-28 Thread Simon Glass
From: James Miller Output a progress update only at most 10 times per second, to avoid saturating (and waiting on) the console. Make the summary line to fit on a single line. Make sure that cursor sits at the end of each update line instead of the beginning. Sample output: SF: Detected W25Q32 w

Re: [U-Boot] [PATCH v3 2/8] SPL: Port SPL framework to powerpc

2012-09-28 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/28/12 16:13, Scott Wood wrote: > On 09/26/2012 04:01:08 AM, Stefan Roese wrote: >> This patch enables the SPL framework to be used on powerpc >> platforms and not only ARM. >> >> Signed-off-by: Stefan Roese --- Changes in v2: - >> Rebased on To

Re: [U-Boot] [PATCH v3 2/8] SPL: Port SPL framework to powerpc

2012-09-28 Thread Scott Wood
On 09/26/2012 04:01:08 AM, Stefan Roese wrote: This patch enables the SPL framework to be used on powerpc platforms and not only ARM. Signed-off-by: Stefan Roese --- Changes in v2: - Rebased on Tom's SPL framework patches v4 - Add option to skip copying of the mkimage header arch/powerpc/lib/

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

2012-09-28 Thread Scott Wood
On 09/28/2012 10:56:51 AM, Lucas Stach wrote: Add the missing bits to the Tegra NAND driver to make ONFI detection work properly. Also add it to the Tegra default config, as it seems to be a reasonable thing to have it available on all boards that use any kind of NAND. Signed-off-by: Lucas

Re: [U-Boot] Custodians, Maintainers and old platforms

2012-09-28 Thread Marek Vasut
Dear R, Sricharan, > Hi Tom, > > [snip] > > > (I had attempted to bcc this to all listed maintainer, but that upset > > Google greatly. I'll send this out manually instead later). > > > > I'd like to put this out here for custodians and maintainers to > > consider, especially in light of the d

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

2012-09-28 Thread Stephen Warren
On 09/28/2012 09:56 AM, Lucas Stach wrote: > Add the missing bits to the Tegra NAND driver to make ONFI detection work > properly. > > Also add it to the Tegra default config, as it seems to be a reasonable thing > to have it available on all boards that use any kind of NAND. Tested-by: Stephen W

  1   2   3   >