Skip to contentSkip to conversation

avr32: remove non-generic boards

PATCH New Andreas Bießmann 3 participants 21 messages May 11, 2015 – Jun 10, 2015 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore
#0 lore raw

cover avr32: remove non-generic boards

This series deletes avr32-boards that are still using the ancient arch/avr32/lib/board.c code. If one would like his board to stay in u-boot there is a last chance to convert it to generic board _now_. It should be as easy as defining these three values in the board config:

|/* generic board */
|#define CONFIG_SYS_GENERIC_BOARD
|#define CONFIG_BOARD_EARLY_INIT_F
|#define CONFIG_BOARD_EARLY_INIT_R

The patch 'avr32: delete non generic board favr-32-ezkit' has an checkpatch warning which will not be fixed.

---8<---
0 errors, 1 warnings, 0 checks for 0002-avr32-delete-non-generic-board-favr-32-ezkit.patch:
warning: arch/avr32/Kconfig,22: please write a paragraph that describes the config symbol fully --->8---

The patch 'avr32: delete non generic board's atstk100{3,4,6}' has a checkpatch warning wich will not be fixed.

---8<---
0 errors, 1 warnings, 0 checks for 0005-avr32-delete-non-generic-board-s-atstk100-3-4-6.patch:
warning: arch/avr32/Kconfig,13: please write a paragraph that describes the config symbol fully --->8---

Andreas Bie?mann (7):
avr32: delete non generic board atngw100
avr32: delete non generic board favr-32-ezkit
avr32: delete non generic board hammerhead
avr32: delete non generic board mimc200
avr32: delete non generic board's atstk100{3,4,6}
avr32: take maintainership for atstk1002
avr32: delete ancient board.c

 arch/avr32/Kconfig                           |  25 ---
 arch/avr32/lib/Makefile                      |   3 -
 arch/avr32/lib/board.c                       | 256 ---------------------------
 board/atmel/atngw100/Kconfig                 |  15 --
 board/atmel/atngw100/MAINTAINERS             |   6 -
 board/atmel/atngw100/Makefile                |   6 -
 board/atmel/atngw100/atngw100.c              | 109 ------------
 board/atmel/atstk1000/Kconfig                |  48 -----
 board/atmel/atstk1000/MAINTAINERS            |  10 +-
 board/atmel/atstk1000/atstk1000.c            |  23 +--
 board/earthlcd/favr-32-ezkit/Kconfig         |  15 --
 board/earthlcd/favr-32-ezkit/MAINTAINERS     |   6 -
 board/earthlcd/favr-32-ezkit/Makefile        |   9 -
 board/earthlcd/favr-32-ezkit/favr-32-ezkit.c |  81 ---------
 board/earthlcd/favr-32-ezkit/flash.c         | 216 ----------------------
 board/mimc/mimc200/Kconfig                   |  15 --
 board/mimc/mimc200/MAINTAINERS               |   6 -
 board/mimc/mimc200/Makefile                  |   6 -
 board/mimc/mimc200/mimc200.c                 | 197 ---------------------
 board/miromico/hammerhead/Kconfig            |  15 --
 board/miromico/hammerhead/MAINTAINERS        |   6 -
 board/miromico/hammerhead/Makefile           |   6 -
 board/miromico/hammerhead/hammerhead.c       |  91 ----------
 configs/atngw100_defconfig                   |   2 -
 configs/atstk1003_defconfig                  |   2 -
 configs/atstk1004_defconfig                  |   2 -
 configs/atstk1006_defconfig                  |   2 -
 configs/favr-32-ezkit_defconfig              |   2 -
 configs/hammerhead_defconfig                 |   2 -
 configs/mimc200_defconfig                    |   2 -
 include/configs/atngw100.h                   | 163 -----------------
 include/configs/atstk1003.h                  | 161 -----------------
 include/configs/atstk1004.h                  | 161 -----------------
 include/configs/atstk1006.h                  | 178 -------------------
 include/configs/favr-32-ezkit.h              | 181 -------------------
 include/configs/hammerhead.h                 | 157 ----------------
 include/configs/mimc200.h                    | 177 ------------------
 37 files changed, 3 insertions(+), 2359 deletions(-)
 delete mode 100644 arch/avr32/lib/board.c
 delete mode 100644 board/atmel/atngw100/Kconfig
 delete mode 100644 board/atmel/atngw100/MAINTAINERS
 delete mode 100644 board/atmel/atngw100/Makefile
 delete mode 100644 board/atmel/atngw100/atngw100.c
 delete mode 100644 board/earthlcd/favr-32-ezkit/Kconfig
 delete mode 100644 board/earthlcd/favr-32-ezkit/MAINTAINERS
 delete mode 100644 board/earthlcd/favr-32-ezkit/Makefile
 delete mode 100644 board/earthlcd/favr-32-ezkit/favr-32-ezkit.c
 delete mode 100644 board/earthlcd/favr-32-ezkit/flash.c
 delete mode 100644 board/mimc/mimc200/Kconfig
 delete mode 100644 board/mimc/mimc200/MAINTAINERS
 delete mode 100644 board/mimc/mimc200/Makefile
 delete mode 100644 board/mimc/mimc200/mimc200.c
 delete mode 100644 board/miromico/hammerhead/Kconfig
 delete mode 100644 board/miromico/hammerhead/MAINTAINERS
 delete mode 100644 board/miromico/hammerhead/Makefile
 delete mode 100644 board/miromico/hammerhead/hammerhead.c
 delete mode 100644 configs/atngw100_defconfig
 delete mode 100644 configs/atstk1003_defconfig
 delete mode 100644 configs/atstk1004_defconfig
 delete mode 100644 configs/atstk1006_defconfig
 delete mode 100644 configs/favr-32-ezkit_defconfig
 delete mode 100644 configs/hammerhead_defconfig
 delete mode 100644 configs/mimc200_defconfig
 delete mode 100644 include/configs/atngw100.h
 delete mode 100644 include/configs/atstk1003.h
 delete mode 100644 include/configs/atstk1004.h
 delete mode 100644 include/configs/atstk1006.h
 delete mode 100644 include/configs/favr-32-ezkit.h
 delete mode 100644 include/configs/hammerhead.h
 delete mode 100644 include/configs/mimc200.h
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/7 avr32: delete non generic board atngw100

