[U-Boot] [PATCH] nios2: remove asm/psr.h

Thomas Chou thomas at wytron.com.tw
Tue Oct 13 15:14:50 CEST 2015



On 10/07/2015 08:56 PM, Thomas Chou wrote:
> Remove asm/psr.h, which is not used.
> Also clean up asm/sections.h and unaligned.h.
>
> Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
> ---
>   arch/nios2/include/asm/psr.h       | 12 ------------
>   arch/nios2/include/asm/sections.h  | 10 ----------
>   arch/nios2/include/asm/unaligned.h |  5 -----
>   3 files changed, 27 deletions(-)
>   delete mode 100644 arch/nios2/include/asm/psr.h
>

Applied to u-boot-nios.

> diff --git a/arch/nios2/include/asm/psr.h b/arch/nios2/include/asm/psr.h
> deleted file mode 100644
> index 3ebb2a0..0000000
> --- a/arch/nios2/include/asm/psr.h
> +++ /dev/null
> @@ -1,12 +0,0 @@
> -/*
> - * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
> - * Scott McNutt <smcnutt at psyent.com>
> - *
> - * SPDX-License-Identifier:	GPL-2.0+
> - */
> -
> -#ifndef __ASM_NIOS2_PSR_H_
> -#define __ASM_NIOS2_PSR_H_
> -
> -
> -#endif /* __ASM_NIOS2_PSR_H_ */
> diff --git a/arch/nios2/include/asm/sections.h b/arch/nios2/include/asm/sections.h
> index f0da75d..2b8c516 100644
> --- a/arch/nios2/include/asm/sections.h
> +++ b/arch/nios2/include/asm/sections.h
> @@ -1,11 +1 @@
> -/*
> - * Copyright (c) 2012 The Chromium OS Authors.
> - * SPDX-License-Identifier:	GPL-2.0+
> - */
> -
> -#ifndef __ASM_NIOS2_SECTIONS_H
> -#define __ASM_NIOS2_SECTIONS_H
> -
>   #include <asm-generic/sections.h>
> -
> -#endif
> diff --git a/arch/nios2/include/asm/unaligned.h b/arch/nios2/include/asm/unaligned.h
> index 779117c..6cecbbb 100644
> --- a/arch/nios2/include/asm/unaligned.h
> +++ b/arch/nios2/include/asm/unaligned.h
> @@ -1,6 +1 @@
> -#ifndef _ASM_NIOS2_UNALIGNED_H
> -#define _ASM_NIOS2_UNALIGNED_H
> -
>   #include <asm-generic/unaligned.h>
> -
> -#endif /* _ASM_NIOS2_UNALIGNED_H */
>


More information about the U-Boot mailing list