Skip to contentSkip to conversation

mpc83xx/mvBLM7: add usb commands and cleanup.

PATCH New Andre Schwarz 2 participants 2 messages May 3, 2010 – May 8, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mpc83xx/mvBLM7: add usb commands and cleanup.

Add USB commands.
Rename autoscript to bootscript.
Add automatic bootscript image generation to makefile.

---
 board/matrix_vision/mvblm7/Makefile          |    1 +
 board/matrix_vision/mvblm7/bootscript        |   43 ++++++++++++++++++++++++++
 board/matrix_vision/mvblm7/mvblm7_autoscript |   43 --------------------------
 include/configs/MVBLM7.h                     |    6 +++
 4 files changed, 50 insertions(+), 43 deletions(-)
 create mode 100644 board/matrix_vision/mvblm7/bootscript
 delete mode 100644 board/matrix_vision/mvblm7/mvblm7_autoscript
board/matrix_vision/mvblm7/Makefile +1 -0
index 504935f..b3e3e0b 100644
@@ -32,6 +32,7 @@ SOBJS	:= $(addprefix $(obj),$(SOBJS))
 
 $(LIB):	$(obj).depend $(OBJS)
 	$(AR) $(ARFLAGS) $@ $(OBJS)
+	@mkimage -T script -C none -n M7_script -d bootscript bootscript.img
 
 clean:
 	rm -f $(SOBJS) $(OBJS)
board/matrix_vision/mvblm7/bootscript new file +43 -0

43 lines not on this page · raw message

board/matrix_vision/mvblm7/mvblm7_autoscript deleted +0 -43

43 lines not on this page · raw message

include/configs/MVBLM7.h +6 -0
index f8b016f..b66807f 100644
@@ -234,7 +234,11 @@
 #define CONFIG_BOOTP_SEND_HOSTNAME
 
 /* USB */
+#define CONFIG_SYS_USB_HOST
+#define CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_FSL
 #define CONFIG_HAS_FSL_DR_USB
+#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
 
 /*
  * Environment
@@ -267,6 +271,8 @@
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_I2C
 #define CONFIG_CMD_FPGA
+#define CONFIG_CMD_USB
+#define CONFIG_DOS_PARTITION
 
 #undef CONFIG_WATCHDOG
 
Signature · 1 line
1.6.0.4
Applied
#1 lore raw

PATCH 1/1 mpc83xx/mvBLM7: add usb commands and cleanup.

Quoted 6 lines · On Mon, 3 May 2010 13:22:31 +0200 Andre Schwarz…

Add USB commands.
Rename autoscript to bootscript.
Add automatic bootscript image generation to makefile.

---

applied.

Thanks,

Kim