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 5EB6AC433F5 for ; Wed, 24 Nov 2021 16:28:46 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4F3758373A; Wed, 24 Nov 2021 17:28:18 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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=chromium.org header.i=@chromium.org header.b="AZBrtUDW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BDCA582FC9; Wed, 24 Nov 2021 17:27:39 +0100 (CET) Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) (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 E81E783711 for ; Wed, 24 Nov 2021 17:27:10 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-ot1-x32d.google.com with SMTP id 35-20020a9d08a6000000b00579cd5e605eso5187262otf.0 for ; Wed, 24 Nov 2021 08:27:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sE/6iyE9ilPfNqUWVrZ1ACG5/HPdI4iEEmUlCZD92LA=; b=AZBrtUDWKejTp/i0T8HUvNle2f7+TDGxPOqlzPUpde4kiHufdbH3yodQFGF7EcD0na 6+l44q68n+D9R8iZ9z6H48f5rJ6Wc1gQiWlvyGo0tmK/rXkzo+4GA5AN+fJwTQ1KR0Eo uDC5oT+NoQ6IZIuynssSNIG++XKKfGj6+Ypx8= 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=sE/6iyE9ilPfNqUWVrZ1ACG5/HPdI4iEEmUlCZD92LA=; b=DTZyoU/Dh4tVQRHVdnTWJCW59s8OYGfH86Ey3GU0mPPz7cYAQigE/Jc/YMzUGBP70u fmc+bCpt0Xm4GwgVCcIxFM3qg8hRsanK0FkQFaNwCNuKdbR65m5A3k4NuODAlgl5UHbe NJAZZ6WCATisNEr2cOZ7a/ePKHVmF4gy0krrG71eAkkVX4PYPN5S8gVrEg2dVQ/FZp/u eUBkAjs8IW7RZkBuOMfg/l3oN2AHrhFQSKAM+vCCDCecRbAO24wzeU129EMUFSRoOY4J 168OxuN19crOgDFwJLSPQbkA9NBgowbhwwzNgMMrY6MxLqe2p1Chsb8QacyAf84FlCB/ bQlw== X-Gm-Message-State: AOAM5322LZVbAYVtfuHQzG+Namr0q/5z5aOBB2LtwN0+7rWr9yOJRP4N BEHaVoknegB11RN/iQxMeeK0g4psCeJGyA== X-Google-Smtp-Source: ABdhPJwX3XEtGHirFrmUbUy4AcYT5+yI36UOnIbTwM4J+eROC/OzDQgPennKMF+FfcDMRqZCMv4+qA== X-Received: by 2002:a9d:6491:: with SMTP id g17mr3826652otl.117.1637771229338; Wed, 24 Nov 2021 08:27:09 -0800 (PST) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id w10sm43068ott.46.2021.11.24.08.27.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Nov 2021 08:27:08 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Heinrich Schuchardt , Tom Rini , Simon Glass , Mario Six Subject: [PATCH v2 08/11] sandbox: Drop CONFIG_SYS_TIMER_RATE Date: Wed, 24 Nov 2021 09:26:46 -0700 Message-Id: <20211124162649.846156-9-sjg@chromium.org> X-Mailer: git-send-email 2.34.0.rc2.393.gf8c9666880-goog In-Reply-To: <20211124162649.846156-1-sjg@chromium.org> References: <20211124162649.846156-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.37 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.2 at phobos.denx.de X-Virus-Status: Clean This is not used by sandbox since it uses driver model for the timer. Drop it. Also update the tools_only build to avoid build errors, since it does actually build U-Boot too. Enable DM so we can use CONFIG_TIMER, disable EFI_LOADER to avoid an error about board_quiesce_devices() and disable NET to avoid having to define CONFIG_AVB_BUF_ADDR Signed-off-by: Simon Glass --- (no changes since v1) configs/tools-only_defconfig | 7 +++---- include/configs/sandbox.h | 4 ---- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/configs/tools-only_defconfig b/configs/tools-only_defconfig index f482c9a1c1b..ec5d1346cec 100644 --- a/configs/tools-only_defconfig +++ b/configs/tools-only_defconfig @@ -11,23 +11,22 @@ CONFIG_MISC_INIT_F=y # CONFIG_CMD_BOOTM is not set # CONFIG_CMD_ELF is not set # CONFIG_CMD_EXTENSION is not set -CONFIG_BOOTP_DNS2=y # CONFIG_CMD_DATE is not set CONFIG_OF_CONTROL=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y -CONFIG_BOOTP_SEND_HOSTNAME=y -CONFIG_IP_DEFRAG=y +# CONFIG_NET is not set # CONFIG_ACPIGEN is not set CONFIG_AXI=y CONFIG_AXI_SANDBOX=y -# CONFIG_UDP_FUNCTION_FASTBOOT is not set CONFIG_SANDBOX_GPIO=y CONFIG_PCI=y CONFIG_PCI_SANDBOX=y CONFIG_DM_RTC=y CONFIG_SOUND=y CONFIG_SYSRESET=y +CONFIG_TIMER=y CONFIG_I2C_EDID=y # CONFIG_VIRTIO_MMIO is not set # CONFIG_VIRTIO_PCI is not set # CONFIG_VIRTIO_SANDBOX is not set +# CONFIG_EFI_LOADER is not set diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index 2307657f5bd..cd7d99ec69c 100644 --- a/include/configs/sandbox.h +++ b/include/configs/sandbox.h @@ -10,10 +10,6 @@ #define CONFIG_IO_TRACE #endif -#ifndef CONFIG_TIMER -#define CONFIG_SYS_TIMER_RATE 1000000 -#endif - #define CONFIG_MALLOC_F_ADDR 0x0010000 #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ -- 2.34.0.rc2.393.gf8c9666880-goog