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 634D1C433FE for ; Sat, 19 Nov 2022 23:46:22 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4D36485201; 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=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="EjnfFlff"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4651185155; Sun, 20 Nov 2022 00:45:53 +0100 (CET) Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) (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 4AC9B84956 for ; Sun, 20 Nov 2022 00:45:49 +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-x730.google.com with SMTP id p18so5933895qkg.2 for ; Sat, 19 Nov 2022 15:45:49 -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=UEhWOHsSe0Q7GpXb3dMDoDYZwO39SYqaUkW5QczSUhU=; b=EjnfFlffzBIyiYnbEBsIqunJkCZpiuv9asIRHWWadeyd5iiHLozQQEw6zjcmm8M+yM cPJmGMzHoZr8JbNoKwYABXJIHYh8lfz4B9MGdyezRTAMfaHcJzxnXa3BkC6o/qyzuriB kTeJNPhOEJ2iyK+JGxm/ni1MzwTfPlhFHNEZg= 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=UEhWOHsSe0Q7GpXb3dMDoDYZwO39SYqaUkW5QczSUhU=; b=1duOk0+n3QfTdJrtInJhMax2w1y0JJXpJOl0IKeqK6id3GHhXPSmhAiZL6gLXywvWq D8Chm1kwdZE+X7FfRJ31f4XPU8TCUrrlV9R1Le2bTORXVSSOdd1kKwEeg5Qz4RkB+Fk5 OAwW/QHBE7Ztb1LEGTlKvlofZlOyWEO3svKiDg0CnRAWsK9ERe5iXHcXNUFnQP3QRlnW HidonFLDgmFYpv/2brJAqwqKAOaR4hd3kZB3Lnh7owRMSP9E+Diah+guTx40Y5aLtMLX de1fxQhuRtSomNQgkUAaZbOM6eJzlL/hHd1FeBVom8wWQEeGg+lnjXsaiwWTLxEHK4e9 1yVw== X-Gm-Message-State: ANoB5pmEjmupNsf/JTh9OQozIzjXHU4S2qxQqeGN6uFRK8jnmZZc3dpK mDFw9YXkKrpebrjmcFAfc50F2YVkdIk2Gg== X-Google-Smtp-Source: AA0mqf7ddbroDVXZNJ/BjfWSFB71jQZxBkjj0I049SfUKb9gy8pPyqIoarj24YpcHxWwF4GrV+Rh1w== X-Received: by 2002:a05:620a:749:b0:6f9:ffec:2dea with SMTP id i9-20020a05620a074900b006f9ffec2deamr11099867qki.136.1668901548619; Sat, 19 Nov 2022 15:45:48 -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.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Nov 2022 15:45:48 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 04/38] Convert CONFIG_FSL_IIM to Kconfig Date: Sat, 19 Nov 2022 18:45:11 -0500 Message-Id: <20221119234545.404563-4-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_FSL_IIM Signed-off-by: Tom Rini --- configs/m53menlo_defconfig | 1 + configs/mx51evk_defconfig | 1 + configs/mx53ppd_defconfig | 1 + configs/usbarmory_defconfig | 1 + doc/README.fsl_iim | 2 +- drivers/misc/Kconfig | 4 ++++ include/configs/m53menlo.h | 3 --- include/configs/mx51evk.h | 1 - include/configs/mx53ppd.h | 2 -- include/configs/usbarmory.h | 3 --- 10 files changed, 9 insertions(+), 10 deletions(-) diff --git a/configs/m53menlo_defconfig b/configs/m53menlo_defconfig index b4ada56a36b7..a5760242be51 100644 --- a/configs/m53menlo_defconfig +++ b/configs/m53menlo_defconfig @@ -80,6 +80,7 @@ CONFIG_BOOTCOUNT_LIMIT=y CONFIG_SYS_BOOTCOUNT_MAGIC=0x0B01C041 CONFIG_DM_I2C=y CONFIG_SYS_I2C_MXC=y +CONFIG_FSL_IIM=y CONFIG_FSL_ESDHC_IMX=y CONFIG_MTD=y CONFIG_MTD_RAW_NAND=y diff --git a/configs/mx51evk_defconfig b/configs/mx51evk_defconfig index 89597c05748c..d76ebe8fd229 100644 --- a/configs/mx51evk_defconfig +++ b/configs/mx51evk_defconfig @@ -40,6 +40,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_USE_ETHPRIME=y CONFIG_ETHPRIME="FEC0" CONFIG_ARP_TIMEOUT=200 +CONFIG_FSL_IIM=y CONFIG_FSL_ESDHC_IMX=y CONFIG_MTD=y CONFIG_PHYLIB=y diff --git a/configs/mx53ppd_defconfig b/configs/mx53ppd_defconfig index 328f546c5b3f..ed4ebbbe3c27 100644 --- a/configs/mx53ppd_defconfig +++ b/configs/mx53ppd_defconfig @@ -52,6 +52,7 @@ CONFIG_SYS_I2C_MXC=y CONFIG_I2C_MUX=y CONFIG_I2C_MUX_PCA954x=y CONFIG_MISC=y +CONFIG_FSL_IIM=y CONFIG_I2C_EEPROM=y CONFIG_FSL_ESDHC_IMX=y CONFIG_MTD=y diff --git a/configs/usbarmory_defconfig b/configs/usbarmory_defconfig index 510e215bff3a..ed2bcc69fc50 100644 --- a/configs/usbarmory_defconfig +++ b/configs/usbarmory_defconfig @@ -29,6 +29,7 @@ CONFIG_ENV_IS_IN_MMC=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_SYS_I2C_LEGACY=y CONFIG_SYS_I2C_MXC=y +CONFIG_FSL_IIM=y CONFIG_FSL_ESDHC_IMX=y CONFIG_MTD=y CONFIG_PINCTRL=y diff --git a/doc/README.fsl_iim b/doc/README.fsl_iim index e087f5e0e4ff..78d3cb8b3efe 100644 --- a/doc/README.fsl_iim +++ b/doc/README.fsl_iim @@ -45,4 +45,4 @@ Fuse operations: Configuration: CONFIG_FSL_IIM - Define this to enable the fsl_iim driver. + Enable this to enable the fsl_iim driver. diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index a6da6e215dec..fb3bbb3b919f 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -267,6 +267,10 @@ config DS4510 and a configurable timer for the supervisor function. The device is connected over I2C. +config FSL_IIM + bool "Enable FSL IC Identification Module (IIM) driver" + depends on ARCH_MX31 || ARCH_MX5 + config FSL_SEC_MON bool "Enable FSL SEC_MON Driver" help diff --git a/include/configs/m53menlo.h b/include/configs/m53menlo.h index f87bbf7ccf32..eca86a94519a 100644 --- a/include/configs/m53menlo.h +++ b/include/configs/m53menlo.h @@ -80,9 +80,6 @@ #define CFG_SYS_LDB_CLOCK 33260000 #define CONFIG_IMX_VIDEO_SKIP -/* IIM Fuses */ -#define CONFIG_FSL_IIM - /* Watchdog */ /* diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h index 3c99b70a2bb1..6d9b954587ef 100644 --- a/include/configs/mx51evk.h +++ b/include/configs/mx51evk.h @@ -17,7 +17,6 @@ /* * Hardware drivers */ -#define CONFIG_FSL_IIM #define CONFIG_MXC_UART_BASE UART1_BASE diff --git a/include/configs/mx53ppd.h b/include/configs/mx53ppd.h index 7160654eb30c..913bc1996d40 100644 --- a/include/configs/mx53ppd.h +++ b/include/configs/mx53ppd.h @@ -102,8 +102,6 @@ /* FLASH and environment organization */ -#define CONFIG_FSL_IIM - /* Backlight Control */ #define CONFIG_IMX6_PWM_PER_CLK 66666000 diff --git a/include/configs/usbarmory.h b/include/configs/usbarmory.h index da68d7a0da99..a2bc3cd23a5b 100644 --- a/include/configs/usbarmory.h +++ b/include/configs/usbarmory.h @@ -27,9 +27,6 @@ #define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW) #define CONFIG_MXC_USB_FLAGS 0 -/* Fuse */ -#define CONFIG_FSL_IIM - /* Linux boot */ #define CONFIG_HOSTNAME "usbarmory" -- 2.25.1