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 E08B9C4332F for ; Sun, 20 Nov 2022 14:23:45 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4FD5F854B2; Sun, 20 Nov 2022 15:17:56 +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="D6I6xRnc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 348D9854A4; Sun, 20 Nov 2022 15:17:51 +0100 (CET) Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) (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 ED73785314 for ; Sun, 20 Nov 2022 15:17:47 +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-qk1-x72a.google.com with SMTP id k2so6526109qkk.7 for ; Sun, 20 Nov 2022 06:17:47 -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=3zM8mLFA608iYyVAzCpfJNOLWjl1Lw8U910v7j3i1BE=; b=D6I6xRnccLtplW61qWx3OwtTu8IzEoo8Lm61/cXXy5H8zGZJ3ylniZxOeLv1pVM5aI aFJ9/2nRk/i8+eYowfmkaEiBV0c4P5igNDUflH9l5Q9wKw51IJldexVYb0lzyVIyGNYV fwoUcqwC2ThzZKuelTT4/Yw7WVvugZEw/y9m8= 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=3zM8mLFA608iYyVAzCpfJNOLWjl1Lw8U910v7j3i1BE=; b=2EwR27ah6etxc3uNzXz/qdceSiZLtkMuc4RgxcJTMqYcWhC2pDSvUto5E5t0aerZmg TedhecBzK+hUnHgjfhL+ppDpO4uUlxtxqdnQQDw/uxQLAYAUDzdTKaxptMg35g/lJIUt 2086y/os1wJauC7ScrYR/zS5vSoylhyvST/q1UsUWpncAYU8LxzqrFLmH2ON4pqgZcDk N0AnX/4ewRGmXnslH6jvI87WIgaazo+MT7mw8+Q7iRD/ha0QaRPYLw4G3jty+25wwCtS kl85uvggHQAi7Z2D4aeTOLa/wue1kXGdUzR61aKVpSr0nIyr6LC0VgN51iZ3ExBKo/ac I7ig== X-Gm-Message-State: ANoB5pkgVL36y88Dylud9T/FRuysl615s5MqozxgxUDZm4PdDAMuNTeD +JaaFk2L4aXpTnJV2ufpdERzYmLOYY/FGw== X-Google-Smtp-Source: AA0mqf7aqXMfiAL2oUAfgXC3qw5FEDCJLabyw+gc0/pv/z/V4fnJPoICMuXkdYuOpmglIyox64PiLg== X-Received: by 2002:a05:620a:2b48:b0:6ec:c52d:65d4 with SMTP id dp8-20020a05620a2b4800b006ecc52d65d4mr12898167qkb.714.1668953866687; Sun, 20 Nov 2022 06:17:46 -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-20020a05620a1a1700b006ce580c2663sm6400114qkb.35.2022.11.20.06.17.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 06:17:46 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 203/241] global: Migrate CONFIG_TEGRA_SPI to CFG Date: Sun, 20 Nov 2022 09:17:05 -0500 Message-Id: <20221120141743.3059310-4-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221120141743.3059310-1-trini@konsulko.com> References: <20221120140829.3057894-90-trini@konsulko.com> <20221120141743.3059310-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 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.6 at phobos.denx.de X-Virus-Status: Clean Signed-off-by: Tom Rini --- arch/arm/mach-tegra/board2.c | 2 +- include/configs/tegra-common-post.h | 2 +- scripts/config_whitelist.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-tegra/board2.c b/arch/arm/mach-tegra/board2.c index c7a45f4ff82a..615d0ee43c0e 100644 --- a/arch/arm/mach-tegra/board2.c +++ b/arch/arm/mach-tegra/board2.c @@ -125,7 +125,7 @@ int board_init(void) tegra_gpu_config(); -#ifdef CONFIG_TEGRA_SPI +#ifdef CFG_TEGRA_SPI pin_mux_spi(); #endif diff --git a/include/configs/tegra-common-post.h b/include/configs/tegra-common-post.h index 31c82822a2af..69fbe57e2649 100644 --- a/include/configs/tegra-common-post.h +++ b/include/configs/tegra-common-post.h @@ -74,7 +74,7 @@ BOARD_EXTRA_ENV_SETTINGS #if defined(CONFIG_TEGRA20_SFLASH) || defined(CONFIG_TEGRA20_SLINK) || defined(CONFIG_TEGRA114_SPI) -#define CONFIG_TEGRA_SPI +#define CFG_TEGRA_SPI #endif #endif /* __TEGRA_COMMON_POST_H */ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index b7f8b290bff3..2acc5a7412d6 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -212,7 +212,7 @@ CFG_TEGRA_BOARD_STRING CFG_TEGRA_ENABLE_UARTA CFG_TEGRA_ENABLE_UARTD CFG_TEGRA_SLINK_CTRLS -CONFIG_TEGRA_SPI +CFG_TEGRA_SPI CONFIG_TEGRA_UARTA_GPU CONFIG_TEGRA_UARTA_SDIO1 CONFIG_TEGRA_VDD_CORE_TPS62361B_SET3 -- 2.25.1