From patchwork Tue Oct 21 15:41:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 401574 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 4EB7C140076 for ; Wed, 22 Oct 2014 02:42:20 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 800984B665; Tue, 21 Oct 2014 17:42:16 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pjxfZELhWuOo; Tue, 21 Oct 2014 17:42:16 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AD1874B65F; Tue, 21 Oct 2014 17:42:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 228194B65F for ; Tue, 21 Oct 2014 17:42:10 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ztd+23SQWeUz for ; Tue, 21 Oct 2014 17:42:09 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by theia.denx.de (Postfix) with ESMTPS id 6D19E4B65D for ; Tue, 21 Oct 2014 17:42:05 +0200 (CEST) Received: by mail-pd0-f178.google.com with SMTP id y10so1569951pdj.37 for ; Tue, 21 Oct 2014 08:42:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=elou2X29h2XuJBlGTdz/egrnsuvCLke9FLJEi+2O6qs=; b=YNrGXJIfwaYRKBwfngjSWWial1NjkGdNIlOTnoA8l5GHGQjxtoJyqRRHAX2AsabHe1 k3dklKI+ddcOnVhyLl2vs98gMycldw4PnrbKh8miKBWnJRRRw+Gwo84+DzLFwXIxVoY5 b5riKg/mHHt6FvpRdoGlGBKhSXaLLtxD8L4snDGbb6RGdihEzwbmMp/1u1toDlw29wVl E8gm67LbhG3VizLwIrztih0mhwYX800KOdhJorvkUAnUUPmFIYU6mMm7BPse0pkM//sY figOZeSo1XuJDBaVCpEe8TWhlWUofsyhNS5hR1Bil7iDmTCKwosQvk6j5nP1PpMfymhA 5P0A== X-Received: by 10.66.185.49 with SMTP id ez17mr2146648pac.25.1413906123848; Tue, 21 Oct 2014 08:42:03 -0700 (PDT) Received: from oscar.sesame (112.136.125.45.er.eaccess.ne.jp. [112.136.125.45]) by mx.google.com with ESMTPSA id nh8sm12258157pdb.25.2014.10.21.08.42.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 21 Oct 2014 08:42:03 -0700 (PDT) From: Masahiro Yamada To: u-boot@lists.denx.de Date: Wed, 22 Oct 2014 00:41:49 +0900 Message-Id: <1413906109-20721-1-git-send-email-yamada.m@jp.panasonic.com> X-Mailer: git-send-email 1.9.1 Subject: [U-Boot] [PATCH] doc: fix README.standalone X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Since commit fe1378a961e5 (ARM: use r9 for gd), r9 register is used on ARM to hold global_data. Signed-off-by: Masahiro Yamada Acked-by: Jeroen Hofstee --- 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.