From patchwork Mon Sep 5 19:02:40 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 113431 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 37F41B6F18 for ; Tue, 6 Sep 2011 05:02:52 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7732128089; Mon, 5 Sep 2011 21:02:50 +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 6IbzQG2SMmqe; Mon, 5 Sep 2011 21:02:50 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3AAEF28095; Mon, 5 Sep 2011 21:02:48 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E8ED428095 for ; Mon, 5 Sep 2011 21:02:45 +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 ErQCRWodxcKN for ; Mon, 5 Sep 2011 21:02:45 +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 mail-pz0-f41.google.com (mail-pz0-f41.google.com [209.85.210.41]) by theia.denx.de (Postfix) with ESMTPS id B7C4728089 for ; Mon, 5 Sep 2011 21:02:42 +0200 (CEST) Received: by pzk4 with SMTP id 4so11804258pzk.28 for ; Mon, 05 Sep 2011 12:02:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.25.198 with SMTP id e6mr667576pbg.118.1315249361006; Mon, 05 Sep 2011 12:02:41 -0700 (PDT) Received: by 10.68.41.67 with HTTP; Mon, 5 Sep 2011 12:02:40 -0700 (PDT) Date: Mon, 5 Sep 2011 16:02:40 -0300 Message-ID: From: Fabio Estevam To: U-Boot-Denx Cc: scottwood@freescale.com, Fabio Estevam Subject: [U-Boot] Setting CONFIG_SYS_TEXT_BASE when CONFIG_NAND_SPL is selected X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 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 Hi, On a MX31PDK the only boot media is NAND flash, so I was trying to get rid of the conditional setting of CONFIG_SYS_TEXT_BASE. CONFIG_NAND_SPL is set in nand_spl/board/freescale/mx31pdk/Makefile. ,so I tried the following: ,but this causes the board not to boot. Does anyone have any ideas as to why the patch above does not work? Thanks, Fabio Estevam diff --git a/board/freescale/mx31pdk/config.mk b/board/freescale/mx31pdk/config. index de2c642..b9932ec 100644 --- a/board/freescale/mx31pdk/config.mk +++ b/board/freescale/mx31pdk/config.mk @@ -1,5 +1,2 @@ -ifdef CONFIG_NAND_SPL CONFIG_SYS_TEXT_BASE = 0x87ec0000 -else -CONFIG_SYS_TEXT_BASE = 0x87f00000 -endif +