Re: [U-Boot] [PATCH 01/19] lib: errno: introduce errno_str(): returns errno related message

2014-10-08 Thread Joakim Tjernlund
> From: Przemyslaw Marczak > > The functions error's numbers are standarized - but the error > messages are not. > > The errors are often handled with unclear error messages, > so why not use an errno standarized messages. > > Advantages: > - This could decrease the binary size. Having an arra

Re: [U-Boot] [PATCH fix for v2014.10 4/5] stdio: Add force parameter to stdio_deregister

2014-10-08 Thread Simon Glass
Hi, On 20 September 2014 08:54, Hans de Goede wrote: > In some cases we really want to move forward with a deregister, add a force > parameter to allow this, and replace the dev with a nulldev in this case. > > Signed-off-by: Hans de Goede > --- > common/stdio.c | 13 ++-

Re: [U-Boot] [FAT/EXT4/SANDBOX] files > 2GB

2014-10-08 Thread Simon Glass
Hi, On 8 October 2014 07:07, Suriyan Ramasami wrote: > Hello, >I recently saw a post about fat commands such as fatls returning > -ve values under u-boot for files whose sizes are >=2GB. fatsize would > also not set up filesize in this case. > >This also effects ext4/sandbox commands. I j

[U-Boot] Pull request: u-boot-sh/rmobile into u-boot-arm/master

2014-10-08 Thread Nobuhiro Iwamatsu
Dear Albert Aribaud, Please pull u-boot-sh/rmobile into u-boot-arm/master. The following changes since commit 4b19b7448e63bab8af17abbb30acff00d8f0dc99: Merge remote-tracking branch 'u-boot-imx/master' (2014-10-08 21:20:49 +0200) are available in the git repository at: git://git.denx.de/u-b

Re: [U-Boot] [PATCH 00/19] [RFC] Power(full) framework based on Driver Model

2014-10-08 Thread Simon Glass
Hi, On 8 October 2014 14:55, Przemyslaw Marczak wrote: > Hello all, > > > On 10/08/2014 10:48 PM, Przemyslaw Marczak wrote: [snip] > I missed one thing - this should be applied on the top of the > u-boot-dm/working tree, which is now: > "dm: gpio: Remove unused get_state() uclass method" > (210

Re: [U-Boot] [PATCH v8 0/12] Enable driver model for GPIOs on Tegra and Exynos

2014-10-08 Thread Simon Glass
Hi Minkyu, On 14 September 2014 16:29, Simon Glass wrote: > (Note: Tegra patches have been applied, I am resending with exynos only) > > Now that driver model is part of U-Boot, the task of converting drivers over > to it begins. GPIO is one of the easiest to convert, since it already has a > san

Re: [U-Boot] [PATCH] net: asix: Add support for AX88772B

2014-10-08 Thread Simon Glass
On 8 October 2014 21:43, Alexandre Courbot wrote: > > This USB device works as-is on this driver. > > Signed-off-by: Alexandre Courbot > --- > > drivers/usb/eth/asix.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/usb/eth/asix.c b/drivers/usb/eth/asix.c > index 6557055e02b8..1

Re: [U-Boot] [PATCH V5] ARM: mx6: Add support for Kosagi Novena

2014-10-08 Thread Sean Cross
Hi Nikolay, On 08/10/2014 23:35, picmas...@mail.bg wrote: > Hi Sean, > > - Цитат от Sean Cross (x...@kosagi.com), на 08.10.2014 в 10:47 - > >> On 08/10/2014 05:55, Nikolay Dimitrov wrote: >>> Hi Marek, >>> >>> I'm marking only the critical issues that are left unfixed from >>> previous con

Re: [U-Boot] [PATCH V5] ARM: mx6: Add support for Kosagi Novena

2014-10-08 Thread Sean Cross
On 09/10/2014 07:59, Marek Vasut wrote: > On Wednesday, October 08, 2014 at 05:35:44 PM, picmas...@mail.bg wrote: >> Hi Sean, > Hi all, Hello > >> - Цитат от Sean Cross (x...@kosagi.com), на 08.10.2014 в 10:47 - >> >>> On 08/10/2014 05:55, Nikolay Dimitrov wrote: Hi Marek, I'

Re: [U-Boot] [U-Boot, 49/49] i2c: designware: add an implement i2c protos

2014-10-08 Thread Heiko Schocher
Hello Jeroen, Am 08.10.2014 22:58, schrieb Jeroen Hofstee: Include the i2c header and change the non confirming functions to do so. Cc: Heiko Schocher Signed-off-by: Jeroen Hofstee --- drivers/i2c/designware_i2c.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) Ack

Re: [U-Boot] [PATCH 04/49] i2c: use __weak

2014-10-08 Thread Heiko Schocher
Hello Jeroen, first, thanks for this clean up! Am 08.10.2014 22:57, schrieb Jeroen Hofstee: Signed-off-by: Jeroen Hofstee --- arch/arm/cpu/arm926ejs/cache.c | 5 + This change seems to have nothing to do with the subject ... could you please split this? drivers/i2c/i2c_core.c

Re: [U-Boot] [PATCH] ARM: mxs: tools: Add support for verbose and silent boot progress flags

