From patchwork Sat Jul 11 22:45:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Schwierzeck X-Patchwork-Id: 1327436 X-Patchwork-Delegate: daniel.schwierzeck@googlemail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=QQWG2Xak; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4B44lQ1kljz9sQt for ; Sun, 12 Jul 2020 08:46:26 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 507BD8217D; Sun, 12 Jul 2020 00:46:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="QQWG2Xak"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BD33882178; Sun, 12 Jul 2020 00:46:08 +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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) (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 C977581F80 for ; Sun, 12 Jul 2020 00:46:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=daniel.schwierzeck@gmail.com Received: by mail-wr1-x443.google.com with SMTP id a6so9364972wrm.4 for ; Sat, 11 Jul 2020 15:46:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7U8T62QAwlKNNKceaXDjPgw+2FcFmtKvQIZDc2fQyzo=; b=QQWG2Xak0TE2kA9Tbc8co5hjyEIDRb6ZbhFzYMu2B/3JG58M8Ta7VpjJOfzn+9nwlc Z2ooJWV5X9YFEy6h4AHhzWR7YQFQXSF9WCHWCVsGMXycEBPo3fYDatWUblbcvHyX0jsw PlLGI3hUQwy1hHl0RgVHNGidnSXFkYpDkXGbhlSUaMIOKX3+lCSbFxJgAuWGFlhHWzJl UmCw0L9WNntYPDjBPtRN7Mkhwp/JHjUiV/NWXqSMSCkdtwda4Tgw0Ziey0FdxfLUdPrG S4ihbkutqHnmTfSSLQ3WXj5taaHDJROC37p6Wkjaxwbf2CNM9+3sU2YtDYLFWIrERcyJ wOAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7U8T62QAwlKNNKceaXDjPgw+2FcFmtKvQIZDc2fQyzo=; b=Fe9viERTXy3elBmea+xkrPZIUkiZ1Rj1GjJJHV/4llROM12cPkCdUHvDwIHQGVdGUr hs+469O4v1wMeI5ceE+SS+lDS/wGqTrJPjUdmXiJrLa1DA5+atinikqIpgDobkqVeZGo Ronvsmps7ryVzH4SMnvU3GSAqZTloNBeM2Av3idVMBvSL7R2OK+eT+696/n63V8VoehZ lirKCqRCc9WMV/1EEKGIGcikz8oiylctSZ2hLbJwwVggeFnE5k6PicEl0pZyDGeBmtEL QfkWPGMlAD/DJzJakGgxWVPayFG4st56UK5M0nkalj7IlVrTUcfjaj84roUpW7lxjl3a 6LHg== X-Gm-Message-State: AOAM531BvLZUmGaYJ3osl1H9bPxSalLgZmtTQTBx42UdFKDl1jVRhyK4 ot8rzEVwKAz8TQnuicat4qqRHaSU X-Google-Smtp-Source: ABdhPJzTbTTk7ShIdRjHOOSS211gm+UtCk4eGWWWDmJwjzQbamvqAZE1RKlDzZaKv4bR7lOC64SW2g== X-Received: by 2002:a5d:424f:: with SMTP id s15mr66876258wrr.342.1594507565129; Sat, 11 Jul 2020 15:46:05 -0700 (PDT) Received: from workstation.lan.schwierd.dedyn.io ([2001:16b8:559e:4701:4026:74cf:a34a:dfa1]) by smtp.gmail.com with ESMTPSA id r28sm15886860wrr.20.2020.07.11.15.46.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Jul 2020 15:46:04 -0700 (PDT) From: Daniel Schwierzeck To: u-boot@lists.denx.de Cc: Stefan Roese , Daniel Schwierzeck Subject: [PATCH 1/4] mips: start.S: remove dead code Date: Sun, 12 Jul 2020 00:45:54 +0200 Message-Id: <20200711224557.612848-2-daniel.schwierzeck@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200711224557.612848-1-daniel.schwierzeck@gmail.com> References: <20200711224557.612848-1-daniel.schwierzeck@gmail.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.3 at phobos.denx.de X-Virus-Status: Clean Since commit 703ec9ddf965 ("MIPS: Stop building position independent code") the relocation code was completely reworked and removed from start.S. Remove some left-overs of the old code. Signed-off-by: Daniel Schwierzeck Reviewed-by: Stefan Roese Tested-by: Stefan Roese --- arch/mips/cpu/start.S | 9 --------- 1 file changed, 9 deletions(-) diff --git a/arch/mips/cpu/start.S b/arch/mips/cpu/start.S index 6de9a2f362..c3d1e64c1c 100644 --- a/arch/mips/cpu/start.S +++ b/arch/mips/cpu/start.S @@ -17,19 +17,10 @@ #endif #ifdef CONFIG_32BIT -# define MIPS_RELOC 3 # define STATUS_SET 0 #endif #ifdef CONFIG_64BIT -# ifdef CONFIG_SYS_LITTLE_ENDIAN -# define MIPS64_R_INFO(ssym, r_type3, r_type2, r_type) \ - (((r_type) << 24) | ((r_type2) << 16) | ((r_type3) << 8) | (ssym)) -# else -# define MIPS64_R_INFO(ssym, r_type3, r_type2, r_type) \ - ((r_type) | ((r_type2) << 8) | ((r_type3) << 16) | (ssym) << 24) -# endif -# define MIPS_RELOC MIPS64_R_INFO(0x00, 0x00, 0x12, 0x03) # define STATUS_SET ST0_KX #endif