1
0

initcalls: Add initial implementation

Create simple serial subsystem which makes use of initcalls, and convert
existing serial drivers to its use.
This commit is contained in:
2012-10-04 00:26:35 -04:00
parent 3f624153e7
commit 9d86813d8c
14 changed files with 219 additions and 102 deletions

View File

@ -3,6 +3,9 @@ SUBDIRS :=
include $(BASEDIR)/header.mk
OBJS_$(d) := \
$(d)/serial.o
OBJS_$(d)_$(CONFIG_VEXPRESS_A9) := \
$(d)/pl011.o \
$(d)/pl111.o
@ -15,6 +18,6 @@ OBJS_$(d)_$(CONFIG_RPI) := \
$(d)/bcm2835_mailbox.o \
$(d)/bcm2835_videocore.o
KOBJS += $(OBJS_$(d)_y)
KOBJS += $(OBJS_$(d)) $(OBJS_$(d)_y)
include $(BASEDIR)/footer.mk