2014-10-08 Thread Alexey Ignatov
2014-10-09 2:10 GMT+04:00 Marek Vasut : > On Wednesday, October 08, 2014 at 10:49:38 PM, Alexey Ignatov wrote: >> mkimage -T mxs now support new flags in config file: >> NODISPLAYPROGRESS - makes boot silent > Please make this the other way -- that is, add flag to make the display not- > silent. Wh

[U-Boot] [PATCH v3] ARM: mxs: tools: Add support for boot progress display flag

2014-10-08 Thread Alexey Ignatov
mkimage -T mxs now support new flag in config file: DISPLAYPROGRESS - makes boot process print HTLLC characters for each BootROM instruction. Signed-off-by: Alexey Ignatov --- arch/arm/cpu/arm926ejs/mxs/mxsimage-signed.cfg | 1 + arch/arm/cpu/arm926ejs/mxs/mxsimage.mx23.cfg | 1 + arch/arm/c

[U-Boot] SUNXI NAND CONTROLLER Driver Model (WIP)

2014-10-08 Thread Yassin Jaffer
Hi I'm developing a u-boot driver for the sunxi nand controller https://github.com/yassinjaffer/u-boot . My work is based on bbrezillon mainline driver https://github.com/bbrezillon/linux-sunxi. I would like to move the driver

Re: [U-Boot] [PATCH v1 1/1] fs: fat/ext4/sandbox: Deal with files > 2GB in ls and size commands

2014-10-08 Thread Suriyan Ramasami
On Wed, Oct 8, 2014 at 1:44 PM, Simon Glass wrote: > Hi Suriyan, > > On 8 October 2014 14:23, Suriyan Ramasami wrote: >> The commands fatls/ext4ls give -ve values when dealing with files > 2GB. >> The commands fatsize/ext4size do not update the variable filesize for >> these files. >> >> To deal

Re: [U-Boot] [PATCH v3] ARM: mxs: tools: Add support for boot progress display flag

2014-10-08 Thread Alexey Ignatov
Sorry, forgot to add changelog. v1: initial version v2: contains an error, don't use it v3: removed VERBOSEPROGRESS flag, added DISPLAYPROGRESS flag to default mkimage configs, added documentation ___ U-Boot mailing list U-Boot@lists.denx.de http://lists

Re: [U-Boot] [PATCH v1 1/1] fs: fat/ext4/sandbox: Deal with files > 2GB in ls and size commands

2014-10-08 Thread Pavel Machek
On Wed 2014-10-08 14:08:45, Suriyan Ramasami wrote: > On Wed, Oct 8, 2014 at 1:35 PM, Pavel Machek wrote: > > On Wed 2014-10-08 13:23:48, Suriyan Ramasami wrote: > >> The commands fatls/ext4ls give -ve values when dealing with files > 2GB. > >> The commands fatsize/ext4size do not update the varia

Re: [U-Boot] [PATCH v1 1/1] fs: fat/ext4/sandbox: Deal with files > 2GB in ls and size commands

2014-10-08 Thread Suriyan Ramasami
On Wed, Oct 8, 2014 at 1:35 PM, Pavel Machek wrote: > On Wed 2014-10-08 13:23:48, Suriyan Ramasami wrote: >> The commands fatls/ext4ls give -ve values when dealing with files > 2GB. >> The commands fatsize/ext4size do not update the variable filesize for >> these files. >> >> To deal with this, th

[U-Boot] [PATCH] net: asix: Add support for AX88772B

2014-10-08 Thread Alexandre Courbot
This USB device works as-is on this driver. Signed-off-by: Alexandre Courbot --- drivers/usb/eth/asix.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/eth/asix.c b/drivers/usb/eth/asix.c index 6557055e02b8..11811094ede8 100644 --- a/drivers/usb/eth/asix.c +++ b/drivers/usb/eth/

Re: [U-Boot] [PATCH fix for v2014.10 4/5] stdio: Add force parameter to stdio_deregister

2014-10-08 Thread Rommel Custodio
Dear Hans de Goede, Typographical error here: > --- a/drivers/serial/serial-uclass.c > +++ b/drivers/serial/serial-uclass.c > -197,7 +197,7 static int serial_pre_remove(struct udevice *dev) > #ifdef CONFIG_SYS_STDIO_DEREGISTER > struct serial_dev_priv *upriv = dev->uclass_priv;

Re: [U-Boot] [PATCH V5] ARM: mx6: Add support for Kosagi Novena

2014-10-08 Thread Nikolay Dimitrov
Hi Marek, On 10/09/2014 03:28 AM, Marek Vasut wrote: On Thursday, October 09, 2014 at 02:13:48 AM, Nikolay Dimitrov wrote: Hi Marek, [...] @Sean: Do you have any comments on USB hub reset stuff? Should we ditch entirely the reset code, or should we modify it somehow to work properly? OK,

Re: [U-Boot] [PATCH V4] ARM: mx6: Add support for Kosagi Novena

