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 02FEBC636D4 for ; Wed, 1 Feb 2023 20:36:20 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B712485DC0; Wed, 1 Feb 2023 21:35:37 +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="Q+84/sa2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A66EF85D15; Wed, 1 Feb 2023 21:31:50 +0100 (CET) Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) (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 9141885D2D for ; Wed, 1 Feb 2023 21:21:51 +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-xd2e.google.com with SMTP id e2so4640148iot.11 for ; Wed, 01 Feb 2023 12:21:51 -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=e3oZIIICim/PnWiHI4BPL64VCVa4SeIE4iYdr66Y+LU=; b=Q+84/sa2LsALG9nL03cxh19HeoNgslZrMIITpmhGHndmdrBKmr/OvzmMDA4zgIlyAo ErEDukEMG4MGZOx0LuhgR9EmcCK2MPuNfB7/kYlwsEf/HyGFSQiOc26GUsmhM3WuvQ+D rr9f3T7y0XoLUwC1T2DXZRelRkAlE8fv4udkU= 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=e3oZIIICim/PnWiHI4BPL64VCVa4SeIE4iYdr66Y+LU=; b=SR3baTDcd80MLDwnpRITwanab6ZnK0Ud9Dd7F1cBNTzOLXBiP7vf+EFJi//8KoPibG 09tWGYD7ezopor6TNCKvkWz0+iNzmarq+8DsfW1Xlpo5GavW8UuhI8O1hFUNVRf3Lmm+ 0MA6H9EBwMAdQ/oP9WqkI9KhNM6yHneJIf2Yv5ttmfqkNuuESstOyIeptfkdAUAfXy0Z PiStqeNNRx/LNYPqscj1LwPED0+gHByn12j4qpwqazachJgk0SJMIs9cQjp4WkD/vJsb A9uHDvNG5xVNvi/HMruwm1paGRsgzQ2sd4TAOBCz9NoIvs6sioUciYC9UvPPu0SzGr5N i7cA== X-Gm-Message-State: AO0yUKWuVGGpXFKGLXtTqBJKn5lySu4CPuhHuLFjt1VusEAb8HPNVHHt PYuRjO7fBBSY1OXumoRsTvagOwn0bQ0RMCZf X-Google-Smtp-Source: AK7set/vX/kMJnRXfsjNIInXkiVqPCXtIp+4TXIFTNmdgLEthTWwZJF6nyBMwgcN67vNnOT3xPrOaA== X-Received: by 2002:a05:6602:2c41:b0:719:fd3a:395 with SMTP id x1-20020a0566022c4100b00719fd3a0395mr3651633iov.12.1675282911022; Wed, 01 Feb 2023 12:21:51 -0800 (PST) Received: from kea.bld.corp.google.com ([2620:15c:183:200:1fda:cca0:9a42:148c]) by smtp.gmail.com with ESMTPSA id i1-20020a6bf401000000b00704608527d1sm6166498iog.37.2023.02.01.12.21.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Feb 2023 12:21:50 -0800 (PST) From: Simon Glass To: u-boot@lists.denx.de Cc: Tom Rini , Simon Glass , Stefano Babic Subject: [PATCH v3 35/76] imx: Rename CONFIG_MXS to CFG_MXS Date: Wed, 1 Feb 2023 13:19:46 -0700 Message-Id: <20230201202027.1943031-36-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.456.gfc5497dd1b-goog In-Reply-To: <20230201202027.1943031-1-sjg@chromium.org> References: <20230201202027.1943031-1-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 is not a Kconfig option so we should not be setting it in the Makefile. Rename it to use a CFS_ prefix, since this is still used in mxsimage.c In general tools should support all the features without reference to CONFIG options, but this is left to the maintainer to look at. Signed-off-by: Simon Glass --- (no changes since v1) tools/Makefile | 4 ++-- tools/mxsimage.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index edfa40903d9..2ee43dff542 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -158,9 +158,9 @@ fit_check_sign-objs := $(dumpimage-mkimage-objs) fit_check_sign.o file2include-objs := file2include.o ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_TOOLS_LIBCRYPTO),) -# Add CONFIG_MXS into host CFLAGS, so we can check whether or not register +# Add CFG_MXS into host CFLAGS, so we can check whether or not register # the mxsimage support within tools/mxsimage.c . -HOSTCFLAGS_mxsimage.o += -DCONFIG_MXS +HOSTCFLAGS_mxsimage.o += -DCFG_MXS endif ifdef CONFIG_TOOLS_LIBCRYPTO diff --git a/tools/mxsimage.c b/tools/mxsimage.c index fee022aab46..fbe46c47fae 100644 --- a/tools/mxsimage.c +++ b/tools/mxsimage.c @@ -5,7 +5,7 @@ * Copyright (C) 2012-2013 Marek Vasut */ -#ifdef CONFIG_MXS +#ifdef CFG_MXS #include #include -- 2.39.1.456.gfc5497dd1b-goog