kernel: move do_padconf and add a test case
padconf is specific to arm, so it's being moved to kernel/arch/earm. Add a test case to ensure the proper error is returned on non-ARM systems. Change-Id: I07ebbe64825d59bc0ef9c818d3d54891dafb4419
This commit is contained in:
@@ -63,7 +63,7 @@ ORIG_UNPAGED_OBJS += ${unpaged_obj}
|
||||
|
||||
CLEANFILES+= ${ORIG_UNPAGED_OBJS}
|
||||
|
||||
SRCS+= mpx.S arch_clock.c arch_do_vmctl.c arch_system.c \
|
||||
SRCS+= mpx.S arch_clock.c arch_do_vmctl.c arch_system.c do_padconf.c \
|
||||
omap_serial.c omap_timer.c omap_padconf.c omap_intr.c omap_rtc.c \
|
||||
omap_reset.c exception.c klib.S memory.c \
|
||||
protect.c direct_tty_utils.c arch_reset.c \
|
||||
|
||||
@@ -40,11 +40,6 @@ SRCS+= \
|
||||
do_schedctl.c \
|
||||
do_statectl.c
|
||||
|
||||
.if ${MACHINE_ARCH} == "earm"
|
||||
SRCS+= \
|
||||
do_padconf.c
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "i386"
|
||||
SRCS+= \
|
||||
do_devio.c \
|
||||
|
||||
Reference in New Issue
Block a user