]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: fix the standalone programs
authorJeroen Hofstee <jeroen@myspectrum.nl>
Thu, 21 Nov 2013 21:32:51 +0000 (22:32 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 12 Dec 2013 10:27:59 +0000 (11:27 +0100)
commita5a42eec8ed64cbc72d2e59199819e48f904e38f
tree9123ad59ae995d3128260bb555f6a1dc77b1f383
parentbd851c7a26b39309052b2359dc1994127f518534
ARM: fix the standalone programs

The standalone programs do not use the api calls, but rely
directly on u-boot variable gd->jt for the jump table. Commit
fe1378a - "ARM: use r9 for gd" changed the register holding
the address of gd, but the assembly code in the standalone
examples was not updated accordingly. This broke the programs
on ARM relying on the jumptable in the v2013.10 release.
This patch unbricks them by using the correct register.

Cc: Michal Simek <monstr@monstr.eu>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
examples/standalone/stubs.c