Re: [U-Boot] [PATCH 1/1] arm: remove the H2200 board

2019-10-17 Thread Tom Rini
On Tue, Oct 08, 2019 at 08:54:49PM +0200, Heinrich Schuchardt wrote:

> 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 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH 1/1] arm: remove the H2200 board

2019-10-08 Thread Heinrich Schuchardt
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 
---
 arch/arm/Kconfig   |   4 --
 board/h2200/Kconfig|   9 ---
 board/h2200/MAINTAINERS|   6 --
 board/h2200/Makefile   |  12 
 board/h2200/h2200-header.S |  14 
 board/h2200/h2200.c|  73 -
 configs/h2200_defconfig|  38 ---
 include/configs/h2200.h| 128 -
 8 files changed, 284 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
 delete mode 100644 configs/h2200_defconfig
 delete mode 100644 include/configs/h2200.h

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 3b0e315061..416d0fdb75 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1479,9 +1479,6 @@ config TARGET_LS1046AFRWY
  The LS1046A Freeway Board (FRWY) is a high-performance
  development platform that supports the QorIQ LS1046A
  Layerscape Architecture processor.
-config TARGET_H2200
-   bool "Support h2200"
-   select CPU_PXA

 config TARGET_COLIBRI_PXA270
bool "Support colibri_pxa270"
@@ -1789,7 +1786,6 @@ source "board/freescale/mx35pdk/Kconfig"
 source "board/freescale/s32v234evb/Kconfig"
 source "board/grinn/chiliboard/Kconfig"
 source "board/gumstix/pepper/Kconfig"
-source "board/h2200/Kconfig"
 source "board/hisilicon/hikey/Kconfig"
 source "board/hisilicon/hikey960/Kconfig"
 source "board/hisilicon/poplar/Kconfig"
diff --git a/board/h2200/Kconfig b/board/h2200/Kconfig
deleted file mode 100644
index c0e0c1e763..00
--- 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 b66ff515cf..00
--- 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 690b766178..00
--- 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 be8b7fb923..00
--- 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 e1b7b2ce8a..00
--- 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 = 0xa100;
-
-   /* 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, 0x, 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
diff --git a/configs/h2200_defconfig b/configs/h2200_defconfig
deleted file mode 100644
index 72bb4d3f70..00
--- a/configs/h2200_defconfig
+++ /dev/null
@@ -1,38 +0,0 @@
-CONFIG_ARM=y