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 82223C433F5 for ; Wed, 23 Mar 2022 21:20:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 150A983F91; Wed, 23 Mar 2022 22:20:30 +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 8B46F83FD4; Wed, 23 Mar 2022 22:20:23 +0100 (CET) Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) (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 DB2E183BDB for ; Wed, 23 Mar 2022 22:20:18 +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-qk1-f182.google.com with SMTP id v15so2148172qkg.8 for ; Wed, 23 Mar 2022 14:20:18 -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:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vGcx3+fihkhT2+lKvGNJqmkr/kj3sCDKjPwj18FyIRc=; b=sIBF4TJo+7L2Go8J5U6xkWY/xEXIfzU4tR7gjTDUUsm57+ax6hFEWjPT0gMU1c6Har h2F960eBfvEQk00HColz2f2E7CXC4QlqrFK+cYrpwtvI4DoAV9NPD6YMAevYWOmoJ5xm LSqnI4eVdRMv7+8ukZVklQdha2QHJKAwIawlxsAL3g+HhFL2SJYnGAVF6T+xoAkoigru X9ERcjQzkcPiBkzM1dODqkfYziUhuhJcN6/jf0bd49/y134cHErzzEWoKwiSGNk9tE+E xnwErYNmW7lqL0xY76RXnNde0UImI9smz+8kfNJ75VZDA2a0RbOwYBRot9mFBQeYuVzn yB/g== X-Gm-Message-State: AOAM533x/0AyIr3aDrpGMY6zlWlOnvy7Ftc66CoW0TKOcfhJprKlIAVt mF8smCYW99OBu9JSt+fPNqy5MrNvKw== X-Google-Smtp-Source: ABdhPJwO8iM6qxjVjtIHrsq7zz8O3m7/Iu2vESc68QcPpkSXYqXbEya/JZsnL7mEPNDhxo+8gqFKbA== X-Received: by 2002:a37:ea02:0:b0:47d:293b:7fa with SMTP id t2-20020a37ea02000000b0047d293b07famr1305026qkj.669.1648070417595; Wed, 23 Mar 2022 14:20:17 -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.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Mar 2022 14:20:16 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Cc: Angelo Dureghello Subject: [PATCH 05/22] stmark2: Migrate CONFIG_SYS_EXTRA_OPTIONS to Kconfig Date: Wed, 23 Mar 2022 17:19:52 -0400 Message-Id: <20220323212009.1066483-5-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220323212009.1066483-1-trini@konsulko.com> References: <20220323212009.1066483-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 platform is the only one to set these options, so define them in the board Kconfig file. Cc: Angelo Dureghello Signed-off-by: Tom Rini --- board/sysam/stmark2/Kconfig | 7 +++++++ configs/stmark2_defconfig | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/board/sysam/stmark2/Kconfig b/board/sysam/stmark2/Kconfig index 87ab7ab7b521..4abcdb3aaf16 100644 --- a/board/sysam/stmark2/Kconfig +++ b/board/sysam/stmark2/Kconfig @@ -1,5 +1,12 @@ if TARGET_STMARK2 +config CF_SBF + def_bool y + +config SYS_INPUT_CLKSRC + hex + default 30000000 + config SYS_CPU default "mcf5445x" diff --git a/configs/stmark2_defconfig b/configs/stmark2_defconfig index 17007a003b9f..c85e3e75d3df 100644 --- a/configs/stmark2_defconfig +++ b/configs/stmark2_defconfig @@ -9,7 +9,6 @@ CONFIG_TARGET_STMARK2=y CONFIG_MCFTMR=y CONFIG_SYS_LOAD_ADDR=0x40010000 CONFIG_TIMESTAMP=y -CONFIG_SYS_EXTRA_OPTIONS="CF_SBF,SYS_SERIAL_BOOT,SYS_INPUT_CLKSRC=30000000" CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 rw rootfstype=ramfs rdinit=/bin/init devtmpfs.mount=1" CONFIG_USE_BOOTCOMMAND=y -- 2.25.1