From patchwork Wed May 1 19:32:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Kristiansson X-Patchwork-Id: 240805 X-Patchwork-Delegate: trini@ti.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 CD15F2C008F for ; Thu, 2 May 2013 05:41:17 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id F3CDC4A26C; Wed, 1 May 2013 21:41: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 eGMjtPrEu4+U; Wed, 1 May 2013 21:41:06 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8F3214A274; Wed, 1 May 2013 21:40:55 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 24B094A235 for ; Wed, 1 May 2013 21:40:52 +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 6158vXGo6+GL for ; Wed, 1 May 2013 21:40:47 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 BL_NJABL=ERR(-1.5) (only DNSBL check requested) Received: from smtp-68.nebula.fi (smtp-69.nebula.fi [83.145.220.69]) by theia.denx.de (Postfix) with ESMTPS id 30E884A240 for ; Wed, 1 May 2013 21:40:35 +0200 (CEST) Received: from wonka.TeleWell.gateway (nblzone-224-141.nblnetworks.fi [83.145.224.141]) by smtp-68.nebula.fi (Postfix) with ESMTP id DFE6E32B0041; Wed, 1 May 2013 22:33:17 +0300 (EEST) From: Stefan Kristiansson To: u-boot@lists.denx.de Date: Wed, 1 May 2013 22:32:46 +0300 Message-Id: <1367436766-32382-3-git-send-email-stefan.kristiansson@saunalahti.fi> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1367436766-32382-1-git-send-email-stefan.kristiansson@saunalahti.fi> References: <1367436766-32382-1-git-send-email-stefan.kristiansson@saunalahti.fi> Subject: [U-Boot] [PATCH 2/2] openrisc: move board linker script(s) to a common in cpu/ 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 Unifies the openrisc boards linker scripts into a common one. Signed-off-by: Stefan Kristiansson --- arch/openrisc/config.mk | 2 ++ {board/openrisc/openrisc-generic => arch/openrisc/cpu}/u-boot.lds | 0 2 files changed, 2 insertions(+) rename {board/openrisc/openrisc-generic => arch/openrisc/cpu}/u-boot.lds (100%) diff --git a/board/openrisc/openrisc-generic/u-boot.lds b/arch/openrisc/cpu/u-boot.lds similarity index 100% rename from board/openrisc/openrisc-generic/u-boot.lds rename to arch/openrisc/cpu/u-boot.lds diff --git a/arch/openrisc/config.mk b/arch/openrisc/config.mk index 521e73a..01c0f77 100644 --- a/arch/openrisc/config.mk +++ b/arch/openrisc/config.mk @@ -25,3 +25,5 @@ CROSS_COMPILE ?= or32-elf- PLATFORM_CPPFLAGS += -DCONFIG_OPENRISC -D__OR1K__ -ffixed-r10 CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000 + +LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds