Message ID | 80abf05e8071859e9196b6e5e7f1d98738bd3f7d.1655287429.git.michal.simek@amd.com |
---|---|
State | Superseded |
Delegated to: | Michal Simek |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=monstr-eu.20210112.gappssmtp.com header.i=@monstr-eu.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=U5NcXyCv; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LNLZT57dsz9t6h for <incoming@patchwork.ozlabs.org>; Wed, 15 Jun 2022 20:07:13 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0F452844E1; Wed, 15 Jun 2022 12:04:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=monstr.eu Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=monstr-eu.20210112.gappssmtp.com header.i=@monstr-eu.20210112.gappssmtp.com header.b="U5NcXyCv"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8F3BE844B3; Wed, 15 Jun 2022 12:04:38 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9BE838446C for <u-boot@lists.denx.de>; Wed, 15 Jun 2022 12:04:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=monstr.eu Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ej1-x632.google.com with SMTP id v1so22112325ejg.13 for <u-boot@lists.denx.de>; Wed, 15 Jun 2022 03:04:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HHn5YZe9TJxpReTWRnM+mdVX0gVPBjQ/hegbrYYrLTk=; b=U5NcXyCvheT0OstJcaXInmeEc6rU/G4OxplRVNDT8gosBKJPICNwpdd6xwIYQ7G3B7 iIKMxlG0KQMef0LIJsXvyVcR5Gc5pIcJOralVgAe7MtVzSjacah4hkoQRk2Miagu28MJ 3SfeIternsEYJijUazMMDh+3c2cXcYRGqXJMtCQfE7fHcd+ha/sxx8Z7GTojv7ldR45M 2RFPIymzXSiHEr+QpXRJ242F4R89y1TOudKkXQAptEAhOCaNWYX5tO2lzZbQ9NYKWNTk jA5K9hOjf3OUtpR/xRIG/4CBQhVRlNTmijpm30bM58B2L9QH6y9ZN77vVn87/+Ltuy0/ Sjog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HHn5YZe9TJxpReTWRnM+mdVX0gVPBjQ/hegbrYYrLTk=; b=bdMv7IRu4mCXD2EJ3ZtsoDe//YoBAkdZ02kkvUUXd3fw/LvwVOsAoEwlJYxPeQ3H5v Hidi/lwlCHowXXk5KwfVg6aVF1W91Al9OTKyKYrfbosYV98srBOrKQHiVS3b9FMn+6E8 lJAqGWl/kmQab4ElOlPlxFfFDDXMDhNkc7sOLkYXm8+JQA2WJ1QHI6Vf8KdXKh4Jo8hI nAA50lSCX3Z2CU7rDXwdFF4+IefKVaoF+5dcfiEurwMlgP6tjhs3f+dWrB+UE4MMcpSl kAdl/r3rbqAa+MMyP5RM+emWSVIRL4k9u9bMIW9Zeb5Fuh7jtjKX7kkQopE6o7Rko6Xn 67yw== X-Gm-Message-State: AJIora9fa8Nl6Aa++JbX8L7YwDfaaAwMBN4X/XVp1wcNIkA1WZtqIHxQ IYJ0hLISMqGur/7m9GPYN++Glr5eVtX3eA== X-Google-Smtp-Source: AGRyM1tljfXjF3PPgVwQg41P1aPar+laMfdd3w5Kc0n/5EPWaU3P7p6VW+YlWDsMWwe9XSJUioBDwg== X-Received: by 2002:a17:906:1501:b0:715:76d0:862a with SMTP id b1-20020a170906150100b0071576d0862amr8087292ejd.681.1655287475134; Wed, 15 Jun 2022 03:04:35 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::f9e]) by smtp.gmail.com with ESMTPSA id y17-20020a056402359100b0043158c608e4sm9307384edc.27.2022.06.15.03.04.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 03:04:34 -0700 (PDT) From: Michal Simek <monstr@monstr.eu> X-Google-Original-From: Michal Simek <michal.simek@amd.com> To: u-boot@lists.denx.de, git@xilinx.com Cc: Michal Simek <monstr@monstr.eu>, Ovidiu Panait <ovidiu.panait@windriver.com> Subject: [PATCH v3 17/23] microblaze: Add comment about reset location Date: Wed, 15 Jun 2022 12:03:54 +0200 Message-Id: <80abf05e8071859e9196b6e5e7f1d98738bd3f7d.1655287429.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <cover.1655287429.git.michal.simek@amd.com> References: <cover.1655287429.git.michal.simek@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean |
Series |
microblaze: Add support for full relocation
|
expand
|
diff --git a/arch/microblaze/cpu/start.S b/arch/microblaze/cpu/start.S index db3998f54505..9aa5fd099361 100644 --- a/arch/microblaze/cpu/start.S +++ b/arch/microblaze/cpu/start.S @@ -144,6 +144,7 @@ __setup_exceptions: swi r3, r4, 0x4 /* reset address - brai opcode */ addik r6, r0, _start + /* Intentionally keep reset vector back to origin u-boot location */ sw r6, r1, r0 lhu r7, r1, r10 rsubi r8, r10, 0x2
Better to add comment to explain why reset vector points all the time to origin U-Boot location. If reset happens U-Boot should start from it's origin location. Signed-off-by: Michal Simek <michal.simek@amd.com> --- (no changes since v1) arch/microblaze/cpu/start.S | 1 + 1 file changed, 1 insertion(+)