From patchwork Sat Nov 26 11:39:16 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 127791 X-Patchwork-Delegate: marek.vasut@gmail.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 05063B6F7F for ; Sat, 26 Nov 2011 22:42:28 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C567A2810F; Sat, 26 Nov 2011 12:41:21 +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 sPDBsTOa8hZG; Sat, 26 Nov 2011 12:41:21 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3ADD0280AF; Sat, 26 Nov 2011 12:40:12 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E508A28098 for ; Sat, 26 Nov 2011 12:39: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 xpjL7j5-CuIB for ; Sat, 26 Nov 2011 12:39:54 +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-bw0-f44.google.com (mail-bw0-f44.google.com [209.85.214.44]) by theia.denx.de (Postfix) with ESMTPS id 685DE28082 for ; Sat, 26 Nov 2011 12:39:38 +0100 (CET) Received: by mail-bw0-f44.google.com with SMTP id zv15so5273063bkb.3 for ; Sat, 26 Nov 2011 03:39:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=Bo4l4ZNPBd1Gce9KtPtmjw5M+qWKdad0BBd2aQMkm7U=; b=EseHRJA6vAw4LaDgEcqo6OJS0bwp3LvzXexprPHdWK4iE8qBeIW3Wl27va8Krp+1SO 0m1UVqXCFMBw0cXd/FzD9iUrVGz/NqVWbyUyAY5tvLNlQ99X8R3IO71/wje00hzSDE/N jUdMtVQiKPveOlb1cRnQWjUHnSKTUv+zBJjOk= Received: by 10.205.116.80 with SMTP id fh16mr27887176bkc.28.1322307578030; Sat, 26 Nov 2011 03:39:38 -0800 (PST) Received: from mashiro.kolej.mff.cuni.cz (vasut.kolej.mff.cuni.cz. [78.128.198.52]) by mx.google.com with ESMTPS id l26sm31805438fad.17.2011.11.26.03.39.37 (version=SSLv3 cipher=OTHER); Sat, 26 Nov 2011 03:39:37 -0800 (PST) From: Marek Vasut To: u-boot@lists.denx.de Date: Sat, 26 Nov 2011 12:39:16 +0100 Message-Id: <1322307562-18908-13-git-send-email-marek.vasut@gmail.com> X-Mailer: git-send-email 1.7.7.1 In-Reply-To: <1322307562-18908-1-git-send-email-marek.vasut@gmail.com> References: <1322307562-18908-1-git-send-email-marek.vasut@gmail.com> Subject: [U-Boot] [PATCH 13/19] PXA: Export cpu_is_ and pxa_dram_init functions 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 Signed-off-by: Marek Vasut --- arch/arm/include/asm/arch-pxa/pxa.h | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) create mode 100644 arch/arm/include/asm/arch-pxa/pxa.h diff --git a/arch/arm/include/asm/arch-pxa/pxa.h b/arch/arm/include/asm/arch-pxa/pxa.h new file mode 100644 index 0000000..050b3cd --- /dev/null +++ b/arch/arm/include/asm/arch-pxa/pxa.h @@ -0,0 +1,29 @@ +/* + * PXA common functions + * + * Copyright (C) 2011 Marek Vasut + * + * 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 + */ + +#ifndef __PXA_H__ +#define __PXA_H__ + +int cpu_is_pxa25x(void); +int cpu_is_pxa27x(void); +void pxa_dram_init(void); + +#endif /* __PXA_H__ */