From patchwork Wed Sep 25 14:57:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1167469 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=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.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="OUVWI45I"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46djs16lYBz9sNx for ; Thu, 26 Sep 2019 02:17:57 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 8C87DC2210A; Wed, 25 Sep 2019 16:14:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 57763C220D2; Wed, 25 Sep 2019 15:06:05 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 429EBC220D6; Wed, 25 Sep 2019 15:06:04 +0000 (UTC) Received: from mail-io1-f66.google.com (mail-io1-f66.google.com [209.85.166.66]) by lists.denx.de (Postfix) with ESMTPS id 5D7FEC220DB for ; Wed, 25 Sep 2019 14:59:13 +0000 (UTC) Received: by mail-io1-f66.google.com with SMTP id b136so14643713iof.3 for ; Wed, 25 Sep 2019 07:59:13 -0700 (PDT) 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=Au/4MMxaE4IkRYOYoe2U2JjQA83CPEl2e3Rq7GKM68I=; b=OUVWI45Im9Kfop81Fc5RpQFx0a3VuNdEQyWyy3GCnpZ+w3IuIojWjO1GDLtwLwZBwv 0CeSfkN/aRFmOLfX924mc0MOQTIRp3lc7l7ivdSOPgKHhmfAWXvnbROb5Z+HA04tLDZg U/8s7DM1FrfKUv4jaaprpAC3aq87L3fm1qxDM= 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=Au/4MMxaE4IkRYOYoe2U2JjQA83CPEl2e3Rq7GKM68I=; b=SScwEhqX88EANOHke0j9AzWYxXjbBePxk446iRn+1COHeE+pjXkFit3925HuMtMX9b qsg/VHYCz2iPHTv7I4l5PnlpWPWWqTnO3NG399UGhuSs4okGmovUweQ/GdaULB1ToOqj S6fV3B52Fv0pn1bXTA6DKLYVdKTrOyeeI5GcT434U89V5krrLkXDeggmaGHkh7CaVKJK FKdG58KQvra5Pfh+yo5YogOUbAZXiNEVpXXPVK6KNNSMK8aqwAqCMAdvURPrtuyiavt6 /TW1bNcNxwaU003864F+GEHlpVgFWgQycO8wtAknNjuUn1LFe4hdCV/JOnfGC5KkoEsF G7DQ== X-Gm-Message-State: APjAAAWj1WR1I/NyyJjDuybS2Gxa4ZkX/TOOr5NpCCDYlgLoOzXBoN5/ ZfdqJkW2GJUjAnCKN3YFBhuc7QncuIw= X-Google-Smtp-Source: APXvYqwhHCkmyTY4vPVWW6Sso4foNJiZFX2kKYtQGHEF0FT1/km/N4gSjQfti4oehvLiTIxiObmnVg== X-Received: by 2002:a6b:3705:: with SMTP id e5mr9114096ioa.213.1569423552149; Wed, 25 Sep 2019 07:59:12 -0700 (PDT) Received: from kiwi.bld.corp.google.com ([2620:15c:183:0:8223:87c:a681:66aa]) by smtp.gmail.com with ESMTPSA id d9sm4254964ioq.9.2019.09.25.07.59.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2019 07:59:11 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Wed, 25 Sep 2019 08:57:19 -0600 Message-Id: <20190925145750.200592-96-sjg@chromium.org> X-Mailer: git-send-email 2.23.0.444.g18eeb5a265-goog In-Reply-To: <20190925145750.200592-1-sjg@chromium.org> References: <20190925145750.200592-1-sjg@chromium.org> MIME-Version: 1.0 Subject: [U-Boot] [PATCH 095/126] x86: Don't include the BIOS emulator in TPL X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" We don't generally have enough space to run this, so don't build it into TPL. This helps reduce the size of TPL. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- arch/x86/lib/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/lib/Makefile b/arch/x86/lib/Makefile index ca0ca1066b0..5cd45874803 100644 --- a/arch/x86/lib/Makefile +++ b/arch/x86/lib/Makefile @@ -4,9 +4,11 @@ # Wolfgang Denk, DENX Software Engineering, wd@denx.de. ifndef CONFIG_X86_64 +ifndef CONFIG_TPL_BUILD obj-y += bios.o obj-y += bios_asm.o obj-y += bios_interrupts.o +endif obj-y += string.o endif ifndef CONFIG_SPL_BUILD