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 23D81C433EF for ; Wed, 23 Mar 2022 21:20:24 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CAE6D83FC6; Wed, 23 Mar 2022 22:20:21 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id B601183FC6; Wed, 23 Mar 2022 22:20:18 +0100 (CET) Received: from mail-qv1-f49.google.com (mail-qv1-f49.google.com [209.85.219.49]) (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 591E983FC0 for ; Wed, 23 Mar 2022 22:20:15 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qv1-f49.google.com with SMTP id kc20so2289467qvb.3 for ; Wed, 23 Mar 2022 14:20:15 -0700 (PDT) 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:mime-version :content-transfer-encoding; bh=CJZpn4GIHJbdLFfxgsWFH9MtPWcKF8xOLCbdJbEmchk=; b=lSROFeTQKiAvGP5ulMziDWUWBnoFFx5PJb/64lk3Uyzm0E74Xyh7BL01FV6mMorXGu YifT8gyY65nPxIbHiHzLaFJkhT4DBAzlbpKdx8hOZrWh2p3q+OZEnib8LYtinMlNuzKR hpf9Kqxe/FoZxASkcVnYs6bVU0q+6YKSL0/9Wr16fhgjp62z9gTaZVupF1H/s9ciyAEW Xhl15dwCS/oafdNw38rIic/ro+LdFnXkRg9pJG2fjhhRmBIafJUp5eP1IpG92RiG1ge/ 4VGVL98L8TKIAoknQxWi7QcRJro3MhP18GOZ4K27pStHiRLGLEtnQ11IASPucwBIniOb RoJA== X-Gm-Message-State: AOAM532HLC7u1ZfpQaK/hUZxlo9NZhzNHNCkyeTSZHASDkar8QlIIP9X epYqpct8p4a/lBcdo8kNAEBbYoDOyg== X-Google-Smtp-Source: ABdhPJxrOqzCbSf/TmGX+D6KHhAfJWERBoJMR5Tqtq7BQKYfDbXixsbvuJJ6h5YqvaFVfuGnhBFY2Q== X-Received: by 2002:a05:6214:2507:b0:441:1968:82ea with SMTP id gf7-20020a056214250700b00441196882eamr1622244qvb.124.1648070413792; Wed, 23 Mar 2022 14:20:13 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id w8-20020ac87e88000000b002e1cdc11203sm868269qtj.18.2022.03.23.14.20.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Mar 2022 14:20:13 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 01/22] Convert CONFIG_CF_DSPI to Kconfig Date: Wed, 23 Mar 2022 17:19:48 -0400 Message-Id: <20220323212009.1066483-1-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 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_CF_DSPI Signed-off-by: Tom Rini --- arch/m68k/Kconfig | 5 +++++ include/configs/stmark2.h | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig index 97c0b7b834e7..ae8d26d671dd 100644 --- a/arch/m68k/Kconfig +++ b/arch/m68k/Kconfig @@ -113,6 +113,10 @@ config M54418 bool select MCF5441x +# peripherals +config CF_DSPI + bool + choice prompt "Target select" optional @@ -176,6 +180,7 @@ config TARGET_AMCORE config TARGET_STMARK2 bool "Support stmark2" + select CF_DSPI select M54418 endchoice diff --git a/include/configs/stmark2.h b/include/configs/stmark2.h index 781dba542bde..78b8f1d4420d 100644 --- a/include/configs/stmark2.h +++ b/include/configs/stmark2.h @@ -43,7 +43,6 @@ #define CONFIG_MCFTMR /* DSPI and Serial Flash */ -#define CONFIG_CF_DSPI #define CONFIG_SERIAL_FLASH #define CONFIG_SYS_SBFHDR_SIZE 0x7 -- 2.25.1