---

 arch/avr32/Kconfig               |   4 -
 board/atmel/atngw100/Kconfig     |  15 ----
 board/atmel/atngw100/MAINTAINERS |   6 --
 board/atmel/atngw100/Makefile    |   6 --
 board/atmel/atngw100/atngw100.c  | 109 --------------------------
 configs/atngw100_defconfig       |   2 -
 include/configs/atngw100.h       | 163 ---------------------------------------
 7 files changed, 305 deletions(-)
 delete mode 100644 board/atmel/atngw100/Kconfig
 delete mode 100644 board/atmel/atngw100/MAINTAINERS
 delete mode 100644 board/atmel/atngw100/Makefile
 delete mode 100644 board/atmel/atngw100/atngw100.c
 delete mode 100644 configs/atngw100_defconfig
 delete mode 100644 include/configs/atngw100.h
arch/avr32/Kconfig +0 -4
index 66de2ad..e4b37bc 100644
@@ -7,9 +7,6 @@ config SYS_ARCH
 choice
 	prompt "Target select"
 
-config TARGET_ATNGW100
-	bool "Support atngw100"
-
 config TARGET_ATNGW100MKII
 	bool "Support atngw100mkii"
 
@@ -39,7 +36,6 @@ config TARGET_HAMMERHEAD
 
 endchoice
 
-source "board/atmel/atngw100/Kconfig"
 source "board/atmel/atngw100mkii/Kconfig"
 source "board/atmel/atstk1000/Kconfig"
 source "board/earthlcd/favr-32-ezkit/Kconfig"
board/atmel/atngw100/Kconfig deleted +0 -15
deleted file mode 100644
index 28037b6..0000000
@@ -1,15 +0,0 @@
-if TARGET_ATNGW100
-
-config SYS_BOARD
-	default "atngw100"
-
-config SYS_VENDOR
-	default "atmel"
-
-config SYS_SOC
-	default "at32ap700x"
-
-config SYS_CONFIG_NAME
-	default "atngw100"
-
-endif
board/atmel/atngw100/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 1c319f6..0000000
@@ -1,6 +0,0 @@
-ATNGW100 BOARD
-#M:	Haavard Skinnemoen <[email protected]>
-S:	Orphan (since 2014-06)
-F:	board/atmel/atngw100/
-F:	include/configs/atngw100.h
-F:	configs/atngw100_defconfig
board/atmel/atngw100/Makefile deleted +0 -6
deleted file mode 100644
index f9b93c9..0000000
@@ -1,6 +0,0 @@
-#
-# Copyright (C) 2005-2006 Atmel Corporation
-#
-# SPDX-License-Identifier:	GPL-2.0+
-
-obj-y	:= atngw100.o
board/atmel/atngw100/atngw100.c deleted +0 -109

109 lines not on this page · raw message

configs/atngw100_defconfig deleted +0 -2
deleted file mode 100644
index cd79990..0000000
@@ -1,2 +0,0 @@
-CONFIG_AVR32=y
-CONFIG_TARGET_ATNGW100=y
include/configs/atngw100.h deleted +0 -163

163 lines not on this page · raw message

Signature · 1 line
2.1.4
#2 lore raw

PATCH 2/7 avr32: delete non generic board favr-32-ezkit

In reply to Andreas Bießmann

---

 arch/avr32/Kconfig                           |   4 -
 board/earthlcd/favr-32-ezkit/Kconfig         |  15 --
 board/earthlcd/favr-32-ezkit/MAINTAINERS     |   6 -
 board/earthlcd/favr-32-ezkit/Makefile        |   9 --
 board/earthlcd/favr-32-ezkit/favr-32-ezkit.c |  81 ----------
 board/earthlcd/favr-32-ezkit/flash.c         | 216 ---------------------------
 configs/favr-32-ezkit_defconfig              |   2 -
 include/configs/favr-32-ezkit.h              | 181 ----------------------
 8 files changed, 514 deletions(-)
 delete mode 100644 board/earthlcd/favr-32-ezkit/Kconfig
 delete mode 100644 board/earthlcd/favr-32-ezkit/MAINTAINERS
 delete mode 100644 board/earthlcd/favr-32-ezkit/Makefile
 delete mode 100644 board/earthlcd/favr-32-ezkit/favr-32-ezkit.c
 delete mode 100644 board/earthlcd/favr-32-ezkit/flash.c
 delete mode 100644 configs/favr-32-ezkit_defconfig
 delete mode 100644 include/configs/favr-32-ezkit.h
arch/avr32/Kconfig +0 -4
index e4b37bc..aa08d3e 100644
@@ -22,9 +22,6 @@ config TARGET_ATSTK1004
 config TARGET_ATSTK1006
 	bool "Support atstk1006"
 
