From: Erik M. <er...@us...> - 2001-10-14 20:24:35
|
Update of /cvsroot/blob/blob/include/blob/arch In directory usw-pr-cvs1:/tmp/cvs-serv31603/include/blob/arch Modified Files: Makefile.am Added Files: assabet.h brutus.h clart.h lart.h nesa.h pleb.h shannon.h system3.h Log Message: Large cleanup of the include files, all platform specific defines are moved into a single include file in include/blob/arch/ . *Please* check if the definitions for your platform are still OK. --- NEW FILE: assabet.h --- /* * assabet.h: Assabet specific defines * * Copyright (C) 2001 Erik Mouw (J.A...@it...) * * $Id: assabet.h,v 1.1 2001/10/14 20:24:32 erikm 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: assabet.h,v 1.1 2001/10/14 20:24:32 erikm Exp $" #ifndef BLOB_ARCH_ASSABET_H #define BLOB_ARCH_ASSABET_H /* boot CPU speed */ #define CPU_SPEED (0x0b) /* GPIO for the LED */ #define LED_GPIO (0x00020000) /* GPIO 17 */ /* 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 (0xC0800000) /* and where do they live in flash */ #define BLOB_BLOCK_OFFSET (0x00000000) #define KERNEL_BLOCK_OFFSET (0x00008000) #define RAMDISK_BLOCK_OFFSET (0x00800000) /* 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) #endif --- NEW FILE: brutus.h --- /* * brutus.h: Brutus specific defines * * Copyright (C) 2001 Erik Mouw (J.A...@it...) * * $Id: brutus.h,v 1.1 2001/10/14 20:24:32 erikm 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: brutus.h,v 1.1 2001/10/14 20:24:32 erikm Exp $" #ifndef BLOB_ARCH_BRUTUS_H #define BLOB_ARCH_BRUTUS_H /* boot CPU speed */ #define CPU_SPEED (0x0b) /* GPIO for the LED */ #define LED_GPIO (0x00000000) /* safe mode: no GPIO, no LED */ /* 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_BLOCK_OFFSET (0x00000000) #define KERNEL_BLOCK_OFFSET (0x00008000) #define RAMDISK_BLOCK_OFFSET (0x00400000) /* 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) #endif --- NEW FILE: clart.h --- /* * clart.h: CreditLART specific defines * * Copyright (C) 2001 Erik Mouw (J.A...@it...) * * $Id: clart.h,v 1.1 2001/10/14 20:24:32 erikm 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: clart.h,v 1.1 2001/10/14 20:24:32 erikm Exp $" #ifndef BLOB_ARCH_CLART_H #define BLOB_ARCH_CLART_H /* boot CPU speed */ #define CPU_SPEED (0x0b) /* GPIO for the LED */ #define LED_GPIO (0x00800000) /* GPIO 23 */ /* 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_BLOCK_OFFSET (0x00000000) #define KERNEL_BLOCK_OFFSET (0x00008000) #define RAMDISK_BLOCK_OFFSET (0x00400000) /* 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) #endif --- NEW FILE: lart.h --- /* * lart.h: LART specific defines * * Copyright (C) 2001 Erik Mouw (J.A...@it...) * * $Id: lart.h,v 1.1 2001/10/14 20:24:32 erikm 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: lart.h,v 1.1 2001/10/14 20:24:32 erikm Exp $" #ifndef BLOB_ARCH_LART_H #define BLOB_ARCH_LART_H /* boot CPU speed */ #define CPU_SPEED (0x0b) /* GPIO for the LED */ #define LED_GPIO (0x00800000) /* GPIO 23 */ /* 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_BLOCK_OFFSET (0x00000000) #define KERNEL_BLOCK_OFFSET (0x00008000) #define RAMDISK_BLOCK_OFFSET (0x00400000) /* 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) #endif --- NEW FILE: nesa.h --- /* * nesa.h: NESA specific defines * * Copyright (C) 2001 Erik Mouw (J.A...@it...) * * $Id: nesa.h,v 1.1 2001/10/14 20:24:32 erikm 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: nesa.h,v 1.1 2001/10/14 20:24:32 erikm Exp $" #ifndef BLOB_ARCH_NESA_H #define BLOB_ARCH_NESA_H /* boot CPU speed */ #define CPU_SPEED (0x0b) /* GPIO for the LED */ #define LED_GPIO (0x00800000) /* GPIO 23 */ /* 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_BLOCK_OFFSET (0x00000000) #define KERNEL_BLOCK_OFFSET (0x00008000) #define RAMDISK_BLOCK_OFFSET (0x00400000) /* 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) #endif --- NEW FILE: pleb.h --- /* * pleb.h: PLEB specific defines * * Copyright (C) 2001 Erik Mouw (J.A...@it...) * * $Id: pleb.h,v 1.1 2001/10/14 20:24:32 erikm 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: pleb.h,v 1.1 2001/10/14 20:24:32 erikm Exp $" #ifndef BLOB_ARCH_PLEB_H #define BLOB_ARCH_PLEB_H /* boot CPU speed */ #define CPU_SPEED (0x0a) /* GPIO for the LED */ #define LED_GPIO (0x00010000) /* GPIO 16 */ /* 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_BLOCK_OFFSET (0x00000000) #define KERNEL_BLOCK_OFFSET (0x00008000) #define RAMDISK_BLOCK_OFFSET (0x00400000) /* 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) #endif --- NEW FILE: shannon.h --- /* * shannon.h: SHANNON specific defines * * Copyright (C) 2001 Erik Mouw (J.A...@it...) * * $Id: shannon.h,v 1.1 2001/10/14 20:24:32 erikm 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: shannon.h,v 1.1 2001/10/14 20:24:32 erikm Exp $" #ifndef BLOB_ARCH_SHANNON_H #define BLOB_ARCH_SHANNON_H /* boot CPU speed */ #define CPU_SPEED (0x09) /* GPIO for the LED */ #define LED_GPIO (0x00000000) /* safe mode: no GPIO, no LED */ /* 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 (0xC8000000) /* and where do they live in flash */ #define BLOB_BLOCK_OFFSET (0x00000000) #define KERNEL_BLOCK_OFFSET (0x00008000) #define RAMDISK_BLOCK_OFFSET (0x00200000) /* 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) #endif --- NEW FILE: system3.h --- /* * system3.h: PT system3 specific defines * * Copyright (C) 2001 Erik Mouw (J.A...@it...) * * $Id: system3.h,v 1.1 2001/10/14 20:24:32 erikm 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: system3.h,v 1.1 2001/10/14 20:24:32 erikm Exp $" #ifndef BLOB_ARCH_SYSTEM3_H #define BLOB_ARCH_SYSTEM3_H /* boot CPU speed */ #define CPU_SPEED (0x05) /* GPIO for the LED */ #define LED_GPIO (0x00000400) /* GPIO 10 */ /* 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 (0xC0800000) /* and where do they live in flash */ #define BLOB_BLOCK_OFFSET (0x00000000) #define KERNEL_BLOCK_OFFSET (0x00008000) #define RAMDISK_BLOCK_OFFSET (0x00800000) /* 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) #endif Index: Makefile.am =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Makefile.am 2001/10/14 14:49:42 1.1 +++ Makefile.am 2001/10/14 20:24:32 1.2 @@ -10,7 +10,15 @@ ## Modified at: Tue Sep 28 23:36:51 1999 ########################################################################### -noinst_HEADERS = +noinst_HEADERS = \ + assabet.h \ + brutus.h \ + clart.h \ + lart.h \ + nesa.h \ + pleb.h \ + shannon.h \ + system3.h CLEANFILES = ${srcdir}/*~ |