From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VdFXr-0004gK-BR for barebox@lists.infradead.org; Mon, 04 Nov 2013 08:30:00 +0000 Date: Mon, 4 Nov 2013 09:29:35 +0100 From: Sascha Hauer Message-ID: <20131104082935.GQ24559@pengutronix.de> References: <1383536209-30382-1-git-send-email-zzs213@126.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1383536209-30382-1-git-send-email-zzs213@126.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] don't scan bbt if CONFIG_NAND_BBT not set To: =?utf-8?B?5byg5b+g5bGx?= Cc: barebox@lists.infradead.org, =?utf-8?B?5byg5b+g5bGx?= T24gTW9uLCBOb3YgMDQsIDIwMTMgYXQgMTE6MzY6NDlBTSArMDgwMCwg5byg5b+g5bGxIHdyb3Rl Ogo+IEZyb206IOW8oOW/oOWxsSA8enpzMDIxM0BnbWFpbC5jb20+Cj4gCj4gd2hlbiBDT05GSUdf TkFORF9CQlQgbm90IHNldCwgY2hpcC0+c2Nhbl9iYnQgaXMgTlVMTCBhbmQKPiBOQU5EX1NLSVBf QkJUU0NBTiBub3Qgc2V0LiBTbyBiYXJlYm94IGNyYXNoZWQsIHRoaXMgaXMgdGhlIG1lc3NhZ2UK PiAKPiAgICAgLi4uLi4uCj4gCj4gICAgIG5hbmQ6IE9ORkkgcGFyYW0gcGFnZSAwIHZhbGlkCj4g ICAgIG5hbmQ6IE9ORkkgZmxhc2ggZGV0ZWN0ZWQKPiAgICAgbmFuZDogTkFORCBkZXZpY2U6IE1h bnVmYWN0dXJlciBJRDogMHgyYywgQ2hpcC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