diff options
author | Jingchang Lu <b35083@freescale.com> | 2012-07-02 17:18:47 +0800 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2012-09-07 15:22:42 -0400 |
commit | 83983d6a761a3a07ddb6a6de12bd9000d06a84bd (patch) | |
tree | 435aab16436aa417a14657ea22ccc0d3ba7835cf /arch/arm/lib/board.c | |
parent | 85c344e5f98408c0bcf988a6c6fca68c1f3c2015 (diff) |
Add arch support for Vybrid platform
Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
Diffstat (limited to 'arch/arm/lib/board.c')
-rw-r--r-- | arch/arm/lib/board.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c index b9b35de61a..7dbeda121a 100644 --- a/arch/arm/lib/board.c +++ b/arch/arm/lib/board.c @@ -234,10 +234,8 @@ init_fnc_t *init_sequence[] = { #ifdef CONFIG_OF_CONTROL fdtdec_check_fdt, #endif - timer_init, /* initialize timer */ -#ifdef CONFIG_FSL_ESDHC get_clocks, -#endif + timer_init, /* initialize timer */ env_init, /* initialize environment */ init_baudrate, /* initialze baudrate settings */ serial_init, /* serial communications setup */ @@ -424,6 +422,11 @@ void board_init_f(ulong bootflag) gd->relocaddr = addr; gd->start_addr_sp = addr_sp; gd->reloc_off = addr - _TEXT_BASE; + +#ifdef CONFIG_SYS_UBOOT_IN_GPURAM + gd->reloc_off += _TEXT_BASE; +#endif + debug("relocation Offset is: %08lx\n", gd->reloc_off); memcpy(id, (void *)gd, sizeof(gd_t)); |