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 22349C433FE for ; Sat, 19 Nov 2022 23:50:18 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 63B0B852A7; Sun, 20 Nov 2022 00:46:38 +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="sLC/E6zd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 526688524A; Sun, 20 Nov 2022 00:46:12 +0100 (CET) Received: from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com [IPv6:2607:f8b0:4864:20::f2b]) (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 B8C6B85229 for ; Sun, 20 Nov 2022 00:46:01 +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-qv1-xf2b.google.com with SMTP id p8so5170461qvn.5 for ; Sat, 19 Nov 2022 15:46:01 -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=FS0jaW3p08YdcTEQ6Q94b8uxcp/LjDK82Wc/tEhGeRw=; b=sLC/E6zdVts73/8tCwhSP/jBZUDF7BBThV+rBFzfSbIc43RjJeIEmWRWRuJuBtw4ml NRMCqGASDposwKYH8xfaP6enrtR2cN5gOncPV87tc6NWSSLKoVepkLsPE5O4J7UZ/or/ Rs9LXNJQhmguqSmsmBu2Xy/zLApkdZtMuGpz4= 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=FS0jaW3p08YdcTEQ6Q94b8uxcp/LjDK82Wc/tEhGeRw=; b=XS0zWy4H57W1iGaBBKMChajYo7qDdJALV2Wr1XekqGcvRpUdnEl/sH0b27y+/g4Tgq VCl4N3lFFQGYNFoyeYlkgD1cuGkSSAnaEXCpTNYyQolFxXZovGztvShfVPgpFSZ/4TnS z3bXRgfHfjYWU662mrVHpxZwCYjuNLsr05sCK4I/8Z2yjhQe4HvXMhusdTICg02ghg3q BtIzqywefrGKSXk/UsthV2vIYxojzuhRTvjtVshf9vau8xJcyNRUw2tMc3RTKT3dX2Mu giEHCBOFsUKubNwCMpaM0QdemIhpOmjG1SvUwwajrZlcP8pc3vtaLaW0wJ8rtItiYPAd +jAg== X-Gm-Message-State: ANoB5pmiP0nfO5DaFQz9x1FapuEiwWwy4DfdudEA3oHAjEYeap7KRbkU MUiqlHznsXhD1mBdxAyGDUI37khQtc2zxQ== X-Google-Smtp-Source: AA0mqf4qRdPg4UwRW8ttRvqytbI9ljfWGIwvyymbXitOBsCMWodGhC8Nx7Qnxnpo1SOprF278cp1qQ== X-Received: by 2002:a05:6214:5909:b0:4c6:a472:994 with SMTP id lp9-20020a056214590900b004c6a4720994mr2544620qvb.27.1668901561170; Sat, 19 Nov 2022 15:46:01 -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.46.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Nov 2022 15:46:00 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 26/38] Convert CONFIG_SMSC_LPC47M et al to Kconfig Date: Sat, 19 Nov 2022 18:45:33 -0500 Message-Id: <20221119234545.404563-26-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_SMSC_LPC47M CONFIG_SMSC_SIO1007 Signed-off-by: Tom Rini --- configs/cougarcanyon2_defconfig | 1 + configs/crownbay_defconfig | 1 + drivers/misc/Kconfig | 6 ++++++ include/configs/cougarcanyon2.h | 2 -- include/configs/crownbay.h | 2 -- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/configs/cougarcanyon2_defconfig b/configs/cougarcanyon2_defconfig index 203eff8e165a..8b47f2d89f87 100644 --- a/configs/cougarcanyon2_defconfig +++ b/configs/cougarcanyon2_defconfig @@ -52,6 +52,7 @@ CONFIG_SYSCON=y CONFIG_LBA48=y CONFIG_SYS_64BIT_LBA=y CONFIG_CPU=y +CONFIG_SMSC_SIO1007=y CONFIG_SYS_NS16550=y CONFIG_SYS_NS16550_PORT_MAPPED=y CONFIG_SPI=y diff --git a/configs/crownbay_defconfig b/configs/crownbay_defconfig index cb0f0d7c8d02..038cbbe5b993 100644 --- a/configs/crownbay_defconfig +++ b/configs/crownbay_defconfig @@ -56,6 +56,7 @@ CONFIG_SYSCON=y CONFIG_LBA48=y CONFIG_SYS_64BIT_LBA=y CONFIG_CPU=y +CONFIG_SMSC_LPC47M=y CONFIG_E1000=y CONFIG_SYS_NS16550_PORT_MAPPED=y CONFIG_SOUND=y diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 122d605a537d..b07261d3db5a 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -112,6 +112,12 @@ config SIFIVE_OTP Enable support for reading and writing the eMemory OTP on the SiFive SoCs. +config SMSC_LPC47M + bool "LPC47M SMSC driver" + +config SMSC_SIO1007 + bool "SIO1007 SMSC driver" + config VEXPRESS_CONFIG bool "Enable support for Arm Versatile Express config bus" depends on MISC diff --git a/include/configs/cougarcanyon2.h b/include/configs/cougarcanyon2.h index efd0b7784350..b64c7df1b25f 100644 --- a/include/configs/cougarcanyon2.h +++ b/include/configs/cougarcanyon2.h @@ -8,8 +8,6 @@ #include -#define CONFIG_SMSC_SIO1007 - #define CONFIG_STD_DEVICES_SETTINGS "stdin=serial,i8042-kbd,usbkbd\0" \ "stdout=serial,vga\0" \ "stderr=serial,vga\0" diff --git a/include/configs/crownbay.h b/include/configs/crownbay.h index e8a8af7e6492..ff74deb3d400 100644 --- a/include/configs/crownbay.h +++ b/include/configs/crownbay.h @@ -12,8 +12,6 @@ #include -#define CONFIG_SMSC_LPC47M - #define CONFIG_STD_DEVICES_SETTINGS "stdin=serial,i8042-kbd,usbkbd\0" \ "stdout=serial,vidconsole\0" \ "stderr=serial,vidconsole\0" -- 2.25.1