-config TARGET_FAVR_32_EZKIT
-	bool "Support favr-32-ezkit"
-
 config TARGET_GRASSHOPPER
 	bool "Support grasshopper"
 
@@ -38,7 +35,6 @@ endchoice
 
 source "board/atmel/atngw100mkii/Kconfig"
 source "board/atmel/atstk1000/Kconfig"
-source "board/earthlcd/favr-32-ezkit/Kconfig"
 source "board/in-circuit/grasshopper/Kconfig"
 source "board/mimc/mimc200/Kconfig"
 source "board/miromico/hammerhead/Kconfig"
board/earthlcd/favr-32-ezkit/Kconfig deleted +0 -15
deleted file mode 100644
index 50e29ec..0000000
@@ -1,15 +0,0 @@
-if TARGET_FAVR_32_EZKIT
-
-config SYS_BOARD
-	default "favr-32-ezkit"
-
-config SYS_VENDOR
-	default "earthlcd"
-
-config SYS_SOC
-	default "at32ap700x"
-
-config SYS_CONFIG_NAME
-	default "favr-32-ezkit"
-
-endif
board/earthlcd/favr-32-ezkit/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 89ba862..0000000
@@ -1,6 +0,0 @@
-FAVR-32-EZKIT BOARD
-#M:	Hans-Christian Egtvedt <[email protected]>
-S:	Orphan (since 2014-06)
-F:	board/earthlcd/favr-32-ezkit/
-F:	include/configs/favr-32-ezkit.h
-F:	configs/favr-32-ezkit_defconfig
board/earthlcd/favr-32-ezkit/Makefile deleted +0 -9
deleted file mode 100644
index f712ab9..0000000
@@ -1,9 +0,0 @@
-#
-# (C) Copyright 2001-2006
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-#
-# Copyright (C) 2008 Atmel Corporation
-#
-# SPDX-License-Identifier:	GPL-2.0+
-
-obj-y	:= favr-32-ezkit.o flash.o
board/earthlcd/favr-32-ezkit/favr-32-ezkit.c deleted +0 -81

81 lines not on this page · raw message

board/earthlcd/favr-32-ezkit/flash.c deleted +0 -216

216 lines not on this page · raw message

configs/favr-32-ezkit_defconfig deleted +0 -2
deleted file mode 100644
index 941e028..0000000
@@ -1,2 +0,0 @@
-CONFIG_AVR32=y
-CONFIG_TARGET_FAVR_32_EZKIT=y
include/configs/favr-32-ezkit.h deleted +0 -181

181 lines not on this page · raw message

Signature · 1 line
2.1.4
#3 lore raw

PATCH 2/7 avr32: delete non generic board favr-32-ezkit

Dear =?utf-8?q?Andreas_Bie=C3=9Fmann?=,

Quoted 11 lines · Andreas Devel

---

arch/avr32/Kconfig                           |   4 -
board/earthlcd/favr-32-ezkit/Kconfig         |  15 --
board/earthlcd/favr-32-ezkit/MAINTAINERS     |   6 -
board/earthlcd/favr-32-ezkit/Makefile        |   9 --
board/earthlcd/favr-32-ezkit/favr-32-ezkit.c |  81 ----------
board/earthlcd/favr-32-ezkit/flash.c         | 216 ---------------------------
configs/favr-32-ezkit_defconfig              |   7 -
include/configs/favr-32-ezkit.h              | 171 ---------------------
8 files changed, 509 deletions(-)
Quoted 7 lines

delete mode 100644 board/earthlcd/favr-32-ezkit/Kconfig delete mode 100644 board/earthlcd/favr-32-ezkit/MAINTAINERS delete mode 100644 board/earthlcd/favr-32-ezkit/Makefile delete mode 100644 board/earthlcd/favr-32-ezkit/favr-32-ezkit.c delete mode 100644 board/earthlcd/favr-32-ezkit/flash.c delete mode 100644 configs/favr-32-ezkit_defconfig delete mode 100644 include/configs/favr-32-ezkit.h

applied to u-boot-avr32/master, thanks!

Best regards,
Andreas Bie?mann

#4 lore raw

PATCH 3/7 avr32: delete non generic board hammerhead

In reply to Andreas Bießmann

---

 arch/avr32/Kconfig                     |   4 -
 board/miromico/hammerhead/Kconfig      |  15 ----
 board/miromico/hammerhead/MAINTAINERS  |   6 --
 board/miromico/hammerhead/Makefile     |   6 --
 board/miromico/hammerhead/hammerhead.c |  91 -------------------
 configs/hammerhead_defconfig           |   2 -
 include/configs/hammerhead.h           | 157 ---------------------------------
 7 files changed, 281 deletions(-)
 delete mode 100644 board/miromico/hammerhead/Kconfig
 delete mode 100644 board/miromico/hammerhead/MAINTAINERS
 delete mode 100644 board/miromico/hammerhead/Makefile
 delete mode 100644 board/miromico/hammerhead/hammerhead.c
 delete mode 100644 configs/hammerhead_defconfig
 delete mode 100644 include/configs/hammerhead.h
arch/avr32/Kconfig +0 -4
index aa08d3e..8cc6cea 100644
@@ -28,15 +28,11 @@ config TARGET_GRASSHOPPER
 config TARGET_MIMC200
 	bool "Support mimc200"
 
