Skip to contentSkip to conversation

AT91: remove non supported board AT91RM9200DF macro

PATCH New Jean-Christophe PLAGNIOL-VILLARD 2 participants 4 messages Dec 2, 2008 – Dec 15, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 AT91: remove non supported board AT91RM9200DF macro

---
 cpu/arm920t/start.S |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
cpu/arm920t/start.S +2 -2
index 5143cfc..fbcfe6d 100644
@@ -118,7 +118,7 @@ start_code:
 	bl coloured_LED_init
 	bl red_LED_on
 
-#if	defined(CONFIG_AT91RM9200DK) || defined(CONFIG_AT91RM9200EK) || defined(CONFIG_AT91RM9200DF)
+#if	defined(CONFIG_AT91RM9200DK) || defined(CONFIG_AT91RM9200EK)
 	/*
 	 * relocate exception table
 	 */
@@ -258,7 +258,7 @@ cpu_init_crit:
 	 * find a lowlevel_init.S in your board directory.
 	 */
 	mov	ip, lr
-#if	defined(CONFIG_AT91RM9200EK) || defined(CONFIG_AT91RM9200DF)
+#if	defined(CONFIG_AT91RM9200EK)
 
 #else
 	bl	lowlevel_init
Signature · 1 line
1.5.6.5
#1 lore raw

PATCH 1/1 usb_kbd: fix usb_kbd_deregister when DEVICE_DEREGISTER not enable

---
 common/usb_kbd.c  |    4 ++++
 include/devices.h |    2 ++
 2 files changed, 6 insertions(+), 0 deletions(-)
common/usb_kbd.c +4 -0
index cf14560..89e6ee7 100644
@@ -211,7 +211,11 @@ int drv_usb_kbd_init(void)
 /* deregistering the keyboard */
 int usb_kbd_deregister(void)
 {
+#ifdef CONFIG_SYS_DEVICE_DEREGISTER
 	return device_deregister(DEVNAME);
+#else
+	return 1;
+#endif
 }
 
 /**************************************************************************
include/devices.h +2 -0
index 6b78d58..20ddfc4 100644
@@ -91,7 +91,9 @@ extern char *stdio_names[MAX_FILES];
  */
 int	device_register (device_t * dev);
 int	devices_init (void);
+#ifdef CONFIG_SYS_DEVICE_DEREGISTER
 int	device_deregister(char *devname);
+#endif
 struct list_head* device_get_list(void);
 device_t* device_get_by_name(char* name);
 device_t* device_clone(device_t *dev);
Signature · 1 line
1.5.6.5
#3 lore raw

PATCH 1/1 usb_kbd: fix usb_kbd_deregister when DEVICE_DEREGISTER not enable

Hello,

2008/12/14 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>:

Quoted 7 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 5 lines
---
 common/usb_kbd.c  |    4 ++++
 include/devices.h |    2 ++
 2 files changed, 6 insertions(+), 0 deletions(-)

ping

pong...
Applied to u-boot-usb.

Thanks.

Remy