Message ID | 1b32bab5c050d099b2f6d49bc4896322ed03d788.1655299267.git.michal.simek@amd.com |
---|---|
State | Accepted |
Commit | 986727ca11425942807e226fe50c16e4b223a4e5 |
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=GVuSk/a2; 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 4LNQxz4WHXz9tlf for <incoming@patchwork.ozlabs.org>; Wed, 15 Jun 2022 23:24:23 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6CED284522; Wed, 15 Jun 2022 15:22:10 +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="GVuSk/a2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3C2A9844FF; Wed, 15 Jun 2022 15:21:53 +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-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) (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 C788E844E7 for <u-boot@lists.denx.de>; Wed, 15 Jun 2022 15:21:50 +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-ed1-x536.google.com with SMTP id w27so16111400edl.7 for <u-boot@lists.denx.de>; Wed, 15 Jun 2022 06:21:50 -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=/1f9n0nd7OMxqcDbecyk8IQlRj7O/M19gnjS+/3QcqQ=; b=GVuSk/a294swNwNk+05c6hF/EfpQAuBLDEbM+/3YpbTcayImkS6tk+9pyDC0HALu4b 9flTR7AWCdyNvEjOhoBxkSVFuPNKmD0XkTbFD1CcAF8VHNy2FtMIDJozdImRCNrKrKvU rEewwdCXdrizsaeSC+hvXZjQeDDaL+JZMBzklNhyy1tOCU99cSwo/kv3FyA0bv2dEXPp pGFSCD3MMKuH/20I0gDcWQnS2lHS7BOqFjNETD9MqFA03MPclNC1CQeRK8L3gHwK7RyK h+EVSKSXTo6ePikDXKCslP6G3tBr2tHlAenkSFAhvWYdhCcPYbNtyRJvlbYyfmBlVXBa Vn3w== 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=/1f9n0nd7OMxqcDbecyk8IQlRj7O/M19gnjS+/3QcqQ=; b=ZAVcGaiLWg5uGuRGeVB7FAeKtnxN49gUjokzzxCtJNfwo22liPzCnr22PJPh10BzYb Ffw1Xd/G+I6ppHb+aT/YkDl8dQ5t9fEsHSCyO4JVA8xvtROnSGiq2aGzCMzLegHHGDHG rGma524X+Zb9B9xohLfmdg+rPtnpamKVzZs8bOBKjFgRcQZBLt96QPoX7/HWpL9DjqFT XiaVnj18mLq0FZTI9pjyxKQM/Vpw6XCCpCZgFRUPp5F7neWZG1OjQPRTdwAmuZU7li6F Ar/Pz/2v/PJSQh6Bn8wXWg0b4eAgGGLgvrbcVIzA2fVtBG9fWQqCLFnZi4zWuf9T0Mlt PXiA== X-Gm-Message-State: AOAM531OiZV5hcLUsmi8t0gwAgq+vc1VmMJtH5nEHWgU/OHbqc8q81ne KTaiil8EPsOu4OX8YTDSSIrnsXIuFLrB2A== X-Google-Smtp-Source: ABdhPJyBkHXMcQPzjdWKFrSKUZpQFk9Q8XvWuYtLny17V3FMRqIGIfqvwx2ZyiixghvKxgrzurl3oA== X-Received: by 2002:a05:6402:330:b0:42d:cd47:89f3 with SMTP id q16-20020a056402033000b0042dcd4789f3mr12598410edw.301.1655299310096; Wed, 15 Jun 2022 06:21:50 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::f9e]) by smtp.gmail.com with ESMTPSA id le6-20020a170907170600b0070e1adff390sm6293237ejc.34.2022.06.15.06.21.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 06:21:49 -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 v4 15/23] microblaze: Remove code around r20 in relocate_code() Date: Wed, 15 Jun 2022 15:21:11 +0200 Message-Id: <1b32bab5c050d099b2f6d49bc4896322ed03d788.1655299267.git.michal.simek@amd.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <cover.1655299267.git.michal.simek@amd.com> References: <cover.1655299267.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 f2d6d12deb73..c3d925c1d151 100644 --- a/arch/microblaze/cpu/start.S +++ b/arch/microblaze/cpu/start.S @@ -310,11 +310,6 @@ relocate_code: bneid r12, 3b addik r21. r21, 4 - /* Update pointer to GOT */ - mfs r20, rpc - addik r20, r20, _GLOBAL_OFFSET_TABLE_ + 8 - addk r20, r20, r23 - /* Flush caches to ensure consistency */ addik r5, r0, 0 addik r6, r0, XILINX_DCACHE_BYTE_SIZE
r20 is not used that's why remove logic around it. Signed-off-by: Michal Simek <michal.simek@amd.com> --- (no changes since v1) arch/microblaze/cpu/start.S | 5 ----- 1 file changed, 5 deletions(-)