9
0
Fork 0

Remove unused lpc17_usbinitialize()

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@2915 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo 2010-09-03 15:36:09 +00:00
parent 0653c6e306
commit b12a45384c
5 changed files with 6 additions and 28 deletions

View File

@ -1,7 +1,7 @@
/****************************************************************************
* arch/arm/src/common/up_initialize.c
*
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
* Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@ -161,7 +161,7 @@ void up_initialize(void)
up_netinitialize();
/* Initializ USB */
/* Initialize USB */
up_usbinitialize();

View File

@ -1,7 +1,7 @@
/****************************************************************************
* arch/hc/src/common/up_initialize.c
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@ -160,7 +160,7 @@ void up_initialize(void)
up_netinitialize();
/* Initializ USB */
/* Initialize USB */
up_usbinitialize();

View File

@ -1,7 +1,7 @@
/****************************************************************************
* arch/sh/src/common/up_initialize.c
*
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@ -152,7 +152,7 @@ void up_initialize(void)
up_netinitialize();
/* Initializ USB */
/* Initialize USB */
up_usbinitialize();

View File

@ -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 */

View File

@ -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