From patchwork Fri Apr 13 22:20:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 152404 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 A0C7CB7011 for ; Sat, 14 Apr 2012 08:20:28 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8C5DD2808A; Sat, 14 Apr 2012 00:20:24 +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 HV4qX8+ZYboo; Sat, 14 Apr 2012 00:20:24 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5EDAF2808B; Sat, 14 Apr 2012 00:20:14 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id F38DE28085 for ; Sat, 14 Apr 2012 00:20:10 +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 G3cvx4MkbfFo for ; Sat, 14 Apr 2012 00:20:10 +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-ob0-f172.google.com (mail-ob0-f172.google.com [209.85.214.172]) by theia.denx.de (Postfix) with ESMTPS id 828B228081 for ; Sat, 14 Apr 2012 00:20:09 +0200 (CEST) Received: by obbtb4 with SMTP id tb4so4761768obb.3 for ; Fri, 13 Apr 2012 15:20:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:x-mailer:in-reply-to :references; bh=nH9rXkQ14e2chMO2u4ZgoQv8orU4Xtgc+qmWKt4pnvE=; b=EWvoZ3AwBvtsMo9cXNhbL5yyhKvt5miBjyJtA8JyoXCRNGTlsQXyNTPAlxDNFUHU3r e8l0N8KKi4rV1wnvJFo4s2wuIY7fSZDcONYNxcsLZtV5lRK3ebLzHyDDwCGZOcmZmCPP stdj8PpIb3ai1q2+WUForpv5jWeGlle7vXzul9ggko/al17SyI+BJPLyedyduUBFNdtY o+1K5y4URPT5TwMAa8KQuASJ1FtxZ0BLRfX7VjWNtWgOxJuaRFe81gqcYifG7qxrGcOh zhFH0tzJh5RITs9eaDxsg5qKQR9FcBi/bPmbotn2ZiU17tam9EpJw7rkSz3PZSCEHMSd 37Wg== Received: by 10.60.28.33 with SMTP id y1mr4431126oeg.62.1334355608203; Fri, 13 Apr 2012 15:20:08 -0700 (PDT) Received: from localhost.localdomain (ip68-230-54-74.ph.ph.cox.net. [68.230.54.74]) by mx.google.com with ESMTPS id r8sm9514125oer.6.2012.04.13.15.20.06 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 13 Apr 2012 15:20:07 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Date: Fri, 13 Apr 2012 15:20:00 -0700 Message-Id: <1334355606-16491-3-git-send-email-trini@ti.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1334355606-16491-1-git-send-email-trini@ti.com> References: <1334355606-16491-1-git-send-email-trini@ti.com> Subject: [U-Boot] [PATCH 02/08] omap4+: Remove CONFIG_ARCH_CPU_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 OMAP4/5 had an empty arch_cpu_init() so drop that along with CONFIG_ARCH_CPU_INIT Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/omap-common/hwinit-common.c | 10 ---------- include/configs/omap4_common.h | 1 - include/configs/omap5_evm.h | 1 - 3 files changed, 0 insertions(+), 12 deletions(-) diff --git a/arch/arm/cpu/armv7/omap-common/hwinit-common.c b/arch/arm/cpu/armv7/omap-common/hwinit-common.c index 10e7669..cf71ab4 100644 --- a/arch/arm/cpu/armv7/omap-common/hwinit-common.c +++ b/arch/arm/cpu/armv7/omap-common/hwinit-common.c @@ -203,16 +203,6 @@ int checkboard(void) } /* -* This function is called by start_armboot. You can reliably use static -* data. Any boot-time function that require static data should be -* called from here -*/ -int arch_cpu_init(void) -{ - return 0; -} - -/* * get_device_type(): tell if GP/HS/EMU/TST */ u32 get_device_type(void) diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h index 4ace07b..5507c8f 100644 --- a/include/configs/omap4_common.h +++ b/include/configs/omap4_common.h @@ -35,7 +35,6 @@ #define CONFIG_OMAP 1 /* in a TI OMAP core */ #define CONFIG_OMAP44XX 1 /* which is a 44XX */ #define CONFIG_OMAP4430 1 /* which is in a 4430 */ -#define CONFIG_ARCH_CPU_INIT /* Get CPU defs */ #include diff --git a/include/configs/omap5_evm.h b/include/configs/omap5_evm.h index 6c91ee8..38b5028 100644 --- a/include/configs/omap5_evm.h +++ b/include/configs/omap5_evm.h @@ -38,7 +38,6 @@ #define CONFIG_OMAP54XX /* which is a 54XX */ #define CONFIG_OMAP5430 /* which is in a 5430 */ #define CONFIG_5430EVM /* working with EVM */ -#define CONFIG_ARCH_CPU_INIT /* Get CPU defs */ #include