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 F3D67C433F5 for ; Mon, 11 Apr 2022 16:26:56 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2ABB783DE0; Mon, 11 Apr 2022 18:26:54 +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="ZGmWGrJv"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CE41B83DE6; Mon, 11 Apr 2022 18:26:51 +0200 (CEST) Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (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 6833783B1B for ; Mon, 11 Apr 2022 18:26:49 +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-ej1-x633.google.com with SMTP id l7so26568627ejn.2 for ; Mon, 11 Apr 2022 09:26:49 -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:mime-version :content-transfer-encoding; bh=ERJT/4QQuu0MHFjg3g/WKSf3sn1Umxj+tBDFQvqu+FE=; b=ZGmWGrJvURKez60DwDvNuJZ/GvnxHRYD/TWEW+vIuJ5cL1bU6f6ZRmGkfiGZSaIZzw 4ld3nanq1KyHRyqD33Wn/WfdIyBuYOX+VIVSAKhjRd9BD/TlVo9J1gy/M6btCLmmVdM9 WxVAtfTiYzJJi1HDO1Lk4dJQovKyPcVXPgP/e/ykvP9X4hRSM1xrXoIJ71OUd7atuKmO BSWhoophS6dR5gzSsFT4rRTWVG3rLm9zdE2LxHOyHcxRU0DM8OTmy1jv7vYmgPL+jnQ9 cqrnBWkZTbzup9Fimfbf73HP5lcYRk/GpBaxz9eLL+cgU+eBw6owCsuQrR0sTLmpf0PY VjvQ== 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:mime-version :content-transfer-encoding; bh=ERJT/4QQuu0MHFjg3g/WKSf3sn1Umxj+tBDFQvqu+FE=; b=xDr7Cl3wC7kl6YVUguXfwmBEW2luICG95NVmOWj78h5sIpfBm4t6w5Hofiw72ZSN6H INDb1cu250KO58FoVZrKW5CvkgDtxkLDYdChTcPZBkHYyizfl6uyWWqq02ix4kEQOAgp sLW7HugrxroDIYwnTf9Lbn4lh5uCWmYaP2BqMoRWXXc/t1ce2mXJ3gk7VnJYDWEn9q/0 ryBqphfNbR3+GVPUaiAZ6swv/DfxuA1exLZ9gn1L/tMcFcs5cjxTYTYXEO4Et9uCT45r tPfUax7+VNA9kZz8CX7iUJvmliFVyEyPkA+xO5yGnJrc46K7j/09CXapye9aTYxG36XS /AoA== X-Gm-Message-State: AOAM532/V0atksEDa46nYWsQZZUU4SbANOLH4q7mxBxvQ/hoHa5dDLlV lWpg440AtPRTcTeaasacXSB+H+uRp+3ROw== X-Google-Smtp-Source: ABdhPJwsLCKv4nYZHfP6TduIPC9AZHiY1PzdLgg1MGH6VTZRvDhFdU8eCjRhtINRU3V2bLH1auMOiQ== X-Received: by 2002:a17:906:4fd4:b0:6e8:9f47:af4a with SMTP id i20-20020a1709064fd400b006e89f47af4amr2394271ejw.680.1649694408903; Mon, 11 Apr 2022 09:26:48 -0700 (PDT) Received: from wsdell.corp.ad.wrs.com ([2a02:2f0e:c41b:f600:4ab1:7aea:1e9:311a]) by smtp.gmail.com with ESMTPSA id y26-20020a1709063a9a00b006e0c272e263sm12111417ejd.71.2022.04.11.09.26.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Apr 2022 09:26:48 -0700 (PDT) From: Ovidiu Panait To: u-boot@lists.denx.de Cc: Ovidiu Panait , Michal Simek , Michal Simek Subject: [PATCH 01/10] microblaze: start.S: remove unused code Date: Mon, 11 Apr 2022 19:26:25 +0300 Message-Id: <20220411162634.69647-1-ovpanait@gmail.com> X-Mailer: git-send-email 2.25.1 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 --- 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