ts7200.c revision 1.3
11.3She/*	$NetBSD: ts7200.c,v 1.3 2006/01/16 19:34:53 he Exp $	*/
21.1Sjoff
31.1Sjoff/*
41.1Sjoff * Copyright (c) 2004 Jesse Off
51.1Sjoff * All rights reserved.
61.1Sjoff *
71.1Sjoff * Redistribution and use in source and binary forms, with or without
81.1Sjoff * modification, are permitted provided that the following conditions
91.1Sjoff * are met:
101.1Sjoff * 1. Redistributions of source code must retain the above copyright
111.1Sjoff *    notice, this list of conditions and the following disclaimer.
121.1Sjoff * 2. Redistributions in binary form must reproduce the above copyright
131.1Sjoff *    notice, this list of conditions and the following disclaimer in the
141.1Sjoff *    documentation and/or other materials provided with the distribution.
151.1Sjoff * 3. All advertising materials mentioning features or use of this software
161.1Sjoff *    must display the following acknowledgement:
171.1Sjoff *	This product includes software developed for the NetBSD Project by
181.1Sjoff *	Wasabi Systems, Inc.
191.1Sjoff * 4. The name of Wasabi Systems, Inc. may not be used to endorse
201.1Sjoff *    or promote products derived from this software without specific prior
211.1Sjoff *    written permission.
221.1Sjoff *
231.1Sjoff * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND
241.1Sjoff * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
251.1Sjoff * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
261.1Sjoff * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL WASABI SYSTEMS, INC
271.1Sjoff * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
281.1Sjoff * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
291.1Sjoff * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
301.1Sjoff * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
311.1Sjoff * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
321.1Sjoff * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
331.1Sjoff * POSSIBILITY OF SUCH DAMAGE.
341.1Sjoff */
351.1Sjoff
361.1Sjoff/*
371.1Sjoff * Board initialization routines for the Technologic Systems TS-7200 SBC
381.1Sjoff */
391.1Sjoff
401.1Sjoff#include <sys/types.h>
411.1Sjoff#include <lib/libsa/stand.h>
421.1Sjoff
431.1Sjoff#include "board.h"
441.1Sjoff
451.1Sjoffvoid
461.1Sjoffboard_init(void)
471.1Sjoff{
481.1Sjoff	/* There is guaranteed to be at least a 8MB chunk of SDRAM at 0x0*/
491.3She	void *heap = (void *)(0x800000 - BOARD_HEAP_SIZE);
501.1Sjoff	setheap(heap, (void *)(0x800000 - 1));
511.1Sjoff}
521.1Sjoff
531.1Sjoffvoid
541.1Sjoffboard_fini(void)
551.1Sjoff{
561.1Sjoff
571.1Sjoff	/* Nothing to do here. */
581.1Sjoff}
59