2 * (C) Copyright 2005 Freescale Semiconductor, Inc.
4 * Roy Zang <tie-fei.zang@freescale.com>
6 * See file CREDITS for list of people who contributed to this
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of
12 * the License, or (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
24 * modifications for the Tsi108 Emul Board by avb@Tundra
28 * board support/init functions for the
29 * Freescale MPC7448 HPC2 (High-Performance Computing 2 Platform).
34 #include <fdt_support.h>
39 DECLARE_GLOBAL_DATA_PTR;
41 extern void tsi108_init_f (void);
43 int display_mem_map (void);
45 void after_reloc (ulong dest_addr)
48 * Jump to the main U-Boot board init code
50 board_init_r ((gd_t *) gd, dest_addr);
55 * Check Board Identity:
63 printf ("BOARD: %s\n", CONFIG_SYS_BOARD_NAME);
70 * report calling processor number
75 return 0; /* we are on single CPU platform for a while */
78 long int dram_size (int board_type)
80 return 0x20000000; /* 256M bytes */
83 phys_size_t initdram (int board_type)
85 return dram_size (board_type);
88 #if defined(CONFIG_OF_BOARD_SETUP)
90 ft_board_setup(void *blob, bd_t *bd)
92 ft_cpu_setup(blob, bd);
93 fdt_fixup_memory(blob, (u64)bd->bi_memstart, (u64)bd->bi_memsize);
97 int board_eth_init(bd_t *bis)
100 #if defined(CONFIG_TSI108_ETH)
101 rc = tsi108_eth_initialize(bis);