Skip to contentSkip to conversation

mpc83xx, abb: remove suvd3 board

PATCH New Heiko Schocher 4 participants 6 messages Feb 18, 2020 – May 20, 2020 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mpc83xx, abb: remove suvd3 board

the mpc83xxx suvd3 variant is not longer used, so
remove it.

---
Travis build:

https://travis-ci.org/hsdenx/u-boot-test/builds/651885101

 arch/powerpc/cpu/mpc83xx/Kconfig |   4 -
 board/keymile/km83xx/Kconfig     |  19 ----
 board/keymile/km83xx/MAINTAINERS |   2 -
 board/keymile/km83xx/km83xx.c    |  32 ------
 configs/suvd3_defconfig          | 184 -------------------------------
 include/configs/suvd3.h          |  34 ------
 scripts/config_whitelist.txt     |   1 -
 7 files changed, 276 deletions(-)
 delete mode 100644 configs/suvd3_defconfig
 delete mode 100644 include/configs/suvd3.h
arch/powerpc/cpu/mpc83xx/Kconfig +0 -4
index 5d7650294d..18808da37d 100644
@@ -106,10 +106,6 @@ config TARGET_KMCOGE5NE
 	bool "Support kmcoge5ne"
 	select VENDOR_KM
 
-config TARGET_SUVD3
-	bool "Support suvd3"
-	select VENDOR_KM
-
 config TARGET_KMTEGR1
 	bool "Support kmtegr1"
 	select VENDOR_KM
board/keymile/km83xx/Kconfig +0 -19
index 1011cc8b2c..94075ce70f 100644
@@ -57,25 +57,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
 
 endif
 
-if TARGET_SUVD3
-
-config SYS_BOARD
-	default "km83xx"
-
-config SYS_VENDOR
-	default "keymile"
-
-config SYS_CONFIG_NAME
-	default "suvd3"
-
-config BOARD_SPECIFIC_OPTIONS # dummy
-	def_bool y
-	select ARCH_MPC832X
-	imply CMD_CRAMFS
-	imply FS_CRAMFS
-
-endif
-
 if TARGET_TUXX1
 
 config SYS_BOARD
board/keymile/km83xx/MAINTAINERS +0 -2
index d2af983073..177c2c4970 100644
@@ -8,9 +8,7 @@ F:	configs/kmeter1_defconfig
 F:	include/configs/tuxx1.h
 F:	configs/kmopti2_defconfig
 F:	configs/kmtepr2_defconfig
-F:	include/configs/suvd3.h
 F:	configs/kmtegr1_defconfig
-F:	configs/suvd3_defconfig
 F:	configs/tuge1_defconfig
 F:	configs/tuxx1_defconfig
 
board/keymile/km83xx/km83xx.c +0 -32
index 23bbdcccac..e885486e3b 100644
@@ -98,27 +98,6 @@ const qe_iop_conf_t qe_iop_conf_tab[] = {
 	{0,  0, 0, 0, QE_IOP_TAB_END},
 };
 
