From patchwork Fri Feb 8 15:12:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 219185 X-Patchwork-Delegate: trini@ti.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 9D44A2C007E for ; Sat, 9 Feb 2013 02:16:21 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DF2F44A112; Fri, 8 Feb 2013 16:16:09 +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 8DDRYVg+zpbr; Fri, 8 Feb 2013 16:16:09 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DEE704A156; Fri, 8 Feb 2013 16:14:28 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id EC3FA4A0F0 for ; Fri, 8 Feb 2013 16:14:12 +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 f6kURvs9+AkM for ; Fri, 8 Feb 2013 16:14:11 +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-fa0-f74.google.com (mail-fa0-f74.google.com [209.85.161.74]) by theia.denx.de (Postfix) with ESMTPS id 06A174A0FE for ; Fri, 8 Feb 2013 16:13:52 +0100 (CET) Received: by mail-fa0-f74.google.com with SMTP id t1so136119fae.1 for ; Fri, 08 Feb 2013 07:13:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=azPFUeSnzQ2kjjCRjnkebChfkWQ9scwreJ/d/pDMVNY=; b=DrjNi7C7qoAWGvzMqDnfr/zt5INcbxrKHdWQnJcOZFeV59qLS3LaPR2TFGJialSChQ jAziJFxE/0VpNNfgy6Z3vKpnTRS0Db5js1ZZ91TrsC7zg8mxMwyuBBldLexv28ijxQhI sMY4wVc4XviLSWLL10jwo8Wr5ESGepRHFGVPb8GwCxYsZSEU1O4Vxi2NWIDyZ7ORCWi/ ug7id2RxDuyrAeewDf3hiEcx9XfAEBiTU8c8VvNfrS/OE2+TGV9LvmzT6vp3lXYLAr0T kKWobGCA7Z2PCyzujo/5fN6Mt6AH6ddiPe/oKokdVeyHPRQms9eW3xIBLs/hxQocE8sO hW6Q== X-Received: by 10.14.0.196 with SMTP id 44mr4011142eeb.4.1360336432058; Fri, 08 Feb 2013 07:13:52 -0800 (PST) Received: from corp2gmr1-2.eem.corp.google.com (corp2gmr1-2.eem.corp.google.com [172.25.138.117]) by gmr-mx.google.com with ESMTPS id m6si7541600een.1.2013.02.08.07.13.52 (version=TLSv1.1 cipher=AES128-SHA bits=128/128); Fri, 08 Feb 2013 07:13:52 -0800 (PST) Received: from kaka.mtv.corp.google.com (kaka.mtv.corp.google.com [172.22.73.79]) by corp2gmr1-2.eem.corp.google.com (Postfix) with ESMTP id CA4791E41B3; Fri, 8 Feb 2013 07:13:51 -0800 (PST) Received: by kaka.mtv.corp.google.com (Postfix, from userid 121222) id 0CB2116095F; Fri, 8 Feb 2013 07:13:51 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Date: Fri, 8 Feb 2013 07:12:09 -0800 Message-Id: <1360336339-10703-14-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.8.1 In-Reply-To: <1360336339-10703-1-git-send-email-sjg@chromium.org> References: <1360336339-10703-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQkOMXevxNZ62zOJ20CeBf7mr6LxT2JTdO4e5PxJrp0AZq9BUiKkwEsSV2oiDoHKkcoUamFYgiaUqvVZb0zuV891UkxaoKkEI3qSRTyvjeIEOqMMwROpgK9mEJIfH+bRR1gSTK67aUM+5ZySmoXXVVlWVlpWtYv+dZMZPcO00hVMkw0qnsxue+rPEteXi/YiTaXFKCyH Cc: Valentin Longchamp , Graeme Russ , Tom Rini , Vadim Bendebury Subject: [U-Boot] [PATCH v5 13/23] arm: Remove use of board_early_init_r/last_stage_init() 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: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de These boards define CONFIG_LAST_STAGE_INIT and CONFIG_BOARD_EARLY_INIT_R but these options are not available on ARM. Move them into the powerpc common file instead. This change affects: km_kirkwood_pci, mgcoge3un, kmnusa, kmcoge5un, km_kirkwood and portl2. Signed-off-by: Simon Glass --- Changes in v5: - Add new patch to fix config in keymile boards Changes in v4: None Changes in v3: None Changes in v2: None include/configs/km/keymile-common.h | 4 ---- include/configs/km/km-powerpc.h | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h index f64748e..a142c52 100644 --- a/include/configs/km/keymile-common.h +++ b/include/configs/km/keymile-common.h @@ -24,10 +24,6 @@ #ifndef __CONFIG_KEYMILE_H #define __CONFIG_KEYMILE_H -/* Do boardspecific init for all boards */ -#define CONFIG_BOARD_EARLY_INIT_R -#define CONFIG_LAST_STAGE_INIT - #define CONFIG_BOOTCOUNT_LIMIT /* diff --git a/include/configs/km/km-powerpc.h b/include/configs/km/km-powerpc.h index bd5bdbc..b84f12d 100644 --- a/include/configs/km/km-powerpc.h +++ b/include/configs/km/km-powerpc.h @@ -24,6 +24,10 @@ #ifndef __CONFIG_KEYMILE_POWERPC_H #define __CONFIG_KEYMILE_POWERPC_H +/* Do boardspecific init for all boards */ +#define CONFIG_BOARD_EARLY_INIT_R +#define CONFIG_LAST_STAGE_INIT + #define CONFIG_BOOTCOUNT_LIMIT #define CONFIG_CMD_DTT