diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-10-22 00:41:49 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-10-27 17:54:11 -0400 |
commit | 6a10560ce75c559727e4a95f30e3bb30ed2fa35a (patch) | |
tree | 5c380ce4eee8396d7338886e610ebd95b238bd30 /doc/README.standalone | |
parent | 17da7120249bfdef877f46be5bbcb3cc01212eb9 (diff) | |
download | u-boot-6a10560ce75c559727e4a95f30e3bb30ed2fa35a.tar.gz u-boot-6a10560ce75c559727e4a95f30e3bb30ed2fa35a.tar.bz2 u-boot-6a10560ce75c559727e4a95f30e3bb30ed2fa35a.zip |
doc: fix README.standalone
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>
Diffstat (limited to 'doc/README.standalone')
-rw-r--r-- | doc/README.standalone | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/README.standalone b/doc/README.standalone index 2be5f27696..e3000efcc6 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. |