Message ID | 680597d51955bcede82c5e0ecdf9d04a4bf1054d.1654178252.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=WGqi4nW1; 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 4LDSNl5fsMz9sFr for <incoming@patchwork.ozlabs.org>; Fri, 3 Jun 2022 00:01:27 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F09A18439F; Thu, 2 Jun 2022 15:59:44 +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="WGqi4nW1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B92258431A; Thu, 2 Jun 2022 15:58:28 +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-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) (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 53E9784346 for <u-boot@lists.denx.de>; Thu, 2 Jun 2022 15:58:15 +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-x62f.google.com with SMTP id f21so10111025ejh.11 for <u-boot@lists.denx.de>; Thu, 02 Jun 2022 06:58:15 -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=wVqpGodXBClsDdPkK1TN8qlczFFfaOzHCvDxY0vyQeI=; b=WGqi4nW1lSUanHBL3o3WSwNK4xzHt0HatT+t65cixQSD0W9IXAKNqXU7hta28WKsTs hLHouxF93F0IP/FTaGHNnu7UWOelzc2j4od+ZuesPyNLSUtcgiG+zOnTqWRp7uqMfl92 I6gO8LKGEyw4U26bEfACSQKLspEJIER1vvJGFFD41+vGj5OZVIPITqurk1AXmGRcA+KT /heBgiTuVbl1L6+9sMSACz0BqKT2zjYeq15MN2DTu6zoUyiZpyC5X4cEpUdY5vQCHDPV B96gPg9YbuRG1comwnhTIBqAOxW8YFu2aTQvIO1wQsHe4MOAIjYRASj5aNd9/ahT9FuF HmRg== 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=wVqpGodXBClsDdPkK1TN8qlczFFfaOzHCvDxY0vyQeI=; b=PDvLkk57PNiIspKYQ2jH0v/GWNuPaZ2jNEN5ry7dx7aRNYSiLXeDuBz3en2n9U+RPw BK8bBxrLvh1M4BugDfes5Ze0TdYPNGIAAa4CMKU27bRlq3EMNnYUOemBySXzZS3PbLyD 225gQLvxd/yyJIsdC0vx5pzV1yT/gwMckPd2GffYgnlrL8q1pQxya65AESd2TzXpReVx OG97gavhZAa/UqL54Kxb3oqEXhkOhI3P6qMzD1lpRPLQveeEXCxIkEgv0fEel7YdewRL XQzE4u7b+7Yw+5HH+AA2nXUAW7+cWGeQt/DbvNMNFFEmpaSb6dZqm08yqDqV4kjTKFkI H1Yw== X-Gm-Message-State: AOAM5316BcNRsL/pFgsPlzKTCV5c0P0nN2/+nzCp0HC4B2axHbueVH73 Wqk5pwPf3wIAp6rX/+GFOEBcUcq5gJe2Qw== X-Google-Smtp-Source: ABdhPJxNnRxGGfqWOacWYacK5UYNdH+4gc1GdHuCYIf/QRAs7wNQaeIzcjQ2IZ4A+8ZOsno501NNlA== X-Received: by 2002:a17:906:54c3:b0:6ef:d07b:c8ec with SMTP id c3-20020a17090654c300b006efd07bc8ecmr4366188ejp.687.1654178294870; Thu, 02 Jun 2022 06:58:14 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::f9e]) by smtp.gmail.com with ESMTPSA id w7-20020a056402070700b0042aa153e73esm2496882edx.12.2022.06.02.06.58.14 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 Jun 2022 06:58:14 -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 16/22] microblaze: Add comment about reset location Date: Thu, 2 Jun 2022 15:57:40 +0200 Message-Id: <680597d51955bcede82c5e0ecdf9d04a4bf1054d.1654178252.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.0 In-Reply-To: <cover.1654178252.git.michal.simek@amd.com> References: <cover.1654178252.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> --- arch/microblaze/cpu/start.S | 1 + 1 file changed, 1 insertion(+)