public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] arc: add empty asm/processor.h to satisfy compilation of USB code
@ 2015-11-12 21:57 Alexey Brodkin
  2015-11-17 21:46 ` Alexey Brodkin
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Brodkin @ 2015-11-12 21:57 UTC (permalink / raw)
  To: u-boot

common/usb.c unconditionally includes <asm/processor.h>
And now to allow USB support on ARC boards we have to have that header.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
---
 arch/arc/include/asm/processor.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 arch/arc/include/asm/processor.h

diff --git a/arch/arc/include/asm/processor.h b/arch/arc/include/asm/processor.h
new file mode 100644
index 0000000..6355423
--- /dev/null
+++ b/arch/arc/include/asm/processor.h
@@ -0,0 +1,12 @@
+/*
+ * Copyright (C) 2015 Synopsys, Inc. All rights reserved.
+ *
+ * SPDX-License-Identifier:	GPL-2.0+
+ */
+
+#ifndef _ASM_ARC_PROCESSOR_H
+#define _ASM_ARC_PROCESSOR_H
+
+/* This file is required by some generic code like USB etc */
+
+#endif /* _ASM_ARC_PROCESSOR_H */
-- 
2.4.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-17 21:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-12 21:57 [U-Boot] [PATCH] arc: add empty asm/processor.h to satisfy compilation of USB code Alexey Brodkin
2015-11-17 21:46 ` Alexey Brodkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox