diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2008-03-27 01:26:48 +0300 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2008-04-08 11:58:32 +0400 |
commit | 71d7e4c0489e5ed8fc69382236aaa2a1e510c135 (patch) | |
tree | 4f384ad1c5f44aeee5008ac9c72d4c2de7e3eb6d /board/gaisler/gr_xc3s_1500/gr_xc3s_1500.c | |
parent | b330990c2f36ee4a8bb318360e1c8ba965269ab6 (diff) | |
download | u-boot-71d7e4c0489e5ed8fc69382236aaa2a1e510c135.tar.xz |
SPARC/LEON3: added support for GR-XC3S-1500 board with GRLIB template design. See www.gaisler.com for board information.
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Diffstat (limited to 'board/gaisler/gr_xc3s_1500/gr_xc3s_1500.c')
-rw-r--r-- | board/gaisler/gr_xc3s_1500/gr_xc3s_1500.c | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/board/gaisler/gr_xc3s_1500/gr_xc3s_1500.c b/board/gaisler/gr_xc3s_1500/gr_xc3s_1500.c new file mode 100644 index 0000000000..1ee7024812 --- /dev/null +++ b/board/gaisler/gr_xc3s_1500/gr_xc3s_1500.c @@ -0,0 +1,39 @@ +/* + * (C) Copyright 2007 + * Daniel Hellstrom, daniel@gaisler.com. + * + * 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 + */ + +#include <common.h> +#include <config.h> +#include <asm/leon.h> + +long int initdram(int board_type) +{ + return 1; +} + +int checkboard(void) +{ + puts("Board: GR-XC3S-1500\n"); + return 0; +} + +int misc_init_r(void) +{ + return 0; +} |