u-boot/post
Wolfgang Denk 7ddd4475a8 post/lib_powerpc/multi.c: fix stack overflow error
The code and comment disagreed: the comment claimed that r6...r31
were copied, and consequently the arrays for "src" and "dst" were
declared with 26 entries, but the actual code ("lmw r5,0(r3)" and
"stmw r5,0(r4)") copied _27_ words (r5 through r31), which resulted
in false "POST cpu Error at multi test" messages.

Fix the comment and the array sizes.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Stefan Roese <sr@denx.de>
Cc: Kumar Gala <galak@kernel.crashing.org>
Cc: Kim Phillips <kim.phillips@freescale.com>
Cc: Andy Fleming <afleming@gmail.com>
Acked-by: Anatolij Gustschin <agust@denx.de>
Tested-by: Anatolij Gustschin <agust@denx.de>
2011-12-23 20:08:10 +01:00
..
board post/board/lwmon5/gdc.c: Fix GCC 4.6 build warning 2011-12-02 00:14:40 +01:00
cpu post: use ARRAY_SIZE 2011-07-26 16:48:33 +02:00
drivers arm, post, memory: fix bug if sdram base != 0x00000000 2011-10-23 23:32:44 +02:00
lib_powerpc post/lib_powerpc/multi.c: fix stack overflow error 2011-12-23 20:08:10 +01:00
Makefile Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
post.c post: fix compile issue for post tests on kirkwood 2011-12-11 13:44:23 +01:00
rules.mk Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
tests.c POST: add new memory regions test 2011-10-05 22:03:11 +02:00