Added support for the Hynix HY27US08121A 64MB Flash chip.
[u-boot-openmoko/mini2440.git] / board / tb0229 / tb0229.c
blobd08b4224516da4b74eabd2f5061bccfad6a404a3
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/io.h>
16 #include <asm/reboot.h>
17 #include <pci.h>
19 void _machine_restart(void)
21 void (*f)(void) = (void *) 0xbfc00000;
23 f();
26 #if defined(CONFIG_PCI)
27 static struct pci_controller hose;
29 void pci_init_board (void)
31 init_vr4131_pci(&hose);
33 #endif
35 long int initdram(int board_type)
37 return get_ram_size (CFG_SDRAM_BASE, 0x8000000);
40 int checkboard (void)
42 printf("Board: TANBAC TB0229 ");
43 printf("(CPU Speed %d MHz)\n", (int)CPU_CLOCK_RATE/1000000);
45 set_io_port_base(0);
47 return 0;