From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BBAF5C43334 for ; Wed, 15 Jun 2022 13:24:21 +0000 (UTC) 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) 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 ; 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 ; 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 X-Google-Original-From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Michal Simek , Ovidiu Panait 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: References: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean r20 is not used that's why remove logic around it. Signed-off-by: Michal Simek --- (no changes since v1) arch/microblaze/cpu/start.S | 5 ----- 1 file changed, 5 deletions(-) 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 -- 2.36.1