[U-Boot] [PATCH] tools/kwbimage.c: fix parser error handling

2014-10-26 Thread andreas . devel
From: Andreas Bießmann The two error checks for image_boot_mode_id and image_nand_ecc_mode_id where wrong and would never fail, fix that! This was detected by Apple's clang compiler: ---8<--- HOSTCC tools/kwbimage.o tools/kwbimage.c:553:20: warning: comparison of unsigned expression < 0 is a

[U-Boot] [PATCH 0/2] Fix u-boot compile on darwin host

2014-10-26 Thread andreas . devel
From: Andreas Bießmann This series make u-boot compile on OS X again, tested with Yosemite and Lion. Andreas Bießmann (2): tools/socfpgaimage.c: fix build on darwin tools/kwbimage.c: fix build on darwin tools/kwbimage.c | 6 -- tools/socfpgaimage.c | 16 2 files

[U-Boot] [PATCH 1/2] tools/socfpgaimage.c: fix build on darwin

2014-10-26 Thread andreas . devel
From: Andreas Bießmann socfpgaimage utilizes htole32 and friends, unfortunately these functions are not available on darwin. Fix it by using the cpu_to_le32 and friends defined in compiler.h as other parts in mkimage do. This patch fixes the following error: ---8<--- HOSTCC tools/socfpgaimage

[U-Boot] [PATCH 2/2] tools/kwbimage.c: fix build on darwin

2014-10-26 Thread andreas . devel
From: Andreas Bießmann kwbimage uses get_current_dir_name(3) which is a gnu extension and not available on darwin host. Fix this by converting to portable getcwd(3) function. This patch fixes the following error: ---8<--- HOSTCC tools/kwbimage.o tools/kwbimage.c:399:16: warning: implicit decl

[U-Boot] [PATCH] spl: move comment to the right place

2014-10-26 Thread andreas . devel
From: Andreas Bießmann Commit ae83d882f5fdf7aa7c5aec09cfafb593153c25d6 moved the fixed size mentioned in the comment but missed the comment. Signed-off-by: Andreas Bießmann --- common/spl/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/spl/spl.c b/common/spl/s

[U-Boot] [PATCH] gitignore: ignore atmel pmecc parameter tool

2014-10-26 Thread andreas . devel
From: Andreas Bießmann Signed-off-by: Andreas Bießmann --- tools/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/.gitignore b/tools/.gitignore index cefe923..e7f0f8f 100644 --- a/tools/.gitignore +++ b/tools/.gitignore @@ -1,3 +1,4 @@ +/atmel_pmecc_params /bmp_logo /envc

Re: [U-Boot] [U-Boot, 1/3] arm: at91/configs: add libfdt to configuration

2013-03-12 Thread andreas . devel
Dear Bo Shen, Bo Shen writes: >From: Nicolas Ferre > >support to boot device tree Linux kernel > >Signed-off-by: Nicolas Ferre >[Add libftd for at91rm9200, at91sam9263, at91sam9rl] >Signed-off-by: Bo Shen > >--- >include/configs/at91rm9200ek.h |2 ++ > include/configs/at91sam9260ek.h |

Re: [U-Boot] [U-Boot, 2/3] arm: at91/configs: add bootz to configuration

2013-03-12 Thread andreas . devel
Dear Bo Shen, Bo Shen writes: >From: Nicolas Ferre > >Support to boot zImage > >Signed-off-by: Nicolas Ferre >[Add bootz for at91rm9200, at91sam9263, at91sam9rl] >Signed-off-by: Bo Shen > >--- >include/configs/at91rm9200ek.h |1 + > include/configs/at91sam9260ek.h|1 + > include/

Re: [U-Boot] [U-Boot,3/3] ARM: at91: change nand flash table

2013-03-12 Thread andreas . devel
Dear Bo Shen, Bo Shen writes: >Change nand flash partition tablke according to www.at91.com/linux4sam > >more information: >http://www.at91.com/linux4sam/bin/view/Linux4SAM/GettingStarted#Linux4SAM_NandFlash_demo_Memory > >Signed-off-by: Bo Shen >Signed-off-by: Bo Shen > >--- >include/configs/

Re: [U-Boot] ARM: at91sam9x5: Using CPU string directly

2013-03-12 Thread andreas . devel
Dear Bo Shen, Bo Shen writes: >As the CPU name is not configurable, using CPU string directly > >Signed-off-by: Bo Shen > >--- >arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c | 14 +++--- > arch/arm/include/asm/arch-at91/at91sam9x5.h |6 -- > 2 files changed, 7 insertions(

Re: [U-Boot] ARM: sam9x5: fix ethernet pins in MII mode

2013-03-12 Thread andreas . devel
Dear Bo Shen, Bo Shen writes: >From: Jesse Gilles > >Fix pin setting in MII mode > >Signed-off-by: Jesse Gilles > >--- >arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) applied to u-boot-atmel/master, thanks! Best regar

[U-Boot] [PATCH] Fix strict-aliasing warning in dlmalloc

2012-09-04 Thread andreas . devel
From: Simon Glass This fixes the following warnings in dlmalloc seen with my gcc 4.6. dlmalloc.c: In function 'malloc_bin_reloc': dlmalloc.c:1493: warning: dereferencing pointer 'p' does break strict-aliasing rules dlmalloc.c:1493: warning: dereferencing pointer 'p' does break strict-aliasing

[U-Boot] [PATCH v2] avr32: add atngw100mkii board

2012-09-04 Thread andreas . devel
From: Andreas Bießmann This patch is derived from an older patch provided by atmel in its buildroot-avr32-v3.0.0.tar.bz2 Signed-off-by: Andreas Bießmann cc: Hans-Christian Egtvedt --- since v1: * rebase on current u-boot-avr32/master (move of grasshopper in MAINTAINERS) MAINTAINERS

Re: [U-Boot] ARM: atmel: add at91sam9g20ek_2mmc nand boot support

2013-02-19 Thread andreas . devel
Dear Bo Shen, > Add at91sam9g20_2mmc nand boot support. on this board, there is no > dataflash, so disable it > > change one commet for at91sam9g20ek board > > Signed-off-by: Bo Shen > > --- > board/atmel/at91sam9260ek/at91sam9260ek.c |7 ++- > boards.cfg

[U-Boot] [PATCH v7] unify version_string

2011-07-28 Thread andreas . devel
From: Andreas Bießmann This patch removes the architecture specific implementation of version_string where possible. Some architectures use a special place and therefore we provide U_BOOT_VERSION_STRING definition and a common weak symbol version_string. Signed-off-by: Andreas Bießmann CC: Mike