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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53089C433EF for ; Sun, 14 Nov 2021 03:23:40 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id CE481604DB for ; Sun, 14 Nov 2021 03:23:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CE481604DB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 436D6834A8; Sun, 14 Nov 2021 04:22:54 +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="d2xsDjIj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4EE0B8331E; Sun, 14 Nov 2021 04:22:38 +0100 (CET) Received: from mail-oo1-xc2c.google.com (mail-oo1-xc2c.google.com [IPv6:2607:f8b0:4864:20::c2c]) (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 2236383495 for ; Sun, 14 Nov 2021 04:22:23 +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-oo1-xc2c.google.com with SMTP id a11-20020a4ad1cb000000b002c2657270a0so4418314oos.8 for ; Sat, 13 Nov 2021 19:22:23 -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=af3sJPk+SxUuffr8XGeZjY9Xk6xt3g/aBZRSJ4Gp88U=; b=d2xsDjIjcO0viTnPGu60L8NNiPA/7GKsTG9+S74guTWRN266wVzRuaxWbnOcFYxyFT 9/YBHwsgPHt8D35gwrB0ZpduXNHPQK5x547ZQ743OsjwHxoVI+4iN12NdlN3Vljf9Noy mIswIUin6MlaQwl1TgdWuQJUGV2oeRe8t+sfI= 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=af3sJPk+SxUuffr8XGeZjY9Xk6xt3g/aBZRSJ4Gp88U=; b=XD/BpgeyvUIITYQmXV3sNK+tMUYkQGMvvbmNIPsljuFwz9gkaoQtcGcmdVQWCY26tL Iy7YfsltnkMpAeThNNoX4XXnc28V0f61v62DoSgqp6wpWi37TQwWW0YUNDe73PdrrrYM 3Iyf8mfxX/9YovQB8hkCeQOEGMQC79kbSv//7BtmSK+BMCgtYkSrTGTygNet3tazIJKJ i0thWIQFtxdo5M87Al8i0trWO5XgUIItpt50pffbVGPO+E1zEroibzpmD8AJx/bhXkZe pAsGPSzPeas93/3TK5NVLwN/Z2toG5WTH83X+Ip1HJlSGoHxqWrEPxkWZKXeEj/CgmS+ f19w== X-Gm-Message-State: AOAM532xkXfC3VmbbowE6/IICbGlli6O+HgnlE2l2jRq5jd/Mgqm9C3Y 3hHDioTRDqHZLB3Hg1cddERp+hI/wCVlfA== X-Google-Smtp-Source: ABdhPJxnGRVg1TiZY19ZIQwXCcBxljj62lCmBMsVWzl10VhbfUYdALIYkmf9s8llBDLiykXeIMTMjQ== X-Received: by 2002:a4a:b307:: with SMTP id m7mr14400499ooo.83.1636860141589; Sat, 13 Nov 2021 19:22:21 -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 o2sm2147004otl.34.2021.11.13.19.22.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Nov 2021 19:22:21 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Mario Six Subject: [PATCH 08/10] sandbox: Drop CONFIG_SYS_TIMER_RATE Date: Sat, 13 Nov 2021 20:21:59 -0700 Message-Id: <20211114032201.493122-9-sjg@chromium.org> X-Mailer: git-send-email 2.34.0.rc1.387.gb447b232ab-goog In-Reply-To: <20211114032201.493122-1-sjg@chromium.org> References: <20211114032201.493122-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.35 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 --- 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 9f758e689f7..aa3ed75f428 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.rc1.387.gb447b232ab-goog