From patchwork Sat Jul 2 02:27:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: York Sun X-Patchwork-Id: 643373 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 3rhJ1q217Zz9t0J for ; Sat, 2 Jul 2016 13:00:46 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b=iO58fQAV; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2AABE4B9B0; Sat, 2 Jul 2016 05:00:42 +0200 (CEST) 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 enm4tL9irQDx; Sat, 2 Jul 2016 05:00:41 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1506D4B98A; Sat, 2 Jul 2016 05:00:41 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9F0FA4B98A for ; Sat, 2 Jul 2016 05:00:37 +0200 (CEST) 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 wKVqGyz5yIZd for ; Sat, 2 Jul 2016 05:00:37 +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 EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0050.outbound.protection.outlook.com [104.47.2.50]) by theia.denx.de (Postfix) with ESMTPS id 300964B93F for ; Sat, 2 Jul 2016 05:00:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=vqYTSK9iYViMAvztlavqOd3FMEGCeFxj0KFy+67d9VM=; b=iO58fQAV3EkK1GM5HC19qflzNTglCLLoSJ4OBqSJp7B42H5b7QrW+3/q2IhE8NDkva42eQ3YzyUqZPh76e4btfuaxPxM5kaJK0iFFuxUsVii6TD9lCNSnM9U+1m/e4kkCURPVtCSFksJ9IcVGaQ9HxZl7nVx9eWxwBEvN6e+BpY= Received: from AM4PR0401MB1732.eurprd04.prod.outlook.com (10.165.244.138) by AM4PR0401MB1921.eurprd04.prod.outlook.com (10.166.130.147) with Microsoft SMTP Server (TLS) id 15.1.539.6; Sat, 2 Jul 2016 02:27:59 +0000 Received: from AM4PR0401MB1732.eurprd04.prod.outlook.com ([10.165.244.138]) by AM4PR0401MB1732.eurprd04.prod.outlook.com ([10.165.244.138]) with mapi id 15.01.0539.006; Sat, 2 Jul 2016 02:27:59 +0000 From: york sun To: Edward L Swarthout Thread-Topic: [PATCH] mpc85xx: do not include cmd_errata in SPL_BUILD Thread-Index: AQHR1Ae5nWpXb0BtIECgzzidPsZC5KAEaqCA Date: Sat, 2 Jul 2016 02:27:59 +0000 Message-ID: <0eoy4u5v0grlf5xfxytx3mqy.1467426477908@com.syntomo.email> References: <1467425771-1849-1-git-send-email-Ed.Swarthout@nxp.com> In-Reply-To: <1467425771-1849-1-git-send-email-Ed.Swarthout@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=york.sun@nxp.com; x-originating-ip: [24.56.243.53] x-ms-office365-filtering-correlation-id: f78b3034-476d-41c5-3f1f-08d3a2207c1b x-microsoft-exchange-diagnostics: 1; AM4PR0401MB1921; 6:xDrPGml+lXoYWksGQdivpgbSTaq+dxY5+2xix+kuTXnW/77y0Rp53a6VNf9jR6cnjlee/g9/n+630M6L3Jtx7uisMVfA/y5pcFlVMN1k7hh+2pdz0laPGCRH4Zi4CDo/A34jYraAQbLnHpXysNei4BnlnIeXQmceKAgMzafhNxSz/OEFloWrV6EVwdMsuLqB4yecdqy6W3cHYZocr4f6QFl6rz2eDfKdnuM51Dp6kd2Ba0MU1zwTkYLUoUOUCbSZIs67Rtus5elDmfchDFhdNYfmJdmade2EdEYzJfucQHXMnN3nnEBmUJcQnO6QExLBL/K+hTgv6P4XnB+4MWzsaA==; 5:Zs2vynbkm1WZgIvfUO+JvZ/n29ztcsiooFbMv81qMwShQbKP5hCXLYrkNy62JRVSxfUTR5tmmhoydSYzocPBcWocDOD/31J+Vq/R0F2MrUGtjimKXXmOo9KvbxYYOI06h+U057NlD2C2tMfMj2nHhA==; 24:Xh5fwstbjw9RNp3RRmVzC+boKRDuZeACD60sb1DD+7OZH0FMU5wP7cSmTJW5JORJvAr4oFywKQI6qqSuqX+gLmvJXlJxBX7K4lahUcCjuAw=; 7:IaodEUEdCL7ge3nOkF/ht+qrsM0PXftqI9uXgNEFF8BlTjK9QiT6/YtL+vDrvNDDGUX0KH6CulxUgg+ppiNE9R8HAlUngnYgSeZWd6JtV9QUvKQS6XxOnmcqncJZJDqd3pHhxaABJDH7ALtNSkpA19WI65+qu8asZXFAPzQsi5wklV9jpIYzgwz2iKSF4rLRph5ndVoW6RcqUZlulPdM7PHlEm+ynxLjR+/ZpEAPl8Ey3IwNuxKt3OvqbpjANHUu x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM4PR0401MB1921; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197)(16074681357397); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:AM4PR0401MB1921; BCL:0; PCL:0; RULEID:; SRVR:AM4PR0401MB1921; x-forefront-prvs: 0991CAB7B3 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(189002)(199003)(377454003)(13464003)(54356999)(76176999)(3660700001)(68736007)(3900700001)(50986999)(86152002)(33646002)(77096005)(8936002)(122556002)(92566002)(2900100001)(2950100001)(110136002)(450100001)(305945005)(16236675004)(9686002)(10400500002)(97736004)(586003)(3846002)(102836003)(6116002)(66066001)(106116001)(106356001)(5002640100001)(7846002)(81156014)(3280700002)(7736002)(95246002)(8676002)(19580405001)(19580395003)(101416001)(81166006)(105586002)(2906002)(86362001)(189998001)(4326007)(11100500001)(87936001)(51650200001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0401MB1921; H:AM4PR0401MB1732.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Jul 2016 02:27:59.2724 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0401MB1921 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "u-boot@lists.denx.de" , Edward L Swarthout Subject: Re: [U-Boot] [PATCH] mpc85xx: do not include cmd_errata in SPL_BUILD X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 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" Ed, This was broken after a USB patch. Sriram Dash is working on a fix. York -------- Original Message -------- From: Ed Swarthout Sent: Friday, July 1, 2016 07:16 PM To: york sun Subject: [PATCH] mpc85xx: do not include cmd_errata in SPL_BUILD CC: u-boot@lists.denx.de,Edward L Swarthout Fixes build breaks for T4240QDS_SDCARD and T4240QDS_NAND: arch/powerpc/cpu/mpc85xx/built-in.o: In function `do_errata': /home/swarthou/bsp/stash/u-boot-devel/arch/powerpc/cpu/mpc85xx/cmd_errata.c:299: undefined reference to `has_erratum_a007798' /home/swarthou/bsp/stash/u-boot-devel/arch/powerpc/cpu/mpc85xx/cmd_errata.c:312: undefined reference to `has_erratum_a006261' /home/swarthou/bsp/stash/u-boot-devel/scripts/Makefile.spl:251: recipe for target 'spl/u-boot-spl' failed make[2]: *** [spl/u-boot-spl] Error 1 /home/swarthou/bsp/stash/u-boot-devel/Makefile:1322: recipe for target 'spl/u-boot-spl' failed Signed-off-by: Ed Swarthout --- This applies to denx/master. If there is a reason why cmd_errata is needed in SPL, a different fix would be needed... arch/powerpc/cpu/mpc85xx/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.5.0 diff --git a/arch/powerpc/cpu/mpc85xx/Makefile b/arch/powerpc/cpu/mpc85xx/Makefile index 65c26c0..5e7b130 100644 --- a/arch/powerpc/cpu/mpc85xx/Makefile +++ b/arch/powerpc/cpu/mpc85xx/Makefile @@ -14,6 +14,8 @@ ifdef CONFIG_SPL_BUILD ifdef CONFIG_SPL_INIT_MINIMAL MINIMAL=y endif +else +obj-$(CONFIG_CMD_ERRATA) += cmd_errata.o endif extra-y = start.o resetvec.o @@ -26,7 +28,6 @@ else obj-$(CONFIG_MP) += release.o -obj-$(CONFIG_CMD_ERRATA) += cmd_errata.o obj-$(CONFIG_CPM2) += commproc.o obj-$(CONFIG_CPM2) += ether_fcc.o