Skip to contentSkip to conversation

ARM: drop unsupported 'trab' board

PATCH New Wolfgang Denk 1 participant 3 messages May 1, 2011 – Jun 22, 2011

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

PATCH 1/1 ARM: drop unsupported 'trab' board

The 'trab' board configuration is broken, and there is nobody who is interested and willing to fix it. Drop it.

This includes support for VFD displays which have always been used by this board only.

---
 MAINTAINERS                          |    1 -
 MAKEALL                              |    1 -
 Makefile                             |   25 +-
 README                               |    3 +-
 arch/arm/cpu/arm920t/s3c24x0/timer.c |    8 +-
 arch/arm/include/asm/global_data.h   |    3 -
 arch/arm/lib/board.c                 |   16 -
 board/trab/Makefile                  |   71 --
 board/trab/Pt1000_temp_data.h        |   71 --
 board/trab/README.kbd                |   44 --
 board/trab/auto_update.c             |  676 ----------------
 board/trab/cmd_trab.c                |  879 ---------------------
 board/trab/config.mk                 |   26 -
 board/trab/flash.c                   |  569 --------------
 board/trab/lowlevel_init.S           |  182 -----
 board/trab/memory.c                  |  486 ------------
 board/trab/rs485.c                   |  205 -----
 board/trab/rs485.h                   |   37 -
 board/trab/trab.c                    |  436 -----------
 board/trab/trab_fkt.c                | 1418 ----------------------------------
 board/trab/tsc2000.c                 |  366 ---------
 board/trab/tsc2000.h                 |  148 ----
 board/trab/u-boot.lds                |   64 --
 board/trab/vfd.c                     |  574 --------------
 common/Makefile                      |    1 -
 common/cmd_vfd.c                     |  102 ---
 common/main.c                        |   11 -
 doc/README.scrapyard                 |    3 +-
 drivers/serial/serial_s3c24x0.c      |    6 -
 include/common.h                     |    3 -
 include/config_cmd_all.h             |    1 -
 include/configs/mx1fs2.h             |    1 -
 include/configs/scb9328.h            |    1 -
 include/configs/trab.h               |  419 ----------
 include/configs/xm250.h              |    1 -
 include/stdio_dev.h                  |    3 -
 include/vfd_logo.h                   | 1032 -------------------------
 tools/env/README                     |    3 -
 tools/env/fw_env.h                   |    2 +-
 39 files changed, 6 insertions(+), 7892 deletions(-)
 delete mode 100644 board/trab/Makefile
 delete mode 100644 board/trab/Pt1000_temp_data.h
 delete mode 100644 board/trab/README.kbd
 delete mode 100644 board/trab/auto_update.c
 delete mode 100644 board/trab/cmd_trab.c
 delete mode 100644 board/trab/config.mk
 delete mode 100644 board/trab/flash.c
 delete mode 100644 board/trab/lowlevel_init.S
 delete mode 100644 board/trab/memory.c
 delete mode 100644 board/trab/rs485.c
 delete mode 100644 board/trab/rs485.h
 delete mode 100644 board/trab/trab.c
 delete mode 100644 board/trab/trab_fkt.c
 delete mode 100644 board/trab/tsc2000.c
 delete mode 100644 board/trab/tsc2000.h
 delete mode 100644 board/trab/u-boot.lds
 delete mode 100644 board/trab/vfd.c
 delete mode 100644 common/cmd_vfd.c
 delete mode 100644 include/configs/trab.h
 delete mode 100644 include/vfd_logo.h
MAINTAINERS +0 -1
index e2a4ba9..3babe66 100644
@@ -677,7 +677,6 @@ Grazvydas Ignotas <[email protected]>
 Gary Jennejohn <[email protected]>
 
 	smdk2400	ARM920T
-	trab		ARM920T
 
 Matthias Kaehlcke <[email protected]>
 	edb9301			ARM920T (EP9301)
MAKEALL +0 -1
index c3df657..553691f 100755
@@ -372,7 +372,6 @@ LIST_ARM9="			\
 	spear320		\
 	spear600		\
 	suen3			\
-	trab			\
 	VCMA9			\
 	versatile		\
 	versatileab		\
Makefile +1 -24
index 384a59e..d834963 100644
@@ -973,29 +973,6 @@ SX1_config:		unconfig
 	fi;
 	@$(MKCONFIG) -n $@ SX1 arm arm925t sx1
 
