From patchwork Mon Feb 13 08:56:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Weber X-Patchwork-Id: 140872 X-Patchwork-Delegate: scottwood@freescale.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 7044FB6F99 for ; Mon, 13 Feb 2012 20:03:01 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B9ABF280AF; Mon, 13 Feb 2012 10:02:59 +0100 (CET) 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 qs4q7nBYeGc8; Mon, 13 Feb 2012 10:02:59 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 285862809F; Mon, 13 Feb 2012 10:02:58 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B8BE62809F for ; Mon, 13 Feb 2012 10:02:56 +0100 (CET) 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 uQKIhujDnhCl for ; Mon, 13 Feb 2012 10:02:56 +0100 (CET) X-Greylist: delayed 306 seconds by postgrey-1.27 at theia; Mon, 13 Feb 2012 10:02:54 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 moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.10]) by theia.denx.de (Postfix) with ESMTP id 26A3628097 for ; Mon, 13 Feb 2012 10:02:54 +0100 (CET) Received: from corscience.de (DSL01.212.114.252.242.ip-pool.NEFkom.net [212.114.252.242]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0MBjiJ-1Rq27317nr-00AJfd; Mon, 13 Feb 2012 09:57:46 +0100 Received: from lupus.er.corscience.de (lupus.2og.er.corscience.de [192.168.102.101]) by corscience.de (Postfix) with ESMTP id AB32C51ECE; Mon, 13 Feb 2012 09:57:45 +0100 (CET) From: Thomas Weber To: u-boot@lists.denx.de Date: Mon, 13 Feb 2012 09:56:52 +0100 Message-Id: <1329123412-16339-1-git-send-email-weber@corscience.de> X-Mailer: git-send-email 1.7.8.4 X-Provags-ID: V02:K0:K4/siUVXXrrgaWaASpKOJfel+fT4UheNd79Aq1Q2QUA 2/E8S+YOeGD3+kf0kTBCkyiPCoGWScLa4ssFVLz3AQQ9FFhmFE Od4ua7zbjCuomlxYyk/y7otx7GmUCr+eIhgTmIFcsRmzozkjnf Zlgw10LQbDkevFdYXh8d4j3xTJjWti3XAQf5NDEiWgFyvotpPE +/ajUyGbEfc0Ci02XFeufEcM6uld9zqDfO+z1KQo6fFRv2CgiP xxYxYkN/luLDYWbmc4BsoWWCi+nFn74hh6IUZXhclptphndKZ3 myjE9+GZ124PPiuD00qYUoEatd+CP+iMZZ+e+1ZrjFQwEzZyXr mkd6Sc/C9ASLC5IWgenuS7gY+Kse4AQSV5M7vzA9JWZr2KM1m3 WO6hnggi6MpTQ== Cc: Thomas Weber Subject: [U-Boot] [PATCH] Tricorder: Fix boot after making software ecc configurable 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 The tricorder stops booting with the following message: U-Boot 2011.12-00325-ga661206 (Feb 13 2012 - 09:29:50) OMAP3503-GP ES3.1, CPU-OPP2, L3-165MHz, Max CPU Clock 600 mHz OMAP3 Tricorder + LPDDR/NAND I2C: ready DRAM: 128 MiB NAND: CONFIG_MTD_ECC_SOFT not enabled 0 MiB MMC: OMAP SD/MMC: 0 Adding CONFIG_MTD_ECC_SOFT to config file fixes this problem. Signed-off-by: Thomas Weber --- include/configs/tricorder.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h index f87696b..0e8003f 100644 --- a/include/configs/tricorder.h +++ b/include/configs/tricorder.h @@ -110,6 +110,7 @@ /* Board NAND Info */ #define CONFIG_SYS_NO_FLASH /* no NOR flash */ #define CONFIG_MTD_DEVICE /* needed for mtdparts commands */ +#define CONFIG_MTD_ECC_SOFT #define MTDIDS_DEFAULT "nand0=nand" #define MTDPARTS_DEFAULT "mtdparts=nand:" \ "512k(u-boot-spl)," \