[U-Boot] [PATCH] powerpc: fix wrong comment at GOT definitions

Heiko Schocher hs at denx.de
Thu Jun 17 07:01:40 CEST 2010


r12 is used for accessing the GOT not r14. Fix this in the
comment.

Signed-off-by: Heiko Schocher <hs at denx.de>
---
 include/ppc_asm.tmpl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/ppc_asm.tmpl b/include/ppc_asm.tmpl
index 84de146..2db4784 100644
--- a/include/ppc_asm.tmpl
+++ b/include/ppc_asm.tmpl
@@ -35,7 +35,7 @@
  *
  * Stolen from prepboot/bootldr.h, (C) 1998 Gabriel Paubert, paubert at iram.es
  *
- * Uses r14 to access the GOT
+ * Uses r12 to access the GOT
  */

 #define START_GOT			\
-- 
1.6.2.5

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list