summaryrefslogtreecommitdiff
path: root/board/genesi/mx51_efikamx/Makefile
diff options
context:
space:
mode:
authorMatt Sealey <matt@genesi-usa.com>2012-08-23 04:52:33 +0000
committerStefano Babic <sbabic@denx.de>2012-09-04 12:06:44 +0200
commit0d7d3830984012a8209bbf497f92add652082afb (patch)
tree6ab7802ad1d203957ef5b2458d58fc76de08a119 /board/genesi/mx51_efikamx/Makefile
parentd812f4ad95d1f15c656c7f32d6077bc1224abf4a (diff)
downloadu-boot-imx-0d7d3830984012a8209bbf497f92add652082afb.zip
u-boot-imx-0d7d3830984012a8209bbf497f92add652082afb.tar.gz
u-boot-imx-0d7d3830984012a8209bbf497f92add652082afb.tar.bz2
efikamx: refine USB support
Because of the way USB pad settings are handled it doesn't make sense to be able to build the Efika MX board support without CONFIG_CMD_USB turned on. So, we change the build to always compile in USB support. We do not need to check for CONFIG_CMD_USB like we do with CONFIG_MXC_SPI since the USB subsystem will error out of the compile for us. Additionally, the following behaviors have changed; * Smartbook "preboot" should not set input and output to USB keyboard as there is no display support * board_eth_init is implemented such that it does not cause U-Boot to report an explicit failure ("CPU Net Initialization Failed"). Since Ethernet is implemented via USB (fixed on Smarttop, pluggable on Smartbook, and handled by "usb start") - the warning that is left ("No ethernet found") is perfectly reasonable at the point it is printed since the USB system hasn't been started and nothing has been probed yet. Signed-off-by: Matt Sealey <matt@genesi-usa.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Marek Vasut <marex@denx.de>
Diffstat (limited to 'board/genesi/mx51_efikamx/Makefile')
-rw-r--r--board/genesi/mx51_efikamx/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/board/genesi/mx51_efikamx/Makefile b/board/genesi/mx51_efikamx/Makefile
index bd2174f..f95356f 100644
--- a/board/genesi/mx51_efikamx/Makefile
+++ b/board/genesi/mx51_efikamx/Makefile
@@ -27,11 +27,7 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).o
-COBJS := efikamx.o
-
-ifdef CONFIG_CMD_USB
-COBJS += efikamx-usb.o
-endif
+COBJS := efikamx.o efikamx-usb.o
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))