Skip to contentSkip to conversation

Remove unused files

PATCH New Masahiro Yamada 3 participants 3 messages Oct 30, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove unused files

[1] arch/arm/include/asm/arch-at91/at91_shdwn.h
The top9000 was the last board to use this header file. It was removed by commit d58a9451e733 (ppc/arm: zap EMK boards).

[2] board/matrix_vision/common/*
Some Matrix Vision boards were dropped by commit e7a565638a7a (powerpc: mpc83xx: remove board support for MERGERBOX and MVBLM7) and commit af55e35d3389
(powerpc: mpc5xxx: remove board support for MVBC_P and MVSMR). Since then these files have been unused.

[3] include/usb/omap1510_udc.h
The omap5912osk was the last board to use this header file. It was removed by commit 62d636aa2ac2
(omap: remove omap5912osk board support).

---

 arch/arm/include/asm/arch-at91/at91_shdwn.h |  35 ------
 board/matrix_vision/common/Makefile         |   8 --
 board/matrix_vision/common/mv_common.c      | 112 ------------------
 board/matrix_vision/common/mv_common.h      |   9 --
 include/usb/omap1510_udc.h                  | 174 ----------------------------
 5 files changed, 338 deletions(-)
 delete mode 100644 arch/arm/include/asm/arch-at91/at91_shdwn.h
 delete mode 100644 board/matrix_vision/common/Makefile
 delete mode 100644 board/matrix_vision/common/mv_common.c
 delete mode 100644 board/matrix_vision/common/mv_common.h
 delete mode 100644 include/usb/omap1510_udc.h
arch/arm/include/asm/arch-at91/at91_shdwn.h deleted +0 -35
deleted file mode 100644
index 18d9ea6..0000000
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2010
- * Reinhard Meyer, reinhard.meyer at emk-elektronik.de
- *
- * Shutdown Controller
- * Based on AT91SAM9XE datasheet
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#ifndef AT91_SHDWN_H
-#define AT91_SHDWN_H
-
-#ifndef __ASSEMBLY__
-
-struct at91_shdwn {
-	u32	cr;	/* Control Rer.    WO */
-	u32	mr;	/* Mode Register   RW 0x00000003 */
-	u32	sr;	/* Status Register RO 0x00000000 */
-};
-
-#endif /* __ASSEMBLY__ */
-
-#define AT91_SHDW_CR_KEY	0xa5000000
-#define AT91_SHDW_CR_SHDW	0x00000001
-
-#define AT91_SHDW_MR_RTTWKEN	0x00010000
-#define AT91_SHDW_MR_CPTWK0	0x000000f0
-#define AT91_SHDW_MR_WKMODE0H2L	0x00000002
-#define AT91_SHDW_MR_WKMODE0L2H	0x00000001
-
-#define AT91_SHDW_SR_RTTWK	0x00010000
-#define AT91_SHDW_SR_WAKEUP0	0x00000001
-
-#endif
board/matrix_vision/common/Makefile deleted +0 -8
deleted file mode 100644
index 699da1c..0000000
@@ -1,8 +0,0 @@
-#
-# (C) Copyright 2006
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	= mv_common.o
board/matrix_vision/common/mv_common.c deleted +0 -112

112 lines not on this page · raw message

board/matrix_vision/common/mv_common.h deleted +0 -9
deleted file mode 100644
index 3693943..0000000
@@ -1,9 +0,0 @@
-/*
- * Copyright 2008 Matrix Vision GmbH
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-
-extern int mv_load_fpga(void);
-extern void mv_reset_environment(void);
include/usb/omap1510_udc.h deleted +0 -174

174 lines not on this page · raw message

Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 Remove unused files

Dear Masahiro Yamada,

Quoted 3 lines · In message <[email protected]> you…

[1] arch/arm/include/asm/arch-at91/at91_shdwn.h
The top9000 was the last board to use this header file. It was removed by commit d58a9451e733 (ppc/arm: zap EMK boards).

Mea culpa. Sorry for missing that.

Quoted 14 lines

---

 arch/arm/include/asm/arch-at91/at91_shdwn.h |  35 ------
 board/matrix_vision/common/Makefile         |   8 --
 board/matrix_vision/common/mv_common.c      | 112 ------------------
 board/matrix_vision/common/mv_common.h      |   9 --
 include/usb/omap1510_udc.h                  | 174 ----------------------------
 5 files changed, 338 deletions(-)
 delete mode 100644 arch/arm/include/asm/arch-at91/at91_shdwn.h
 delete mode 100644 board/matrix_vision/common/Makefile
 delete mode 100644 board/matrix_vision/common/mv_common.c
 delete mode 100644 board/matrix_vision/common/mv_common.h
 delete mode 100644 include/usb/omap1510_udc.h

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
For those who like this sort of thing, this is the sort of thing they
like.                                               - Abraham Lincoln
#2 lore raw

PATCH 1/1 Remove unused files

In reply to Masahiro Yamada
Quoted 19 lines · On Thu, 30 Oct 2014 18:28:01 +0900 Masahiro Yamada <[email protected]>…

[1] arch/arm/include/asm/arch-at91/at91_shdwn.h
The top9000 was the last board to use this header file. It was removed by commit d58a9451e733 (ppc/arm: zap EMK boards).

[2] board/matrix_vision/common/*
Some Matrix Vision boards were dropped by commit e7a565638a7a (powerpc: mpc83xx: remove board support for MERGERBOX and MVBLM7) and commit af55e35d3389
(powerpc: mpc5xxx: remove board support for MVBC_P and MVSMR). Since then these files have been unused.

[3] include/usb/omap1510_udc.h
The omap5912osk was the last board to use this header file. It was removed by commit 62d636aa2ac2
(omap: remove omap5912osk board support).

---

Quoted 11 lines
 arch/arm/include/asm/arch-at91/at91_shdwn.h |  35 ------
 board/matrix_vision/common/Makefile         |   8 --
 board/matrix_vision/common/mv_common.c      | 112 ------------------
 board/matrix_vision/common/mv_common.h      |   9 --
 include/usb/omap1510_udc.h                  | 174 ----------------------------
 5 files changed, 338 deletions(-)
 delete mode 100644 arch/arm/include/asm/arch-at91/at91_shdwn.h
 delete mode 100644 board/matrix_vision/common/Makefile
 delete mode 100644 board/matrix_vision/common/mv_common.c
 delete mode 100644 board/matrix_vision/common/mv_common.h
 delete mode 100644 include/usb/omap1510_udc.h

applied to u-boot-staging. Thanks!

Anatolij