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 BB7AEC433EF for ; Wed, 15 Jun 2022 16:05:16 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 18FCF84547; Wed, 15 Jun 2022 18:04:21 +0200 (CEST) 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="IqhTVftO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4F58D8451A; Wed, 15 Jun 2022 18:04:09 +0200 (CEST) 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 990698451A for ; Wed, 15 Jun 2022 18:04:05 +0200 (CEST) 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 hh4so8475690qtb.10 for ; Wed, 15 Jun 2022 09:04:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=TwzCStvWGx0m0BpHvWeVPEINg88gvi50UEMN6TtMG5M=; b=IqhTVftOZgmLPuPjNf/fN2vFhyHLgpALLJ2c5wXogqprp7V3W+HLw9b7yr85TNmZHn 6fFcJm1YrDosdO6ZQifH51AqVHICI9kg/lQL23Ri5WP+rD6Q23AsQBMJWyJiCbMebULl mEWQYXzYQ5vmogrttT5Dy4EgHVeqZXj9S9P1U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TwzCStvWGx0m0BpHvWeVPEINg88gvi50UEMN6TtMG5M=; b=b+Iw6SkWe3VSJYNMQ1dg7CJuGeF8OQV80qXWlMe4Ht6fpz3ZiZyxhPuYipMSLvm71E 7VU/dbUPElZMdCoJeG+FT4KkFGNts+B256d+TUeMQk2UfmcpuI8Tjo913EdZLvEdS4iX 3Wm9fs3FKCyE5FBgRGi9Uth1CtWPdigckLH5WQm51j1yP+rujX6NPsrbpb6gLKCFajTg sRGYrPH7ZX8esKDGPsIINY4OvsNTJi/Ue5U8xsRRCi/I05FRzphb74kTKug4GOvoe7DA 3FIxBoiT8U3ajzSqHPiknUxprosMM+uvEg3GY/DGBRnzXpepuRp9zjYr0sxjTrGK6TOS P0uw== X-Gm-Message-State: AJIora81acISfYfmFyKMduquc2uTrZ7Woh7D+OJE2d0i3AGBTEliemRd n4rqroei5VDqMJRKLLqUvdSH59ms1pUDFQ== X-Google-Smtp-Source: AGRyM1v8VU6RxkY+6OZfHoT0LsAnTn4tgDuPCBiP8Dq8yA5zF3X0NZyouPazmOGKpVtK5r4iFbVYbA== X-Received: by 2002:ac8:7f06:0:b0:304:eb7b:5e12 with SMTP id f6-20020ac87f06000000b00304eb7b5e12mr236936qtk.188.1655309043975; Wed, 15 Jun 2022 09:04:03 -0700 (PDT) Received: from bill-the-cat.lan (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id h9-20020a05620a284900b006a6d365e9b1sm12240069qkp.57.2022.06.15.09.04.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 09:04:03 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 08/13] Convert CONFIG_SAMSUNG_ONENAND to Kconfig Date: Wed, 15 Jun 2022 12:03:50 -0400 Message-Id: <20220615160355.1519592-8-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220615160355.1519592-1-trini@konsulko.com> References: <20220615160355.1519592-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.5 at phobos.denx.de X-Virus-Status: Clean This converts the following to Kconfig: CONFIG_SAMSUNG_ONENAND Signed-off-by: Tom Rini --- configs/s5p_goni_defconfig | 1 + configs/s5pc210_universal_defconfig | 1 + configs/smdkc100_defconfig | 1 + drivers/mtd/Kconfig | 3 +++ include/configs/s5p_goni.h | 1 - include/configs/s5pc210_universal.h | 1 - include/configs/smdkc100.h | 1 - 7 files changed, 6 insertions(+), 3 deletions(-) diff --git a/configs/s5p_goni_defconfig b/configs/s5p_goni_defconfig index 4d4005de1a48..b5f3ae26b673 100644 --- a/configs/s5p_goni_defconfig +++ b/configs/s5p_goni_defconfig @@ -50,6 +50,7 @@ CONFIG_DM_I2C_GPIO=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_S5P=y CONFIG_MTD=y +CONFIG_SAMSUNG_ONENAND=y CONFIG_DM_PMIC=y CONFIG_DM_PMIC_MAX8998=y CONFIG_PWM_S5P=y diff --git a/configs/s5pc210_universal_defconfig b/configs/s5pc210_universal_defconfig index af7fef58a601..a66ae7dec9b6 100644 --- a/configs/s5pc210_universal_defconfig +++ b/configs/s5pc210_universal_defconfig @@ -49,6 +49,7 @@ CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_SDMA=y CONFIG_MMC_SDHCI_S5P=y CONFIG_MTD=y +CONFIG_SAMSUNG_ONENAND=y CONFIG_DM_PMIC=y CONFIG_DM_PMIC_MAX8998=y CONFIG_SOFT_SPI=y diff --git a/configs/smdkc100_defconfig b/configs/smdkc100_defconfig index 8c89c39c9e2f..5f2ab44d4042 100644 --- a/configs/smdkc100_defconfig +++ b/configs/smdkc100_defconfig @@ -36,6 +36,7 @@ CONFIG_ENV_OVERWRITE=y CONFIG_ENV_IS_IN_ONENAND=y # CONFIG_MMC is not set CONFIG_MTD=y +CONFIG_SAMSUNG_ONENAND=y CONFIG_SMC911X=y CONFIG_SMC911X_BASE=0x98800300 CONFIG_PWM_S5P=y diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index d0ab7c18c649..3d1f6e43fd52 100644 --- a/drivers/mtd/Kconfig +++ b/drivers/mtd/Kconfig @@ -168,6 +168,9 @@ config STM32_FLASH This is the driver of embedded flash for some STMicroelectronics STM32 MCU. +config SAMSUNG_ONENAND + bool "Samsung OneNAND driver support" + config USE_SYS_MAX_FLASH_BANKS bool "Enable Max number of Flash memory banks" help diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index d9eeec48a0dd..ed4f55a4323d 100644 --- a/include/configs/s5p_goni.h +++ b/include/configs/s5p_goni.h @@ -127,7 +127,6 @@ #define CONFIG_MMC_DEFAULT_DEV 0 #define CONFIG_USE_ONENAND_BOARD_INIT -#define CONFIG_SAMSUNG_ONENAND 1 #define CONFIG_SYS_ONENAND_BASE 0xB0000000 #define CONFIG_USB_GADGET_DWC2_OTG_PHY diff --git a/include/configs/s5pc210_universal.h b/include/configs/s5pc210_universal.h index ab4fe6b46024..cbc941afb9dd 100644 --- a/include/configs/s5pc210_universal.h +++ b/include/configs/s5pc210_universal.h @@ -88,7 +88,6 @@ "opts=always_resume=1" #define CONFIG_USE_ONENAND_BOARD_INIT -#define CONFIG_SAMSUNG_ONENAND #define CONFIG_SYS_ONENAND_BASE 0x0C000000 #define CONFIG_USB_GADGET_DWC2_OTG_PHY diff --git a/include/configs/smdkc100.h b/include/configs/smdkc100.h index 995623e9a6fe..4199f2bc8e61 100644 --- a/include/configs/smdkc100.h +++ b/include/configs/smdkc100.h @@ -91,7 +91,6 @@ */ #define CONFIG_USE_ONENAND_BOARD_INIT -#define CONFIG_SAMSUNG_ONENAND 1 #define CONFIG_SYS_ONENAND_BASE 0xE7100000 /* -- 2.25.1