-config TARGET_HAMMERHEAD
-	bool "Support hammerhead"
-
 endchoice
 
 source "board/atmel/atngw100mkii/Kconfig"
 source "board/atmel/atstk1000/Kconfig"
 source "board/in-circuit/grasshopper/Kconfig"
 source "board/mimc/mimc200/Kconfig"
-source "board/miromico/hammerhead/Kconfig"
 
 endmenu
board/miromico/hammerhead/Kconfig deleted +0 -15
deleted file mode 100644
index 1f09ef7..0000000
@@ -1,15 +0,0 @@
-if TARGET_HAMMERHEAD
-
-config SYS_BOARD
-	default "hammerhead"
-
-config SYS_VENDOR
-	default "miromico"
-
-config SYS_SOC
-	default "at32ap700x"
-
-config SYS_CONFIG_NAME
-	default "hammerhead"
-
-endif
board/miromico/hammerhead/MAINTAINERS deleted +0 -6
deleted file mode 100644
index a87ceee..0000000
@@ -1,6 +0,0 @@
-HAMMERHEAD BOARD
-M:	Alex Raimondi <[email protected]>
-S:	Maintained
-F:	board/miromico/hammerhead/
-F:	include/configs/hammerhead.h
-F:	configs/hammerhead_defconfig
board/miromico/hammerhead/Makefile deleted +0 -6
deleted file mode 100644
index 638a9df..0000000
@@ -1,6 +0,0 @@
-#
-# Copyright (C) 2008 Miromico AG
-#
-# SPDX-License-Identifier:	GPL-2.0+
-
-obj-y	:= hammerhead.o
board/miromico/hammerhead/hammerhead.c deleted +0 -91

91 lines not on this page · raw message

configs/hammerhead_defconfig deleted +0 -2
deleted file mode 100644
index 0d69cc6..0000000
@@ -1,2 +0,0 @@
-CONFIG_AVR32=y
-CONFIG_TARGET_HAMMERHEAD=y
include/configs/hammerhead.h deleted +0 -157

157 lines not on this page · raw message

Signature · 1 line
2.1.4
#5 lore raw

PATCH 3/7 avr32: delete non generic board hammerhead

Dear =?utf-8?q?Andreas_Bie=C3=9Fmann?=,

Quoted 10 lines · Andreas Devel

---

arch/avr32/Kconfig                     |   4 -
board/miromico/hammerhead/Kconfig      |  15 ----
board/miromico/hammerhead/MAINTAINERS  |   6 --
board/miromico/hammerhead/Makefile     |   6 --
board/miromico/hammerhead/hammerhead.c |  91 --------------------
configs/hammerhead_defconfig           |   7 --
include/configs/hammerhead.h           | 147 ---------------------------------
7 files changed, 276 deletions(-)
Quoted 6 lines

delete mode 100644 board/miromico/hammerhead/Kconfig delete mode 100644 board/miromico/hammerhead/MAINTAINERS delete mode 100644 board/miromico/hammerhead/Makefile delete mode 100644 board/miromico/hammerhead/hammerhead.c delete mode 100644 configs/hammerhead_defconfig delete mode 100644 include/configs/hammerhead.h

applied to u-boot-avr32/master, thanks!

Best regards,
Andreas Bie?mann

#6 lore raw

PATCH 4/7 avr32: delete non generic board mimc200

In reply to Andreas Bießmann

---

 arch/avr32/Kconfig             |   4 -
 board/mimc/mimc200/Kconfig     |  15 ----
 board/mimc/mimc200/MAINTAINERS |   6 --
 board/mimc/mimc200/Makefile    |   6 --
 board/mimc/mimc200/mimc200.c   | 197 -----------------------------------------
 configs/mimc200_defconfig      |   2 -
 include/configs/mimc200.h      | 177 ------------------------------------
 7 files changed, 407 deletions(-)
 delete mode 100644 board/mimc/mimc200/Kconfig
 delete mode 100644 board/mimc/mimc200/MAINTAINERS
 delete mode 100644 board/mimc/mimc200/Makefile
 delete mode 100644 board/mimc/mimc200/mimc200.c
 delete mode 100644 configs/mimc200_defconfig
 delete mode 100644 include/configs/mimc200.h
arch/avr32/Kconfig +0 -4
index 8cc6cea..c5c06ba 100644
@@ -25,14 +25,10 @@ config TARGET_ATSTK1006
 config TARGET_GRASSHOPPER
 	bool "Support grasshopper"
 
-config TARGET_MIMC200
-	bool "Support mimc200"
-
 endchoice
 
 source "board/atmel/atngw100mkii/Kconfig"
 source "board/atmel/atstk1000/Kconfig"
 source "board/in-circuit/grasshopper/Kconfig"
-source "board/mimc/mimc200/Kconfig"
 
 endmenu
board/mimc/mimc200/Kconfig deleted +0 -15
deleted file mode 100644
index 18736d7..0000000
@@ -1,15 +0,0 @@
-if TARGET_MIMC200
-
-config SYS_BOARD
-	default "mimc200"
-
-config SYS_VENDOR
-	default "mimc"
-
-config SYS_SOC
-	default "at32ap700x"
-
-config SYS_CONFIG_NAME
-	default "mimc200"
-
-endif
board/mimc/mimc200/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 6cb51dd..0000000
@@ -1,6 +0,0 @@
-MIMC200 BOARD
-M:	Mark Jackson <[email protected]>
-S:	Maintained
-F:	board/mimc/mimc200/
-F:	include/configs/mimc200.h
-F:	configs/mimc200_defconfig
board/mimc/mimc200/Makefile deleted +0 -6
deleted file mode 100644
index 5c30c0d..0000000
@@ -1,6 +0,0 @@
-#
-# Copyright (C) 2005-2006 Atmel Corporation
-#
-# SPDX-License-Identifier:	GPL-2.0+
-
-obj-y	:= mimc200.o
board/mimc/mimc200/mimc200.c deleted +0 -197

