]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arc: add empty asm/processor.h to satisfy compilation of USB code
authorAlexey Brodkin <abrodkin@synopsys.com>
Thu, 12 Nov 2015 21:45:20 +0000 (00:45 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Tue, 17 Nov 2015 21:39:22 +0000 (00:39 +0300)
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 [new file with mode: 0644]

diff --git a/arch/arc/include/asm/processor.h b/arch/arc/include/asm/processor.h
new file mode 100644 (file)
index 0000000..6355423
--- /dev/null
@@ -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 */