From patchwork Sat Mar 12 08:45:29 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?David_M=C3=BCller_=28ELSOFT_AG=29?= X-Patchwork-Id: 86484 X-Patchwork-Delegate: promsoft@gmail.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 A43B3B6F0B for ; Sat, 12 Mar 2011 19:46:30 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9EBFF280D1; Sat, 12 Mar 2011 09:46:25 +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 JbIsNd9S1BuJ; Sat, 12 Mar 2011 09:46:25 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 86C9D280D5; Sat, 12 Mar 2011 09:46:16 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 71F7E280C9 for ; Sat, 12 Mar 2011 09:46:11 +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 daVEF+D0chaE for ; Sat, 12 Mar 2011 09:46:10 +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 mail6.hostpark.net (mail6.hostpark.net [212.243.197.36]) by theia.denx.de (Postfix) with ESMTPS id 11EFA280C7 for ; Sat, 12 Mar 2011 09:46:08 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail6.hostpark.net (Postfix) with ESMTP id 584F616F20; Sat, 12 Mar 2011 09:46:08 +0100 (CET) X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail6.hostpark.net ([127.0.0.1]) by localhost (mail6.hostpark.net [127.0.0.1]) (amavisd-new, port 10124) with ESMTP id MbsdKCpMhlBw; Sat, 12 Mar 2011 09:46:08 +0100 (CET) Received: from localhost.localdomain (80-218-33-47.dclient.hispeed.ch [80.218.33.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail6.hostpark.net (Postfix) with ESMTPSA id 1AFFC16D12; Sat, 12 Mar 2011 09:46:08 +0100 (CET) From: =?UTF-8?q?David=20M=C3=BCller?= To: u-boot@lists.denx.de Date: Sat, 12 Mar 2011 09:45:29 +0100 Message-Id: <1299919532-7444-2-git-send-email-d.mueller@elsoft.ch> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1291391011-5421-1-git-send-email-d.mueller@elsoft.ch> References: <1291391011-5421-1-git-send-email-d.mueller@elsoft.ch> Subject: [U-Boot] [PATCH V4 1/4] activate ARM relocation feature 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: David Müller --- include/configs/smdk2410.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/configs/smdk2410.h b/include/configs/smdk2410.h index 62fe97e..38b5684 100644 --- a/include/configs/smdk2410.h +++ b/include/configs/smdk2410.h @@ -179,4 +179,11 @@ #define CONFIG_ENV_IS_IN_FLASH 1 #define CONFIG_ENV_SIZE 0x10000 /* Total Size of Environment Sector */ +/* additions for new relocation code, must be added to all boards */ +#undef CONFIG_SYS_ARM_WITHOUT_RELOC +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - \ + GENERATED_GBL_DATA_SIZE) + + #endif /* __CONFIG_H */