197 lines not on this page · raw message

configs/mimc200_defconfig deleted +0 -2
deleted file mode 100644
index f6edbc7..0000000
@@ -1,2 +0,0 @@
-CONFIG_AVR32=y
-CONFIG_TARGET_MIMC200=y
include/configs/mimc200.h deleted +0 -177

177 lines not on this page · raw message

Signature · 1 line
2.1.4
#7 lore raw

PATCH 4/7 avr32: delete non generic board mimc200

Dear =?utf-8?q?Andreas_Bie=C3=9Fmann?=,

Quoted 10 lines · Andreas Devel

---

arch/avr32/Kconfig             |   4 -
board/mimc/mimc200/Kconfig     |  15 ----
board/mimc/mimc200/MAINTAINERS |   6 --
board/mimc/mimc200/Makefile    |   6 --
board/mimc/mimc200/mimc200.c   | 197 -----------------------------------------
configs/mimc200_defconfig      |   3 -
include/configs/mimc200.h      | 176 ------------------------------------
7 files changed, 407 deletions(-)
Quoted 6 lines

delete mode 100644 board/mimc/mimc200/Kconfig delete mode 100644 board/mimc/mimc200/MAINTAINERS delete mode 100644 board/mimc/mimc200/Makefile delete mode 100644 board/mimc/mimc200/mimc200.c delete mode 100644 configs/mimc200_defconfig delete mode 100644 include/configs/mimc200.h

applied to u-boot-avr32/master, thanks!

Best regards,
Andreas Bie?mann

#8 lore raw

PATCH 5/7 avr32: delete non generic board's atstk100{3, 4, 6}

In reply to Andreas Bießmann

---

 arch/avr32/Kconfig                |   9 --
 board/atmel/atstk1000/Kconfig     |  48 ----------
 board/atmel/atstk1000/MAINTAINERS |   6 --
 board/atmel/atstk1000/atstk1000.c |  23 +----
 configs/atstk1003_defconfig       |   2 -
 configs/atstk1004_defconfig       |   2 -
 configs/atstk1006_defconfig       |   2 -
 include/configs/atstk1003.h       | 161 ----------------------------------
 include/configs/atstk1004.h       | 161 ----------------------------------
 include/configs/atstk1006.h       | 178 --------------------------------------
 10 files changed, 1 insertion(+), 591 deletions(-)
 delete mode 100644 configs/atstk1003_defconfig
 delete mode 100644 configs/atstk1004_defconfig
 delete mode 100644 configs/atstk1006_defconfig
 delete mode 100644 include/configs/atstk1003.h
 delete mode 100644 include/configs/atstk1004.h
 delete mode 100644 include/configs/atstk1006.h
arch/avr32/Kconfig +0 -9
index c5c06ba..2228dc1 100644
@@ -13,15 +13,6 @@ config TARGET_ATNGW100MKII
 config TARGET_ATSTK1002
 	bool "Support atstk1002"
 
-config TARGET_ATSTK1003
-	bool "Support atstk1003"
-
-config TARGET_ATSTK1004
-	bool "Support atstk1004"
-
-config TARGET_ATSTK1006
-	bool "Support atstk1006"
-
 config TARGET_GRASSHOPPER
 	bool "Support grasshopper"
 
board/atmel/atstk1000/Kconfig +0 -48

51 lines not on this page · raw message

board/atmel/atstk1000/MAINTAINERS +0 -6
index 378e1b3..6143846 100644
@@ -4,9 +4,3 @@ S:	Orphan (since 2014-06)
 F:	board/atmel/atstk1000/
 F:	include/configs/atstk1002.h
 F:	configs/atstk1002_defconfig
