1 |
27 |
unneback |
##=============================================================================
|
2 |
|
|
##
|
3 |
|
|
## fads.S
|
4 |
|
|
##
|
5 |
|
|
## Fads board hardware setup
|
6 |
|
|
##
|
7 |
|
|
##=============================================================================
|
8 |
|
|
#==============================================================================
|
9 |
|
|
#####UNSUPPORTEDBEGIN####
|
10 |
|
|
#
|
11 |
|
|
# -------------------------------------------
|
12 |
|
|
# This source file has been contributed to eCos/Red Hat. It may have been
|
13 |
|
|
# changed slightly to provide an interface consistent with those of other
|
14 |
|
|
# files.
|
15 |
|
|
#
|
16 |
|
|
# The functionality and contents of this file is supplied "AS IS"
|
17 |
|
|
# without any form of support and will not necessarily be kept up
|
18 |
|
|
# to date by Red Hat.
|
19 |
|
|
#
|
20 |
|
|
# All inquiries about this file, or the functionality provided by it,
|
21 |
|
|
# should be directed to the 'ecos-discuss' mailing list (see
|
22 |
|
|
# http://sourceware.cygnus.com/ecos/intouch.html for details).
|
23 |
|
|
#
|
24 |
|
|
# Contributed by: Kevin Hester
|
25 |
|
|
# Maintained by:
|
26 |
|
|
# -------------------------------------------
|
27 |
|
|
#
|
28 |
|
|
#####UNSUPPORTEDEND####
|
29 |
|
|
#==============================================================================
|
30 |
|
|
#####ECOSGPLCOPYRIGHTBEGIN####
|
31 |
|
|
## -------------------------------------------
|
32 |
|
|
## This file is part of eCos, the Embedded Configurable Operating System.
|
33 |
|
|
## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
34 |
|
|
##
|
35 |
|
|
## eCos is free software; you can redistribute it and/or modify it under
|
36 |
|
|
## the terms of the GNU General Public License as published by the Free
|
37 |
|
|
## Software Foundation; either version 2 or (at your option) any later version.
|
38 |
|
|
##
|
39 |
|
|
## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
40 |
|
|
## WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
41 |
|
|
## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
42 |
|
|
## for more details.
|
43 |
|
|
##
|
44 |
|
|
## You should have received a copy of the GNU General Public License along
|
45 |
|
|
## with eCos; if not, write to the Free Software Foundation, Inc.,
|
46 |
|
|
## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
47 |
|
|
##
|
48 |
|
|
## As a special exception, if other files instantiate templates or use macros
|
49 |
|
|
## or inline functions from this file, or you compile this file and link it
|
50 |
|
|
## with other works to produce a work based on this file, this file does not
|
51 |
|
|
## by itself cause the resulting work to be covered by the GNU General Public
|
52 |
|
|
## License. However the source code for this file must still be made available
|
53 |
|
|
## in accordance with section (3) of the GNU General Public License.
|
54 |
|
|
##
|
55 |
|
|
## This exception does not invalidate any other reasons why a work based on
|
56 |
|
|
## this file might be covered by the GNU General Public License.
|
57 |
|
|
##
|
58 |
|
|
## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
59 |
|
|
## at http://sources.redhat.com/ecos/ecos-license/
|
60 |
|
|
## -------------------------------------------
|
61 |
|
|
#####ECOSGPLCOPYRIGHTEND####
|
62 |
|
|
##=============================================================================
|
63 |
|
|
#######DESCRIPTIONBEGIN####
|
64 |
|
|
##
|
65 |
|
|
## Author(s): nickg
|
66 |
|
|
## Contributors:nickg
|
67 |
|
|
## Date: 1997-11-11
|
68 |
|
|
## Purpose: Fads board hardware setup
|
69 |
|
|
## Description: This file contains any code needed to initialize the
|
70 |
|
|
## hardware on a Fads PowerPC board.
|
71 |
|
|
##
|
72 |
|
|
######DESCRIPTIONEND####
|
73 |
|
|
##
|
74 |
|
|
##=============================================================================
|
75 |
|
|
|
76 |
|
|
#include
|
77 |
|
|
|
78 |
|
|
#include
|
79 |
|
|
|
80 |
|
|
#------------------------------------------------------------------------------
|
81 |
|
|
|
82 |
|
|
.globl hal_hardware_init
|
83 |
|
|
hal_hardware_init:
|
84 |
|
|
|
85 |
|
|
#if defined(CYGPKG_HAL_POWERPC_FADS) && defined(CYGPKG_HAL_POWERPC_MP860)
|
86 |
|
|
|
87 |
|
|
# kevinh disabled - we use the values which have already been setup
|
88 |
|
|
# by the mpc8bug
|
89 |
|
|
|
90 |
|
|
#endif
|
91 |
|
|
blr
|
92 |
|
|
|
93 |
|
|
#------------------------------------------------------------------------------
|
94 |
|
|
# end of fads.S
|