to make u-boot work for fat32 filesystem
[jz_uboot.git] / board / tb0229 / tb0229.c
blobe7914bd15bd7c9a94894013bb5911f67f55bacb8
1 /*
2 * Board initialize code for TANBAC Evaluation board TB0229.
4 * (C) Masami Komiya <mkomiya@sonare.it> 2004
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2, or (at
9 * your option) any later version.
12 #include <common.h>
13 #include <command.h>
14 #include <asm/addrspace.h>
15 #include <asm/inca-ip.h>
16 #include <pci.h>
18 unsigned long mips_io_port_base = 0;
20 #if defined(CONFIG_PCI)
21 static struct pci_controller hose;
23 void pci_init_board (void)
25 init_vr4131_pci(&hose);
27 #endif
30 long int initdram(int board_type)
32 return get_ram_size (CFG_SDRAM_BASE, 0x8000000);
36 int checkboard (void)
38 printf("Board: TANBAC TB0229 ");
39 printf("(CPU Speed %d MHz)\n", (int)CPU_CLOCK_RATE/1000000);
41 return 0;