x86: Remove calculate_relocation_address()

Now that we have generic routine to calculate relocation address,
remove the x86 specific one which is now only used by coreboot.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
Bin Meng
2015-08-13 00:29:10 -07:00
committed by Simon Glass
parent 52b778603b
commit c17ca6b5cd
3 changed files with 2 additions and 60 deletions

View File

@@ -7,14 +7,7 @@
*/
#include <common.h>
#include <malloc.h>
#include <asm/e820.h>
#include <asm/u-boot-x86.h>
#include <asm/global_data.h>
#include <asm/init_helpers.h>
#include <asm/processor.h>
#include <asm/sections.h>
#include <asm/zimage.h>
#include <asm/arch/sysinfo.h>
#include <asm/arch/tables.h>
@@ -109,7 +102,7 @@ int dram_init(void)
if (ram_size == 0)
return -1;
return calculate_relocation_address();
return 0;
}
void dram_init_banksize(void)