Introduce generic pre-relocation board_f.c

This file handles common pre-relocation init for boards which use
the generic framework.

It starts up the console, DRAM, performs relocation and then jumps
to post-relocation init.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Wolfgang Denk <wd@denx.de>
Acked-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
Simon Glass 2013-03-11 06:49:53 +00:00 committed by Tom Rini
parent a6741bce50
commit 1938f4a5b6
7 changed files with 591 additions and 6 deletions

View file

@ -311,6 +311,7 @@ extern ulong monitor_flash_len;
int mac_read_from_eeprom(void);
extern u8 _binary_dt_dtb_start[]; /* embedded device tree blob */
int set_cpu_clk_info(void);
int print_cpuinfo(void);
/**
* Show the DRAM size in a board-specific way