From patchwork Mon Nov 29 17:52:47 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dirk Behme X-Patchwork-Id: 73474 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 99DE0B70F6 for ; Tue, 30 Nov 2010 04:53:11 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 561EC28246; Mon, 29 Nov 2010 18:53:10 +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 sleU7wSzNoWH; Mon, 29 Nov 2010 18:53:10 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 10FFF282B9; Mon, 29 Nov 2010 18:53:08 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 08842282D5 for ; Mon, 29 Nov 2010 18:53:06 +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 TZQnJXjipOR5 for ; Mon, 29 Nov 2010 18:53:04 +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-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by theia.denx.de (Postfix) with ESMTP id 0600D28246 for ; Mon, 29 Nov 2010 18:53:01 +0100 (CET) Received: by fxm9 with SMTP id 9so3550967fxm.3 for ; Mon, 29 Nov 2010 09:53:01 -0800 (PST) Received: by 10.223.83.4 with SMTP id d4mr5640087fal.59.1291053181753; Mon, 29 Nov 2010 09:53:01 -0800 (PST) Received: from linux.local (p5B04236F.dip0.t-ipconnect.de [91.4.35.111]) by mx.google.com with ESMTPS id o17sm842052fal.1.2010.11.29.09.53.00 (version=SSLv3 cipher=RC4-MD5); Mon, 29 Nov 2010 09:53:01 -0800 (PST) From: Dirk Behme To: u-boot@lists.denx.de Date: Mon, 29 Nov 2010 18:52:47 +0100 Message-Id: <1291053167-12331-1-git-send-email-dirk.behme@gmail.com> X-Mailer: git-send-email 1.7.3.2 Subject: [U-Boot] [PATCH] OMAP3: Zoom2: 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/zoom2/config.mk | 2 +- include/configs/omap3_zoom2.h | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) Index: u-boot.git/board/logicpd/zoom2/config.mk =================================================================== --- u-boot.git.orig/board/logicpd/zoom2/config.mk +++ u-boot.git/board/logicpd/zoom2/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_zoom2.h =================================================================== --- u-boot.git.orig/include/configs/omap3_zoom2.h +++ u-boot.git/include/configs/omap3_zoom2.h @@ -188,6 +188,12 @@ #define CONFIG_EXTRA_ENV_SETTINGS \ "usbtty=cdc_acm\0" \ +#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) /* * Miscellaneous configurable options */