From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeroen Hofstee Date: Tue, 21 Oct 2014 17:53:09 +0200 Subject: [U-Boot] [PATCH] doc: fix README.standalone In-Reply-To: <1413906109-20721-1-git-send-email-yamada.m@jp.panasonic.com> References: <1413906109-20721-1-git-send-email-yamada.m@jp.panasonic.com> Message-ID: <54468165.7080802@myspectrum.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Masahiro, On 21-10-14 17:41, Masahiro Yamada wrote: > Since commit fe1378a961e5 (ARM: use r9 for gd), r9 register > is used on ARM to hold global_data. > > Signed-off-by: Masahiro Yamada > --- > > doc/README.standalone | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/doc/README.standalone b/doc/README.standalone > index 2be5f27..e3000ef 100644 > --- a/doc/README.standalone > +++ b/doc/README.standalone > @@ -21,7 +21,7 @@ Design Notes on Exporting U-Boot Functions to Standalone Applications: > 2. The pointer to the jump table is passed to the application in a > machine-dependent way. PowerPC, ARM, MIPS, Blackfin and Nios II > architectures use a dedicated register to hold the pointer to the > - 'global_data' structure: r2 on PowerPC, r8 on ARM, k0 on MIPS, > + 'global_data' structure: r2 on PowerPC, r9 on ARM, k0 on MIPS, > P3 on Blackfin and gp on Nios II. The x86 architecture does not > use such a register; instead, the pointer to the 'global_data' > structure is passed as 'argv[-1]' pointer. Acked-by: Jeroen Hofstee Thanks, Jeroen