mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 14:10:43 +00:00
AT91: fix TOP9000 build problem and change CONFIG_SYS_TEXT_BASE
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
This commit is contained in:
parent
6741b5310f
commit
f805548b28
3 changed files with 6 additions and 6 deletions
|
@ -26,9 +26,9 @@
|
|||
|
||||
include $(TOPDIR)/config.mk
|
||||
|
||||
LIB = $(obj)lib$(BOARD).a
|
||||
LIB = $(obj)lib$(BOARD).o
|
||||
|
||||
COBJS-y += top9000.o
|
||||
COBJS-y += $(BOARD).o
|
||||
COBJS-$(CONFIG_ATMEL_SPI) += spi.o
|
||||
|
||||
SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
|
||||
|
@ -36,7 +36,7 @@ OBJS := $(addprefix $(obj),$(COBJS-y))
|
|||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||
|
||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||
$(call cmd_link_o_target, $(OBJS) $(SOBJS))
|
||||
|
||||
clean:
|
||||
rm -f $(SOBJS) $(OBJS)
|
||||
|
|
|
@ -120,7 +120,7 @@ int board_mmc_getcd(u8 *cd, struct mmc *mmc)
|
|||
|
||||
int board_early_init_f(void)
|
||||
{
|
||||
at91_shdwn_t *shdwn = (at91_shdwn_t *)AT91_SHDWN_BASE;
|
||||
struct at91_shdwn *shdwn = (struct at91_shdwn *)AT91_SHDWN_BASE;
|
||||
|
||||
/*
|
||||
* make sure the board can be powered on by
|
||||
|
|
|
@ -40,9 +40,9 @@
|
|||
|
||||
/*
|
||||
* Warning: changing CONFIG_SYS_TEXT_BASE requires
|
||||
* adapting the initial boot program
|
||||
* adapting the initial boot program.
|
||||
*/
|
||||
#define CONFIG_SYS_TEXT_BASE 0x21f00000 /* 31 MB into RAM */
|
||||
#define CONFIG_SYS_TEXT_BASE 0x20000000 /* start of SDRAM */
|
||||
|
||||
/* Command line configuration */
|
||||
#include <config_cmd_default.h>
|
||||
|
|
Loading…
Reference in a new issue