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 1CCE9C77B75 for ; Mon, 22 May 2023 12:24:10 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0371684667; Mon, 22 May 2023 14:24:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="fLHAUMJE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A654D847C8; Mon, 22 May 2023 14:23:07 +0200 (CEST) Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) (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 77E438471C for ; Mon, 22 May 2023 14:23:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jens.wiklander@linaro.org Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2af290cf9b7so34834301fa.3 for ; Mon, 22 May 2023 05:23:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684758182; x=1687350182; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QNGtYZHP+K0ibUJVp062Om/gTc5vNRdHlING4IaIZzs=; b=fLHAUMJE8wSslvQMdWoVmJPTUxLmmJXq6lrPAOjCD7b7WdJBGdTqFAaNBI9jAZ0JnN 1lML9Dvcdw8cfKAS5ZwZzear3U1/ExvV9Dq0uwg4AbG9X930/+8klNVewm2TS3f5RYM6 YJlL0KdOgaD4sdtPBX3atS4uhxD3S9K4PapPDDlBqEeyuYE1Pbk/4NyOGXMj8JBJcEVp Q5XSkl2M8oLm3mNJGPUwGGTPLdm4PSGp91X0g1U1EPP3OKwOWXOEOvpAoXQXjs0dZrJQ Jn8VjriZB29nI6Dm9mlh/o25bKdLJjDC3s6DeR0Papit83bnIIoJQMUuKxaNVWOhA0f9 Ct5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684758182; x=1687350182; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QNGtYZHP+K0ibUJVp062Om/gTc5vNRdHlING4IaIZzs=; b=BhtZFKCxalKXCC9RO5N+jbR/w5gBxPq8TLcixZlrJA0JAcdd8CCDW/Gh2iY+JczzdQ fUG2D5kXjqZcIG0zsQLKShELQJbPtfdK5GRvl0ptAYqQbCrJmvP3PbOnBAr2ONkj0INY 9hdrRmGtkxTzV3ciBh6duWwwP2o3z9MgmPghCD6yRVhe5VHOKYOJ2uIvbc1qYOdICeV6 4uRKbF6GIVqEZjIKec81fXQ+RvO4dM3m7/0QFH2yXoMhvD7RK139/v1cVlLUw60MMNM8 eik2fzRdImDP+bTPVntlYlQ1EbdRBd77y8L2LGXk0XUwcAJjLXTjJxvSma4aOXd6hYX1 59OA== X-Gm-Message-State: AC+VfDxBxp1c5/TAYdGHxZ7XaKCweSKrJoz2Gda5sNQ+mktvGx5bTaVq k28MSzUxW/7BsmF8BmxrRfNEo8/vpCoU6TtS6cg= X-Google-Smtp-Source: ACHHUZ75C39ShNDSb5J/HnD7gSQQwUoKvdbJfUs/lt1VYFYSSAAnerCgHJ23litPwTEt4Ouev7iEfw== X-Received: by 2002:a19:ad02:0:b0:4f1:866d:9b01 with SMTP id t2-20020a19ad02000000b004f1866d9b01mr3249814lfc.3.1684758182323; Mon, 22 May 2023 05:23:02 -0700 (PDT) Received: from rayden.urgonet (h-46-59-78-111.A175.priv.bahnhof.se. [46.59.78.111]) by smtp.gmail.com with ESMTPSA id y9-20020ac24469000000b004efe8174586sm974633lfl.126.2023.05.22.05.23.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 May 2023 05:23:01 -0700 (PDT) From: Jens Wiklander To: u-boot@lists.denx.de, linux-btrfs@vger.kernel.org Cc: Ilias Apalodimas , Arnd Bergmann , Huan Wang , Angelo Dureghello , Daniel Schwierzeck , Wolfgang Denk , Marek Vasut , Nobuhiro Iwamatsu , Marek Behun , Qu Wenruo , Tom Rini , Jens Wiklander Subject: [PATCH 1/8] arm: use asm-generic/unaligned.h Date: Mon, 22 May 2023 14:22:31 +0200 Message-Id: <20230522122238.4191762-2-jens.wiklander@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230522122238.4191762-1-jens.wiklander@linaro.org> References: <20230522122238.4191762-1-jens.wiklander@linaro.org> 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.8 at phobos.denx.de X-Virus-Status: Clean Arm duplicates the content of asm-generic/unaligned.h, so use that file directly instead. Signed-off-by: Jens Wiklander --- arch/arm/include/asm/unaligned.h | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/arch/arm/include/asm/unaligned.h b/arch/arm/include/asm/unaligned.h index 0a228fb8eea8..7fb482abc383 100644 --- a/arch/arm/include/asm/unaligned.h +++ b/arch/arm/include/asm/unaligned.h @@ -1,19 +1,2 @@ -#ifndef _ASM_ARM_UNALIGNED_H -#define _ASM_ARM_UNALIGNED_H - -#include -#include -#include - -/* - * Select endianness - */ -#if __BYTE_ORDER == __LITTLE_ENDIAN -#define get_unaligned __get_unaligned_le -#define put_unaligned __put_unaligned_le -#else -#define get_unaligned __get_unaligned_be -#define put_unaligned __put_unaligned_be -#endif - -#endif /* _ASM_ARM_UNALIGNED_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#include -- 2.34.1