2 * (C) Copyright 2005 Freescale Semiconductor, Inc.
4 * Roy Zang <tie-fei.zang@freescale.com>
6 * SPDX-License-Identifier: GPL-2.0+
8 * modifications for the Tsi108 Emul Board by avb@Tundra
12 * board support/init functions for the
13 * Freescale MPC7448 HPC2 (High-Performance Computing 2 Platform).
18 #include <fdt_support.h>
23 DECLARE_GLOBAL_DATA_PTR;
25 extern void tsi108_init_f (void);
27 int display_mem_map (void);
29 void after_reloc (ulong dest_addr)
32 * Jump to the main U-Boot board init code
34 board_init_r ((gd_t *) gd, dest_addr);
39 * Check Board Identity:
47 printf ("BOARD: %s\n", CONFIG_SYS_BOARD_NAME);
54 * report calling processor number
59 return 0; /* we are on single CPU platform for a while */
62 long int dram_size (int board_type)
64 return 0x20000000; /* 256M bytes */
67 phys_size_t initdram (int board_type)
69 return dram_size (board_type);
72 #if defined(CONFIG_OF_BOARD_SETUP)
74 ft_board_setup(void *blob, bd_t *bd)
76 ft_cpu_setup(blob, bd);
77 fdt_fixup_memory(blob, (u64)bd->bi_memstart, (u64)bd->bi_memsize);
81 int board_eth_init(bd_t *bis)
84 #if defined(CONFIG_TSI108_ETH)
85 rc = tsi108_eth_initialize(bis);