From patchwork Thu Jan 9 04:22:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 308500 X-Patchwork-Delegate: iwamatsu@nigauri.org 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 631F32C00A5 for ; Thu, 9 Jan 2014 15:22:55 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2B7244B000; Thu, 9 Jan 2014 05:22:54 +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 dAa+tv1EfI67; Thu, 9 Jan 2014 05:22:54 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E670A4B001; Thu, 9 Jan 2014 05:22:51 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4D10A4B000 for ; Thu, 9 Jan 2014 05:22:49 +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 66HfxY18tRGY for ; Thu, 9 Jan 2014 05:22:44 +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-pd0-f170.google.com (mail-pd0-f170.google.com [209.85.192.170]) by theia.denx.de (Postfix) with ESMTPS id 387844AFFF for ; Thu, 9 Jan 2014 05:22:36 +0100 (CET) Received: by mail-pd0-f170.google.com with SMTP id g10so2676255pdj.29 for ; Wed, 08 Jan 2014 20:22:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=JWhMnJboLpmLuXe7Og3iRLS3p2c02S2gDe+f7XecIFc=; b=JzkKLIxDU9FPz6RZT9X2Br3hJVM086ATyZxZ/QXMA9ui7Zjf8r0ypN0cUC5JS7LacZ kJwQ7DpHJiWpfITU5TeS7iLt3DAlGxB+rcb6SS/eo1QxY1f3il4LOIun+y04CFpXCmzh xzvwfNtCt0hj4m62q2w0ZXjTHgEiBv84DWBTQx3zmDooG7DFiva9etcV9mA1/JfKDpAi 9yirU5SX9azdvYKNu9wahN47IsQK1xRAJMW/Of15OdO6pyOIJbdZPt53ubssDqhSUuJs iaLbOJKkQ0wavNE45F9Ka7BElr+FKsPmOhckRgZMXd0zhw2KRiq3Mw8uQvZ1MTiXo8YB m+yA== X-Gm-Message-State: ALoCoQnya6KdLa3StN8KniY9S7I2NKsjU22vtp4Rg7nrit9jZ79u3X2exUP9sLyA49xNer5774Jk X-Received: by 10.68.139.100 with SMTP id qx4mr1153009pbb.144.1389241355399; Wed, 08 Jan 2014 20:22:35 -0800 (PST) Received: from chimagu (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPSA id vf7sm6289085pbc.5.2014.01.08.20.22.32 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 08 Jan 2014 20:22:34 -0800 (PST) Received: from iwamatsu by chimagu with local (Exim 4.82) (envelope-from ) id 1W178M-00065Z-5n; Thu, 09 Jan 2014 13:22:18 +0900 From: Nobuhiro Iwamatsu To: u-boot@lists.denx.de Date: Thu, 9 Jan 2014 13:22:09 +0900 Message-Id: <1389241329-23369-1-git-send-email-iwamatsu@nigauri.org> X-Mailer: git-send-email 1.8.5.2 Subject: [U-Boot] [PATCH] sh: sh2: Remove CONFIG_SH2A definition from asm/processor.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 SH2 and SH2A use a common header. Both checks are not necessary. This removes CONFIG_SH2A definition from asm/processor.h. Signed-off-by: Nobuhiro Iwamatsu --- arch/sh/include/asm/processor.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/sh/include/asm/processor.h b/arch/sh/include/asm/processor.h index c3441ff..b8677da 100644 --- a/arch/sh/include/asm/processor.h +++ b/arch/sh/include/asm/processor.h @@ -1,7 +1,6 @@ #ifndef _ASM_SH_PROCESSOR_H_ #define _ASM_SH_PROCESSOR_H_ -#if defined(CONFIG_SH2) || \ - defined (CONFIG_SH2A) +#if defined(CONFIG_SH2) # include #elif defined(CONFIG_SH3) # include