[U-Boot] [PATCH v3] common: Remove invalid endianess conversion

2014-02-08 Thread Christian Eggers
ithout this conversion the code works correctly at least on AT91SAM9G45. On big endian systems there should be no difference after applying this patch because uimage_to_cpu(x) and ntohl(x) both expand to 'x'. Signed-off-by: Christian Eggers --- CC: sessyargc+u-b...@gmail.com Changes in v3:

[U-Boot] [PATCH v2] common: Remove invalid endianess conversion

2014-02-06 Thread Christian Eggers
ithout this conversion the code works correctly at least on ARM9. Addtionally "appl" need not be dereferenced with the "*" operator. Signed-off-by: Christian Eggers --- Changes in v2: - Improve description why the patch is required - (appl)(...) --> appl(...) Further rema

[U-Boot] [PATCH] common: Remove invalid endianess conversion

2014-02-05 Thread Christian Eggers
do_bootm_standanlone() calls ntohl(images->ep) which is obviously wrong (find . -name '*.c' | xargs grep -n -- 'images->ep'). Without this conversion the code works correctly at least on ARM9. Addtionally "appl" must not be dereferenced with the "*&qu