-F:	include/configs/atstk1003.h
-F:	configs/atstk1003_defconfig
-F:	include/configs/atstk1004.h
-F:	configs/atstk1004_defconfig
-F:	include/configs/atstk1006.h
-F:	configs/atstk1006_defconfig
board/atmel/atstk1000/atstk1000.c +1 -22
index fd4363b..679b674 100644
@@ -30,32 +30,12 @@ struct mmu_vm_range mmu_vmr_table[CONFIG_SYS_NR_VM_REGIONS] = {
 };
 
 static const struct sdram_config sdram_config = {
-#if defined(CONFIG_ATSTK1006)
-	/* Dual MT48LC16M16A2-7E (64 MB) on daughterboard */
 	.data_bits	= SDRAM_DATA_32BIT,
-	.row_bits	= 13,
-	.col_bits	= 9,
-	.bank_bits	= 2,
-	.cas		= 2,
-	.twr		= 2,
-	.trc		= 7,
-	.trp		= 2,
-	.trcd		= 2,
-	.tras		= 4,
-	.txsr		= 7,
-	/* 7.81 us */
-	.refresh_period	= (781 * (SDRAMC_BUS_HZ / 1000)) / 100000,
-#else
-	/* MT48LC2M32B2P-5 (8 MB) on motherboard */
-#ifdef CONFIG_ATSTK1004
-	.data_bits	= SDRAM_DATA_16BIT,
-#else
-	.data_bits	= SDRAM_DATA_32BIT,
-#endif
 #ifdef CONFIG_ATSTK1000_16MB_SDRAM
 	/* MT48LC4M32B2P-6 (16 MB) on mod'ed motherboard */
 	.row_bits	= 12,
 #else
+	/* MT48LC2M32B2P-5 (8 MB) on motherboard */
 	.row_bits	= 11,
 #endif
 	.col_bits	= 8,
@@ -69,7 +49,6 @@ static const struct sdram_config sdram_config = {
 	.txsr		= 5,
 	/* 15.6 us */
 	.refresh_period	= (156 * (SDRAMC_BUS_HZ / 1000)) / 10000,
-#endif
 };
 
 int board_early_init_f(void)
configs/atstk1003_defconfig deleted +0 -2
deleted file mode 100644
index b704532..0000000
@@ -1,2 +0,0 @@
-CONFIG_AVR32=y
-CONFIG_TARGET_ATSTK1003=y
configs/atstk1004_defconfig deleted +0 -2
deleted file mode 100644
index 7650254..0000000
@@ -1,2 +0,0 @@
-CONFIG_AVR32=y
-CONFIG_TARGET_ATSTK1004=y
configs/atstk1006_defconfig deleted +0 -2
deleted file mode 100644
index 54beb0b..0000000
@@ -1,2 +0,0 @@
-CONFIG_AVR32=y
-CONFIG_TARGET_ATSTK1006=y
include/configs/atstk1003.h deleted +0 -161

161 lines not on this page · raw message

include/configs/atstk1004.h deleted +0 -161

161 lines not on this page · raw message

include/configs/atstk1006.h deleted +0 -178

178 lines not on this page · raw message

Signature · 1 line
2.1.4
#9 lore raw

PATCH 5/7 avr32: delete non generic board's atstk100{3, 4, 6}

Dear =?utf-8?q?Andreas_Bie=C3=9Fmann?=,

Quoted 13 lines · Andreas Devel

---

arch/avr32/Kconfig                |   9 --
board/atmel/atstk1000/Kconfig     |  48 -----------
board/atmel/atstk1000/MAINTAINERS |   6 --
board/atmel/atstk1000/atstk1000.c |  23 +-----
configs/atstk1003_defconfig       |   6 --
configs/atstk1004_defconfig       |   6 --
configs/atstk1006_defconfig       |   7 --
include/configs/atstk1003.h       | 150 ----------------------------------
include/configs/atstk1004.h       | 150 ----------------------------------
include/configs/atstk1006.h       | 168 --------------------------------------
10 files changed, 1 insertion(+), 572 deletions(-)
Quoted 6 lines

delete mode 100644 configs/atstk1003_defconfig delete mode 100644 configs/atstk1004_defconfig delete mode 100644 configs/atstk1006_defconfig delete mode 100644 include/configs/atstk1003.h delete mode 100644 include/configs/atstk1004.h delete mode 100644 include/configs/atstk1006.h

applied to u-boot-avr32/master, thanks!

Best regards,
Andreas Bie?mann

#10 lore raw

PATCH 6/7 avr32: take maintainership for atstk1002

In reply to Andreas Bießmann

I have this board at work, so I can trun tests on it.

---

 board/atmel/atstk1000/MAINTAINERS | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/atmel/atstk1000/MAINTAINERS +2 -2
index 6143846..1070f98 100644
@@ -1,6 +1,6 @@
 ATSTK1000 BOARD
-#M:	Haavard Skinnemoen <[email protected]>
-S:	Orphan (since 2014-06)
+M:	Andreas Bie?mann <[email protected]>
+S:	Maintained
 F:	board/atmel/atstk1000/
 F:	include/configs/atstk1002.h
 F:	configs/atstk1002_defconfig
Signature · 1 line
2.1.4
#11 lore raw

PATCH 6/7 avr32: take maintainership for atstk1002

Dear =?utf-8?q?Andreas_Bie=C3=9Fmann?=,

Quoted 7 lines · Andreas Devel

I have this board at work, so I can trun tests on it.

---

board/atmel/atstk1000/MAINTAINERS | 4 ++--

1 file changed, 2 insertions(+), 2 deletions(-)

applied to u-boot-avr32/master, thanks!

Best regards,
Andreas Bie?mann

#12 lore raw

PATCH 7/7 avr32: delete ancient board.c

In reply to Andreas Bießmann

---

 arch/avr32/lib/Makefile |   3 -
 arch/avr32/lib/board.c  | 256 ------------------------------------------------
 2 files changed, 259 deletions(-)
 delete mode 100644 arch/avr32/lib/board.c
arch/avr32/lib/Makefile +0 -3
index 6750913..8108ae5 100644
@@ -8,9 +8,6 @@
 #
 
 obj-y	+= memset.o
-ifndef CONFIG_SYS_GENERIC_BOARD
-obj-y	+= board.o
-endif
 obj-$(CONFIG_CMD_BOOTM) += bootm.o
 obj-y	+= interrupts.o
 obj-y	+= dram_init.o
arch/avr32/lib/board.c deleted +0 -256

256 lines not on this page · raw message

Signature · 1 line
2.1.4
#13 lore raw

PATCH 7/7 avr32: delete ancient board.c

Dear =?utf-8?q?Andreas_Bie=C3=9Fmann?=,

Quoted 7 lines · Andreas Devel

---

arch/avr32/lib/Makefile | 3 -
arch/avr32/lib/board.c | 256 ------------------------------------------------

2 files changed, 259 deletions(-)

delete mode 100644 arch/avr32/lib/board.c

applied to u-boot-avr32/master, thanks!

Best regards,
Andreas Bie?mann

#14 lore raw

cover avr32: remove non-generic boards

In reply to Andreas Bießmann
Quoted 9 lines · Andreas Bie?mann

This series deletes avr32-boards that are still using the ancient arch/avr32/lib/board.c code. If one would like his board to stay in u-boot there is a last chance to convert it to generic board _now_. It should be as easy as defining these three values in the board config:

|/* generic board */
|#define CONFIG_SYS_GENERIC_BOARD
|#define CONFIG_BOARD_EARLY_INIT_F
|#define CONFIG_BOARD_EARLY_INIT_R

I would prefer this solution over removing all the board support for AVR32 targets in U-Boot.

Sadly, I do not have the time to work with AVR32 in U-Boot.

Quoted 19 lines

The patch 'avr32: delete non generic board favr-32-ezkit' has an checkpatch warning which will not be fixed.

---8<---
0 errors, 1 warnings, 0 checks for 0002-avr32-delete-non-generic-board-favr-32-ezkit.patch:
warning: arch/avr32/Kconfig,22: please write a paragraph that describes the config symbol fully --->8---

The patch 'avr32: delete non generic board's atstk100{3,4,6}' has a checkpatch warning wich will not be fixed.

---8<---
0 errors, 1 warnings, 0 checks for 0005-avr32-delete-non-generic-board-s-atstk100-3-4-6.patch:
warning: arch/avr32/Kconfig,13: please write a paragraph that describes the config symbol fully --->8---

Quoted 8 lines

Andreas Bie?mann (7):
avr32: delete non generic board atngw100
avr32: delete non generic board favr-32-ezkit
avr32: delete non generic board hammerhead
avr32: delete non generic board mimc200
avr32: delete non generic board's atstk100{3,4,6}
avr32: take maintainership for atstk1002
avr32: delete ancient board.c

If one were to prioritize, then keeping the atngw100 board would be great.

If the arch/avr32/lib/board.c is a redundant implementation of the generic board.c file, then I am all for removing it and move to using the generic implementation.

<snipp stats>

Signature · 1 line
Hans-Christian Egtvedt
#15 lore raw

cover avr32: remove non-generic boards

Hi Hans-Christian,

Quoted 6 lines · Hans-Christian Egtvedt
Quoted 5 lines · Andreas Bie?mann

This series deletes avr32-boards that are still using the ancient arch/avr32/lib/board.c code. If one would like his board to stay in u-boot there is a last chance to convert it to generic board _now_. It should be as easy as defining these three values in the board config:

Quoted 7 lines
Quoted 4 lines
|/* generic board */
|#define CONFIG_SYS_GENERIC_BOARD
|#define CONFIG_BOARD_EARLY_INIT_F
|#define CONFIG_BOARD_EARLY_INIT_R

I would prefer this solution over removing all the board support for AVR32 targets in U-Boot.

Me too ...

Quoted 1 line

Sadly, I do not have the time to work with AVR32 in U-Boot.

... but I'd prefer to run-time test this change on a real hardware. Unfortunately I do not own any of the removed ones.

<snip>

Quoted 10 lines
Quoted 8 lines

Andreas Bie?mann (7):
avr32: delete non generic board atngw100
avr32: delete non generic board favr-32-ezkit
avr32: delete non generic board hammerhead
avr32: delete non generic board mimc200
avr32: delete non generic board's atstk100{3,4,6}
avr32: take maintainership for atstk1002
avr32: delete ancient board.c

If one were to prioritize, then keeping the atngw100 board would be great.

+1, but as said above, I want a run-time test and can't do it for my own. Waldemar talked to me lately to get his ngw100 up running current u-boot (2015.01 I think). So Waldemar, could you please do a runtime test for atngw100 and required adoptions? Or anyone else?

Andreas

#16 lore raw

cover avr32: remove non-generic boards

Hi,
Andreas Bie?mann wrote,

Quoted 35 lines

Hi Hans-Christian,

Quoted 6 lines · Hans-Christian Egtvedt
Quoted 5 lines · Andreas Bie?mann

This series deletes avr32-boards that are still using the ancient arch/avr32/lib/board.c code. If one would like his board to stay in u-boot there is a last chance to convert it to generic board _now_. It should be as easy as defining these three values in the board config:

Quoted 7 lines
Quoted 4 lines
|/* generic board */
|#define CONFIG_SYS_GENERIC_BOARD
|#define CONFIG_BOARD_EARLY_INIT_F
|#define CONFIG_BOARD_EARLY_INIT_R

I would prefer this solution over removing all the board support for AVR32 targets in U-Boot.

Me too ...

Quoted 1 line

Sadly, I do not have the time to work with AVR32 in U-Boot.

... but I'd prefer to run-time test this change on a real hardware. Unfortunately I do not own any of the removed ones.

<snip>

Quoted 9 lines
Quoted 8 lines

Andreas Bie?mann (7):
avr32: delete non generic board atngw100
avr32: delete non generic board favr-32-ezkit
avr32: delete non generic board hammerhead
avr32: delete non generic board mimc200
avr32: delete non generic board's atstk100{3,4,6}
avr32: take maintainership for atstk1002
avr32: delete ancient board.c

Quoted 6 lines
Quoted 1 line

If one were to prioritize, then keeping the atngw100 board would be great.

+1, but as said above, I want a run-time test and can't do it for my own. Waldemar talked to me lately to get his ngw100 up running current u-boot (2015.01 I think). So Waldemar, could you please do a runtime test for atngw100 and required adoptions? Or anyone else?

I can try a runtime test tommorow. I even now have two devices. Last time 2015.01 worked, but git with your changes does not. I have'nt got the time to debug it via JTAG or GDB and I think my knowledge about the u-boot internals are too bad.

What if I sent you my spare board?

Better one board with good support, then two with no support.

best regards
Waldemar

#17 lore raw

cover avr32: remove non-generic boards

Hi Waldemar,

Quoted 16 lines · Waldemar Brodkorb
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines

Andreas Bie?mann (7):
avr32: delete non generic board atngw100
avr32: delete non generic board favr-32-ezkit
avr32: delete non generic board hammerhead
avr32: delete non generic board mimc200
avr32: delete non generic board's atstk100{3,4,6}
avr32: take maintainership for atstk1002
avr32: delete ancient board.c

Quoted 6 lines
Quoted 1 line

If one were to prioritize, then keeping the atngw100 board would be great.

+1, but as said above, I want a run-time test and can't do it for my own. Waldemar talked to me lately to get his ngw100 up running current u-boot (2015.01 I think). So Waldemar, could you please do a runtime test for atngw100 and required adoptions? Or anyone else?

Quoted 6 lines

I can try a runtime test tommorow. I even now have two devices. Last time 2015.01 worked, but git with your changes does not. I have'nt got the time to debug it via JTAG or GDB and I think my knowledge about the u-boot internals are too bad.

What if I sent you my spare board?

would be an option, if no one else can run the test successfully.

Andreas

#18 lore raw

cover avr32: remove non-generic boards

In reply to Waldemar Brodkorb

Hi Waldemar,

Quoted 17 lines · Waldemar Brodkorb

Hi,
Andreas Bie?mann wrote,

Quoted 14 lines

Hi Hans-Christian,

Quoted 11 lines · Hans-Christian Egtvedt
Quoted 8 lines · Andreas Bie?mann

Andreas Bie?mann (7):
avr32: delete non generic board atngw100
avr32: delete non generic board favr-32-ezkit
avr32: delete non generic board hammerhead
avr32: delete non generic board mimc200
avr32: delete non generic board's atstk100{3,4,6}
avr32: take maintainership for atstk1002
avr32: delete ancient board.c

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

If one were to prioritize, then keeping the atngw100 board would be great.

+1, but as said above, I want a run-time test and can't do it for my own. Waldemar talked to me lately to get his ngw100 up running current u-boot (2015.01 I think). So Waldemar, could you please do a runtime test for atngw100 and required adoptions? Or anyone else?

I can try a runtime test tommorow.

any progress? Could you run the test and was it (un)successful?

Andreas

#19 lore raw

cover avr32: remove non-generic boards

Hi Andreas,
Andreas Bie?mann wrote,

Quoted 22 lines

Hi Waldemar,

Quoted 19 lines · Waldemar Brodkorb

Hi,
Andreas Bie?mann wrote,

Quoted 16 lines

Hi Hans-Christian,

Quoted 12 lines · Hans-Christian Egtvedt
Quoted 8 lines · Andreas Bie?mann

Andreas Bie?mann (7):
avr32: delete non generic board atngw100
avr32: delete non generic board favr-32-ezkit
avr32: delete non generic board hammerhead
avr32: delete non generic board mimc200
avr32: delete non generic board's atstk100{3,4,6}
avr32: take maintainership for atstk1002
avr32: delete ancient board.c

If one were to prioritize, then keeping the atngw100 board would be great.

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

+1, but as said above, I want a run-time test and can't do it for my own. Waldemar talked to me lately to get his ngw100 up running current u-boot (2015.01 I think). So Waldemar, could you please do a runtime test for atngw100 and required adoptions? Or anyone else?

I can try a runtime test tommorow.

any progress? Could you run the test and was it (un)successful?

Got some time today to test.
2015.01 works fine!
git master works fine!
git master with the three line patch added to convert to generic board support _does not work_!

No ouput on serial console.

best regards
Waldemar

#20 lore raw

cover avr32: remove non-generic boards

Hi Waldemar,

Quoted 32 lines · Waldemar Brodkorb

Hi Andreas,
Andreas Bie?mann wrote,

Quoted 29 lines

Hi Waldemar,

Quoted 25 lines · Waldemar Brodkorb

Hi,
Andreas Bie?mann wrote,

Quoted 14 lines

Hi Hans-Christian,

Quoted 11 lines · Hans-Christian Egtvedt
Quoted 8 lines · Andreas Bie?mann

Andreas Bie?mann (7):
avr32: delete non generic board atngw100
avr32: delete non generic board favr-32-ezkit
avr32: delete non generic board hammerhead
avr32: delete non generic board mimc200
avr32: delete non generic board's atstk100{3,4,6}
avr32: take maintainership for atstk1002
avr32: delete ancient board.c

Quoted 6 lines
Quoted 1 line

If one were to prioritize, then keeping the atngw100 board would be great.

+1, but as said above, I want a run-time test and can't do it for my own. Waldemar talked to me lately to get his ngw100 up running current u-boot (2015.01 I think). So Waldemar, could you please do a runtime test for atngw100 and required adoptions? Or anyone else?

I can try a runtime test tommorow.

Quoted 7 lines
Quoted 1 line

any progress? Could you run the test and was it (un)successful?

Got some time today to test.
2015.01 works fine!
git master works fine!
git master with the three line patch added to convert to generic board support _does not work_!

Ok, can you debug it? Or will you provide me one of your boards for generic board support adoption?

Andreas