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 00744C433F5 for ; Tue, 31 May 2022 18:15:57 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 034D483E65; Tue, 31 May 2022 20:15:30 +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="m99liP8N"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 220B183F40; Tue, 31 May 2022 20:15:18 +0200 (CEST) Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (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 E70CC83E65 for ; Tue, 31 May 2022 20:14:51 +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=ovpanait@gmail.com Received: by mail-wr1-x430.google.com with SMTP id k16so15426652wrg.7 for ; Tue, 31 May 2022 11:14:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GK8rt+AK0/xQmT5apTO9sBoj8aeoJ5NKatEzIHHaNSw=; b=m99liP8NM5JW10CbKA/OipWbI2RqMeRcoUPAAwu6wuv3/oCUNlNYGJqwp2dL0OXuu1 dbjzgdrrM4L/NkaU0EOsKPk4A845Wji8lFd0iF3mU5pDqScHrHNPrXP6WAAWZKt7mXtm v/85TX6Bwp+aRyP9nHYkIxCHuQy0rBcbGy/jkWls9brVjt5r2jhWmsGJiM97EJp0TDyj Qq96gm0tLhlpDLD2YffO40jcx0U5nEmm1PmrXXssGbdBwx4GtwJ4xqHqhQiR0moPgFvH zidRIEgh19oAvFdrBbw9t3lmh5VwQzov1rjhSDEpyhxkBO4oKEFRUuLjoIDuLiJGnnC/ hOZA== 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=GK8rt+AK0/xQmT5apTO9sBoj8aeoJ5NKatEzIHHaNSw=; b=RG7WbJwgWJB/G0jERacoghOKaT2alGqwpWEfH8VJP4yiLLFuyzgRlLE9Hvmiif/Ho2 0Gqo8HHbHm9J0wGjhr7vD6kbcI7+zWlrsxJpcRHCGCbjJzjx2djQPGMaoH+BhUU3of5I km6e4PFW8hqgv/PIm3aHEtowCxedEeTgcjDbAGIoWGZEGvX4rYE9gTCJ2f/f3rLr+6mB BUj5wUqlBqNCp7NQB7riahfC6EdIv0JO1RjuoeM1gvyjQAgb+EezGEUTCIagL3oDPUOY ih18vFV2q4fhLkoYKW7t+L+ezosS+qu/INX0AewWxOi6SonWzFlqpFMVo56Ji1t9nCgU s6HQ== X-Gm-Message-State: AOAM530Ju/giqFi4bJX9RHHbtrekRP+plbsJ331mHe6tt9jq+uOPBr+g HvuJAXj0J51bb/ROfqBsZtY0P/AvQ+Q= X-Google-Smtp-Source: ABdhPJx3jCW48HerUCfGKFWWOdAzH82c48efzLczA9b2mm1K/jqf3lpjBtp+nVldD8qbGdrrZ7Q/hA== X-Received: by 2002:a05:6000:168b:b0:20f:d4bd:cbc3 with SMTP id y11-20020a056000168b00b0020fd4bdcbc3mr39534600wrd.580.1654020891600; Tue, 31 May 2022 11:14:51 -0700 (PDT) Received: from localhost.localdomain ([2a02:2f0e:c003:7c00:45d1:29c0:7802:f752]) by smtp.gmail.com with ESMTPSA id l3-20020a1c7903000000b003974027722csm2682980wme.47.2022.05.31.11.14.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 May 2022 11:14:51 -0700 (PDT) From: Ovidiu Panait To: u-boot@lists.denx.de Cc: monstr@monstr.eu, Ovidiu Panait , Michal Simek Subject: [PATCH v2 03/14] microblaze: start.S: remove unused code Date: Tue, 31 May 2022 21:14:24 +0300 Message-Id: <20220531181435.3473549-3-ovpanait@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220531181435.3473549-1-ovpanait@gmail.com> References: <20220531181435.3473549-1-ovpanait@gmail.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 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 in16/out16 routines seem to not be used anywhere in microblaze code, so remove them. Signed-off-by: Ovidiu Panait --- (no changes since v1) arch/microblaze/cpu/start.S | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/arch/microblaze/cpu/start.S b/arch/microblaze/cpu/start.S index 645f7cb038..d1b0453caf 100644 --- a/arch/microblaze/cpu/start.S +++ b/arch/microblaze/cpu/start.S @@ -220,39 +220,6 @@ __setup_exceptions: or r0, r0, r0 .end __setup_exceptions -/* - * Read 16bit little endian - */ - .text - .global in16 - .ent in16 - .align 2 -in16: lhu r3, r0, r5 - bslli r4, r3, 8 - bsrli r3, r3, 8 - andi r4, r4, 0xffff - or r3, r3, r4 - rtsd r15, 8 - sext16 r3, r3 - .end in16 - -/* - * Write 16bit little endian - * first parameter(r5) - address, second(r6) - short value - */ - .text - .global out16 - .ent out16 - .align 2 -out16: bslli r3, r6, 8 - bsrli r6, r6, 8 - andi r3, r3, 0xffff - or r3, r3, r6 - sh r3, r0, r5 - rtsd r15, 8 - or r0, r0, r0 - .end out16 - /* * Relocate u-boot */ -- 2.25.1