mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 03:58:18 -04:00
imx31: move serial driver to drivers/serial
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
9ea91c9fef
commit
ecfa8dda2f
@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
|
|||||||
|
|
||||||
LIB = $(obj)lib$(SOC).a
|
LIB = $(obj)lib$(SOC).a
|
||||||
|
|
||||||
COBJS = interrupts.o serial.o generic.o
|
COBJS = interrupts.o generic.o
|
||||||
|
|
||||||
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
||||||
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
|
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
|
||||||
|
@ -35,6 +35,7 @@ COBJS-$(CONFIG_S3C64XX) += s3c64xx.o
|
|||||||
COBJS-$(CONFIG_SYS_NS16550_SERIAL) += serial.o
|
COBJS-$(CONFIG_SYS_NS16550_SERIAL) += serial.o
|
||||||
COBJS-$(CONFIG_IXP_SERIAL) += serial_ixp.o
|
COBJS-$(CONFIG_IXP_SERIAL) += serial_ixp.o
|
||||||
COBJS-$(CONFIG_MAX3100_SERIAL) += serial_max3100.o
|
COBJS-$(CONFIG_MAX3100_SERIAL) += serial_max3100.o
|
||||||
|
COBJS-$(CONFIG_MX31_UART) += serial_mx31.o
|
||||||
COBJS-$(CONFIG_NETARM_SERIAL) += serial_netarm.o
|
COBJS-$(CONFIG_NETARM_SERIAL) += serial_netarm.o
|
||||||
COBJS-$(CONFIG_PL010_SERIAL) += serial_pl01x.o
|
COBJS-$(CONFIG_PL010_SERIAL) += serial_pl01x.o
|
||||||
COBJS-$(CONFIG_PL011_SERIAL) += serial_pl01x.o
|
COBJS-$(CONFIG_PL011_SERIAL) += serial_pl01x.o
|
||||||
|
@ -18,9 +18,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
|
|
||||||
#if defined CONFIG_MX31_UART
|
|
||||||
|
|
||||||
#include <asm/arch/mx31.h>
|
#include <asm/arch/mx31.h>
|
||||||
|
|
||||||
#define __REG(x) (*((volatile u32 *)(x)))
|
#define __REG(x) (*((volatile u32 *)(x)))
|
||||||
@ -227,6 +224,3 @@ int serial_init (void)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif /* CONFIG_MX31 */
|
|
Loading…
x
Reference in New Issue
Block a user