From patchwork Thu Mar 22 19:09:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 148313 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 8B42FB6EF4 for ; Fri, 23 Mar 2012 06:10:39 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 16F10280AE; Thu, 22 Mar 2012 20:10:19 +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 v-p5AsSk2NKm; Thu, 22 Mar 2012 20:10:18 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5D310280C0; Thu, 22 Mar 2012 20:09:57 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6AD362807F for ; Thu, 22 Mar 2012 20:09:41 +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 xBV-XTGEgwOg for ; Thu, 22 Mar 2012 20:09:40 +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-yw0-f44.google.com (mail-yw0-f44.google.com [209.85.213.44]) by theia.denx.de (Postfix) with ESMTPS id 1FA2228077 for ; Thu, 22 Mar 2012 20:09:30 +0100 (CET) Received: by mail-yw0-f44.google.com with SMTP id k25so2062385yhk.3 for ; Thu, 22 Mar 2012 12:09:30 -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=ZWuhgOhEuPCGERkI8KT7OK4gLzJ9EmThK/4llXlSBok=; b=eLp9k0yBYg7V3LFdjnS5cp3lTdTMGejR2kgXR3+mVhkSU1xackWb7PyKKJREtqbdRw E6mHRBcLaFX8GYajJz4rwGVDRDAtVCrsrPt2bgZD4UvsINnNr/YMXItf3O/RafJakVBF U114hU/kcxg8vk6upfO9gQ3Yu1ACwtxzuZztUTOjQcaBHqIe1l41XYeNZl7Uaw3XCZnC uQxdEUgArqVW2YXpRyAleOOMPV+0g23ftiCOV2VmN7sk5UossoDrX8TJjg3Kx+wY1azo KxkIbvvUUIl4tDxPOV2NdW0CZOYgxRxfwBfgat8jCDLhK96NZIaodeOrrxPdlC1ORbht ireA== Received: by 10.60.25.196 with SMTP id e4mr11128473oeg.53.1332443370609; Thu, 22 Mar 2012 12:09:30 -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 a8sm4325352oea.8.2012.03.22.12.09.29 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 22 Mar 2012 12:09:29 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Date: Thu, 22 Mar 2012 12:09:11 -0700 Message-Id: <1332443357-14062-6-git-send-email-trini@ti.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1332443357-14062-1-git-send-email-trini@ti.com> References: <1332443357-14062-1-git-send-email-trini@ti.com> Subject: [U-Boot] [RFC v0 05/11] omap3: Move CONFIG_MISC_INIT_R to omap3_common.h 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 All platforms have at least a minimal function to print the dieid Signed-off-by: Tom Rini --- include/configs/am3517_crane.h | 2 -- include/configs/am3517_evm.h | 2 -- include/configs/cm_t35.h | 2 -- include/configs/devkit8000.h | 2 -- include/configs/dig297.h | 2 -- include/configs/igep00x0.h | 2 -- include/configs/mcx.h | 2 -- include/configs/omap3_beagle.h | 2 -- include/configs/omap3_common.h | 3 +++ include/configs/omap3_evm_common.h | 2 -- include/configs/omap3_logic.h | 2 -- include/configs/omap3_mvblx.h | 2 -- include/configs/omap3_overo.h | 2 -- include/configs/omap3_pandora.h | 2 -- include/configs/omap3_sdp3430.h | 2 -- include/configs/omap3_zoom1.h | 2 -- include/configs/omap3_zoom2.h | 2 -- include/configs/tam3517-common.h | 2 -- include/configs/tricorder.h | 2 -- 19 files changed, 3 insertions(+), 36 deletions(-) diff --git a/include/configs/am3517_crane.h b/include/configs/am3517_crane.h index f113afc..d150b98 100644 --- a/include/configs/am3517_crane.h +++ b/include/configs/am3517_crane.h @@ -42,8 +42,6 @@ */ #define CONFIG_OMAP3_AM3517CRANE /* working with CRANEBOARD */ -#define CONFIG_MISC_INIT_R - #define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */ #define CONFIG_SETUP_MEMORY_TAGS 1 #define CONFIG_INITRD_TAG 1 diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h index 51cab37..26436f8 100644 --- a/include/configs/am3517_evm.h +++ b/include/configs/am3517_evm.h @@ -42,8 +42,6 @@ */ #define CONFIG_OMAP3_AM3517EVM /* working with AM3517EVM */ -#define CONFIG_MISC_INIT_R - #define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */ #define CONFIG_SETUP_MEMORY_TAGS 1 #define CONFIG_INITRD_TAG 1 diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h index 3a151fc..87efb69 100644 --- a/include/configs/cm_t35.h +++ b/include/configs/cm_t35.h @@ -51,8 +51,6 @@ #define CONFIG_SYS_TEXT_BASE 0x80008000 -#define CONFIG_MISC_INIT_R - #define CONFIG_OF_LIBFDT 1 /* * The early kernel mapping on ARM currently only maps from the base of DRAM diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h index 972940f..9cc80d6 100644 --- a/include/configs/devkit8000.h +++ b/include/configs/devkit8000.h @@ -56,8 +56,6 @@ */ #define CONFIG_SYS_TEXT_BASE 0x80100000 -#define CONFIG_MISC_INIT_R - #define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */ #define CONFIG_SETUP_MEMORY_TAGS 1 #define CONFIG_INITRD_TAG 1 diff --git a/include/configs/dig297.h b/include/configs/dig297.h index ca17d6e..d1f7ca0 100644 --- a/include/configs/dig297.h +++ b/include/configs/dig297.h @@ -58,8 +58,6 @@ #define CONFIG_SYS_TEXT_BASE 0x80008000 -#define CONFIG_MISC_INIT_R - #define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */ #define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_INITRD_TAG diff --git a/include/configs/igep00x0.h b/include/configs/igep00x0.h index c4feba2..1d8ddbf 100644 --- a/include/configs/igep00x0.h +++ b/include/configs/igep00x0.h @@ -39,8 +39,6 @@ * Other configuration options */ -#define CONFIG_MISC_INIT_R - #define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */ #define CONFIG_SETUP_MEMORY_TAGS 1 #define CONFIG_INITRD_TAG 1 diff --git a/include/configs/mcx.h b/include/configs/mcx.h index 02793e5..13cf6c0 100644 --- a/include/configs/mcx.h +++ b/include/configs/mcx.h @@ -51,8 +51,6 @@ */ #define CONFIG_SYS_TEXT_BASE 0x80008000 -#define CONFIG_MISC_INIT_R - #define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */ #define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_INITRD_TAG diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h index eefada2..98d528a 100644 --- a/include/configs/omap3_beagle.h +++ b/include/configs/omap3_beagle.h @@ -45,8 +45,6 @@ */ #define CONFIG_OMAP3_BEAGLE /* working with BEAGLE */ -#define CONFIG_MISC_INIT_R - #define CONFIG_OF_LIBFDT 1 #define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */ diff --git a/include/configs/omap3_common.h b/include/configs/omap3_common.h index e2c3a38..9130ebe 100644 --- a/include/configs/omap3_common.h +++ b/include/configs/omap3_common.h @@ -52,4 +52,7 @@ /* no support for IRQs */ #undef CONFIG_USE_IRQ +/* Portions of the init sequence that we want */ +#define CONFIG_MISC_INIT_R + #endif /* __CONFIG_OMAP3_COMMON_H */ diff --git a/include/configs/omap3_evm_common.h b/include/configs/omap3_evm_common.h index c207693..f24c9b9 100644 --- a/include/configs/omap3_evm_common.h +++ b/include/configs/omap3_evm_common.h @@ -200,8 +200,6 @@ #define CONFIG_SYS_PROMPT_HUSH_PS2 "> " #define CONFIG_SYS_MAXARGS 16 /* max args for a command */ -#define CONFIG_MISC_INIT_R - #define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */ #define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_INITRD_TAG diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h index 6f327ad..5443a0f 100644 --- a/include/configs/omap3_logic.h +++ b/include/configs/omap3_logic.h @@ -46,8 +46,6 @@ #define CONFIG_SYS_TEXT_BASE 0x80400000 -#define CONFIG_MISC_INIT_R /* misc_init_r dumps the die id */ - #define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */ #define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_INITRD_TAG diff --git a/include/configs/omap3_mvblx.h b/include/configs/omap3_mvblx.h index b179df2..b44ea31 100644 --- a/include/configs/omap3_mvblx.h +++ b/include/configs/omap3_mvblx.h @@ -49,8 +49,6 @@ #define CONFIG_MVBLX /* working with mvBlueLYNX-X */ #define CONFIG_MACH_TYPE MACH_TYPE_MVBLX -#define CONFIG_MISC_INIT_R - #define CONFIG_OF_LIBFDT 1 #define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */ diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h index e3b803c..d9a695a 100644 --- a/include/configs/omap3_overo.h +++ b/include/configs/omap3_overo.h @@ -36,8 +36,6 @@ */ #define CONFIG_OMAP3_OVERO /* working with overo */ -#define CONFIG_MISC_INIT_R - #define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */ #define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_INITRD_TAG diff --git a/include/configs/omap3_pandora.h b/include/configs/omap3_pandora.h index 048d983..3887d63 100644 --- a/include/configs/omap3_pandora.h +++ b/include/configs/omap3_pandora.h @@ -40,8 +40,6 @@ */ #define CONFIG_OMAP3_PANDORA /* working with pandora */ -#define CONFIG_MISC_INIT_R - #define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */ #define CONFIG_SETUP_MEMORY_TAGS 1 #define CONFIG_INITRD_TAG 1 diff --git a/include/configs/omap3_sdp3430.h b/include/configs/omap3_sdp3430.h index 4689ebd..6a17e11 100644 --- a/include/configs/omap3_sdp3430.h +++ b/include/configs/omap3_sdp3430.h @@ -56,8 +56,6 @@ */ #define CONFIG_OMAP3_3430SDP /* working with SDP Rev2 */ -#define CONFIG_MISC_INIT_R - #define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */ #define CONFIG_SETUP_MEMORY_TAGS 1 #define CONFIG_INITRD_TAG 1 diff --git a/include/configs/omap3_zoom1.h b/include/configs/omap3_zoom1.h index 606e63f..6001a0c 100644 --- a/include/configs/omap3_zoom1.h +++ b/include/configs/omap3_zoom1.h @@ -46,8 +46,6 @@ */ #define CONFIG_OMAP3_ZOOM1 /* working with Zoom MDK Rev1 */ -#define CONFIG_MISC_INIT_R - #define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */ #define CONFIG_SETUP_MEMORY_TAGS 1 #define CONFIG_INITRD_TAG 1 diff --git a/include/configs/omap3_zoom2.h b/include/configs/omap3_zoom2.h index 0a4c0ee..5680a14 100644 --- a/include/configs/omap3_zoom2.h +++ b/include/configs/omap3_zoom2.h @@ -47,8 +47,6 @@ */ #define CONFIG_OMAP3_ZOOM2 /* working with Zoom II */ -#define CONFIG_MISC_INIT_R - #define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */ #define CONFIG_SETUP_MEMORY_TAGS 1 #define CONFIG_INITRD_TAG 1 diff --git a/include/configs/tam3517-common.h b/include/configs/tam3517-common.h index 3711859..2f75273 100644 --- a/include/configs/tam3517-common.h +++ b/include/configs/tam3517-common.h @@ -42,8 +42,6 @@ #define CONFIG_SYS_CACHELINE_SIZE 64 -#define CONFIG_MISC_INIT_R - #define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */ #define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_INITRD_TAG diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h index 42b80cc..e185b0c 100644 --- a/include/configs/tricorder.h +++ b/include/configs/tricorder.h @@ -57,8 +57,6 @@ */ #define CONFIG_SYS_TEXT_BASE 0x80100000 -#define CONFIG_MISC_INIT_R - #define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */ #define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_INITRD_TAG