From patchwork Tue May 21 23:45:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 245506 X-Patchwork-Delegate: twarren@nvidia.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 AAE1F2C00A1 for ; Wed, 22 May 2013 15:19:05 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 933124A12E; Wed, 22 May 2013 07:19:03 +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 US7HE0SCzo1z; Wed, 22 May 2013 07:19:03 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 189904A12F; Wed, 22 May 2013 07:18:58 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3A9944A11E for ; Wed, 22 May 2013 01:45:38 +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 gQCafshzI93r for ; Wed, 22 May 2013 01:45:31 +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-pb0-f49.google.com (mail-pb0-f49.google.com [209.85.160.49]) by theia.denx.de (Postfix) with ESMTPS id 668324A115 for ; Wed, 22 May 2013 01:45:24 +0200 (CEST) Received: by mail-pb0-f49.google.com with SMTP id rp8so1100221pbb.8 for ; Tue, 21 May 2013 16:45:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:subject:from:to:cc:date:in-reply-to:references :content-type:x-mailer:mime-version:content-transfer-encoding :x-gm-message-state; bh=71Z55d0qV2vqfWBmjL8ZewciiNoLTkKdyRcZF086bXE=; b=UlQtGG16mZHLiN/cwsSWar8XaHosVRxYU5YDjTkjpe1i3NsvOYQnkAM3RDyeEMTF5H mdQs4uh4/iSQBYjOSpJCTSbrQVoFwfJSS9k6NloBLy1Jt1orTWgjqmfKZtKFeXMzJi65 kPC0jcRURZw2HxkpYozD/w2hIZLDunnhdBpMLNNolLZWU28dYwLYoV5di6lG+YNV6Jlv CrdI6sWFJnKTpwDzfje3RrPFAJxfLIYWvqjqKCKF0qT78xgTdVbkKJnjozj/+PguYF3R pGSpLrDjzyINtggWTjHqeJwUiiArC8jR8QHMzqOV5B75VTiEzrtFCn6it1ihrFs8U8v3 ia0g== X-Received: by 10.66.242.166 with SMTP id wr6mr5609973pac.59.1369179923348; Tue, 21 May 2013 16:45:23 -0700 (PDT) Received: from [192.168.0.101] (114-39-105-194.dynamic.hinet.net. [114.39.105.194]) by mx.google.com with ESMTPSA id b7sm4515035pba.39.2013.05.21.16.45.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 May 2013 16:45:22 -0700 (PDT) Message-ID: <1369179918.3681.3.camel@phoenix> From: Axel Lin To: Tom Warren Date: Wed, 22 May 2013 07:45:18 +0800 In-Reply-To: <1369179850.3681.2.camel@phoenix> References: <1369179850.3681.2.camel@phoenix> X-Mailer: Evolution 3.6.4-0ubuntu1 Mime-Version: 1.0 X-Gm-Message-State: ALoCoQlv1Rns+ryIqXxR9t9Z+HuxxfZGoB8tHUK3kCGBPK0FEtOLiGx6+1NNk4UStnlr/Kj+p3Rz X-Mailman-Approved-At: Wed, 22 May 2013 07:18:56 +0200 Cc: u-boot@lists.denx.de, Heiko Schocher Subject: [U-Boot] [PATCH v2 2/2] tegra: Define CONFIG_SKIP_LOWLEVEL_INIT for SPL build 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: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Then we can get rid of the #ifdef CONFIG_TEGRA guard in cpu_init_crit. Signed-off-by: Axel Lin Tested-by: Stephen Warren --- arch/arm/cpu/arm720t/start.S | 2 -- include/configs/tegra-common-post.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/arm720t/start.S b/arch/arm/cpu/arm720t/start.S index 9f0e3f9..f425a55 100644 --- a/arch/arm/cpu/arm720t/start.S +++ b/arch/arm/cpu/arm720t/start.S @@ -247,7 +247,6 @@ c_runtime_cpu_setup: #ifndef CONFIG_SKIP_LOWLEVEL_INIT cpu_init_crit: -#if !defined(CONFIG_TEGRA) mov ip, lr /* * before relocating, we have to setup RAM timing @@ -256,7 +255,6 @@ cpu_init_crit: */ bl lowlevel_init mov lr, ip -#endif mov pc, lr #endif /* CONFIG_SKIP_LOWLEVEL_INIT */ diff --git a/include/configs/tegra-common-post.h b/include/configs/tegra-common-post.h index bf18699..6ed2fde 100644 --- a/include/configs/tegra-common-post.h +++ b/include/configs/tegra-common-post.h @@ -157,6 +157,8 @@ /* overrides for SPL build here */ #ifdef CONFIG_SPL_BUILD +#define CONFIG_SKIP_LOWLEVEL_INIT + /* remove devicetree support */ #ifdef CONFIG_OF_CONTROL #undef CONFIG_OF_CONTROL