From: Erik M. <er...@us...> - 2002-02-04 19:39:02
|
Update of /cvsroot/blob/blob/src/diag In directory usw-pr-cvs1:/tmp/cvs-serv20909/src/diag Modified Files: Makefile.am Added Files: accelent_sa.c Log Message: Accelent IDP support by Holger Schurig Also clean up some Makefiles (alphabetic order, etc) --- NEW FILE: accelent_sa.c --- /********************************************************************** * accelent_sa.c * * Implements several POST routines for Accelent IDP platform * * Copyright (C) 2001 Stefan Eletzhofer <ste...@ww...> * Copyright (c) 2002 Holger Schurig <h.s...@mn...> * * 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 */ #ident "$Id: accelent_sa.c,v 1.1 2002/02/04 18:02:43 erikm Exp $" /********************************************************************** * Includes */ #ifdef HAVE_CONFIG_H # include <blob/config.h> #endif #include <blob/types.h> #include <blob/errno.h> #include <blob/util.h> #include <blob/command.h> #include <blob/init.h> #include <blob/serial.h> #include <blob/time.h> #include <blob/sa1100.h> #define MEM(adr) (*((u32*)adr)) #define SET(reg,bit) ((reg) |= (1<<(bit))) #define CLR(reg,bit) ((reg) &= ~(1<<(bit))) static void accelent_sa_init_hardware(void) { /* select serial driver */ serial_driver = &sa11x0_serial_driver; } __initlist(accelent_sa_init_hardware, INIT_LEVEL_DRIVER_SELECTION); Index: Makefile.am =================================================================== RCS file: /cvsroot/blob/blob/src/diag/Makefile.am,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- Makefile.am 2002/02/01 14:38:55 1.10 +++ Makefile.am 2002/02/04 18:02:42 1.11 @@ -45,11 +45,12 @@ EXTRA_diag_elf32_SOURCES = \ lcd.c \ + accelent_sa.c \ assabet.c \ - frodo.c \ badge4.c \ brutus.c \ clart.c \ + frodo.c \ h3600.c \ idr.c \ jornada720.c \ |