-# TRAB default configuration:	8 MB Flash, 32 MB RAM
-trab_config \
-trab_bigram_config \
-trab_bigflash_config \
-trab_old_config:	unconfig
-	@mkdir -p $(obj)include
-	@mkdir -p $(obj)board/trab
-	@[ -z "$(findstring _bigram,$@)" ] || \
-		{ echo "#define CONFIG_FLASH_8MB"  >>$(obj)include/config.h ; \
-		  echo "#define CONFIG_RAM_32MB"   >>$(obj)include/config.h ; \
-		}
-	@[ -z "$(findstring _bigflash,$@)" ] || \
-		{ echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \
-		  echo "#define CONFIG_RAM_16MB"   >>$(obj)include/config.h ; \
-		  echo "CONFIG_SYS_TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
-		}
-	@[ -z "$(findstring _old,$@)" ] || \
-		{ echo "#define CONFIG_FLASH_8MB"  >>$(obj)include/config.h ; \
-		  echo "#define CONFIG_RAM_16MB"   >>$(obj)include/config.h ; \
-		  echo "CONFIG_SYS_TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
-		}
-	@$(MKCONFIG) -n $@ -a trab arm arm920t trab - s3c24x0
-
 tx25_config	: unconfig
 	@echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
 	@$(MKCONFIG) $@ arm arm926ejs tx25 karo mx25
@@ -1115,7 +1092,7 @@ clean:
 	@rm -f $(obj)board/cray/L1/{bootscript.c,bootscript.image}	  \
 	       $(obj)board/matrix_vision/*/bootscript.img		  \
 	       $(obj)board/netstar/{eeprom,crcek,crcit,*.srec,*.bin}	  \
-	       $(obj)board/trab/trab_fkt   $(obj)board/voiceblue/eeprom   \
+	       $(obj)board/voiceblue/eeprom 				  \
 	       $(obj)board/armltd/{integratorap,integratorcp}/u-boot.lds  \
 	       $(obj)u-boot.lds						  \
 	       $(obj)arch/blackfin/cpu/bootrom-asm-offsets.[chs]
README +1 -2
index 76b1500..ae54f86 100644
@@ -698,7 +698,6 @@ The following options need to be configured:
 		CONFIG_CMD_SOURCE	  "source" command Support
 		CONFIG_CMD_SPI		* SPI serial bus support
 		CONFIG_CMD_USB		* USB support
-		CONFIG_CMD_VFD		* VFD support (TRAB)
 		CONFIG_CMD_CDP		* Cisco Discover Protocol support
 		CONFIG_CMD_FSL		* Microblaze FSL support
 
@@ -2206,7 +2205,7 @@ FIT uImage format:
 Modem Support:
 --------------
 
-[so far only for SMDK2400 and TRAB boards]
+[so far only for SMDK2400 boards]
 
 - Modem support enable:
 		CONFIG_MODEM_SUPPORT
arch/arm/cpu/arm920t/s3c24x0/timer.c +1 -7
index 8cf9ff6..f17b7ea 100644
@@ -177,7 +177,7 @@ ulong get_tbclk(void)
 {
 	ulong tbclk;
 
-#if defined(CONFIG_SMDK2400) || defined(CONFIG_TRAB)
+#if defined(CONFIG_SMDK2400)
 	tbclk = timer_load_val * 100;
 #elif defined(CONFIG_SBC2410X) || \
       defined(CONFIG_SMDK2410) || \
@@ -198,12 +198,6 @@ void reset_cpu(ulong ignored)
 {
 	struct s3c24x0_watchdog *watchdog;
 
-#ifdef CONFIG_TRAB
-	extern void disable_vfd(void);
-
-	disable_vfd();
-#endif
-
 	watchdog = s3c24x0_get_base_watchdog();
 
 	/* Disable watchdog */
