From 00fd848209563417422f3f81b41e8015a04bba32 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 2 May 2015 14:00:12 -0600 Subject: [PATCH] SAMA5 EHCI: Fix some compile issues when hub support is enabled --- arch/arm/src/sama5/sam_ehci.c | 2 +- arch/arm/src/sama5/sam_usbhost.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/sama5/sam_ehci.c b/arch/arm/src/sama5/sam_ehci.c index bf6d9a9e88..86bb52eccf 100644 --- a/arch/arm/src/sama5/sam_ehci.c +++ b/arch/arm/src/sama5/sam_ehci.c @@ -2764,7 +2764,7 @@ static int sam_qh_cancel(struct sam_qh_s *qh, uint32_t **bp, void *arg) */ **bp = qh->hw.hlp; - cp15_flush_idcache((uintptr_t)*bp, (uintptr_t)*bp + sizeof(uint32_t)); + cp15_flush_dcache((uintptr_t)*bp, (uintptr_t)*bp + sizeof(uint32_t)); /* Re-enable the schedules (if they were enabled before. */ diff --git a/arch/arm/src/sama5/sam_usbhost.h b/arch/arm/src/sama5/sam_usbhost.h index b04aa83eb5..a40e46e772 100644 --- a/arch/arm/src/sama5/sam_usbhost.h +++ b/arch/arm/src/sama5/sam_usbhost.h @@ -136,6 +136,7 @@ enum usbhost_trace1codes_e EHCI_VTRACE1_TOPHALF, /* EHCI Interrupt top half */ EHCI_VTRACE1_AAINTR, /* EHCI Async Advance Interrupt */ EHCI_VTRACE1_USBINTR, /* EHCI USB Interrupt (USBINT) Interrupt */ + EHCI_VTRACE1_CLASSENUM, /* EHCI Enumerate the device */ EHCI_VTRACE1_ENUM_DISCONN, /* EHCI Enumeration not connected */ EHCI_VTRACE1_INITIALIZING, /* EHCI Initializing EHCI Stack */ EHCI_VTRACE1_HCCPARAMS, /* EHCI HCCPARAMS */ @@ -186,7 +187,6 @@ enum usbhost_trace1codes_e EHCI_VTRACE2_PORTSC_CONNECTED, /* EHCI RHPort connected */ EHCI_VTRACE2_PORTSC_DISCONND, /* EHCI RHport disconnected */ EHCI_VTRACE2_MONWAKEUP, /* EHCI RHPort connected wakeup */ - EHCI_VTRACE2_CLASSENUM, /* EHCI RHPort CLASS enumeration */ EHCI_VTRACE2_EPALLOC, /* EHCI EPALLOC */ EHCI_VTRACE2_CTRLINOUT, /* EHCI CTRLIN/OUT */ EHCI_VTRACE2_HCIVERSION, /* EHCI HCIVERSION */