From patchwork Mon Nov 29 17:52:25 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dirk Behme X-Patchwork-Id: 73473 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 DA660B70F6 for ; Tue, 30 Nov 2010 04:52:51 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1E99A282CA; Mon, 29 Nov 2010 18:52:48 +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 V9TU52MiuBdI; Mon, 29 Nov 2010 18:52:46 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1E4FF2825F; Mon, 29 Nov 2010 18:52:46 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0797228246 for ; Mon, 29 Nov 2010 18:52:45 +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 AT83kK3dANni for ; Mon, 29 Nov 2010 18:52:43 +0100 (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 mail-gy0-f172.google.com (mail-gy0-f172.google.com [209.85.160.172]) by theia.denx.de (Postfix) with ESMTP id 064162821E for ; Mon, 29 Nov 2010 18:52:40 +0100 (CET) Received: by gyb13 with SMTP id 13so2196726gyb.3 for ; Mon, 29 Nov 2010 09:52:40 -0800 (PST) Received: by 10.223.83.138 with SMTP id f10mr5783254fal.114.1291053159404; Mon, 29 Nov 2010 09:52:39 -0800 (PST) Received: from linux.local (p5B04236F.dip0.t-ipconnect.de [91.4.35.111]) by mx.google.com with ESMTPS id r24sm1305602fax.3.2010.11.29.09.52.38 (version=SSLv3 cipher=RC4-MD5); Mon, 29 Nov 2010 09:52:38 -0800 (PST) From: Dirk Behme To: u-boot@lists.denx.de Date: Mon, 29 Nov 2010 18:52:25 +0100 Message-Id: <1291053145-12293-1-git-send-email-dirk.behme@gmail.com> X-Mailer: git-send-email 1.7.3.2 Subject: [U-Boot] [PATCH] OMAP3: Zoom1: Fix ARM relocation support 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: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Signed-off-by: Dirk Behme --- Compile tested only. board/logicpd/zoom1/config.mk | 2 +- include/configs/omap3_zoom1.h | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) Index: u-boot.git/board/logicpd/zoom1/config.mk =================================================================== --- u-boot.git.orig/board/logicpd/zoom1/config.mk +++ u-boot.git/board/logicpd/zoom1/config.mk @@ -30,4 +30,4 @@ # (mem base + reserved) # For use with external or internal boots. -CONFIG_SYS_TEXT_BASE = 0x80e80000 +CONFIG_SYS_TEXT_BASE = 0x80008000 Index: u-boot.git/include/configs/omap3_zoom1.h =================================================================== --- u-boot.git.orig/include/configs/omap3_zoom1.h +++ u-boot.git/include/configs/omap3_zoom1.h @@ -236,6 +236,12 @@ #define CONFIG_SYS_LOAD_ADDR (OMAP34XX_SDRC_CS0) /* default */ /* load address */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_RAM_ADDR 0x4020f800 +#define CONFIG_SYS_INIT_RAM_SIZE 0x800 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \ + CONFIG_SYS_INIT_RAM_SIZE - \ + GENERATED_GBL_DATA_SIZE) /* * OMAP3 has 12 GP timers, they can be driven by the system clock * (12/13/16.8/19.2/38.4MHz) or by 32KHz clock. We use 13MHz (V_SCLK).