2014-10-08 Thread Marek Vasut
On Thursday, October 09, 2014 at 02:50:31 AM, Nikolay Dimitrov wrote: > Hi Marek, > > On 10/06/2014 05:00 PM, Marek Vasut wrote: > > On Monday, October 06, 2014 at 02:50:17 PM, Nikolay Dimitrov wrote: > >> Hi Marek, Sean, > >> > >> Do you have any comments on the PHY signal driving conflict and r

Re: [U-Boot] [PATCH V5] ARM: mx6: Add support for Kosagi Novena

2014-10-08 Thread Marek Vasut
On Thursday, October 09, 2014 at 02:13:48 AM, Nikolay Dimitrov wrote: > Hi Marek, [...] > >> @Sean: Do you have any comments on USB hub reset stuff? Should we ditch > >> entirely the reset code, or should we modify it somehow to work > >> properly? > > > > OK, so it's just this USB that remains,

Re: [U-Boot] [PATCH v3] ARM: mxs: tools: Add support for boot progress display flag

2014-10-08 Thread Marek Vasut
On Thursday, October 09, 2014 at 02:21:05 AM, Alexey Ignatov wrote: > Sorry, forgot to add changelog. > > v1: initial version > v2: contains an error, don't use it > v3: removed VERBOSEPROGRESS flag, added DISPLAYPROGRESS flag to default > mkimage configs, added documentation Calm down, no need t

Re: [U-Boot] [PATCH V4] ARM: mx6: Add support for Kosagi Novena

2014-10-08 Thread Nikolay Dimitrov
Hi Marek, On 10/06/2014 05:00 PM, Marek Vasut wrote: On Monday, October 06, 2014 at 02:50:17 PM, Nikolay Dimitrov wrote: Hi Marek, Sean, Do you have any comments on the PHY signal driving conflict and reset timing issue (see below)? I don't, I sense expert knowledge from you. Now we need to

Re: [U-Boot] [PATCH] print true board names on socfpga

2014-10-08 Thread Pavel Machek
Hi! > > On marex's branch from 20141007 > > (e8e77ee38da8760d0fa3ebdae37924db71f1e496): > > > > pavel@amd:~/wagabuibui/u-boot$ cat board/denx/mcvevk/socfpga_cyclone5.c > > #include "../../altera/socfpga/socfpga_cyclone5.c" > > Ok, so the Denx MCV EVK board uses the same file as the Altera SoCFP

Re: [U-Boot] [PATCH] print true board names on socfpga

2014-10-08 Thread Pavel Machek
> > You are the maintainter now, so you can > > fix it any way you want. I wanted to help, but clearly that is not > > welcome. > > Please let me remind you that a custodian is NOT here to do your share > of the work for you and that nasty remarks will get you exactly > nowhere. There's nothing

Re: [U-Boot] [PATCH V5] ARM: mx6: Add support for Kosagi Novena

2014-10-08 Thread Nikolay Dimitrov
Hi Marek, On 10/09/2014 02:59 AM, Marek Vasut wrote: On Wednesday, October 08, 2014 at 05:35:44 PM, picmas...@mail.bg wrote: Hi Sean, Hi all, - Цитат от Sean Cross (x...@kosagi.com), на 08.10.2014 в 10:47 - On 08/10/2014 05:55, Nikolay Dimitrov wrote: Hi Marek, I'm marking only

Re: [U-Boot] [PATCH V5] ARM: mx6: Add support for Kosagi Novena

