* [U-Boot] [PATCH] nios2: remove asm/psr.h
@ 2015-10-07 12:56 Thomas Chou
2015-10-08 21:00 ` Marek Vasut
2015-10-13 13:14 ` Thomas Chou
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Chou @ 2015-10-07 12:56 UTC (permalink / raw)
To: u-boot
Remove asm/psr.h, which is not used.
Also clean up asm/sections.h and unaligned.h.
Signed-off-by: Thomas Chou <thomas@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
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@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 */
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] nios2: remove asm/psr.h
2015-10-07 12:56 [U-Boot] [PATCH] nios2: remove asm/psr.h Thomas Chou
@ 2015-10-08 21:00 ` Marek Vasut
2015-10-13 13:14 ` Thomas Chou
1 sibling, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2015-10-08 21:00 UTC (permalink / raw)
To: u-boot
On Wednesday, October 07, 2015 at 02:56:05 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@wytron.com.tw>
Cool :-)
Reviewed-by: Marek Vasut <marex@denx.de>
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] nios2: remove asm/psr.h
2015-10-07 12:56 [U-Boot] [PATCH] nios2: remove asm/psr.h Thomas Chou
2015-10-08 21:00 ` Marek Vasut
@ 2015-10-13 13:14 ` Thomas Chou
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Chou @ 2015-10-13 13:14 UTC (permalink / raw)
To: u-boot
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@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@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 */
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-13 13:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-07 12:56 [U-Boot] [PATCH] nios2: remove asm/psr.h Thomas Chou
2015-10-08 21:00 ` Marek Vasut
2015-10-13 13:14 ` Thomas Chou
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox