Skip to contentSkip to conversation

MPC824x: remove obsolete "PN62" board

PATCH New Wolfgang Denk 2 participants 2 messages Nov 11, 2013

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

PATCH 1/1 MPC824x: remove obsolete "PN62" board

The MPC824x processors have long reached EOL, and the PN62 board has not seen any board-specific updates for more than a decade. It is now causing build issues. Instead of wasting time on things nobody is interested in any more, we rather drop this board.

Cc Wolfgang Grandegger <[email protected]>
cc Tom Rini <[email protected]>

---
Tom, as there is zero activity for the MPC82xx tree I don't invest the efforts in pushing this patch there and then sending a pull request. Can you please apply it directly? Thanks in advance -- wd

 CREDITS                             |   2 +-
 arch/powerpc/cpu/mpc824x/cpu_init.c |   6 +-
 board/pn62/Makefile                 |   8 -
 board/pn62/cmd_pn62.c               | 146 ------------------
 board/pn62/misc.c                   | 219 ---------------------------
 board/pn62/pn62.c                   | 171 ----------------------
 board/pn62/pn62.h                   | 145 ------------------
 boards.cfg                          |   1 -
 doc/README.scrapyard                |   3 +-
 drivers/net/pcnet.c                 |  10 --
 include/configs/PN62.h              | 285 ------------------------------------
 11 files changed, 5 insertions(+), 991 deletions(-)
 delete mode 100644 board/pn62/Makefile
 delete mode 100644 board/pn62/cmd_pn62.c
 delete mode 100644 board/pn62/misc.c
 delete mode 100644 board/pn62/pn62.c
 delete mode 100644 board/pn62/pn62.h
 delete mode 100644 include/configs/PN62.h
CREDITS +1 -1
index 3b657e9..52f289e 100644
@@ -143,7 +143,7 @@ W: www.freescale.com
 
 N: Dr. Wolfgang Grandegger
 E: wg at denx.de
-D: Support for Interphase 4539 T1/E1/J1 PMC, PN62, CCM, SCM boards
+D: Support for Interphase 4539 T1/E1/J1 PMC, CCM, SCM boards
 W: www.denx.de
 
 N: Peter Figuli
arch/powerpc/cpu/mpc824x/cpu_init.c +2 -4
index 37d796e..47ac18e 100644
@@ -52,7 +52,7 @@ cpu_init_f (void)
     CONFIG_WRITE_HALFWORD(PCICR, 0x06); /* Bus Master, respond to PCI memory space acesses*/
 /*    CONFIG_WRITE_HALFWORD(PCISR, 0xffff); */ /*reset PCISR*/
 
-#if defined(CONFIG_MUSENKI) || defined(CONFIG_PN62)
+#if defined(CONFIG_MUSENKI)
 /* Why is this here, you ask?  Try, just try setting 0x8000
  * in PCIACR with CONFIG_WRITE_HALFWORD()
  * this one was a stumper, and we are annoyed
@@ -142,9 +142,7 @@ cpu_init_f (void)
 
 	CONFIG_READ_WORD(PICR2, val);
 	val= val & ~ (PICR2_CF_SNOOP_WS_MASK | PICR2_CF_APHASE_WS_MASK); /*mask off waitstate bits*/
-#ifndef CONFIG_PN62
 	val |= PICR2_CF_SNOOP_WS_1WS | PICR2_CF_APHASE_WS_1WS; /*1 wait state*/
-#endif
 	CONFIG_WRITE_WORD(PICR2, val);
 
 	CONFIG_WRITE_WORD(EUMBBAR, CONFIG_SYS_EUMB_ADDR);
@@ -186,7 +184,7 @@ cpu_init_f (void)
  *  should define CONFIG_SYS_ACTORW to 0 if they don't want to set it, or even, if
  *  its not set, we define it to zero in this file
  */
