From patchwork Thu Oct 4 00:39:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 188973 X-Patchwork-Delegate: graeme.russ@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 9EF0E2C007F for ; Thu, 4 Oct 2012 10:40:33 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1799128207; Thu, 4 Oct 2012 02:40:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BS6E23AWH+W2; Thu, 4 Oct 2012 02:40:27 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1209D2821B; Thu, 4 Oct 2012 02:40:10 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 72D31281F8 for ; Thu, 4 Oct 2012 02:40:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09Mx91wZbazW for ; Thu, 4 Oct 2012 02:40:06 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-wi0-f202.google.com (mail-wi0-f202.google.com [209.85.212.202]) by theia.denx.de (Postfix) with ESMTPS id 2A189281FA for ; Thu, 4 Oct 2012 02:39:59 +0200 (CEST) Received: by wibhr7 with SMTP id hr7so163519wib.3 for ; Wed, 03 Oct 2012 17:39:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=TrNzaD1y8VWDuySfke9nlhAWOv1jsOxFMJM+pyNLcdA=; b=LmeD2YW0NTQK0P5jLy5EXuCLYQrdHVm6ylYjk1iNb4yYeTkp23W+9PMSqRqhaCIS1d k1yiYpoA78z2xrExIoar5rny+j00/JrkOKU1XwkqOgohPsrX+ooDdEOUwRbIPeJLvOsZ LeOknKgwg+k8MgptOqUD5K6pgeetc/X9UNivPPQNsg9qNXl1t5grJjan6gE73k/38ezr HLDxGg2pRp82KB/g7MYA3VGGitwezd6aqzNmUOxDIXGkXa0vYLnPqxB1gS6EruLsNkjB QJ8l/9SwdmfbZ+mSLsPdTAKguAy6GTZBu68PqZsn1FPtVllBwQpDBjgsEwT0Y9W/H8j5 +Ftw== Received: by 10.181.12.101 with SMTP id ep5mr1016044wid.1.1349311198843; Wed, 03 Oct 2012 17:39:58 -0700 (PDT) Received: from hpza9.eem.corp.google.com ([74.125.121.33]) by gmr-mx.google.com with ESMTPS id bu8si615245wib.2.2012.10.03.17.39.58 (version=TLSv1/SSLv3 cipher=AES128-SHA); Wed, 03 Oct 2012 17:39:58 -0700 (PDT) Received: from kaka.mtv.corp.google.com (kaka.mtv.corp.google.com [172.22.73.79]) by hpza9.eem.corp.google.com (Postfix) with ESMTP id 7110C5C0063; Wed, 3 Oct 2012 17:39:58 -0700 (PDT) Received: by kaka.mtv.corp.google.com (Postfix, from userid 121222) id C19DB160660; Wed, 3 Oct 2012 17:39:57 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Wed, 3 Oct 2012 17:39:28 -0700 Message-Id: <1349311168-3524-10-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1349311168-3524-1-git-send-email-sjg@chromium.org> References: <1349311168-3524-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQluqRacXwDlBIXb6plNOILnGca5D7hnqUI83UvHGBD5+tJ0rg7HdXN/Md5hB6KiGz9ySQ3zf2LixeAkHb/+mD8CP7XUpJachefrgo7IQZnGYbxjw529ihDwSC2s0zMrbTRbE7aJca7ZHhbzTfP2fdqU8scUjjCFqT/CrEv0HcKJR/Qab8XEwba8jQrGQmp01aZ91Pu5 Cc: Stefan Reinauer , Vadim Bendebury Subject: [U-Boot] [PATCH 9/9] x86: coreboot: Enable LPC TPM and CONFIG_NO_RESET_CODE X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Coreboot boards have an LPC TPM connected, so enable this. We also need to skip the reset code. Signed-off-by: Simon Glass Acked-by: Gabe Black --- include/configs/coreboot.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h index 2c65d74..75db176 100644 --- a/include/configs/coreboot.h +++ b/include/configs/coreboot.h @@ -37,7 +37,7 @@ #define CONFIG_SYS_COREBOOT #undef CONFIG_SHOW_BOOT_PROGRESS #define CONFIG_LAST_STAGE_INIT - +#define CONFIG_NO_RESET_CODE /*----------------------------------------------------------------------- * Watchdog Configuration @@ -45,6 +45,10 @@ #undef CONFIG_WATCHDOG #undef CONFIG_HW_WATCHDOG +/* Generic TPM interfaced through LPC bus */ +#define CONFIG_GENERIC_LPC_TPM +#define CONFIG_TPM_TIS_BASE_ADDRESS 0xfed40000 + /*----------------------------------------------------------------------- * Real Time Clock Configuration */