[MIPS] Remove CONFIG_BUILD_ELF64.
This option is no longer usable with supported compilers. It will be replaced by usage of -msym32 in a separate patch. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@ -447,21 +447,10 @@ static inline void resource_init(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
#if defined(CONFIG_64BIT) && !defined(CONFIG_BUILD_ELF64)
|
||||
/*
|
||||
* The 64bit code in 32bit object format trick can't represent
|
||||
* 64bit wide relocations for linker script symbols.
|
||||
*/
|
||||
code_resource.start = CPHYSADDR(&_text);
|
||||
code_resource.end = CPHYSADDR(&_etext) - 1;
|
||||
data_resource.start = CPHYSADDR(&_etext);
|
||||
data_resource.end = CPHYSADDR(&_edata) - 1;
|
||||
#else
|
||||
code_resource.start = virt_to_phys(&_text);
|
||||
code_resource.end = virt_to_phys(&_etext) - 1;
|
||||
data_resource.start = virt_to_phys(&_etext);
|
||||
data_resource.end = virt_to_phys(&_edata) - 1;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Request address space for all standard RAM.
|
||||
|
Reference in New Issue
Block a user