-#if defined(CONFIG_CU824) || defined(CONFIG_PN62)
+#if defined(CONFIG_CU824)
 	CONFIG_WRITE_WORD(MCCR4,
 	(CONFIG_SYS_PRETOACT << MCCR4_PRETOACT_SHIFT) |
 	(CONFIG_SYS_ACTTOPRE << MCCR4_ACTTOPRE_SHIFT) |
board/pn62/Makefile deleted +0 -8
deleted file mode 100644
index 7572ed8..0000000
@@ -1,8 +0,0 @@
-#
-# (C) Copyright 2000-2006
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	= pn62.o cmd_pn62.o misc.o
board/pn62/cmd_pn62.c deleted +0 -146

146 lines not on this page · raw message

board/pn62/misc.c deleted +0 -219

219 lines not on this page · raw message

board/pn62/pn62.c deleted +0 -171

171 lines not on this page · raw message

board/pn62/pn62.h deleted +0 -145

145 lines not on this page · raw message

boards.cfg +0 -1
index 375f2d4..1a48ff0 100644
@@ -630,7 +630,6 @@ Active  powerpc     mpc824x        -           -               hidden_dragon
 Active  powerpc     mpc824x        -           -               linkstation         linkstation_HGLAN                    linkstation:HGLAN=1                                                                                                               Guennadi Liakhovetski <[email protected]>
 Active  powerpc     mpc824x        -           -               musenki             MUSENKI                              -                                                                                                                                 Jim Thompson <[email protected]>
 Active  powerpc     mpc824x        -           -               mvblue              MVBLUE                               -                                                                                                                                 -
-Active  powerpc     mpc824x        -           -               pn62                PN62                                 -                                                                                                                                 Wolfgang Grandegger <[email protected]>
 Active  powerpc     mpc824x        -           -               sandpoint           Sandpoint8240                        -                                                                                                                                 Wolfgang Denk <[email protected]>
 Active  powerpc     mpc824x        -           -               sandpoint           Sandpoint8245                        -                                                                                                                                 Jim Thompson <[email protected]>
 Active  powerpc     mpc824x        -           etin            -                   debris                               -                                                                                                                                 Sangmoon Kim <[email protected]>
doc/README.scrapyard +2 -1
index 7cfb3a3..e1d5f62 100644
@@ -11,7 +11,8 @@ easily if here is something they might want to dig for...
 
 Board            Arch        CPU            Commit      Removed     Last known maintainer/contact
 =================================================================================================
-omap1510inn      arm         arm925t        -           -           Kshitij Gupta <[email protected]>
+pn62		 powerpc     mpc824x	    -		-	    Wolfgang Grandegger <[email protected]>
+omap1510inn      arm         arm925t        0610a16	2013-10-07  Kshitij Gupta <[email protected]>
 CANBT            powerpc     405CR          fb8f4fd     2013-08-07  Matthias Fuchs <[email protected]>
 Alaska8220       powerpc     mpc8220        d6ed322     2013-05-11
 Yukon8220        powerpc     mpc8220        d6ed322     2013-05-11
drivers/net/pcnet.c +0 -10
index 283cb48..46cef5f 100644
@@ -290,16 +290,6 @@ static int pcnet_init (struct eth_device *dev, bd_t * bis)
 	/* Switch pcnet to 32bit mode */
 	pcnet_write_bcr (dev, 20, 2);
 
-#ifdef CONFIG_PN62
-	/* Setup LED registers */
-	val = pcnet_read_bcr (dev, 2) | 0x1000;
-	pcnet_write_bcr (dev, 2, val);	/* enable LEDPE */
-	pcnet_write_bcr (dev, 4, 0x5080);	/* 100MBit */
-	pcnet_write_bcr (dev, 5, 0x40c0);	/* LNKSE */
-	pcnet_write_bcr (dev, 6, 0x4090);	/* TX Activity */
-	pcnet_write_bcr (dev, 7, 0x4084);	/* RX Activity */
-#endif
-
 	/* Set/reset autoselect bit */
 	val = pcnet_read_bcr (dev, 2) & ~2;
 	val |= 2;
include/configs/PN62.h deleted +0 -285

285 lines not on this page · raw message

Signature · 1 line
1.8.3.1
#1 lore raw

PATCH 1/1 MPC824x: remove obsolete "PN62" board

Quoted 8 lines · Wolfgang Denk

The MPC824x processors have long reached EOL, and the PN62 board has not seen any board-specific updates for more than a decade. It is now causing build issues. Instead of wasting time on things nobody is interested in any more, we rather drop this board.

Cc Wolfgang Grandegger <[email protected]>
cc Tom Rini <[email protected]>

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131111/36964acb/attachment.pgp>