ts7200.c revision 1.4
11.4Ssnj/*	$NetBSD: ts7200.c,v 1.4 2009/10/23 00:39:30 snj 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 *
161.1Sjoff * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND
171.1Sjoff * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
181.1Sjoff * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
191.1Sjoff * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL WASABI SYSTEMS, INC
201.1Sjoff * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
211.1Sjoff * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
221.1Sjoff * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
231.1Sjoff * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
241.1Sjoff * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
251.1Sjoff * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
261.1Sjoff * POSSIBILITY OF SUCH DAMAGE.
271.1Sjoff */
281.1Sjoff
291.1Sjoff/*
301.1Sjoff * Board initialization routines for the Technologic Systems TS-7200 SBC
311.1Sjoff */
321.1Sjoff
331.1Sjoff#include <sys/types.h>
341.1Sjoff#include <lib/libsa/stand.h>
351.1Sjoff
361.1Sjoff#include "board.h"
371.1Sjoff
381.1Sjoffvoid
391.1Sjoffboard_init(void)
401.1Sjoff{
411.1Sjoff	/* There is guaranteed to be at least a 8MB chunk of SDRAM at 0x0*/
421.3She	void *heap = (void *)(0x800000 - BOARD_HEAP_SIZE);
431.1Sjoff	setheap(heap, (void *)(0x800000 - 1));
441.1Sjoff}
451.1Sjoff
461.1Sjoffvoid
471.1Sjoffboard_fini(void)
481.1Sjoff{
491.1Sjoff
501.1Sjoff	/* Nothing to do here. */
511.1Sjoff}
52