diff options
| author | hathach <[email protected]> | 2021-02-23 23:09:48 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-02-23 23:09:48 +0700 |
| commit | 451650fa32b245f2dc02c366b25fa802b75fbb1b (patch) | |
| tree | 96f5c6badf677f4306439561f173ded8a8a51dfd /src | |
| parent | afab5bf497ce429a60eee1642e8c58560f4b6147 (diff) | |
move ehci and ohci to portable folder
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/ehci/ehci.c (renamed from src/host/ehci/ehci.c) | 4 | ||||
| -rw-r--r-- | src/portable/ehci/ehci.h (renamed from src/host/ehci/ehci.h) | 2 | ||||
| -rw-r--r-- | src/portable/ohci/ohci.c (renamed from src/host/ohci/ohci.c) | 8 | ||||
| -rw-r--r-- | src/portable/ohci/ohci.h (renamed from src/host/ohci/ohci.h) | 2 |
4 files changed, 7 insertions, 9 deletions
diff --git a/src/host/ehci/ehci.c b/src/portable/ehci/ehci.c index 5626abcc8..e2327fdc0 100644 --- a/src/host/ehci/ehci.c +++ b/src/portable/ehci/ehci.c @@ -35,8 +35,8 @@ //--------------------------------------------------------------------+ #include "osal/osal.h" -#include "../hcd.h" -#include "../usbh_hcd.h" +#include "host/hcd.h" +#include "host/usbh_hcd.h" #include "ehci.h" //--------------------------------------------------------------------+ diff --git a/src/host/ehci/ehci.h b/src/portable/ehci/ehci.h index d8218a5fd..212f605b1 100644 --- a/src/host/ehci/ehci.h +++ b/src/portable/ehci/ehci.h @@ -33,8 +33,6 @@ #ifndef _TUSB_EHCI_H_ #define _TUSB_EHCI_H_ -#include "common/tusb_common.h" -#include "../hcd.h" /* Abbreviation * HC: Host Controller diff --git a/src/host/ohci/ohci.c b/src/portable/ohci/ohci.c index 44acebf72..ee294856b 100644 --- a/src/host/ohci/ohci.c +++ b/src/portable/ohci/ohci.c @@ -26,14 +26,16 @@ #include <common/tusb_common.h> -#if TUSB_OPT_HOST_ENABLED && (CFG_TUSB_MCU == OPT_MCU_LPC175X_6X || CFG_TUSB_MCU == OPT_MCU_LPC40XX) +#if TUSB_OPT_HOST_ENABLED && \ + (CFG_TUSB_MCU == OPT_MCU_LPC175X_6X || CFG_TUSB_MCU == OPT_MCU_LPC40XX) + //--------------------------------------------------------------------+ // INCLUDE //--------------------------------------------------------------------+ #include "osal/osal.h" -#include "../hcd.h" -#include "../usbh_hcd.h" +#include "host/hcd.h" +#include "host/usbh_hcd.h" #include "ohci.h" // TODO remove diff --git a/src/host/ohci/ohci.h b/src/portable/ohci/ohci.h index 2915f8b00..7f9e55b21 100644 --- a/src/host/ohci/ohci.h +++ b/src/portable/ohci/ohci.h @@ -37,8 +37,6 @@ extern "C" { #endif -#include "common/tusb_common.h" - //--------------------------------------------------------------------+ // OHCI CONFIGURATION & CONSTANTS //--------------------------------------------------------------------+ |
