blob: d018b290c1b1622bfdf1d3333d6eb038cbcd6a84 [file] [log] [blame]
Graeme Russd47ab0e2011-12-23 16:51:29 +11001/*
2 * (C) Copyright 2011
3 * Graeme Russ, <graeme.russ@gmail.com>
4 *
5 * See file CREDITS for list of people who contributed to this
6 * project.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of
11 * the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21 * MA 02111-1307 USA
22 */
23
24#ifndef _INIT_HELPERS_H_
25#define _INIT_HELPERS_H_
26
27int display_banner(void);
28int display_dram_config(void);
29int init_baudrate_f(void);
Graeme Russa1d57b72011-12-23 21:14:22 +110030int calculate_relocation_address(void);
Graeme Russd47ab0e2011-12-23 16:51:29 +110031
Graeme Russa1d57b72011-12-23 21:14:22 +110032int init_cache_f_r(void);
33
34int set_reloc_flag_r(void);
Graeme Russd47ab0e2011-12-23 16:51:29 +110035int mem_malloc_init_r(void);
36int init_bd_struct_r(void);
37int flash_init_r(void);
Graeme Russd47ab0e2011-12-23 16:51:29 +110038int status_led_set_r(void);
Graeme Russd47ab0e2011-12-23 16:51:29 +110039int set_load_addr_r(void);
Gabe Black83133152012-11-03 11:41:23 +000040int init_func_spi(void);
Simon Glassf697d522013-02-28 19:26:15 +000041int find_fdt(void);
42int prepare_fdt(void);
Graeme Russd47ab0e2011-12-23 16:51:29 +110043
44#endif /* !_INIT_HELPERS_H_ */