public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] doc: fix README.standalone
@ 2014-10-21 15:41 Masahiro Yamada
  2014-10-21 15:53 ` Jeroen Hofstee
  2014-10-27 22:21 ` [U-Boot] " Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Masahiro Yamada @ 2014-10-21 15:41 UTC (permalink / raw)
  To: u-boot

Since commit fe1378a961e5 (ARM: use r9 for gd), r9 register
is used on ARM to hold global_data.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---

 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.
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] doc: fix README.standalone
  2014-10-21 15:41 [U-Boot] [PATCH] doc: fix README.standalone Masahiro Yamada
@ 2014-10-21 15:53 ` Jeroen Hofstee
  2014-10-27 22:21 ` [U-Boot] " Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Jeroen Hofstee @ 2014-10-21 15:53 UTC (permalink / raw)
  To: u-boot

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 <yamada.m@jp.panasonic.com>
> ---
>
>   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 <jeroen@myspectrum.nl>

Thanks,
Jeroen

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] doc: fix README.standalone
  2014-10-21 15:41 [U-Boot] [PATCH] doc: fix README.standalone Masahiro Yamada
  2014-10-21 15:53 ` Jeroen Hofstee
@ 2014-10-27 22:21 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2014-10-27 22:21 UTC (permalink / raw)
  To: u-boot

On Wed, Oct 22, 2014 at 12:41:49AM +0900, 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 <yamada.m@jp.panasonic.com>
> Acked-by: Jeroen Hofstee <jeroen@myspectrum.nl>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141027/db614938/attachment.pgp>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-27 22:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-21 15:41 [U-Boot] [PATCH] doc: fix README.standalone Masahiro Yamada
2014-10-21 15:53 ` Jeroen Hofstee
2014-10-27 22:21 ` [U-Boot] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox