Added initial platform specific declarations.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@41 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Marcel Telka 23 years ago
parent 88a07a2ad2
commit 96d74e58db

@ -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 <marcel@telka.sk>, 2002.
*
*/
#ifndef PLATFORM_H
#define PLATFORM_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WID
#include <platform/wid.h>
#endif
#ifdef WEP
#include <platform/wep.h>
#endif
#endif /* PLATFORM_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 <marcel@telka.sk>, 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 */

@ -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 <marcel@telka.sk>, 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 */
Loading…
Cancel
Save