Fix Compiler warnings

2014-06-05 Thread Sascha Hauer
The following are fixes for various compiler warnings Sascha Sascha Hauer (9): fix format specifiers ARM: MXS: Remove unused variables ARM: friendlyarm_mini2440: refresh defconfig mips: dlink-dir-320: refresh

[PATCH 6/9] PPC: FSL DDR: Fix compiler warning

2014-06-05 Thread Sascha Hauer
Fixes: arch/ppc/boards/freescale-p1022ds/ddr.c: In function 'fsl_ddr_board_info': arch/ppc/boards/freescale-p1022ds/ddr.c:39:21: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] Signed-off-by: Sascha Hauer --- arch/ppc/include/asm/fsl_ddr_sdram.h | 2

[PATCH 2/9] ARM: MXS: Remove unused variables

2014-06-05 Thread Sascha Hauer
Fixes: arch/arm/boards/crystalfontz-cfa10036/cfa10036.c: In function 'cfa10036_devices_init': arch/arm/boards/crystalfontz-cfa10036/cfa10036.c:119:9: warning: unused variable 'ret' [-Wunused-variable] arch/arm/boards/chumby_falconwing/falconwing.c: In function 'falconwing_devices_init': arch/ar

[PATCH 4/9] mips: dlink-dir-320: refresh defconfig

2014-06-05 Thread Sascha Hauer
Fixes: arch/mips/configs/dlink-dir-320_defconfig:52:warning: override: reassigning to symbol CMD_DHCP arch/mips/configs/dlink-dir-320_defconfig:54:warning: override: reassigning to symbol CMD_PING arch/mips/configs/dlink-dir-320_defconfig:55:warning: override: reassigning to symbol CMD_TFTP arc

[PATCH 9/9] mips: Add builtin dtb to dtb-y

2014-06-05 Thread Sascha Hauer
Otherwise a rebuild of the dtb file is triggered each build. Signed-off-by: Sascha Hauer --- arch/mips/dts/Makefile | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/mips/dts/Makefile b/arch/mips/dts/Makefile index 3ee8924..348b814 100644 --- a/arch/mips/dts/Makefile

[PATCH 3/9] ARM: friendlyarm_mini2440: refresh defconfig

2014-06-05 Thread Sascha Hauer
Fixes: arch/arm/configs/friendlyarm_mini2440_defconfig:38:warning: override: reassigning to symbol CMD_TFTP arch/arm/configs/friendlyarm_mini2440_defconfig:46:warning: override: reassigning to symbol FS_TFTP Signed-off-by: Sascha Hauer --- arch/arm/configs/friendlyarm_mini2440_defconfig | 31

[PATCH 1/9] fix format specifiers

2014-06-05 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- common/bootm.c| 4 ++-- common/uimage.c | 4 +++- drivers/eeprom/at25.c | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/common/bootm.c b/common/bootm.c index 871959c..71390cb 100644 --- a/common/bootm.c +++ b/common/bootm.c @@

[PATCH 5/9] mips: ar9331: Add missing #address-cells/#size-cells properties

2014-06-05 Thread Sascha Hauer
SPI nodes need valid #address-cells/#size-cells properties. Fixes: Warning (reg_format): "reg" property in /soc/spi@bf00/m25p80@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Warning (avoid_default_addr_size): Relying on default #address-cells value for /soc/spi@bf000

[PATCH 7/9] commands: drvinfo: Make locally used function static

2014-06-05 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- commands/drvinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/drvinfo.c b/commands/drvinfo.c index 161118a..4a4b957 100644 --- a/commands/drvinfo.c +++ b/commands/drvinfo.c @@ -18,7 +18,7 @@ #include #include -int do_drvinfo(

[PATCH 8/9] gui: IMAGE_RENDERER does not depend on VIDEO

2014-06-05 Thread Sascha Hauer
Image renderer may not be particularly useful without framebuffer support, but technically it does not depend on VIDEO. Fixes: warning: (CMD_SPLASH) selects IMAGE_RENDERER which has unmet direct dependencies (VIDEO) Signed-off-by: Sascha Hauer --- lib/gui/Kconfig | 1 - 1 file changed, 1 delet

Re: [PATCH 4/9] mips: dlink-dir-320: refresh defconfig

2014-06-05 Thread Antony Pavlov
On Thu, 5 Jun 2014 10:23:39 +0200 Sascha Hauer wrote: '[PATCH] MIPS: dlink-dir-320_defconfig: drop duplicated symbols': http://lists.infradead.org/pipermail/barebox/2014-May/019272.html My original patch has no duplicates either: http://lists.infradead.org/pipermail/barebox/2014-May/019244.

[PATCH] ARM: AM335x: Beaglebone: Use stripped down devicetree for MLO

2014-06-05 Thread Sascha Hauer
The beaglebone white and black have different devicetrees. Both get linked into the MLO which makes it too big. Use a devicetree generated from am335x-bone-common.dtsi which both board variants can share. This reduces the binary size by about 30k. Signed-off-by: Sascha Hauer --- arch/arm/boards/

Re: [PATCH 4/9] mips: dlink-dir-320: refresh defconfig

2014-06-05 Thread Sascha Hauer
On Thu, Jun 05, 2014 at 01:42:09PM +0400, Antony Pavlov wrote: > On Thu, 5 Jun 2014 10:23:39 +0200 > Sascha Hauer wrote: > > '[PATCH] MIPS: dlink-dir-320_defconfig: drop duplicated symbols': > http://lists.infradead.org/pipermail/barebox/2014-May/019272.html > > My original patch has no dupli