arch/arm/include/asm/global_data.h +0 -3
index 2a84d27..d4c9afc 100644
@@ -41,9 +41,6 @@ typedef	struct	global_data {
 	unsigned long	env_addr;	/* Address  of Environment struct */
 	unsigned long	env_valid;	/* Checksum of Environment valid? */
 	unsigned long	fb_base;	/* base address of frame buffer */
-#ifdef CONFIG_VFD
-	unsigned char	vfd_type;	/* display type */
-#endif
 #ifdef CONFIG_FSL_ESDHC
 	unsigned long	sdhc_clk;
 #endif
arch/arm/lib/board.c +0 -16
index 1a784a1..e7af3d2 100644
@@ -344,17 +344,6 @@ void board_init_f (ulong bootflag)
 	addr &= ~(4096 - 1);
 	debug ("Top of RAM usable for U-Boot at: %08lx\n", addr);
 
-#ifdef CONFIG_VFD
-#	ifndef PAGE_SIZE
-#	  define PAGE_SIZE 4096
-#	endif
-	/*
-	 * reserve memory for VFD display (always full pages)
-	 */
-	addr -= vfd_setmem (addr);
-	gd->fb_base = addr;
-#endif /* CONFIG_VFD */
-
 #ifdef CONFIG_LCD
 #ifdef CONFIG_FB_ADDR
 	gd->fb_base = CONFIG_FB_ADDR;
@@ -533,11 +522,6 @@ void board_init_r (gd_t *id, ulong dest_addr)
 	/* initialize environment */
 	env_relocate ();
 
-#ifdef CONFIG_VFD
-	/* must do this after the framebuffer is allocated */
-	drv_vfd_init();
-#endif /* CONFIG_VFD */
-
 	/* IP Address */
 	gd->bd->bi_ip_addr = getenv_IPaddr ("ipaddr");
 
board/trab/Makefile deleted +0 -71

71 lines not on this page · raw message

board/trab/Pt1000_temp_data.h deleted +0 -71

71 lines not on this page · raw message

board/trab/README.kbd deleted +0 -44

44 lines not on this page · raw message

board/trab/auto_update.c deleted +0 -676

676 lines not on this page · raw message

board/trab/cmd_trab.c deleted +0 -879

879 lines not on this page · raw message

board/trab/config.mk deleted +0 -26
deleted file mode 100644
index 367f0b7..0000000
@@ -1,26 +0,0 @@
-#
-# (C) Copyright 2002
-# Gary Jennejohn, DENX Software Engineering, <[email protected]>
-#
-# TRAB board with S3C2400X (arm920t) cpu
-#
-# see http://www.samsung.com/ for more information on SAMSUNG
-#
-
-#
-# TRAB has 1 bank of 16 MB or 32 MB DRAM
-#
-# 0c00'0000 to 0e00'0000
-#
-# Linux-Kernel is expected to be at 0c00'8000, entry 0c00'8000
-#
-# we load ourself to 0CF0'0000	/ 0DF0'0000
-#
-# download areas is 0C80'0000
-#
-
-sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp
-
-ifndef CONFIG_SYS_TEXT_BASE
-CONFIG_SYS_TEXT_BASE = 0x0DF40000
-endif
board/trab/flash.c deleted +0 -569

569 lines not on this page · raw message

board/trab/lowlevel_init.S deleted +0 -182

182 lines not on this page · raw message

board/trab/memory.c deleted +0 -486

359 lines not on this page · raw message

board/trab/rs485.c deleted +0 -205

205 lines not on this page · raw message

board/trab/rs485.h deleted +0 -37
deleted file mode 100644
index 19e3244..0000000

Lines of this file are not shown. View the raw message.

board/trab/trab.c deleted +0 -436

436 lines not on this page · raw message

board/trab/trab_fkt.c deleted +0 -1418

1,418 lines not on this page · raw message

board/trab/tsc2000.c deleted +0 -366

366 lines not on this page · raw message

board/trab/tsc2000.h deleted +0 -148

148 lines not on this page · raw message

board/trab/u-boot.lds deleted +0 -64

64 lines not on this page · raw message

board/trab/vfd.c deleted +0 -574

574 lines not on this page · raw message

common/Makefile +0 -1
index f81cff9..224b7cc 100644

Lines of this file are not shown. View the raw message.

common/cmd_vfd.c deleted +0 -102

102 lines not on this page · raw message

common/main.c +0 -11
index dcbacc9..2730c6f 100644

Lines of this file are not shown. View the raw message.

doc/README.scrapyard +2 -1
index 8f98b60..c0a744e 100644

Lines of this file are not shown. View the raw message.

drivers/serial/serial_s3c24x0.c +0 -6
index f42b15e..abdbff1 100644

Lines of this file are not shown. View the raw message.

include/common.h +0 -3
index 00e266e..0c12ccf 100644

Lines of this file are not shown. View the raw message.

include/config_cmd_all.h +0 -1
index cdc5ff1..9716f9c 100644

Lines of this file are not shown. View the raw message.

include/configs/mx1fs2.h +0 -1
index 1632ce8..ddbc65a 100644

Lines of this file are not shown. View the raw message.

include/configs/scb9328.h +0 -1
index 3da214e..6a92ec3 100644

Lines of this file are not shown. View the raw message.

include/configs/trab.h deleted +0 -419

419 lines not on this page · raw message

include/configs/xm250.h +0 -1
index 232baf3..d61c2a4 100644

Lines of this file are not shown. View the raw message.

include/stdio_dev.h +0 -3
index 82ad463..23e0ee1 100644

Lines of this file are not shown. View the raw message.

include/vfd_logo.h deleted +0 -1032

1,032 lines not on this page · raw message

tools/env/README +0 -3
index d5f228f..3f0d77e 100644

Lines of this file are not shown. View the raw message.

tools/env/fw_env.h +1 -1
index c83d608..9258c79 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.7.4.4

Part of the diff is not shown here. View the raw message.

#1 lore raw

PATCH 1/1 ARM: drop unsupported 'trab' board

Dear Albert,

Quoted 7 lines · In message <[email protected]> I wrote:

The 'trab' board configuration is broken, and there is nobody who is interested and willing to fix it. Drop it.

This includes support for VFD displays which have always been used by this board only.

See http://article.gmane.org/gmane.comp.boot-loaders.u-boot/98977

Do you agree to pull this in now? {Just give m your ACK, and I will apply directly.]

Thanks.

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
Everyting looks interesting until you do it. Then you find it's  just
another job.                     - Terry Pratchett, _Moving Pictures_
author Applied
#2 lore raw

PATCH 1/1 ARM: drop unsupported 'trab' board

In reply to Wolfgang Denk

Dear Wolfgang Denk,

Quoted 60 lines · In message <[email protected]> you wrote:

The 'trab' board configuration is broken, and there is nobody who is interested and willing to fix it. Drop it.

This includes support for VFD displays which have always been used by this board only.

---
 MAINTAINERS                          |    1 -
 MAKEALL                              |    1 -
 Makefile                             |   25 +-
 README                               |    3 +-
 arch/arm/cpu/arm920t/s3c24x0/timer.c |    8 +-
 arch/arm/include/asm/global_data.h   |    3 -
 arch/arm/lib/board.c                 |   16 -
 board/trab/Makefile                  |   71 --
 board/trab/Pt1000_temp_data.h        |   71 --
 board/trab/README.kbd                |   44 --
 board/trab/auto_update.c             |  676 ----------------
 board/trab/cmd_trab.c                |  879 ---------------------
 board/trab/config.mk                 |   26 -
 board/trab/flash.c                   |  569 --------------
 board/trab/lowlevel_init.S           |  182 -----
 board/trab/memory.c                  |  486 ------------
 board/trab/rs485.c                   |  205 -----
 board/trab/rs485.h                   |   37 -
 board/trab/trab.c                    |  436 -----------
 board/trab/trab_fkt.c                | 1418 ----------------------------------
 board/trab/tsc2000.c                 |  366 ---------
 board/trab/tsc2000.h                 |  148 ----
 board/trab/u-boot.lds                |   64 --
 board/trab/vfd.c                     |  574 --------------
 common/Makefile                      |    1 -
 common/cmd_vfd.c                     |  102 ---
 common/main.c                        |   11 -
 doc/README.scrapyard                 |    3 +-
 drivers/serial/serial_s3c24x0.c      |    6 -
 include/common.h                     |    3 -
 include/config_cmd_all.h             |    1 -
 include/configs/mx1fs2.h             |    1 -
 include/configs/scb9328.h            |    1 -
 include/configs/trab.h               |  419 ----------
 include/configs/xm250.h              |    1 -
 include/stdio_dev.h                  |    3 -
 include/vfd_logo.h                   | 1032 -------------------------
 tools/env/README                     |    3 -
 tools/env/fw_env.h                   |    2 +-
 39 files changed, 6 insertions(+), 7892 deletions(-)
 delete mode 100644 board/trab/Makefile
 delete mode 100644 board/trab/Pt1000_temp_data.h
 delete mode 100644 board/trab/README.kbd
 delete mode 100644 board/trab/auto_update.c
 delete mode 100644 board/trab/cmd_trab.c
 delete mode 100644 board/trab/config.mk
 delete mode 100644 board/trab/flash.c
 delete mode 100644 board/trab/lowlevel_init.S
 delete mode 100644 board/trab/memory.c
 delete mode 100644 board/trab/rs485.c
 delete mode 100644 board/trab/rs485.h
 delete mode 100644 board/trab/trab.c
Quoted 8 lines
 delete mode 100644 board/trab/trab_fkt.c
 delete mode 100644 board/trab/tsc2000.c
 delete mode 100644 board/trab/tsc2000.h
 delete mode 100644 board/trab/u-boot.lds
 delete mode 100644 board/trab/vfd.c
 delete mode 100644 common/cmd_vfd.c
 delete mode 100644 include/configs/trab.h
 delete mode 100644 include/vfd_logo.h

Applied, thanks.

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
"God is a comedian playing to an audience too afraid to laugh."
- Voltaire