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 65DDBC433FE for ; Sat, 19 Nov 2022 23:49:44 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6074585266; Sun, 20 Nov 2022 00:46:32 +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="aBKlNzxN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C0675851E9; Sun, 20 Nov 2022 00:46:07 +0100 (CET) Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (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 E87B085215 for ; Sun, 20 Nov 2022 00:45:59 +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-qt1-x82b.google.com with SMTP id l15so5396247qtv.4 for ; Sat, 19 Nov 2022 15:45:59 -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=XhdjH6ZW4lqBDZ5/cLSRw07wO1bGLjUNEwdnB2JOLjY=; b=aBKlNzxNOoBcUlat2v1whsxWv0OJCTkDU6LB+RUhcOj5KH59upaJVGQO2Mq020+GAg TRJh7fnL8CoQWbtYJivNFGlC+cMxEPsYTrTq5vuQ4SrrtschmgoyqnPRoFoVpHlXQ6Bm 3ExHLrND0VtklI9AF9nb2TvXKiR9zSxRJWKCY= 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=XhdjH6ZW4lqBDZ5/cLSRw07wO1bGLjUNEwdnB2JOLjY=; b=X2nfLvxQeeNPviKINeDRwvi7lPTVeG4Qd/1ofxE7C2CyP8RjXlK2OQwFGU6OrKmZW7 I46cd1N5PKTzkty2fknQHXtnha0TDD0/q23wRSjbm6l6IzYKcwojat2udr+r97PDlnwo 8Mp84/P9tQwmjt2CxPaB3mhLn0GvmuPsWk7JRjXefR1YYg4wxwkIaze0TCf5xkW6N46h /IVUKdCOep3UtZqoYWKMzT/8I9UK8t7eLLhNR6YRE7tykU8TD5XY1IL23t0eVBzB7uT+ A07dnj/auu+RqRANJeWOTCdfEAXWF+wny9PHpR1GuB64ZiRelSsOXyzFUCR2Ygrm3/r0 fA/w== X-Gm-Message-State: ANoB5plkc2BGbdPNTA6sZXQx0+sLFOpVKqfId2VNd1nwkFEaSbdgXy98 1yfzjpVZmuy3B7O0/LQy4crX2QE2dgvEDQ== X-Google-Smtp-Source: AA0mqf4CXWCiwDzs5wccbXQ/HspsTHbMYVBO0XDIK9CfAw8K14uj9nPw1GgDz7dnP78iFA7e+1iWpQ== X-Received: by 2002:ac8:124a:0:b0:3a5:e9fc:aa81 with SMTP id g10-20020ac8124a000000b003a5e9fcaa81mr12287517qtj.538.1668901558375; Sat, 19 Nov 2022 15:45:58 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-55ec-b699-c19f-3363.res6.spectrum.com. [2603:6081:7b00:6400:55ec:b699:c19f:3363]) by smtp.gmail.com with ESMTPSA id y11-20020a37f60b000000b006ce1bfbd603sm5169743qkj.124.2022.11.19.15.45.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Nov 2022 15:45:58 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 21/38] Convert CONFIG_MXS_OCOTP to Kconfig Date: Sat, 19 Nov 2022 18:45:28 -0500 Message-Id: <20221119234545.404563-21-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221119234545.404563-1-trini@konsulko.com> References: <20221119234545.404563-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 This converts the following to Kconfig: CONFIG_MXS_OCOTP Signed-off-by: Tom Rini --- drivers/misc/Kconfig | 8 ++++++++ include/configs/mxs.h | 5 ----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index fb3bbb3b919f..122d605a537d 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -330,6 +330,14 @@ config MXC_OCOTP Programmable memory pages that are stored on the some Freescale i.MX processors. +config MXS_OCOTP + bool "Enable MXS OCOTP Driver" + depends on ARCH_MX23 || ARCH_MX28 + help + If you say Y here, you will get support for the One Time + Programmable memory pages that are stored on the + Freescale i.MXS family of processors. + config NPCM_HOST bool "Enable support espi or LPC for Host" depends on REGMAP && SYSCON diff --git a/include/configs/mxs.h b/include/configs/mxs.h index 5df080ade4a2..30f27e7f0c19 100644 --- a/include/configs/mxs.h +++ b/include/configs/mxs.h @@ -86,11 +86,6 @@ #define CFG_SYS_NAND_BASE 0x60000000 #endif -/* OCOTP */ -#ifdef CONFIG_CMD_FUSE -#define CONFIG_MXS_OCOTP -#endif - /* SPI */ #ifdef CONFIG_CMD_SPI #define CONFIG_SPI_HALF_DUPLEX -- 2.25.1