mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 06:30:39 +00:00
ARMV7: OMAP: Move syslib.c to omap-common since it can be shared by OMAP3 and OMAP4
The functions in syslib.c can be shared, so this patch moves it from cpu/omap3 to cpu/omap-common Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
This commit is contained in:
parent
2df0e6fc6b
commit
0e7b62179f
4 changed files with 5 additions and 3 deletions
|
@ -26,7 +26,9 @@ include $(TOPDIR)/config.mk
|
|||
LIB = $(obj)libomap-common.a
|
||||
|
||||
SOBJS := reset.o
|
||||
|
||||
COBJS := timer.o
|
||||
COBJS += syslib.o
|
||||
|
||||
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
||||
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/mem.h>
|
||||
#include <asm/arch/clocks.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
|
||||
/************************************************************
|
|
@ -32,7 +32,6 @@ COBJS += board.o
|
|||
COBJS += clock.o
|
||||
COBJS += gpio.o
|
||||
COBJS += mem.o
|
||||
COBJS += syslib.o
|
||||
COBJS += sys_info.o
|
||||
|
||||
COBJS-$(CONFIG_EMIF4) += emif4.o
|
||||
|
|
|
@ -33,6 +33,9 @@ void watchdog_init(void);
|
|||
u32 get_device_type(void);
|
||||
void invalidate_dcache(u32);
|
||||
void set_muxconf_regs(void);
|
||||
void sr32(void *, u32, u32, u32);
|
||||
u32 wait_on_value(u32, u32, void *, u32);
|
||||
void sdelay(unsigned long);
|
||||
|
||||
extern const struct omap_sysinfo sysinfo;
|
||||
|
||||
|
|
Loading…
Reference in a new issue