From 96d74e58db817db3cc7eb94af1d31c0a586d64a9 Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Tue, 2 Jul 2002 15:14:10 +0000 Subject: [PATCH] Added initial platform specific declarations. git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@41 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- include/arm/platform.h | 41 +++++++++++++++++++++++++++++++++++ include/arm/platform/wep.h | 38 ++++++++++++++++++++++++++++++++ include/arm/platform/wid.h | 44 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 123 insertions(+) create mode 100644 include/arm/platform.h create mode 100644 include/arm/platform/wep.h create mode 100644 include/arm/platform/wid.h diff --git a/include/arm/platform.h b/include/arm/platform.h new file mode 100644 index 00000000..6c90c25b --- /dev/null +++ b/include/arm/platform.h @@ -0,0 +1,41 @@ +/* + * $Id$ + * + * ARM Platform specific declarations + * Copyright (C) 2002 ETC s.r.o. + * + * 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. + * + * Written by Marcel Telka , 2002. + * + */ + +#ifndef PLATFORM_H +#define PLATFORM_H + +#ifdef HAVE_CONFIG_H +#include +#endif + +#ifdef WID +#include +#endif + +#ifdef WEP +#include +#endif + +#endif /* PLATFORM_H */ diff --git a/include/arm/platform/wep.h b/include/arm/platform/wep.h new file mode 100644 index 00000000..65f6ac78 --- /dev/null +++ b/include/arm/platform/wep.h @@ -0,0 +1,38 @@ +/* + * $Id$ + * + * ETC WEP specific declarations (PXA250 based device) + * Copyright (C) 2002 ETC s.r.o. + * + * 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. + * + * Written by Marcel Telka , 2002. + * + * Documentation: + * [1] Intel Corporation, "Intel StrongARM SA-1110 Microprocessor + * Developer's Manual", October 2001, Order Number: 278240-004 + * [2] Intel Corporation, "Intel StrongARM SA-1110 Microprocessor + * Specification Update", December 2001, Order Number: 278259-023 + * + */ + +#ifndef PLATFORM_WEP_H +#define PLATFORM_WEP_H + +/* WEP board variations */ +#define EP250 0 + +#endif /* PLATFORM_WID_H */ diff --git a/include/arm/platform/wid.h b/include/arm/platform/wid.h new file mode 100644 index 00000000..c5d8bddf --- /dev/null +++ b/include/arm/platform/wid.h @@ -0,0 +1,44 @@ +/* + * $Id$ + * + * ETC WID specific declarations (SA-1110 based device) + * Copyright (C) 2002 ETC s.r.o. + * + * 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. + * + * Written by Marcel Telka , 2002. + * + * Documentation: + * [1] Intel Corporation, "Intel StrongARM SA-1110 Microprocessor + * Developer's Manual", October 2001, Order Number: 278240-004 + * [2] Intel Corporation, "Intel StrongARM SA-1110 Microprocessor + * Specification Update", December 2001, Order Number: 278259-023 + * + */ + +#ifndef PLATFORM_WID_H +#define PLATFORM_WID_H + +/* WID board variations */ +#define EI370 0 +#define EP002 1 +#define EP202 2 + +#define PPCR_CCF_CLOCK PPCR_CCF_206_4 + +#define WID_GPIO_BCR_MASK bit(17) + +#endif /* PLATFORM_WID_H */