This is an automated email from the ASF dual-hosted git repository. davids5 pushed a commit to branch pr347 in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/pr347 by this push: new e233d3f imxrt:usbotg Nxstyle fixes e233d3f is described below commit e233d3f605cf25d4cde2ddd6b9a8e0ef0a2aa4f8 Author: David Sidrane <david.sidr...@nscdg.com> AuthorDate: Sat Feb 29 13:27:37 2020 -0800 imxrt:usbotg Nxstyle fixes --- arch/arm/src/imxrt/hardware/imxrt_usbotg.h | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) diff --git a/arch/arm/src/imxrt/hardware/imxrt_usbotg.h b/arch/arm/src/imxrt/hardware/imxrt_usbotg.h index 3ddbb5f..ca71784 100644 --- a/arch/arm/src/imxrt/hardware/imxrt_usbotg.h +++ b/arch/arm/src/imxrt/hardware/imxrt_usbotg.h @@ -1,4 +1,4 @@ -/*************************************************************************** +/******************************************************************************************** * arch/arm/src/imxrt/hardware/imxrt_usbotg.h * * Copyright (C) 2009-2011, 2019 Gregory Nutt. All rights reserved. @@ -32,24 +32,24 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ***************************************************************************/ + ********************************************************************************************/ #ifndef __ARCH_ARM_SRC_IMXRT_HARDWARE_IMXRT_USBOTG_H #define __ARCH_ARM_SRC_IMXRT_HARDWARE_IMXRT_USBOTG_H -/*************************************************************************** +/******************************************************************************************** * Included Files - ***************************************************************************/ + ********************************************************************************************/ #include <nuttx/config.h> -/*************************************************************************** +/******************************************************************************************** * Pre-processor Definitions - ***************************************************************************/ + ********************************************************************************************/ #define IMXRT_EHCI_NRHPORT 1 /* There is only a single root hub port */ -/* USBOTG register offsets (with respect to IMXRT_USB_BASE) *************************************/ +/* USBOTG register offsets (with respect to IMXRT_USB_BASE) *********************************/ /* 0x000 - 0x0ff: Reserved */ @@ -135,7 +135,7 @@ #define IMXRT_USBNC_USB_OTG1_CTRL_OFFSET 0x0800 /* OTG1 Control Register */ #define IMXRT_USBNC_USB_OTG1_PHY_CTRL_0_OFFSET 0x0818 /* OTG1 Phy Control Register */ -/* USBOTG register (virtual) addresses **********************************************************/ +/* USBOTG register (virtual) addresses ******************************************************/ /* Device/host capability registers */ @@ -217,7 +217,7 @@ #define IMXRT_USBNC_USB_OTG1_CTRL (IMXRT_USB_BASE + IMXRT_USBNC_USB_OTG1_CTRL_OFFSET) #define IMXRT_USBNC_USB_OTG1_PHY_CTRL_0 (IMXRT_USB_BASE + IMXRT_USBNC_USB_OTG1_PHY_CTRL_0_OFFSET) -/* USBOTG register bit definitions ******************************************/ +/* USBOTG register bit definitions **********************************************************/ /* Device/host capability registers */ @@ -730,16 +730,4 @@ /* Bit 30: Reserved */ #define USBNC_WIR (1 << 31) /* Bit 31: Wake up interrupt request */ -/**************************************************************************** - * Public Types - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - -/**************************************************************************** - * Public Functions - ****************************************************************************/ - #endif /* __ARCH_ARM_SRC_IMXRT_HARDWARE_IMXRT_USBOTG_H */