mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 06:58:54 +00:00
Correct fixup relocation for mpc8220
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
parent
6f7576b20e
commit
a85dd254c0
3 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@
|
||||||
# MA 02111-1307 USA
|
# MA 02111-1307 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi
|
PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -mrelocatable
|
||||||
|
|
||||||
PLATFORM_CPPFLAGS += -DCONFIG_MPC8220 -ffixed-r2 -ffixed-r29 \
|
PLATFORM_CPPFLAGS += -DCONFIG_MPC8220 -ffixed-r2 -ffixed-r29 \
|
||||||
-mstring -mcpu=603e -mmultiple
|
-mstring -mcpu=603e -mmultiple
|
||||||
|
|
|
@ -55,7 +55,6 @@ SECTIONS
|
||||||
{
|
{
|
||||||
cpu/mpc8220/start.o (.text)
|
cpu/mpc8220/start.o (.text)
|
||||||
*(.text)
|
*(.text)
|
||||||
*(.fixup)
|
|
||||||
*(.got1)
|
*(.got1)
|
||||||
. = ALIGN(16);
|
. = ALIGN(16);
|
||||||
*(.rodata)
|
*(.rodata)
|
||||||
|
|
|
@ -69,6 +69,7 @@ typedef volatile unsigned char vu_char;
|
||||||
#define CONFIG_RELOC_FIXUP_WORKS
|
#define CONFIG_RELOC_FIXUP_WORKS
|
||||||
#elif defined(CONFIG_MPC8220)
|
#elif defined(CONFIG_MPC8220)
|
||||||
#include <asm/immap_8220.h>
|
#include <asm/immap_8220.h>
|
||||||
|
#define CONFIG_RELOC_FIXUP_WORKS
|
||||||
#elif defined(CONFIG_8260)
|
#elif defined(CONFIG_8260)
|
||||||
#if defined(CONFIG_MPC8247) \
|
#if defined(CONFIG_MPC8247) \
|
||||||
|| defined(CONFIG_MPC8248) \
|
|| defined(CONFIG_MPC8248) \
|
||||||
|
|
Loading…
Add table
Reference in a new issue