-#if defined(CONFIG_SUVD3)
-const uint upma_table[] = {
-	0x1ffedc00, 0x0ffcdc80, 0x0ffcdc80, 0x0ffcdc04, /* Words 0 to 3 */
-	0x0ffcdc00, 0xffffcc00, 0xffffcc01, 0xfffffc01, /* Words 4 to 7 */
-	0xfffffc01, 0xfffffc01, 0xfffffc01, 0xfffffc01, /* Words 8 to 11 */
-	0xfffffc01, 0xfffffc01, 0xfffffc01, 0xfffffc01, /* Words 12 to 15 */
-	0xfffffc01, 0xfffffc01, 0xfffffc01, 0xfffffc01, /* Words 16 to 19 */
-	0xfffffc01, 0xfffffc01, 0xfffffc01, 0xfffffc01, /* Words 20 to 23 */
-	0x9cfffc00, 0x00fffc80, 0x00fffc80, 0x00fffc00, /* Words 24 to 27 */
-	0xffffec04, 0xffffec01, 0xfffffc01, 0xfffffc01, /* Words 28 to 31 */
-	0xfffffc01, 0xfffffc01, 0xfffffc01, 0xfffffc01, /* Words 32 to 35 */
-	0xfffffc01, 0xfffffc01, 0xfffffc01, 0xfffffc01, /* Words 36 to 39 */
-	0xfffffc01, 0xfffffc01, 0xfffffc01, 0xfffffc01, /* Words 40 to 43 */
-	0xfffffc01, 0xfffffc01, 0xfffffc01, 0xfffffc01, /* Words 44 to 47 */
-	0xfffffc01, 0xfffffc01, 0xfffffc01, 0xfffffc01, /* Words 48 to 51 */
-	0xfffffc01, 0xfffffc01, 0xfffffc01, 0xfffffc01, /* Words 52 to 55 */
-	0xfffffc01, 0xfffffc01, 0xfffffc01, 0xfffffc01, /* Words 56 to 59 */
-	0xfffffc01, 0xfffffc01, 0xfffffc01, 0xfffffc01  /* Words 60 to 63 */
-};
-#endif
-
 static int piggy_present(void)
 {
 	struct km_bec_fpga __iomem *base =
@@ -136,11 +115,6 @@ int board_early_init_r(void)
 {
 	struct km_bec_fpga *base =
 		(struct km_bec_fpga *)CONFIG_SYS_KMBEC_FPGA_BASE;
-#if defined(CONFIG_SUVD3)
-	immap_t *immap = (immap_t *) CONFIG_SYS_IMMR;
-	fsl_lbc_t *lbc = &immap->im_lbc;
-	u32 *mxmr = &lbc->mamr;
-#endif
 
 #if defined(CONFIG_ARCH_MPC8360)
 	unsigned short	svid;
@@ -176,12 +150,6 @@ int board_early_init_r(void)
 	/* enable Application Buffer */
 	setbits_8(&base->oprtl, OPRTL_XBUFENA);
 
-#if defined(CONFIG_SUVD3)
-	/* configure UPMA for APP1 */
-	upmconfig(UPMA, (uint *) upma_table,
-		sizeof(upma_table) / sizeof(uint));
-	out_be32(mxmr, CONFIG_SYS_MAMR);
-#endif
 	return 0;
 }
 
configs/suvd3_defconfig deleted +0 -184

184 lines not on this page · raw message

include/configs/suvd3.h deleted +0 -34
deleted file mode 100644
index d74707971b..0000000000
@@ -1,34 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Copyright (C) 2006 Freescale Semiconductor, Inc.
- *                    Dave Liu <[email protected]>
- *
- * Copyright (C) 2007 Logic Product Development, Inc.
- *                    Peter Barada <[email protected]>
- *
- * Copyright (C) 2007 MontaVista Software, Inc.
- *                    Anton Vorontsov <[email protected]>
- *
- * (C) Copyright 2010
- * Heiko Schocher, DENX Software Engineering, hs at denx.de.
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-/*
- * High Level Configuration Options
- */
-
-#define CONFIG_HOSTNAME		"suvd3"
-
-/* include common defines/options for all Keymile boards */
-#include "km/keymile-common.h"
-#include "km/km-powerpc.h"
-#include "km/km-mpc83xx.h"
-#include "km/km-mpc832x.h"
-
-#define CONFIG_SYS_MAMR	(MxMR_GPL_x4DIS | \
-			 0x0000c000 | \
-			 MxMR_WLFx_2X)
-#endif /* __CONFIG_H */
scripts/config_whitelist.txt +0 -1
index 874f268cb2..2c743b6bb3 100644
@@ -1747,7 +1747,6 @@ CONFIG_STV0991_HZ
 CONFIG_STV0991_HZ_CLOCK
 CONFIG_ST_SMI
 CONFIG_SUNXI_MAX_FB_SIZE
-CONFIG_SUVD3
 CONFIG_SXNI855T
 CONFIG_SYSFLAGS_ADDR
 CONFIG_SYSFS
Signature · 1 line
2.24.1
#1 lore raw

PATCH 1/1 mpc83xx, abb: remove suvd3 board

Quoted 11 lines · Heiko Schocher

the mpc83xxx suvd3 variant is not longer used, so
remove it.

---
Travis build:

https://travis-ci.org/hsdenx/u-boot-test/builds/651885101

Quoted 10 lines
 arch/powerpc/cpu/mpc83xx/Kconfig |   4 -
 board/keymile/km83xx/Kconfig     |  19 ----
 board/keymile/km83xx/MAINTAINERS |   2 -
 board/keymile/km83xx/km83xx.c    |  32 ------
 configs/suvd3_defconfig          | 184 -------------------------------
 include/configs/suvd3.h          |  34 ------
 scripts/config_whitelist.txt     |   1 -
 7 files changed, 276 deletions(-)
 delete mode 100644 configs/suvd3_defconfig
 delete mode 100644 include/configs/suvd3.h
