From patchwork Thu May 2 16:16:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 16603 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f72.google.com (mail-yh0-f72.google.com [209.85.213.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 12342238EC for ; Thu, 2 May 2013 16:18:08 +0000 (UTC) Received: by mail-yh0-f72.google.com with SMTP id z6sf1291650yhz.3 for ; Thu, 02 May 2013 09:18:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-beenthere:x-received:received-spf:x-received :x-forwarded-to:x-forwarded-for:delivered-to:x-received:received-spf :from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :mime-version:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=c08/djGCQC8oKQOFc+JmmC/0lhdFoGWcH+Q2LcJUaig=; b=HRcYkWQKgGI4RAAq9JJZvWu8Vo486I51qLdLulx/JxZyvitkx2CcbK7xQgkRhhq8JB XqXQWFaHodX/QYm228po7aFNooITtEbYQ6ggwuhIWs1Ix8OtpuReLTm6I9vbefjPWTJm dYG6rCA2Ir7/DnlS21FQ5D2eu1AyfkjLbtZQ6cdBIdzGTyB1sUXjRYLxQbX7pFRiWDHP BqlRhI8+usGNhA3I5L/8Dqv/FA9gRPeSvxaP7KG9gtXy+oI3OoyUo0HYCwa/oAjdyplU 728rEBtdepx9NhiILn8JZuItyviAznpg5yog+vkm6cTYNopLTizmzd2qCv/sTSwRj3Xm Do+A== X-Received: by 10.58.240.116 with SMTP id vz20mr6773991vec.6.1367511480323; Thu, 02 May 2013 09:18:00 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.30.68 with SMTP id q4ls1245590qeh.8.gmail; Thu, 02 May 2013 09:18:00 -0700 (PDT) X-Received: by 10.58.1.197 with SMTP id 5mr2411222veo.4.1367511480035; Thu, 02 May 2013 09:18:00 -0700 (PDT) Received: from mail-vb0-x229.google.com (mail-vb0-x229.google.com [2607:f8b0:400c:c02::229]) by mx.google.com with ESMTPS id zp6si3196950vdb.106.2013.05.02.09.18.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 May 2013 09:18:00 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::229 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::229; Received: by mail-vb0-f41.google.com with SMTP id x19so625602vbf.28 for ; Thu, 02 May 2013 09:17:59 -0700 (PDT) X-Received: by 10.58.144.170 with SMTP id sn10mr2407715veb.7.1367511479932; Thu, 02 May 2013 09:17:59 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp209675veb; Thu, 2 May 2013 09:17:59 -0700 (PDT) X-Received: by 10.180.90.203 with SMTP id by11mr8804513wib.10.1367511477991; Thu, 02 May 2013 09:17:57 -0700 (PDT) Received: from eu1sys200aog121.obsmtp.com (eu1sys200aog121.obsmtp.com [207.126.144.151]) by mx.google.com with SMTP id i3si8686069eev.195.2013.05.02.09.17.32 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 02 May 2013 09:17:57 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.151 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.151; Received: from beta.dmz-ap.st.com ([138.198.100.35]) (using TLSv1) by eu1sys200aob121.postini.com ([207.126.147.11]) with SMTP ID DSNKUYKRm66PMyaVxTVWGIIOb8J2X9rX2Hpc@postini.com; Thu, 02 May 2013 16:17:57 UTC Received: from zeta.dmz-ap.st.com (ns6.st.com [138.198.234.13]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 86B71E0; Thu, 2 May 2013 16:09:22 +0000 (GMT) Received: from relay2.stm.gmessaging.net (unknown [10.230.100.18]) by zeta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 3C5E018AD; Thu, 2 May 2013 16:17:28 +0000 (GMT) Received: from exdcvycastm022.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm022", Issuer "exdcvycastm022" (not verified)) by relay2.stm.gmessaging.net (Postfix) with ESMTPS id EBE9AA8065; Thu, 2 May 2013 18:17:20 +0200 (CEST) Received: from steludxu4075.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.30) with Microsoft SMTP Server (TLS) id 8.3.279.5; Thu, 2 May 2013 18:17:26 +0200 From: Linus Walleij To: Cc: Arnd Bergmann , Linus Walleij Subject: [PATCH 7/7] ARM: u300: delete remnant machine headers Date: Thu, 2 May 2013 18:16:55 +0200 Message-ID: <1367511416-4312-8-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.11.3 In-Reply-To: <1367511416-4312-1-git-send-email-linus.walleij@stericsson.com> References: <1367511416-4312-1-git-send-email-linus.walleij@stericsson.com> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQmrOf2iBnyRL3l1KnQASQN9P+lFNP0iNPE21wea9p9dqZw84zjccVSn6KbYEdwz8gLqUslz X-Original-Sender: linus.walleij@stericsson.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::229 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Linus Walleij Two files remain in for U300: timex.h and uncompress.h. The former is done away with by using defaults, the latter is unused in multiplatform. Signed-off-by: Linus Walleij --- arch/arm/mach-u300/include/mach/timex.h | 17 ----------- arch/arm/mach-u300/include/mach/uncompress.h | 45 ---------------------------- 2 files changed, 62 deletions(-) delete mode 100644 arch/arm/mach-u300/include/mach/timex.h delete mode 100644 arch/arm/mach-u300/include/mach/uncompress.h diff --git a/arch/arm/mach-u300/include/mach/timex.h b/arch/arm/mach-u300/include/mach/timex.h deleted file mode 100644 index f233b72..0000000 --- a/arch/arm/mach-u300/include/mach/timex.h +++ /dev/null @@ -1,17 +0,0 @@ -/* - * - * arch/arm/mach-u300/include/mach/timex.h - * - * - * Copyright (C) 2006-2009 ST-Ericsson AB - * License terms: GNU General Public License (GPL) version 2 - * Platform tick rate definition. - * Author: Linus Walleij - */ -#ifndef __MACH_TIMEX_H -#define __MACH_TIMEX_H - -/* This is for the APP OS GP1 (General Purpose 1) timer */ -#define CLOCK_TICK_RATE 1000000 - -#endif diff --git a/arch/arm/mach-u300/include/mach/uncompress.h b/arch/arm/mach-u300/include/mach/uncompress.h deleted file mode 100644 index 783e7e6..0000000 --- a/arch/arm/mach-u300/include/mach/uncompress.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * arch/arm/mach-u300/include/mach/uncompress.h - * - * Copyright (C) 2003 ARM Limited - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -#define AMBA_UART_DR (*(volatile unsigned char *)0xc0013000) -#define AMBA_UART_LCRH (*(volatile unsigned char *)0xc001302C) -#define AMBA_UART_CR (*(volatile unsigned char *)0xc0013030) -#define AMBA_UART_FR (*(volatile unsigned char *)0xc0013018) - -/* - * This does not append a newline - */ -static inline void putc(int c) -{ - while (AMBA_UART_FR & (1 << 5)) - barrier(); - - AMBA_UART_DR = c; -} - -static inline void flush(void) -{ - while (AMBA_UART_FR & (1 << 3)) - barrier(); -} - -/* - * nothing to do - */ -#define arch_decomp_setup()