[U-Boot] [PATCH] arc: add empty asm/processor.h to satisfy compilation of USB code
Alexey Brodkin
Alexey.Brodkin at synopsys.com
Tue Nov 17 22:46:21 CET 2015
Hi,
On Fri, 2015-11-13 at 00:57 +0300, Alexey Brodkin wrote:
> 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 at 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 */
Applied, thanks!
-Alexey
More information about the U-Boot
mailing list