Message ID | 20221120140829.3057894-34-trini@konsulko.com |
---|---|
State | RFC |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=EVRYOLdc; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NFXfg4Mg2z23mR for <incoming@patchwork.ozlabs.org>; Mon, 21 Nov 2022 01:17:47 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 64B6E8543D; Sun, 20 Nov 2022 15:10:15 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="EVRYOLdc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E2E07852EA; Sun, 20 Nov 2022 15:09:28 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) (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 AA66D852F1 for <u-boot@lists.denx.de>; Sun, 20 Nov 2022 15:09:17 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf2c.google.com with SMTP id j6so6478243qvn.12 for <u-boot@lists.denx.de>; Sun, 20 Nov 2022 06:09:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Ht0Z/BPjeH1DMWbBZ/WU/cExCqMNq6DuWnyHAezKvhA=; b=EVRYOLdcfbGtECMbG8elGi0PEP1y1oWXFQ+fiVpUwZxBuHhmQ9iDKvTxsBpT6sB1IZ yLFSGAmlh54o1UotedThOc5QBR7NCTNXSXvqFL0llg15DuI6hz8TyZz3QpCJBNLNl2sb Htz9DQeML7iO0qIQ8MFeKVbkpk0chcXB4MkpY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ht0Z/BPjeH1DMWbBZ/WU/cExCqMNq6DuWnyHAezKvhA=; b=3t8X1XG19DPonoCQTCrkHFUi1JSfLpT7MIzh6yUMM8lfRcdXqgeuVZHhpJZoSB746B Lk2lWgDhRN0QH8hqpellVXr08madzSgMucMNfRvImW75INIynlMmntCAh0u36xkvrrQo gNAvJN+yMT9MVTxtPCN96MCrZBRrmu5NcqmzNUHXPclgdvdCl5ieWdwdj0lmk98/u+X2 k4AasiQUF/6siMQG0Tv3Tdx+/7E9Xj4N8Ft5ai5DeTacQOTStxFWO9+bFg+BcjtCzPYG GNgUh3Dj6Qf3nzXHEFa0eTdLsIMqgrv2zoAq32xohVOwaWhksjQQy2gNXVLeVQuMddZd QLUg== X-Gm-Message-State: ANoB5pmg6QF8IpEJQ86smvbfU9P4A8qjhsIKcSIwFgcq5x7anXWVIjTr ORRJrx9lW7w22351xnZjWcklKqTdV1u/Lw== X-Google-Smtp-Source: AA0mqf7q+M1KIC1BpMQeqra+kikL7EPxTgejzLvEbCyExWL62HCgvgyyU1kJE7HKZhje+GYM+qXAAw== X-Received: by 2002:a05:6214:448e:b0:4bb:754f:e974 with SMTP id on14-20020a056214448e00b004bb754fe974mr14022165qvb.2.1668953330601; Sun, 20 Nov 2022 06:08:50 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-29a0-035f-b06a-235e.res6.spectrum.com. [2603:6081:7b00:6400:29a0:35f:b06a:235e]) by smtp.gmail.com with ESMTPSA id bk23-20020a05620a1a1700b006ce580c2663sm6387502qkb.35.2022.11.20.06.08.50 for <u-boot@lists.denx.de> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 06:08:50 -0800 (PST) From: Tom Rini <trini@konsulko.com> To: u-boot@lists.denx.de Subject: [PoC 143/241] global: Migrate CONFIG_PEN_ADDR_BIG_ENDIAN to CFG Date: Sun, 20 Nov 2022 09:07:33 -0500 Message-Id: <20221120140829.3057894-34-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221120140829.3057894-1-trini@konsulko.com> References: <20221120135520.3057773-4-trini@konsulko.com> <20221120140829.3057894-1-trini@konsulko.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 <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
None
|
expand
|
diff --git a/arch/arm/cpu/armv7/nonsec_virt.S b/arch/arm/cpu/armv7/nonsec_virt.S index b6d144f065d2..51beda79c967 100644 --- a/arch/arm/cpu/armv7/nonsec_virt.S +++ b/arch/arm/cpu/armv7/nonsec_virt.S @@ -211,7 +211,7 @@ ENTRY(smp_waitloop) wfi ldr r1, =CONFIG_SMP_PEN_ADDR @ load start address ldr r1, [r1] -#ifdef CONFIG_PEN_ADDR_BIG_ENDIAN +#ifdef CFG_PEN_ADDR_BIG_ENDIAN rev r1, r1 #endif cmp r0, r1 @ make sure we dont execute this code diff --git a/include/configs/ls1021aiot.h b/include/configs/ls1021aiot.h index 7a9a89d02390..cc6d07b40620 100644 --- a/include/configs/ls1021aiot.h +++ b/include/configs/ls1021aiot.h @@ -89,7 +89,7 @@ #define FSL_PCIE_COMPAT "fsl,ls1021a-pcie" -#define CONFIG_PEN_ADDR_BIG_ENDIAN +#define CFG_PEN_ADDR_BIG_ENDIAN #define CONFIG_SMP_PEN_ADDR 0x01ee0200 #define HWCONFIG_BUFFER_SIZE 256 diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h index be05ab9de8cb..ccbf7c2e70dc 100644 --- a/include/configs/ls1021aqds.h +++ b/include/configs/ls1021aqds.h @@ -273,7 +273,7 @@ #define TSEC3_PHYIDX 0 #endif -#define CONFIG_PEN_ADDR_BIG_ENDIAN +#define CFG_PEN_ADDR_BIG_ENDIAN #define CONFIG_SMP_PEN_ADDR 0x01ee0200 #define HWCONFIG_BUFFER_SIZE 256 diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h index da1e409e5c77..a554ee459042 100644 --- a/include/configs/ls1021atwr.h +++ b/include/configs/ls1021atwr.h @@ -154,7 +154,7 @@ /* GPIO */ -#define CONFIG_PEN_ADDR_BIG_ENDIAN +#define CFG_PEN_ADDR_BIG_ENDIAN #define CONFIG_SMP_PEN_ADDR 0x01ee0200 #define HWCONFIG_BUFFER_SIZE 256 diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index adf41306e819..ca5faaeea1a3 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -152,7 +152,7 @@ CFG_OTHBOOTARGS CFG_OVERWRITE_ETHADDR_ONCE CFG_PCIE_IMX_PERST_GPIO CFG_PCIE_IMX_POWER_GPIO -CONFIG_PEN_ADDR_BIG_ENDIAN +CFG_PEN_ADDR_BIG_ENDIAN CONFIG_PHY_BASE_ADR CONFIG_PHY_ET1011C_TX_CLK_FIX CONFIG_PHY_ID
Signed-off-by: Tom Rini <trini@konsulko.com> --- arch/arm/cpu/armv7/nonsec_virt.S | 2 +- include/configs/ls1021aiot.h | 2 +- include/configs/ls1021aqds.h | 2 +- include/configs/ls1021atwr.h | 2 +- scripts/config_whitelist.txt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)