Update of /cvsroot/blob/blob/src/blob
In directory usw-pr-cvs1:/tmp/cvs-serv2157/src/blob
Modified Files:
Makefile.am main.c
Added Files:
idr.c
Log Message:
Vercel UD-1 (IDR) support
--- NEW FILE: idr.c ---
/*
* idr.c: Vercel UD-1 (IDR) specific stuff
*
* Copyright (C) 2001 Tim Riker <Ti...@Ri...>
*
* 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: idr.c,v 1.1 2001/12/16 04:34:03 timriker Exp $"
#ifdef HAVE_CONFIG_H
# include <blob/config.h>
#endif
#include <blob/flash.h>
#include <blob/init.h>
/* flash descriptor for IDR flash */
/* 1 Intel 28F128J3A strataflash (16MB) */
static flash_descriptor_t idr_flash_descriptors[] =
{
{
size: 128 * 1024,
num: 64,
lockable: 1
},
{
/* NULL block */
},
};
static void init_idr_flash_driver(void)
{
flash_descriptors = idr_flash_descriptors;
flash_driver = &intel32_flash_driver;
}
__initlist(init_idr_flash_driver, INIT_LEVEL_OTHER_STUFF);
Index: Makefile.am
===================================================================
RCS file: /cvsroot/blob/blob/src/blob/Makefile.am,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- Makefile.am 2001/11/04 23:09:17 1.10
+++ Makefile.am 2001/12/16 04:34:03 1.11
@@ -144,6 +144,7 @@
brutus.c \
clart.c \
h3600.c \
+ idr.c \
lart.c \
nesa.c \
pleb.c \
Index: main.c
===================================================================
RCS file: /cvsroot/blob/blob/src/blob/main.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- main.c 2001/11/21 02:14:44 1.11
+++ main.c 2001/12/16 04:34:03 1.12
@@ -95,7 +95,7 @@
/* call SerialInit() because the default 9k6 speed might not
be what the user requested */
-#if defined(H3600) || defined(SHANNON)
+#if defined(H3600) || defined(SHANNON) || defined(IDR)
blob_status.terminalSpeed = baud115k2; /* DEBUG */
#endif
SerialInit(blob_status.terminalSpeed);
|