Mercurial > ecos-v3_0-branch
view packages/hal/powerpc/cogent/current/include/pkgconf/hal_powerpc_cogent.h @ 70:c5536bad4c24 ecos-sw-2000-02-11
Merge from eCos master repository on 2000-02-11-15:46:40-GMT
| author | jlarmour |
|---|---|
| date | Fri, 11 Feb 2000 16:47:32 +0000 |
| parents | bf00f99aec69 |
| children |
line wrap: on
line source
#ifndef CYGONCE_PKGCONF_HAL_POWERPC_COGENT_H #define CYGONCE_PKGCONF_HAL_POWERPC_COGENT_H // ==================================================================== // // pkgconf/hal_powerpc_cogent.h // // HAL configuration file // // ==================================================================== //####COPYRIGHTBEGIN#### // // ------------------------------------------- // The contents of this file are subject to the Red Hat eCos Public License // Version 1.1 (the "License"); you may not use this file except in // compliance with the License. You may obtain a copy of the License at // http://www.redhat.com/ // // Software distributed under the License is distributed on an "AS IS" // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the // License for the specific language governing rights and limitations under // the License. // // The Original Code is eCos - Embedded Configurable Operating System, // released September 30, 1998. // // The Initial Developer of the Original Code is Red Hat. // Portions created by Red Hat are // Copyright (C) 1998, 1999, 2000 Red Hat, Inc. // All Rights Reserved. // ------------------------------------------- // //####COPYRIGHTEND#### // ==================================================================== //#####DESCRIPTIONBEGIN#### // // Author(s): bartv // Contributors: bartv // Date: 1998-09-02 // Purpose: To allow the user to edit HAL configuration options. // Description: // //####DESCRIPTIONEND#### // // ==================================================================== /* --------------------------------------------------------------------- {{CFG_DATA cdl_package CYGPKG_HAL_POWERPC_COGENT { display "Cogent PowerPC evaluation board" type radio parent CYGPKG_HAL_POWERPC requires CYGPKG_HAL_POWERPC_MPC8xx platform cogent description " The cogent HAL package provides the support needed to run eCos on a Cogent board equipped with a PowerPC processor." } cdl_option CYGHWR_HAL_POWERPC_COGENT_STARTUP { display "Startup type" parent CYGPKG_HAL_POWERPC_COGENT #type count type enum legal_values ram rom startup description " When targetting the cogent board it is possible to build the system for either RAM bootstrap or ROM bootstrap. RAM bootstrap generally requires that the board is equipped with ROMs containing a suitable ROM monitor or equivalent software that allows GDB to download the eCos application on to the board. The ROM bootstrap typically requires that the eCos application be blown into EPROMs or equivalent technology." } #### There will be a flood of PRs if the config tool is allowed to fiddle #### with these two... *sigh* ## cdl_option CYGHWR_HAL_POWERPC_COGENT_GDB_PORT { ## display "GDB Serial Port" ## parent CYGPKG_HAL_POWERPC_COGENT ## type enum ## legal_values 1 0 ## description " ## The Cogent board has two separate serial ports. This option ## chooses which of these ports will be used by the GDB stub. ## On the CMA101 board, 0 and 1 are the P11 and P12 ## connectors respectively. On the CMA102 board, 0 and 1 are ## the P2 and P3 connectors respectively." ## } ## ## cdl_option CYGHWR_HAL_POWERPC_COGENT_DIAG_PORT { ## display "Diag Serial Port" ## parent CYGPKG_HAL_POWERPC_COGENT ## type enum ## legal_values 1 0 ## description " ## The Cogent board has two separate serial ports. This option ## chooses which of these ports will be used for diag output. ## On the CMA101 board, 0 and 1 are the P11 and P12 ## connectors respectively. On the CMA102 board, 0 and 1 are ## the P2 and P3 connectors respectively." ## } }}CFG_DATA */ #define CYGHWR_HAL_POWERPC_COGENT_STARTUP ram #define CYGHWR_HAL_POWERPC_COGENT_GDB_PORT 1 #define CYGHWR_HAL_POWERPC_COGENT_DIAG_PORT 1 // Real-time clock/counter specifics // Period is busclock/16/100. #define CYGNUM_HAL_RTC_NUMERATOR 1000000000 #define CYGNUM_HAL_RTC_DENOMINATOR 100 #define CYGNUM_HAL_RTC_PERIOD 20833 /* -------------------------------------------------------------------*/ #endif /* CYGONCE_PKGCONF_HAL_POWERPC_COGENT_H */ /* EOF hal_powerpc_cogent.h */
