Update of /cvsroot/blob/blob/include/blob/arch
In directory usw-pr-cvs1:/tmp/cvs-serv10209/include/blob/arch
Modified Files:
Makefile.am
Added Files:
frodo.h
Log Message:
Added support for 2d3D, Inc. SA-1110 Development Board.
--- NEW FILE: frodo.h ---
/*
* frodo.h: 2d3D, Inc. SA-1110 Development Board
*
* Copyright (C) 2001 Abraham van der Merwe <ab...@2d...>
*
* $Id: frodo.h,v 1.1 2002/02/01 14:38:55 abz Exp $
*
* 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: frodo.h,v 1.1 2002/02/01 14:38:55 abz Exp $"
#ifndef BLOB_ARCH_FRODO_H
#define BLOB_ARCH_FRODO_H
/*
* CPU frequency table.
* See Section 8.2 (Core Clock Configuration Register) SA-1110 Developers
* Manual for more information.
*
* We have 3.6864-MHz oscillator.
*
* CCF[4:0] 3.6864-MHz Crystal Oscillator 3.5795-MHz Crystal Oscillator
* -------------------------------------------------------------------------
* 00 59.0 57.3
* 01 73.7 71.6
* 02 88.5 85.9
* 03 103.2 100.2
* 04 118.0 114.5
* 05 132.7 128.9
* 06 147.5 143.2
* 07 162.2 157.5
* 08 176.9 171.8
* 09 191.7 186.1
* 0a 206.4 200.5
* 0b 221.2 214.8
*/
/* boot CPU speed */
#define CPU_SPEED (0x0a)
/*
* Serial port 1 is used for the Serial port w/ flow control.
*/
/* serial port */
#define USE_SERIAL2
/* GPIO for the LED */
#define LED_GPIO (0x00000000) /* no led (for now) */
/* the base address were BLOB is loaded by the first stage loader */
#define BLOB_ABS_BASE_ADDR (0xc0200400)
/* where do various parts live in RAM */
#define BLOB_RAM_BASE (0xc0100000)
#define KERNEL_RAM_BASE (0xc0008000)
#define PARAM_RAM_BASE (0xc0110000)
#define RAMDISK_RAM_BASE (0xc0400000)
/* and where do they live in flash */
#define BLOB_FLASH_BASE 0x00000000
#define BLOB_FLASH_LEN (256 * 1024)
#define PARAM_FLASH_BASE (BLOB_FLASH_BASE + BLOB_FLASH_LEN)
#define PARAM_FLASH_LEN (256 * 1024)
#define KERNEL_FLASH_BASE (PARAM_FLASH_BASE + PARAM_FLASH_LEN)
#define KERNEL_FLASH_LEN (1024 * 1024)
#define RAMDISK_FLASH_BASE (KERNEL_FLASH_BASE + KERNEL_FLASH_LEN)
#define RAMDISK_FLASH_LEN (4 * 1024 * 1024)
/* the position of the kernel boot parameters */
#define BOOT_PARAMS (0xc0000100)
/* the size (in kbytes) to which the compressed ramdisk expands */
#define RAMDISK_SIZE (8 * 1024)
/* Memory configuration */
#ifdef BLOB_NEED_MEMCONFIG
#warning "use defines from memsetup.h for better readability"
# define MDCNFG_VALUE 0x0000a265
# define MDCAS00_VALUE 0x5555557f
# define MDCAS01_VALUE 0x55555555
# define MDCAS02_VALUE 0x55555555
# define MSC0_VALUE 0x00004770
# define MSC1_VALUE 0x00000000
# define MECR_VALUE 0xffffffff
/* MDREFR == 0x00700061 */
# define MDREFR_VALUE do_not_use_this_value__gets_automagically_computed
# define MDCAS20_VALUE 0xaaaaaa7f /* 0x20 MDCAS20 */
# define MDCAS21_VALUE 0xaaaaaaaa /* 0x24 MDCAS21 */
# define MDCAS22_VALUE 0xaaaaaaaa /* 0x28 MDCAS22 */
# define MSC2_VALUE 0x42196669 /* 0x2C MCS2 */
# define SMCNFG_VALUE 0x00000000
#endif
#endif
Index: Makefile.am
===================================================================
RCS file: /cvsroot/blob/blob/include/blob/arch/Makefile.am,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Makefile.am 2001/12/27 18:27:37 1.5
+++ Makefile.am 2002/02/01 14:38:55 1.6
@@ -12,6 +12,7 @@
noinst_HEADERS = \
assabet.h \
+ frodo.h \
badge4.h \
brutus.h \
clart.h \
|