From patchwork Sat Dec 7 04:42:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1205373 X-Patchwork-Delegate: bmeng.cn@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="ZimvPn2i"; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47VHCf2bS3z9sPL for ; Sat, 7 Dec 2019 15:53:34 +1100 (AEDT) Received: from phobos.denx.de (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CB77581736; Sat, 7 Dec 2019 05:48:51 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (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=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="ZimvPn2i"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BD12681732; Sat, 7 Dec 2019 05:48:47 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) (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 8261881724 for ; Sat, 7 Dec 2019 05:48:44 +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-io1-xd42.google.com with SMTP id s2so9471348iog.10 for ; Fri, 06 Dec 2019 20:48:44 -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=N5YGGkH9U+U3ZNyGDOJ6hblWy5IB8nCDWSsVGZAV7yM=; b=ZimvPn2iy5YvIpEZfovVF+j54W6ypKfrtA7pVgT78m25cLGZWl+yz3bOuvOddMFC5B RNSMsLTY6i7xSwQtp+wPu0inmMbHxspn7CgMhyHpG/UR7wu6CgI1UUR0JGVrQ9KxFTSj xe0VDjKRZSemLhhVvdYcORZEbtebHX5DAq7e8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=N5YGGkH9U+U3ZNyGDOJ6hblWy5IB8nCDWSsVGZAV7yM=; b=Vqd0qRtES7XJJtDQF+nwWVUv2LwVV/mURZV6+dZPBg833dwMayP20hlIb0rOUNTzef b4aqu1G6omtbGHdi0mx4fmn5cIncuRP6YX8UqgZs1e5AEeL+4Zia8c+wgLqS6ZCpsdZm TH2QezPId5un3NtRh+YSAn3QM5FAgRt2jGhIeol2VP5qp1YZ/ogKC3eH5V3Qc4RqI8fb Nk4OaeEZttAgMxu0lrm5Ik/ZVt++diGza1mgfjR9NvuENPhFiN5gEJ3BNWDZEs3zLd0v OSKsYIKg8MWtRw3DKsUS1KyBLO5Z09cxJz+4hArQtqW1eqYEyfZu0Lvihm9I9t8Q+xnd cwfA== X-Gm-Message-State: APjAAAXTW42VynbatA1sGJkRd2HgppE4gBwhcCc0KHrsZFpLAk7YjFXn WqsnYZEzVTwGSxvWxY/XykwCHtQe/bU= X-Google-Smtp-Source: APXvYqzCaN4em0OeBmSbER6m0Skew5UjxP6fqjAYSJC+o7YFOYqOtRv/0MrHiTJgeuqHo12drl8ORQ== X-Received: by 2002:a02:cd31:: with SMTP id h17mr16565821jaq.94.1575694123267; Fri, 06 Dec 2019 20:48:43 -0800 (PST) Received: from kiwi.bld.corp.google.com ([2620:15c:183:0:8223:87c:a681:66aa]) by smtp.gmail.com with ESMTPSA id o7sm4549410ilo.58.2019.12.06.20.48.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Dec 2019 20:48:42 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Subject: [PATCH v6 040/102] x86: Don't imply libfdt or SPI flash in TPL Date: Fri, 6 Dec 2019 21:42:13 -0700 Message-Id: <20191206213936.v6.40.I05b0a2a44e20c4d7f3b2a531c7b2721d0d1bcc91@changeid> X-Mailer: git-send-email 2.24.0.393.g34dc348eaf-goog In-Reply-To: <20191207044315.51770-1-sjg@chromium.org> References: <20191207044315.51770-1-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 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.101.4 at phobos.denx.de X-Virus-Status: Clean We don't want to pull in libfdt if of-platdata is being used, since it reduces the available code-size saves. Also, SPI flash is seldom needed in TPL. Drop these options. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - Don't imply SPI flash either - Rewrite commit message Changes in v2: None arch/Kconfig | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/Kconfig b/arch/Kconfig index 6865e1f909..54de91afb3 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -204,14 +204,11 @@ config X86 imply SPL_SYSCON # TPL imply TPL_DM - imply TPL_OF_LIBFDT imply TPL_DRIVERS_MISC_SUPPORT imply TPL_GPIO_SUPPORT imply TPL_LIBCOMMON_SUPPORT imply TPL_LIBGENERIC_SUPPORT imply TPL_SERIAL_SUPPORT - imply TPL_SPI_FLASH_SUPPORT - imply TPL_SPI_SUPPORT imply TPL_OF_CONTROL imply TPL_TIMER imply TPL_REGMAP