#2 lore raw

PATCH 1/1 mpc83xx, abb: remove suvd3 board

Quoted 35 lines

-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Simon Glass
Sent: Wednesday, February 19, 2020 12:02 AM
To: Heiko Schocher <[email protected]>
Cc: U-Boot Mailing List <[email protected]>; Holger Brunck <[email protected]>; Kever Yang <[email protected]>; Ley Foon Tan <[email protected]>; Marek Vasut <[email protected]>; Mario Six <[email protected]>; Miquel Raynal <[email protected]>; Priyanka Jain <[email protected]>; Simon Goldschmidt <[email protected]>; Stefan Roese <[email protected]>; Wolfgang Denk <[email protected]>
Subject: Re: [PATCH] mpc83xx, abb: remove suvd3 board

Quoted 19 lines · Heiko Schocher

the mpc83xxx suvd3 variant is not longer used, so remove it.

---
Travis build:

https://travis-ci.org/hsdenx/u-boot-test/builds/651885101

 arch/powerpc/cpu/mpc83xx/Kconfig |   4 -
 board/keymile/km83xx/Kconfig     |  19 ----
 board/keymile/km83xx/MAINTAINERS |   2 -
 board/keymile/km83xx/km83xx.c    |  32 ------
 configs/suvd3_defconfig          | 184 -------------------------------
 include/configs/suvd3.h          |  34 ------
 scripts/config_whitelist.txt     |   1 -
 7 files changed, 276 deletions(-)
 delete mode 100644 configs/suvd3_defconfig  delete mode 100644
Quoted 1 line

include/configs/suvd3.h

Quoted 1 line
#3 lore raw

PATCH 1/1 mpc83xx, abb: remove suvd3 board

In reply to Heiko Schocher

Hello Mario,

Am 18.02.2020 um 18:03 schrieb Heiko Schocher:

Quoted 18 lines

the mpc83xxx suvd3 variant is not longer used, so
remove it.

---
Travis build:

https://travis-ci.org/hsdenx/u-boot-test/builds/651885101

  arch/powerpc/cpu/mpc83xx/Kconfig |   4 -
  board/keymile/km83xx/Kconfig     |  19 ----
  board/keymile/km83xx/MAINTAINERS |   2 -
  board/keymile/km83xx/km83xx.c    |  32 ------
  configs/suvd3_defconfig          | 184 -------------------------------
  include/configs/suvd3.h          |  34 ------
  scripts/config_whitelist.txt     |   1 -
  7 files changed, 276 deletions(-)
Quoted 2 lines

delete mode 100644 configs/suvd3_defconfig
delete mode 100644 include/configs/suvd3.h

Any issues with this patch, or do you plan to apply it after release?

Thanks!

bye,
Heiko

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de
#4 lore raw

PATCH 1/1 mpc83xx, abb: remove suvd3 board

Hello Mario,

added Tom to cc

Am 09.04.2020 um 07:13 schrieb Heiko Schocher:

Quoted 24 lines

Hello Mario,

Am 18.02.2020 um 18:03 schrieb Heiko Schocher:

Quoted 17 lines

the mpc83xxx suvd3 variant is not longer used, so
remove it.

---
Travis build:

https://travis-ci.org/hsdenx/u-boot-test/builds/651885101

? arch/powerpc/cpu/mpc83xx/Kconfig |?? 4 -
? board/keymile/km83xx/Kconfig???? |? 19 ----
? board/keymile/km83xx/MAINTAINERS |?? 2 -
? board/keymile/km83xx/km83xx.c??? |? 32 ------
? configs/suvd3_defconfig????????? | 184 -------------------------------
? include/configs/suvd3.h????????? |? 34 ------
? scripts/config_whitelist.txt???? |?? 1 -
Quoted 3 lines

? 7 files changed, 276 deletions(-)
? delete mode 100644 configs/suvd3_defconfig
? delete mode 100644 include/configs/suvd3.h

Quoted 3 lines

Any issues with this patch, or do you plan to apply it after release?

Thanks!

Any issues?

bye,
Heiko

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de
#5 lore raw

PATCH 1/1 mpc83xx, abb: remove suvd3 board

In reply to Heiko Schocher
Quoted 7 lines · Heiko Schocher

the mpc83xxx suvd3 variant is not longer used, so remove it.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200520/a7683ef7/attachment.sig>