summaryrefslogtreecommitdiff
path: root/post/lib_powerpc/multi.c
AgeCommit message (Collapse)Author
2013-07-24Add GPL-2.0+ SPDX-License-Identifier to source filesWolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <[email protected]>
2011-12-23post/lib_powerpc/multi.c: fix stack overflow errorWolfgang Denk
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 <[email protected]> Cc: Anatolij Gustschin <[email protected]> Cc: Stefan Roese <[email protected]> Cc: Kumar Gala <[email protected]> Cc: Kim Phillips <[email protected]> Cc: Andy Fleming <[email protected]> Acked-by: Anatolij Gustschin <[email protected]> Tested-by: Anatolij Gustschin <[email protected]>
2011-12-23post/lib_powerpc/multi.c: code cleanupWolfgang Denk
Clean up and document the code: - get rid of unneeded code block - add comment which code is generated Signed-off-by: Wolfgang Denk <[email protected]> Cc: Anatolij Gustschin <[email protected]> Cc: Stefan Roese <[email protected]> Cc: Kumar Gala <[email protected]> Cc: Kim Phillips <[email protected]> Cc: Andy Fleming <[email protected]> Acked-by: Anatolij Gustschin <[email protected]>
2011-12-23post/lib_powerpc/multi.c: make checkpatch cleanWolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]> Cc: Anatolij Gustschin <[email protected]> Cc: Stefan Roese <[email protected]> Cc: Kumar Gala <[email protected]> Cc: Kim Phillips <[email protected]> Cc: Andy Fleming <[email protected]> Acked-by: Anatolij Gustschin <[email protected]>
2011-07-26post: use ARRAY_SIZEMike Frysinger
We've got a handy dandy macro already for calculating the number of elements in an array, so use it. Signed-off-by: Mike Frysinger <[email protected]>
2010-04-21Move arch/ppc to arch/powerpcStefan Roese
As discussed on the list, move "arch/ppc" to "arch/powerpc" to better match the Linux directory structure. Please note that this patch also changes the "ppc" target in MAKEALL to "powerpc" to match this new infrastructure. But "ppc" is kept as an alias for now, to not break compatibility with scripts using this name. Signed-off-by: Stefan Roese <[email protected]> Acked-by: Wolfgang Denk <[email protected]> Acked-by: Detlev Zundel <[email protected]> Acked-by: Kim Phillips <[email protected]> Cc: Peter Tyser <[email protected]> Cc: Anatolij Gustschin <[email protected]>