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 C7D0DC636CD for ; Mon, 6 Feb 2023 01:00:49 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BC17B8605F; Mon, 6 Feb 2023 01:59:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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=chromium.org header.i=@chromium.org header.b="aOe4BSFT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8E8C68605E; Mon, 6 Feb 2023 01:59:23 +0100 (CET) Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) (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 65B6B85DBB for ; Mon, 6 Feb 2023 01:58:23 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd32.google.com with SMTP id o1so3947744ioo.10 for ; Sun, 05 Feb 2023 16:58:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; 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=c6i2vvz9CmyWZv0FUXamJGBWgIiAPxtaYnS+GtqTQ/4=; b=aOe4BSFTLe5D9giE1xTOkgYI3XOBdBXkiHNFqoUpOfDqQrQO4DjNPVUTIVKzKAMIbD 1ZOwTOUBela/b+EEC97EASN+XMDV1qsN8OX2X6MEWMOJqSKMepu8MMmdt9vWxEEckNqi AJX7PIpxO5ovPAmat/P9Um06mBDJhzi44/fnA= 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:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=c6i2vvz9CmyWZv0FUXamJGBWgIiAPxtaYnS+GtqTQ/4=; b=fjRvkZQfxTyhfp5DiUOWqSz9KqiBKlEYcE6fiRso4WXlo8syDfCD1ODvT5av0TdO9J fVd0baJJZnTPPUJYdCVShSSSTzwq9FuknDpXelslaOgqm7SA+6MpSEoQjJ1AGOOLVC3v 23j4rXNJV66wiLL7xBcjCC1AQTO2FmpjEcDKTFici2xyZBlei+JyaoqXs9g68tDMOLpi sF7TrZb8sqw6ZRX97jK0fBy9QwLCNUUDVo1+ReWRCy2emgly4mw20Y3aPMYjakwdK5UH nZWQjpZsdg3hquIg7LiZXnmIQuKl83D1TkUVQWuZ+wkxz/oCwSLc4qIhwki8ThC7wzVM 7boQ== X-Gm-Message-State: AO0yUKXAEfMNS9VZ/64UgbVKR5ZklLU8Ylly4/4EPcsYqppH0B5GEoPt bJkXvL0hoMJJa02BijJ6cGidMTEq8/1ppG1q X-Google-Smtp-Source: AK7set8eeWSnAHKGSQsnke4Tt41ZwbFk7IbX5FgFqN9ExzpkVsWd0KIeBT1DuaSkls3hTAhTtRALjg== X-Received: by 2002:a6b:7d0d:0:b0:71b:a747:1755 with SMTP id c13-20020a6b7d0d000000b0071ba7471755mr11101232ioq.7.1675645102912; Sun, 05 Feb 2023 16:58:22 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id b22-20020a6bb216000000b006e2f42a30c2sm2734703iof.35.2023.02.05.16.58.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 16:58:22 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v2 149/169] Correct SPL uses of TARGET_LX2160ARDB Date: Sun, 5 Feb 2023 17:55:16 -0700 Message-Id: <20230206005537.254541-150-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230206005537.254541-27-sjg@chromium.org> References: <20230206005537.254541-27-sjg@chromium.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.6 at phobos.denx.de X-Virus-Status: Clean This converts 3 usages of this option to the non-SPL form, since there is no SPL_TARGET_LX2160ARDB defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) board/freescale/lx2160a/lx2160a.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/board/freescale/lx2160a/lx2160a.c b/board/freescale/lx2160a/lx2160a.c index cf5b1ee46e0..d8a86cdf618 100644 --- a/board/freescale/lx2160a/lx2160a.c +++ b/board/freescale/lx2160a/lx2160a.c @@ -676,7 +676,7 @@ void board_quiesce_devices(void) } #endif -#if CONFIG_IS_ENABLED(TARGET_LX2160ARDB) +#if IS_ENABLED(CONFIG_TARGET_LX2160ARDB) int fdt_fixup_add_thermal(void *blob, int mux_node, int channel, int reg) { int err; @@ -798,7 +798,7 @@ int ft_board_setup(void *blob, struct bd_info *bd) u64 mc_memory_size = 0; u16 total_memory_banks; int err; -#if CONFIG_IS_ENABLED(TARGET_LX2160ARDB) +#if IS_ENABLED(CONFIG_TARGET_LX2160ARDB) u8 board_rev; #endif @@ -862,7 +862,7 @@ int ft_board_setup(void *blob, struct bd_info *bd) #endif fdt_fixup_icid(blob); -#if CONFIG_IS_ENABLED(TARGET_LX2160ARDB) +#if IS_ENABLED(CONFIG_TARGET_LX2160ARDB) board_rev = (QIXIS_READ(arch) & 0xf) - 1 + 'A'; if (board_rev == 'C') fdt_fixup_i2c_thermal_node(blob); -- 2.39.1.519.gcb327c4b5f-goog