From patchwork Tue Jan 27 01:23:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 433133 X-Patchwork-Delegate: sjg@chromium.org 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 233AD1400EA for ; Tue, 27 Jan 2015 12:32:37 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0F7CE4B632; Tue, 27 Jan 2015 02:32:33 +0100 (CET) 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 EbUitbqLyCAg; Tue, 27 Jan 2015 02:32:32 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E4AE74B628; Tue, 27 Jan 2015 02:32:27 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 18DE14B60B for ; Tue, 27 Jan 2015 02:32:22 +0100 (CET) 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 1SsoqgsR9QF1 for ; Tue, 27 Jan 2015 02:32:21 +0100 (CET) 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-ig0-f202.google.com (mail-ig0-f202.google.com [209.85.213.202]) by theia.denx.de (Postfix) with ESMTPS id AF6A94B612 for ; Tue, 27 Jan 2015 02:32:18 +0100 (CET) Received: by mail-ig0-f202.google.com with SMTP id a13so419721igq.1 for ; Mon, 26 Jan 2015 17:32:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=2kKB0f/ZtsVb8hnZJGN4Wu8g6RfXBiUikuTG0zLlj48=; b=KWGGudbLTaVD+u93gOgfDDeW+n2uzYy0isod7ZkRYuR8EARBjiSOvsnjqsjfoZa5v7 S/SZ/LrRAmmM1crcscWZOjWZJ18GHFeWZV51kDFIJPJh1fx2xznGgW/LRWTt0AZMP3XO QtAh4g2e32t2mKrIzugt5i/4OiEO2pGnXeWSWybF6KoqL9dzQLulj6QUp5FIHNaT4UCa xSfssCBOAa5UgZpJd+QJksJRWjmX7WfTddzlKq5UVHokN1EQzb1RerLzdMA7djwEpae2 2PVzUFZTwJi+PMLsnuGvPDv8HkeXMonKfgc2oie4G8CyNq0kFd/wRqCNjZUG5w7tmfBj WLsA== X-Gm-Message-State: ALoCoQlWC3cPa4tBdtgRJcSFvkfz/DmgIgxIVcSEM1K3DZPaEPzpshRjxc1q9yrFF9k+OeTRkugv X-Received: by 10.50.176.202 with SMTP id ck10mr473955igc.5.1422322337629; Mon, 26 Jan 2015 17:32:17 -0800 (PST) Received: from corpmail-nozzle1-2.hot.corp.google.com ([100.108.1.103]) by gmr-mx.google.com with ESMTPS id fg3si1021952qcb.1.2015.01.26.17.32.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Jan 2015 17:32:17 -0800 (PST) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by corpmail-nozzle1-2.hot.corp.google.com with ESMTP id 5HCK6fxQ.1; Mon, 26 Jan 2015 17:32:17 -0800 Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 19548220135; Mon, 26 Jan 2015 18:23:41 -0700 (MST) From: Simon Glass To: U-Boot Mailing List Date: Mon, 26 Jan 2015 18:23:11 -0700 Message-Id: <1422321801-6743-14-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.2.0.rc0.207.ga3a616c In-Reply-To: <1422321801-6743-1-git-send-email-sjg@chromium.org> References: <1422321801-6743-1-git-send-email-sjg@chromium.org> Cc: Graeme Russ Subject: [U-Boot] [PATCH 13/23] x86: Make CAR and DRAM FSP code common X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 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 For now this code seems to be the same for all FSP platforms. Make it common until we see what differences are required. Signed-off-by: Simon Glass Reviewed-by: Bin Meng Tested-by: Bin Meng --- arch/x86/cpu/queensbay/Makefile | 2 +- arch/x86/lib/fsp/Makefile | 2 ++ arch/x86/{cpu/queensbay/tnc_car.S => lib/fsp/fsp_car.S} | 0 arch/x86/{cpu/queensbay/tnc_dram.c => lib/fsp/fsp_dram.c} | 0 4 files changed, 3 insertions(+), 1 deletion(-) rename arch/x86/{cpu/queensbay/tnc_car.S => lib/fsp/fsp_car.S} (100%) rename arch/x86/{cpu/queensbay/tnc_dram.c => lib/fsp/fsp_dram.c} (100%) diff --git a/arch/x86/cpu/queensbay/Makefile b/arch/x86/cpu/queensbay/Makefile index b3e7d87..d8761fd 100644 --- a/arch/x86/cpu/queensbay/Makefile +++ b/arch/x86/cpu/queensbay/Makefile @@ -4,6 +4,6 @@ # SPDX-License-Identifier: GPL-2.0+ # -obj-y += tnc_car.o tnc_dram.o tnc.o topcliff.o obj-y += fsp_configs.o +obj-y += tnc.o topcliff.o obj-$(CONFIG_PCI) += tnc_pci.o diff --git a/arch/x86/lib/fsp/Makefile b/arch/x86/lib/fsp/Makefile index 1b9b0e2..3a2bac0 100644 --- a/arch/x86/lib/fsp/Makefile +++ b/arch/x86/lib/fsp/Makefile @@ -4,4 +4,6 @@ # SPDX-License-Identifier: GPL-2.0+ # +obj-y += fsp_car.o +obj-y += fsp_dram.o obj-y += fsp_support.o diff --git a/arch/x86/cpu/queensbay/tnc_car.S b/arch/x86/lib/fsp/fsp_car.S similarity index 100% rename from arch/x86/cpu/queensbay/tnc_car.S rename to arch/x86/lib/fsp/fsp_car.S diff --git a/arch/x86/cpu/queensbay/tnc_dram.c b/arch/x86/lib/fsp/fsp_dram.c similarity index 100% rename from arch/x86/cpu/queensbay/tnc_dram.c rename to arch/x86/lib/fsp/fsp_dram.c