[PATCH 1/3] ARM: clps711x: Prepare common init function to DT support

2014-06-05 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan --- arch/arm/boards/clep7212/lowlevel.c| 2 +- arch/arm/mach-clps711x/include/mach/clps711x.h | 2 +- arch/arm/mach-clps711x/lowlevel.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boards/clep7212/lowlev

[PATCH 3/3] ARM: clep7212: Make partition names more generic

2014-06-05 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan --- arch/arm/boards/clep7212/env/init/mtdparts-nor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boards/clep7212/env/init/mtdparts-nor b/arch/arm/boards/clep7212/env/init/mtdparts-nor index 7910299..8702b40 100644 --- a/arch/arm/boar

[PATCH 2/3] ARM: clps711x: Remove unused UART bit definitions

2014-06-05 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan --- arch/arm/mach-clps711x/include/mach/clps711x.h | 34 -- 1 file changed, 34 deletions(-) diff --git a/arch/arm/mach-clps711x/include/mach/clps711x.h b/arch/arm/mach-clps711x/include/mach/clps711x.h index f4a1f0a..957b2b8 100644 --- a/ar

[PATCH] 2048: Reset score on startup

2014-06-05 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan --- commands/2048.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/2048.c b/commands/2048.c index 26c9e6c..5ceb5cf 100644 --- a/commands/2048.c +++ b/commands/2048.c @@ -337,6 +337,8 @@ static int do_2048(int argc, char *argv[]) retu

[PATCH] ARM: PCM038: Switch to devicetree probe

2014-06-05 Thread Alexander Shiyan
This patch removes non-DT support for PCM-038/PCM-970 and switch to devicetree probe for these targets. Signed-off-by: Alexander Shiyan --- arch/arm/boards/phytec-phycore-imx27/Makefile | 5 +- arch/arm/boards/phytec-phycore-imx27/env/boot/nor | 9 + .../boards/phytec-phycore-imx27/env

[PATCH] ARM: dts: Remove orphaned i.MX27 DT template

2014-06-05 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan --- arch/arm/dts/imx27.dtsi | 11 --- 1 file changed, 11 deletions(-) delete mode 100644 arch/arm/dts/imx27.dtsi diff --git a/arch/arm/dts/imx27.dtsi b/arch/arm/dts/imx27.dtsi deleted file mode 100644 index 49a0ddf..000 --- a/arch/arm/dts/imx27.dtsi +

picoTCP, barebox, and licenses

2014-06-05 Thread Frederik Van Slycken
Dear Antony, I applaud that you're working on incorporating picoTCP into barebox - I work for the company that developed picoTCP, and so I am naturally enthusiastic about this. However, one small thing that should be taken into account, concerning licensing. According to the wiki, barebox is lice

Re: picoTCP, barebox, and licenses

2014-06-05 Thread Robert Schwebel
On Thu, Jun 05, 2014 at 09:24:51PM +0200, Frederik Van Slycken wrote: > I applaud that you're working on incorporating picoTCP into barebox - > I work for the company that developed picoTCP, and so I am naturally > enthusiastic about this. However, one small thing that should be taken > into accoun

Re: picoTCP, barebox, and licenses

2014-06-05 Thread Frederik Van Slycken
2014-06-05 21:30 GMT+02:00 Robert Schwebel : > Where is that in the wiki? IMHO it isn't correct, the toplevel COPYING > file says v2, which is also our intention. http://wiki.barebox.org/doku.php#license """ This program is free software; you can redistribute it and/or modify it under the terms o

Re: picoTCP, barebox, and licenses

2014-06-05 Thread Frederik Van Slycken
2014-06-05 21:36 GMT+02:00 Frederik Van Slycken : > 2014-06-05 21:30 GMT+02:00 Robert Schwebel : >> Where is that in the wiki? IMHO it isn't correct, the toplevel COPYING >> file says v2, which is also our intention. > > http://wiki.barebox.org/doku.php#license > > """ > This program is free softwa

Re: [PATCH] 2048: Reset score on startup

2014-06-05 Thread Sascha Hauer
On Thu, Jun 05, 2014 at 05:46:43PM +0400, Alexander Shiyan wrote: > Signed-off-by: Alexander Shiyan > --- > commands/2048.c | 2 ++ > 1 file changed, 2 insertions(+) Applied, thanks. I'm considering a stable release for this ;) Sascha > > diff --git a/commands/2048.c b/commands/2048.c > index

Re: [PATCH 1/3] ARM: clps711x: Prepare common init function to DT support

2014-06-05 Thread Sascha Hauer
On Thu, Jun 05, 2014 at 05:43:38PM +0400, Alexander Shiyan wrote: > Signed-off-by: Alexander Shiyan Applied, thanks Sascha > --- > arch/arm/boards/clep7212/lowlevel.c| 2 +- > arch/arm/mach-clps711x/include/mach/clps711x.h | 2 +- > arch/arm/mach-clps711x/lowlevel.c |

Re: [PATCH] ARM: dts: Remove orphaned i.MX27 DT template

2014-06-05 Thread Sascha Hauer
On Thu, Jun 05, 2014 at 09:32:35PM +0400, Alexander Shiyan wrote: > Signed-off-by: Alexander Shiyan Applied, thanks Sascha > --- > arch/arm/dts/imx27.dtsi | 11 --- > 1 file changed, 11 deletions(-) > delete mode 100644 arch/arm/dts/imx27.dtsi > > diff --git a/arch/arm/dts/imx27.dts