From patchwork Tue Aug 12 10:49:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sonic Zhang X-Patchwork-Id: 379295 X-Patchwork-Delegate: sonic.adi@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 82F871400B2 for ; Tue, 12 Aug 2014 20:51:00 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B47974A053; Tue, 12 Aug 2014 12:50:58 +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 ERrQBO-enHCS; Tue, 12 Aug 2014 12:50:58 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 260654B601; Tue, 12 Aug 2014 12:50:56 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3B4884B601 for ; Tue, 12 Aug 2014 12:50:51 +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 BzfIohb3fl21 for ; Tue, 12 Aug 2014 12:50:48 +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 na01-bl2-obe.outbound.protection.outlook.com (mail-bl2lp0203.outbound.protection.outlook.com [207.46.163.203]) by theia.denx.de (Postfix) with ESMTPS id 3A5E54A053 for ; Tue, 12 Aug 2014 12:50:45 +0200 (CEST) Received: from BN3PR0301CA0081.namprd03.prod.outlook.com (25.160.152.177) by BLUPR03MB359.namprd03.prod.outlook.com (10.141.75.153) with Microsoft SMTP Server (TLS) id 15.0.995.14; Tue, 12 Aug 2014 10:50:20 +0000 Received: from BN1BFFO11FD047.protection.gbl (2a01:111:f400:7c10::1:135) by BN3PR0301CA0081.outlook.office365.com (2a01:111:e400:401e::49) with Microsoft SMTP Server (TLS) id 15.0.1005.10 via Frontend Transport; Tue, 12 Aug 2014 10:50:20 +0000 Received: from nwd2mta1.analog.com (137.71.25.55) by BN1BFFO11FD047.mail.protection.outlook.com (10.58.145.2) with Microsoft SMTP Server (TLS) id 15.0.1010.11 via Frontend Transport; Tue, 12 Aug 2014 10:50:19 +0000 Received: from NWD2HUBCAS9.ad.analog.com (nwd2hubcas9.ad.analog.com [10.64.72.142]) by nwd2mta1.analog.com (8.13.8/8.13.8) with ESMTP id s7CAnmo2009594 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 12 Aug 2014 03:49:49 -0700 Received: from zeus.spd.analog.com (10.64.82.11) by NWD2HUBCAS9.ad.analog.com (10.64.72.142) with Microsoft SMTP Server id 14.3.158.1; Tue, 12 Aug 2014 06:49:08 -0400 Received: from linux.site ([10.99.22.20]) by zeus.spd.analog.com (8.14.6/8.14.6) with ESMTP id s7CAn5a0031581; Tue, 12 Aug 2014 06:49:06 -0400 Received: from nine.ad.analog.com (unknown [10.99.24.98]) by linux.site (Postfix) with ESMTP id A72623AEB8F8; Mon, 11 Aug 2014 20:47:43 -0600 (MDT) From: Sonic Zhang To: Tom Rini , Wolfgang Denk Date: Tue, 12 Aug 2014 18:49:54 +0800 Message-ID: <1407840594-23033-1-git-send-email-sonic.adi@gmail.com> X-Mailer: git-send-email 1.8.2.3 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Matching-Connectors: 130523142199226009; (52f37747-95c3-483a-bd05-08d153b03fac); () X-Forefront-Antispam-Report: CIP:137.71.25.55; CTRY:US; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009004)(6009001)(189002)(199003)(4396001)(46102001)(107046002)(33646002)(82202001)(104166001)(95666004)(36756003)(81442001)(102836001)(85306004)(86362001)(93916002)(21056001)(61266001)(47776003)(44976005)(20776003)(73972005)(80022001)(6806004)(81342001)(50226001)(62966002)(48376002)(89996001)(50986999)(81542001)(105596002)(99396002)(74502001)(31966008)(74662001)(87572001)(50466002)(106466001)(73392001)(77156001)(83072002)(77982001)(55446002)(88136002)(87286001)(19580395003)(229853001)(92566001)(87936001)(85852003)(92726001)(19580405001)(79102001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB359; H:nwd2mta1.analog.com; FPR:; MLV:sfv; PTR:nwd2mail10.analog.com; MX:1; A:1; LANG:en; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID: X-Forefront-PRVS: 0301360BF5 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning gmail.com discourages use of 137.71.25.55 as permitted sender) Authentication-Results: spf=softfail (sender IP is 137.71.25.55) smtp.mailfrom=sonic.adi@gmail.com; Cc: u-boot@lists.denx.de, Sonic Zhang , adi-u-boot-devel@lists.sourceforge.net Subject: [U-Boot] [PATCH] bfin: make the CPU macro of LDR target more genenric 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: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Sonic Zhang Remove BFIN from the CPU macro in Makefile. Signed-off-by: Sonic Zhang --- Makefile | 2 +- arch/blackfin/include/asm/config.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 666d291..2da17de 100644 --- a/Makefile +++ b/Makefile @@ -822,7 +822,7 @@ u-boot.bin: u-boot FORCE u-boot.ldr: u-boot $(CREATE_LDR_ENV) - $(LDR) -T $(CONFIG_BFIN_CPU) -c $@ $< $(LDR_FLAGS) + $(LDR) -T $(CONFIG_CPU) -c $@ $< $(LDR_FLAGS) $(BOARD_SIZE_CHECK) OBJCOPYFLAGS_u-boot.ldr.hex := -I binary -O ihex diff --git a/arch/blackfin/include/asm/config.h b/arch/blackfin/include/asm/config.h index 836658a..73cbfa2 100644 --- a/arch/blackfin/include/asm/config.h +++ b/arch/blackfin/include/asm/config.h @@ -178,4 +178,6 @@ #define CONFIG_DISPLAY_CPUINFO #define CONFIG_ARCH_MISC_INIT +#define CONFIG_CPU CONFIG_BFIN_CPU + #endif