From cb578f0a87e685e74c4028eddf0ad1c810723716 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Tue, 8 Oct 2019 20:54:49 +0200 Subject: arm: remove the H2200 board U-Boot cannot be built for h2200_defconfig with CONFIG_DM=y. The maintainer Lukasz Dalek suggested to remove the board. https://lists.denx.de/pipermail/u-boot/2019-August/380685.html Cc: Lukasz Dalek Signed-off-by: Heinrich Schuchardt [trini: As this is the last non-toradex PXA board, update travis too] Signed-off-by: Tom Rini --- board/h2200/Kconfig | 9 ------ board/h2200/MAINTAINERS | 6 ---- board/h2200/Makefile | 12 -------- board/h2200/h2200-header.S | 14 --------- board/h2200/h2200.c | 73 ---------------------------------------------- 5 files changed, 114 deletions(-) delete mode 100644 board/h2200/Kconfig delete mode 100644 board/h2200/MAINTAINERS delete mode 100644 board/h2200/Makefile delete mode 100644 board/h2200/h2200-header.S delete mode 100644 board/h2200/h2200.c (limited to 'board') diff --git a/board/h2200/Kconfig b/board/h2200/Kconfig deleted file mode 100644 index c0e0c1e7639..00000000000 --- a/board/h2200/Kconfig +++ /dev/null @@ -1,9 +0,0 @@ -if TARGET_H2200 - -config SYS_BOARD - default "h2200" - -config SYS_CONFIG_NAME - default "h2200" - -endif diff --git a/board/h2200/MAINTAINERS b/board/h2200/MAINTAINERS deleted file mode 100644 index b66ff515cfe..00000000000 --- a/board/h2200/MAINTAINERS +++ /dev/null @@ -1,6 +0,0 @@ -H2200 BOARD -M: Lukasz Dalek -S: Maintained -F: board/h2200/ -F: include/configs/h2200.h -F: configs/h2200_defconfig diff --git a/board/h2200/Makefile b/board/h2200/Makefile deleted file mode 100644 index 690b7661788..00000000000 --- a/board/h2200/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0+ -# -# h2200 Support -# -# Copyright (C) 2012 Lukasz Dalek - -obj-y := h2200.o - -extra-y := h2200-header.bin - -$(obj)/h2200-header.bin: $(obj)/h2200-header.o - $(OBJCOPY) -O binary $< $@ diff --git a/board/h2200/h2200-header.S b/board/h2200/h2200-header.S deleted file mode 100644 index be8b7fb923d..00000000000 --- a/board/h2200/h2200-header.S +++ /dev/null @@ -1,14 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * iPAQ h2200 header - * - * Copyright (C) 2012 Lukasz Dalek - */ - - .word 0xea0003fe /* b 0x1000 */ - - .org 0x40 - .ascii "ECEC" - - .org 0x1000 - 1 - .byte 0x0 diff --git a/board/h2200/h2200.c b/board/h2200/h2200.c deleted file mode 100644 index e1b7b2ce8a1..00000000000 --- a/board/h2200/h2200.c +++ /dev/null @@ -1,73 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * iPAQ h2200 board configuration - * - * Copyright (C) 2012 Lukasz Dalek - */ - -#include -#include -#include -#include -#include -#include - -DECLARE_GLOBAL_DATA_PTR; - -int board_eth_init(bd_t *bis) -{ - usb_eth_initialize(bis); - return 0; -} - -void reset_cpu(ulong ignore) -{ - /* Enable VLIO interface on Hamcop */ - writeb(0x1, 0x4000); - - /* Reset board (cold reset) */ - writeb(0xff, 0x4002); -} - -int board_init(void) -{ - /* We have RAM, disable cache */ - dcache_disable(); - icache_disable(); - - gd->bd->bi_arch_number = MACH_TYPE_H2200; - - /* adress of boot parameters */ - gd->bd->bi_boot_params = 0xa0000100; - - /* Let host see that device is disconnected */ - udc_disconnect(); - mdelay(500); - - return 0; -} - -int dram_init(void) -{ - /* - * Everything except MSC0 was already set up by - * 1st stage bootloader. - * - * This setting enables access to companion chip. - */ - clrsetbits_le32(MSC0, 0xffffffff, CONFIG_SYS_MSC0_VAL); - gd->ram_size = CONFIG_SYS_SDRAM_SIZE; - return 0; -} - -#ifdef CONFIG_USB_GADGET_PXA2XX -int board_usb_init(int index, enum usb_init_type init) -{ - return 0; -} - -int board_usb_cleanup(int index, enum usb_init_type init) -{ - return 0; -} -#endif -- cgit v1.2.3