summaryrefslogtreecommitdiff
path: root/nuttx/configs/nucleus2g
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-09-03 15:36:09 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-09-03 15:36:09 +0000
commit332e6cf157e354416e9d9864fc581fc6c54a8392 (patch)
treeb0b00306938e598051c8de0ed5b7eb74e536d06c /nuttx/configs/nucleus2g
parent5fd4464082c064fc73e0b160c7779cf1564056c5 (diff)
downloadpx4-nuttx-332e6cf157e354416e9d9864fc581fc6c54a8392.tar.gz
px4-nuttx-332e6cf157e354416e9d9864fc581fc6c54a8392.tar.bz2
px4-nuttx-332e6cf157e354416e9d9864fc581fc6c54a8392.zip
Remove unused lpc17_usbinitialize()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2915 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/nucleus2g')
-rwxr-xr-xnuttx/configs/nucleus2g/src/nucleus2g_internal.h10
-rwxr-xr-xnuttx/configs/nucleus2g/src/up_boot.c12
2 files changed, 0 insertions, 22 deletions
diff --git a/nuttx/configs/nucleus2g/src/nucleus2g_internal.h b/nuttx/configs/nucleus2g/src/nucleus2g_internal.h
index 6a84314ee..fe9551c33 100755
--- a/nuttx/configs/nucleus2g/src/nucleus2g_internal.h
+++ b/nuttx/configs/nucleus2g/src/nucleus2g_internal.h
@@ -144,16 +144,6 @@
extern void weak_function lpc17_sspinitialize(void);
-/************************************************************************************
- * Name: lpc17_usbinitialize
- *
- * Description:
- * Called to setup USB-related GPIO pins for the NUCLEUS-2G board.
- *
- ************************************************************************************/
-
-extern void weak_function lpc17_usbinitialize(void);
-
#endif /* __ASSEMBLY__ */
#endif /* _CONFIGS_NUCLEUS2G_SRC_NUCLEUS2G_INTERNAL_H */
diff --git a/nuttx/configs/nucleus2g/src/up_boot.c b/nuttx/configs/nucleus2g/src/up_boot.c
index 2871a1dd5..8e2a5c72c 100755
--- a/nuttx/configs/nucleus2g/src/up_boot.c
+++ b/nuttx/configs/nucleus2g/src/up_boot.c
@@ -101,18 +101,6 @@ void lpc17_boardinitialize(void)
}
#endif
- /* Initialize USB if 1) USBDEV is selected, 2) the USB controller is not
- * disabled, and 3) the weak function lpc17_usbinitialize() has been brought
- * into the build.
- */
-
-#if defined(CONFIG_USBDEV) && defined(CONFIG_LPC17_USBDEV)
- if (lpc17_usbinitialize)
- {
- lpc17_usbinitialize();
- }
-#endif
-
/* Configure on-board LEDs if LED support has been selected. */
#ifdef CONFIG_ARCH_LEDS