2014-10-08 Thread Marek Vasut
On Tuesday, October 07, 2014 at 11:55:02 PM, Nikolay Dimitrov wrote: > Hi Marek, > > I'm marking only the critical issues that are left unfixed from previous > conversations, to speed-up the process a little bit. > I'll send later patches for the non-critical issues to spare you the > extra work (

Re: [U-Boot] [PATCH v2] ARM: mxs: tools: Add support for boot progress display flag

2014-10-08 Thread Marek Vasut
On Thursday, October 09, 2014 at 01:58:24 AM, Alexey Ignatov wrote: > mkimage -T mxs now support new flag in config file: > DISPLAYPROGRESS - makes boot process print HTLLC characters for each > BootROM instruction. > > Signed-off-by: Alexey Ignatov Hi! [...] > diff --git a/tools/mxsimage.h b/

Re: [U-Boot] [PATCH v3] ARM: mxs: tools: Add support for boot progress display flag

2014-10-08 Thread Marek Vasut
On Thursday, October 09, 2014 at 02:00:57 AM, Alexey Ignatov wrote: > mkimage -T mxs now support new flag in config file: > DISPLAYPROGRESS - makes boot process print HTLLC characters for each > BootROM instruction. > > Signed-off-by: Alexey Ignatov > --- > arch/arm/cpu/arm926ejs/mxs/mxsimage-si

Re: [U-Boot] [PATCH V5] ARM: mx6: Add support for Kosagi Novena

2014-10-08 Thread Marek Vasut
On Wednesday, October 08, 2014 at 05:35:44 PM, picmas...@mail.bg wrote: > Hi Sean, Hi all, > - Цитат от Sean Cross (x...@kosagi.com), на 08.10.2014 в 10:47 - > > > On 08/10/2014 05:55, Nikolay Dimitrov wrote: > >> Hi Marek, > >> > >> I'm marking only the critical issues that are left un

Re: [U-Boot] [PATCH] print true board names on socfpga

2014-10-08 Thread Pavel Machek
> > On marex's branch from 20141007 > > (e8e77ee38da8760d0fa3ebdae37924db71f1e496): > > > > pavel@amd:~/wagabuibui/u-boot$ cat board/denx/mcvevk/socfpga_cyclone5.c > > #include "../../altera/socfpga/socfpga_cyclone5.c" > > > > Initial patch even said it is against Marek's tree... > > U-Boot-soc

Re: [U-Boot] [PATCH] print true board names on socfpga

2014-10-08 Thread Marek Vasut
On Thursday, October 09, 2014 at 01:04:33 AM, Pavel Machek wrote: > On Thu 2014-10-09 00:55:59, Albert ARIBAUD wrote: > > Hi Pavel, > > > > On Thu, 9 Oct 2014 00:48:12 +0200, Pavel Machek wrote: > > > On Thu 2014-10-09 00:24:34, Marek Vasut wrote: > > > > On Thursday, October 09, 2014 at 12:12:28

Re: [U-Boot] [PATCH] print true board names on socfpga

2014-10-08 Thread Marek Vasut
On Thursday, October 09, 2014 at 12:48:12 AM, Pavel Machek wrote: > On Thu 2014-10-09 00:24:34, Marek Vasut wrote: > > On Thursday, October 09, 2014 at 12:12:28 AM, Pavel Machek wrote: > > > On Thu 2014-10-09 00:07:04, Marek Vasut wrote: > > > > On Wednesday, October 08, 2014 at 11:59:11 PM, Pavel

Re: [U-Boot] [PATCH] print true board names on socfpga

2014-10-08 Thread Albert ARIBAUD
Hi Pavel, On Thu, 9 Oct 2014 01:04:33 +0200, Pavel Machek wrote: > On Thu 2014-10-09 00:55:59, Albert ARIBAUD wrote: > > Hi Pavel, > > > > On Thu, 9 Oct 2014 00:48:12 +0200, Pavel Machek wrote: > > > > > On Thu 2014-10-09 00:24:34, Marek Vasut wrote: > > > > On Thursday, October 09, 2014 at 1

Re: [U-Boot] [PATCH] print true board names on socfpga

2014-10-08 Thread Pavel Machek
On Thu 2014-10-09 00:55:59, Albert ARIBAUD wrote: > Hi Pavel, > > On Thu, 9 Oct 2014 00:48:12 +0200, Pavel Machek wrote: > > > On Thu 2014-10-09 00:24:34, Marek Vasut wrote: > > > On Thursday, October 09, 2014 at 12:12:28 AM, Pavel Machek wrote: > > > > On Thu 2014-10-09 00:07:04, Marek Vasut wr

Re: [U-Boot] [PATCH] print true board names on socfpga

2014-10-08 Thread Albert ARIBAUD
Hi Pavel, On Thu, 9 Oct 2014 00:48:12 +0200, Pavel Machek wrote: > On Thu 2014-10-09 00:24:34, Marek Vasut wrote: > > On Thursday, October 09, 2014 at 12:12:28 AM, Pavel Machek wrote: > > > On Thu 2014-10-09 00:07:04, Marek Vasut wrote: > > > > On Wednesday, October 08, 2014 at 11:59:11 PM, Pave

[U-Boot] [PATCH] wireless_space: set myself as maintainer

2014-10-08 Thread Albert ARIBAUD
LaCie Wireless Space has no defined maintainer. Set myself as maintainer, since I own one of these. Signed-off-by: Albert ARIBAUD --- board/LaCie/wireless_space/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/LaCie/wireless_space/MAINTAINERS b/board/LaCie/

Re: [U-Boot] [PATCH] print true board names on socfpga

2014-10-08 Thread Pavel Machek
On Thu 2014-10-09 00:24:34, Marek Vasut wrote: > On Thursday, October 09, 2014 at 12:12:28 AM, Pavel Machek wrote: > > On Thu 2014-10-09 00:07:04, Marek Vasut wrote: > > > On Wednesday, October 08, 2014 at 11:59:11 PM, Pavel Machek wrote: > > > > Make boards with Altera Socfpga print real board nam

Re: [U-Boot] [PATCH] ARM: mxs: tools: Add support for verbose and silent boot progress flags

2014-10-08 Thread Marek Vasut
On Thursday, October 09, 2014 at 12:29:10 AM, Alexey Ignatov wrote: > 2014-10-09 2:10 GMT+04:00 Marek Vasut : > > On Wednesday, October 08, 2014 at 10:49:38 PM, Alexey Ignatov wrote: > >> mkimage -T mxs now support new flags in config file: > >> NODISPLAYPROGRESS - makes boot silent > > > > Please

Re: [U-Boot] [PATCH] print true board names on socfpga

2014-10-08 Thread Marek Vasut
On Thursday, October 09, 2014 at 12:12:28 AM, Pavel Machek wrote: > On Thu 2014-10-09 00:07:04, Marek Vasut wrote: > > On Wednesday, October 08, 2014 at 11:59:11 PM, Pavel Machek wrote: > > > Make boards with Altera Socfpga print real board names. > > > > > > Signed-off-by: Pavel Machek > > > >

Re: [U-Boot] [PATCH] print true board names on socfpga

2014-10-08 Thread Pavel Machek
On Thu 2014-10-09 00:07:04, Marek Vasut wrote: > On Wednesday, October 08, 2014 at 11:59:11 PM, Pavel Machek wrote: > > Make boards with Altera Socfpga print real board names. > > > > Signed-off-by: Pavel Machek > > > > Please wait with this one until the boards really reach mainline. Also, > t

Re: [U-Boot] [PATCH] ARM: mxs: tools: Add support for verbose and silent boot progress flags

2014-10-08 Thread Marek Vasut
On Wednesday, October 08, 2014 at 10:49:38 PM, Alexey Ignatov wrote: > mkimage -T mxs now support new flags in config file: > NODISPLAYPROGRESS - makes boot silent Please make this the other way -- that is, add flag to make the display not- silent. What does this mean anyway? > VERBOSEPROGRESS -

Re: [U-Boot] [PATCH] print true board names on socfpga

2014-10-08 Thread Marek Vasut
On Wednesday, October 08, 2014 at 11:59:11 PM, Pavel Machek wrote: > Make boards with Altera Socfpga print real board names. > > Signed-off-by: Pavel Machek > Please wait with this one until the boards really reach mainline. Also, the patch is missing tags in the subject, please add them in. B

Re: [U-Boot] [SoCFPGA] next steps

2014-10-08 Thread Marek Vasut
On Wednesday, October 08, 2014 at 03:18:10 PM, Dinh Nguyen wrote: > Hi Marek, Hi all! > On 10/7/14, 7:45 AM, Marek Vasut wrote: > > Hey, > > > > given that we now have most of the u-boot socfpga stuff in mainline, I > > decided it would be a good idea to list what we're still missing and we > >

[U-Boot] [PATCH] print true board names on socfpga

2014-10-08 Thread Pavel Machek
Make boards with Altera Socfpga print real board names. Signed-off-by: Pavel Machek --- This is against Marek's tree. Ignore the missing file for mainline. diff --git a/board/altera/socfpga/socfpga_cyclone5.c b/board/altera/socfpga/socfpga_cyclone5.c index 7661ac9..43307f5 100644 --- a/bo

[U-Boot] [PATCH] am335x_boneblack: Only modify NAND/NOR/MMC1 pinmux on BBB in boneblack builds.

2014-10-08 Thread Tom Rini
In the case of Beaglebone Black we only want to set the NAND or NOR cape pinmux when the config has been specifically modified by the user for this non-default case. Make the default be to set the MMC1 (eMMC) pinmux. We don't need similar changes for Beaglebone White as there is nothing on MMC1 b

[U-Boot] [PATCH 44/49] ide: add missing prototype

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- include/ide.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ide.h b/include/ide.h index c2a48e0..d5e05e9 100644 --- a/include/ide.h +++ b/include/ide.h @@ -23,6 +23,7 @@ extern ulong ide_bus_offset[]; #define LED_IDE2 0x02 #defineDEV

[U-Boot] [PATCH 48/49] tegra: add proto for pin_mux_mmc

2014-10-08 Thread Jeroen Hofstee
while at it, fix a typo Signed-off-by: Jeroen Hofstee --- arch/arm/include/asm/arch-tegra/board.h | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/include/asm/arch-tegra/board.h b/arch/arm/include/asm/arch-tegra/board.h index ff77364..783bb3c 100644 --- a

[U-Boot] [PATCH 49/49] i2c: designware: add an implement i2c protos

2014-10-08 Thread Jeroen Hofstee
Include the i2c header and change the non confirming functions to do so. Cc: Heiko Schocher Signed-off-by: Jeroen Hofstee --- drivers/i2c/designware_i2c.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/drivers/i2c/designware_i2c.c b/drivers/i2c/designware

[U-Boot] [PATCH 46/49] serial: add prototypes for init functions

2014-10-08 Thread Jeroen Hofstee
While at it, sort them. Signed-off-by: Jeroen Hofstee --- drivers/serial/serial.c | 141 include/serial.h| 49 + 2 files changed, 120 insertions(+), 70 deletions(-) diff --git a/drivers/serial/serial.c b/drivers/serial/se

[U-Boot] [PATCH 47/49] spl: add prototype for jump_to_image_no_args

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- include/spl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/spl.h b/include/spl.h index a7e41da..cee251f 100644 --- a/include/spl.h +++ b/include/spl.h @@ -72,6 +72,8 @@ void spl_sata_load_image(void); int spl_load_image_fat(block_dev_desc_t *blo

[U-Boot] [PATCH 45/49] mmc: add prototype for mmc_get_env_addr

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- include/mmc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/mmc.h b/include/mmc.h index 7f5f9bc..d74a190 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -387,6 +387,7 @@ int mmc_legacy_init(int verbose); int board_mmc_init(bd_t *bis); int cpu_

[U-Boot] [PATCH 42/49] fdt_support: add prototypes for __weak functions

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- include/fdt_support.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/fdt_support.h b/include/fdt_support.h index c3d1fbc..55cef94 100644 --- a/include/fdt_support.h +++ b/include/fdt_support.h @@ -144,6 +144,8 @@ static inline u64 of_read_number(co

[U-Boot] [PATCH 43/49] gpio: add protype for name_to_gpio

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- common/cmd_gpio.c | 2 +- include/asm-generic/gpio.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/common/cmd_gpio.c b/common/cmd_gpio.c index 11f4e40..8d946f4 100644 --- a/common/cmd_gpio.c +++ b/common/cmd_gpio.c @@ -12,7 +12,7

[U-Boot] [PATCH 41/49] elf: add prototype for valid_elf_image

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- board/w7o/fsboot.c | 3 +-- include/elf.h | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/board/w7o/fsboot.c b/board/w7o/fsboot.c index 25fbb55..8f4fe31 100644 --- a/board/w7o/fsboot.c +++ b/board/w7o/fsboot.c @@ -8,12 +8,11 @@ #inclu

[U-Boot] [PATCH 38/49] twister: add missing includes

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- board/technexion/twister/twister.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/technexion/twister/twister.c b/board/technexion/twister/twister.c index 054e7cc..a4aed3b 100644 --- a/board/technexion/twister/twister.c +++ b/board/technexion/twister

[U-Boot] [PATCH 40/49] bootm: add prototype for arch_preboot_os

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- include/bootm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/bootm.h b/include/bootm.h index 694d6fc..b3d1a62 100644 --- a/include/bootm.h +++ b/include/bootm.h @@ -54,4 +54,6 @@ int bootm_find_ramdisk_fdt(int flag, int argc, char * const argv[]

[U-Boot] [PATCH 36/49] net: davince: add missing include

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- drivers/net/davinci_emac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c index 439f8ae..08bc1af 100644 --- a/drivers/net/davinci_emac.c +++ b/drivers/net/davinci_emac.c @@ -27,6 +27,7 @@ #include #i

[U-Boot] [PATCH 39/49] arm: vectors: provide protypes from vectors.S

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- arch/arm/include/asm/u-boot-arm.h | 15 +++ arch/arm/lib/interrupts.c | 1 + 2 files changed, 16 insertions(+) diff --git a/arch/arm/include/asm/u-boot-arm.h b/arch/arm/include/asm/u-boot-arm.h index b16694c..f97f3dd 100644 --- a/arch/arm/i

[U-Boot] [PATCH 37/49] omap3: board: add missing include and proto

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- arch/arm/cpu/armv7/omap3/board.c| 1 + arch/arm/cpu/armv7/omap3/sys_info.c | 2 ++ arch/arm/include/asm/arch-omap3/sys_proto.h | 1 + 3 files changed, 4 insertions(+) diff --git a/arch/arm/cpu/armv7/omap3/board.c b/arch/arm/cpu/armv7/omap3/bo

[U-Boot] [PATCH 33/49] leds: missing include

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- arch/arm/cpu/arm926ejs/at91/led.c | 1 + arch/arm/lib/board.c | 1 + board/atmel/at91rm9200ek/led.c| 1 + board/atmel/at91sam9260ek/led.c | 1 + 4 files changed, 4 insertions(+) diff --git a/arch/arm/cpu/arm926ejs/at91/led.c b/arch/arm/cpu/ar

[U-Boot] [PATCH 34/49] lib: bootm: add missing include

2014-10-08 Thread Jeroen Hofstee
since the vxworks weaks are reimplement make sure their prototypes are visible. Signed-off-by: Jeroen Hofstee --- arch/arm/lib/bootm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index 39fe7a1..0d19c8a 100644 --- a/arch/arm/lib/bootm.c +++ b/ar

[U-Boot] [PATCH 32/49] imx: add missing includes

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- arch/arm/cpu/armv7/mx6/soc.c | 1 + arch/arm/imx-common/cpu.c| 2 ++ arch/arm/imx-common/misc.c | 1 + 3 files changed, 4 insertions(+) diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c index ba21cfe..3acada5 100644 --- a/arch/arm/cp

[U-Boot] [PATCH 35/49] mmc: bcm2835_sdhci: add missing include

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- drivers/mmc/bcm2835_sdhci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/bcm2835_sdhci.c b/drivers/mmc/bcm2835_sdhci.c index 82079d6..92f7d89 100644 --- a/drivers/mmc/bcm2835_sdhci.c +++ b/drivers/mmc/bcm2835_sdhci.c @@ -40,6 +40,7 @@ #include

[U-Boot] [PATCH 29/49] string.h: add missing prototypes

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- include/linux/string.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/linux/string.h b/include/linux/string.h index 8e44855..96348d6 100644 --- a/include/linux/string.h +++ b/include/linux/string.h @@ -20,6 +20,10 @@ extern __kernel_size_t str

[U-Boot] [PATCH 31/49] common/cmd_elf.c: add missing include

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- common/cmd_elf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/cmd_elf.c b/common/cmd_elf.c index 2f229d7..8de8e81 100644 --- a/common/cmd_elf.c +++ b/common/cmd_elf.c @@ -13,6 +13,7 @@ * purpose. */ +#include #include #include #include

[U-Boot] [PATCH 27/49] video: ipu: prevent warnings with W=1

2014-10-08 Thread Jeroen Hofstee
- make local functions static - remove unused is_interlaced function Signed-off-by: Jeroen Hofstee --- drivers/video/ipu_common.c | 2 +- drivers/video/ipu_disp.c | 17 +++-- drivers/video/mxc_ipuv3_fb.c | 2 +- 3 files changed, 5 insertions(+), 16 deletions(-) diff --git a/

[U-Boot] [PATCH 30/49] arch-mx: add missing include

2014-10-08 Thread Jeroen Hofstee
mxs_wait_mask_set and friends need a declaration of struct mxs_register_32. Signed-off-by: Jeroen Hofstee --- arch/arm/include/asm/arch-mxs/sys_proto.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-mxs/sys_proto.h b/arch/arm/include/asm/arch-mxs/sys_proto.h ind

[U-Boot] [PATCH 26/49] tegra: make local functions static

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- arch/arm/cpu/armv7/tegra20/display.c | 3 ++- arch/arm/cpu/tegra-common/sys_info.c | 2 +- board/nvidia/common/board.c | 43 ++-- board/nvidia/common/emc.c| 1 + board/nvidia/seaboard/seaboard.c | 1 +

[U-Boot] [PATCH 28/49] common:console: add missing include

2014-10-08 Thread Jeroen Hofstee
search_device is declared in iomux, but console only had the definition. This prevents a warning. Signed-off-by: Jeroen Hofstee --- common/console.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/console.c b/common/console.c index 5a2f411..4695386 100644 --- a/commo

[U-Boot] [PATCH 25/49] spi: make local functions static

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- drivers/power/power_spi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/power_spi.c b/drivers/power/power_spi.c index fb455a0..0560ea5 100644 --- a/drivers/power/power_spi.c +++ b/drivers/power/power_spi.c @@ -17,13 +17,13

[U-Boot] [PATCH 24/49] serial: make local functions static

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- common/stdio.c | 14 +++--- drivers/serial/serial.c | 8 drivers/serial/serial_sh.c | 4 ++-- drivers/video/cfb_console.c | 4 ++-- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/common/stdio.c b/common/stdi

[U-Boot] [PATCH 23/49] sdhci: make local functions static

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- drivers/mmc/sdhci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 3125d13..de88e19 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c @@ -124,7 +124,7 @@ static int sdhci_transfer

[U-Boot] [PATCH 22/49] omap_gpmc: fix warnigs with W=1

2014-10-08 Thread Jeroen Hofstee
- make omap_spl_dev_ready static - remove unused omap_reverse_list Signed-off-by: Jeroen Hofstee --- drivers/mtd/nand/omap_gpmc.c | 19 +-- 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/drivers/mtd/nand/omap_gpmc.c b/drivers/mtd/nand/omap_gpmc.c index db1599e..928

[U-Boot] [PATCH 21/49] omap3: make local functions static

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- arch/arm/cpu/armv7/omap3/board.c| 2 +- arch/arm/cpu/armv7/omap3/emif4.c| 2 +- arch/arm/cpu/armv7/omap3/sys_info.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/cpu/armv7/omap3/board.c b/arch/arm/cpu/armv7/omap3/board.c

[U-Boot] [PATCH 19/49] lmb: make local functions static

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- lib/lmb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lmb.c b/lib/lmb.c index 41a2be4..031f0e1 100644 --- a/lib/lmb.c +++ b/lib/lmb.c @@ -236,7 +236,7 @@ long lmb_reserve(struct lmb *lmb, phys_addr_t base, phys_size_t size) re

[U-Boot] [PATCH 20/49] net: fec_mxc: make local functions static

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- drivers/net/fec_mxc.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index 549d648..b572470 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -11,6 +11,7 @@ #include #in

[U-Boot] [PATCH 18/49] image-fit: make local function static

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- common/image-fit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/image-fit.c b/common/image-fit.c index 255c4ca..8529cec 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -1434,7 +1434,7 @@ void fit_conf_print(const void *fi

[U-Boot] [PATCH 14/49] ehci-hcd.c: make local functions static

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- drivers/usb/host/ehci-hcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 5e44ba1..936d006 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c @@ -1314,7

[U-Boot] [PATCH 17/49] gpio: make local functions static

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- drivers/gpio/bcm2835_gpio.c | 2 +- drivers/gpio/kw_gpio.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpio/bcm2835_gpio.c b/drivers/gpio/bcm2835_gpio.c index 97b5137..4a473d7 100644 --- a/drivers/gpio/bcm2835_gpio.c +++

[U-Boot] [PATCH 16/49] eth: make eth_address_set static

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- net/eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/eth.c b/net/eth.c index 76ffa05..eac4f7b 100644 --- a/net/eth.c +++ b/net/eth.c @@ -153,7 +153,7 @@ static void eth_current_changed(void) setenv("ethact", NULL); }

[U-Boot] [PATCH 15/49] env_nand: make local functions static

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- common/env_nand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/env_nand.c b/common/env_nand.c index 5a734a9..749605f 100644 --- a/common/env_nand.c +++ b/common/env_nand.c @@ -124,7 +124,7 @@ int env_init(void) * The legacy NAN

[U-Boot] [PATCH 13/49] disk/part.c: make local function static

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- disk/part.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk/part.c b/disk/part.c index cfd77b0..43485c9 100644 --- a/disk/part.c +++ b/disk/part.c @@ -57,7 +57,7 @@ static const struct block_drvr block_drvr[] = { DECLARE_GLOBAL_DATA_PTR;

[U-Boot] [PATCH 12/49] common: board_r: make local functions static

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- common/board_r.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/board_r.c b/common/board_r.c index 40eae4e..54294d5 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -364,7 +364,7 @@ static int initr_spi(void) #ifdef C

[U-Boot] [PATCH 11/49] common: cmd_elf: make do_bootelf_exec static

2014-10-08 Thread Jeroen Hofstee
do_bootelf_exec was a weak function without a prototype nor and strong version. Just make it static. Signed-off-by: Jeroen Hofstee --- common/cmd_elf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/cmd_elf.c b/common/cmd_elf.c index ab9c7e3..2f229d7 100644 --- a/co

[U-Boot] [PATCH 10/49] video: use __weak

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- drivers/video/cfb_console.c | 10 ++ drivers/video/exynos_fb.c | 32 2 files changed, 10 insertions(+), 32 deletions(-) diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c index 9231927..8567231 10064

[U-Boot] [PATCH 09/49] usb: use __weak

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- drivers/usb/host/ehci-hcd.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 6323c50..5e44ba1 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-

[U-Boot] [PATCH 07/49] pci: use __weak

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- drivers/pci/pci.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 28859f3..60c333e 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -572,7 +572,7 @@ const char * pci_class_str(u8 cla

[U-Boot] [PATCH 02/49] common: board: use __weak

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- common/board_f.c | 10 ++ common/board_r.c | 10 ++ 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/common/board_f.c b/common/board_f.c index e6aa298..b5bebc9 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -128,14 +128,11

[U-Boot] [PATCH 08/49] samsung: board: use __weak

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- board/samsung/common/board.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c index 5c3c5bb..758ce4f 100644 --- a/board/samsung/common/board.c +++ b/board/samsung/common/board.

[U-Boot] [PATCH 06/49] net: phy: fix warnings with W=1

2014-10-08 Thread Jeroen Hofstee
get_phy_id is marked weak but has no protype nor a strong version, just make it static. Use __weak for board_phy_config. Signed-off-by: Jeroen Hofstee --- drivers/net/phy/phy.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.

[U-Boot] [PATCH 00/49] reduce warnings with W=1

2014-10-08 Thread Jeroen Hofstee
When compiling u-boot with W=1 there are numerous of warnings. This patchset attempts to reduce it a bit. One source of false warnings are the aliases missing a prototype, most of them are replaced with __weak functions. Others are cause by missing includes / local functions not be marked as such.

[U-Boot] [PATCH 04/49] i2c: use __weak

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- arch/arm/cpu/arm926ejs/cache.c | 5 + drivers/i2c/i2c_core.c | 4 +--- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/cache.c b/arch/arm/cpu/arm926ejs/cache.c index e86c2ed..8d7873c 100644 --- a/arch/arm/cpu/arm9

[U-Boot] [PATCH 05/49] misc: use __weak

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- common/menu.c | 5 + post/post.c | 9 ++--- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/common/menu.c b/common/menu.c index 94afeb2..e81c074 100644 --- a/common/menu.c +++ b/common/menu.c @@ -105,12 +105,9 @@ static inline void *menu

[U-Boot] [PATCH 03/49] cti_flash.c: use __weak when requested

2014-10-08 Thread Jeroen Hofstee
For performance reason there seems to be a CONFIG_xyz. Introduce a __maybe_weak to allow using __weak directly instead of relying on aliases. Signed-off-by: Jeroen Hofstee --- drivers/mtd/cfi_flash.c | 50 - 1 file changed, 16 insertions(+), 34 del

[U-Boot] [PATCH 01/49] arm: board: use __weak

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee --- arch/arm/lib/board.c | 40 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c index 76adaf3..98782ca 100644 --- a/arch/arm/lib/board.c +++ b/arch/arm/lib/board.c @@

Re: [U-Boot] [PATCH 00/19] [RFC] Power(full) framework based on Driver Model

2014-10-08 Thread Przemyslaw Marczak
Hello all, On 10/08/2014 10:48 PM, Przemyslaw Marczak wrote: Hello, This piece of code was a base for prepare my presentation talk for the U-Boot Mini Summit, which taking place at ELCE2014 conference, 13-th October 2014 Dusseldorf, Germany. The tittle of talk: "Power(full) framework based on D

[U-Boot] [PATCH] ARM: mxs: tools: Add support for verbose and silent boot progress flags

2014-10-08 Thread Alexey Ignatov
mkimage -T mxs now support new flags in config file: NODISPLAYPROGRESS - makes boot silent VERBOSEPROGRESS - makes boot progress display more verbose Signed-off-by: Alexey Ignatov --- tools/mxsimage.c | 41 ++--- tools/mxsimage.h | 6 +- 2 files changed,

  1   2   >