]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm/km: remove board KMCOGE3UN
authorHolger Brunck <holger.brunck@ch.abb.com>
Mon, 25 Nov 2019 16:24:15 +0000 (17:24 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 10 Jan 2020 15:25:13 +0000 (10:25 -0500)
This target is out of maintenance and can be removed.

Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com>
CC: Stefan Roese <sr@denx.de>
CC: Valentin Longchamp <valentin.longchamp@ch.abb.com>
Reviewed-by: Stefan Roese <sr@denx.de>
board/keymile/km_arm/MAINTAINERS
board/keymile/km_arm/km_arm.c
configs/mgcoge3un_defconfig [deleted file]
include/configs/km_kirkwood.h
scripts/config_whitelist.txt

index d80589ded7c8f0480a47a82f865721336072c88b..17926017c3d3a23355af6de885f82de6305aac1a 100644 (file)
@@ -10,4 +10,3 @@ F:    configs/kmcoge5un_defconfig
 F:     configs/kmnusa_defconfig
 F:     configs/kmsugp1_defconfig
 F:     configs/kmsuv31_defconfig
-F:     configs/mgcoge3un_defconfig
index 627543a0aa3686efbf142b1cec19e7e122392224..7aa9fa7fcadec8390d7bf65fc83f6f759eb903dc 100644 (file)
@@ -122,26 +122,6 @@ static const u32 kwmpp_config[] = {
 
 static uchar ivm_content[CONFIG_SYS_IVM_EEPROM_MAX_LEN];
 
-#if defined(CONFIG_KM_MGCOGE3UN)
-/*
- * Wait for startup OK from mgcoge3ne
- */
-static int startup_allowed(void)
-{
-       unsigned char buf;
-
-       /*
-        * Read CIRQ16 bit (bit 0)
-        */
-       if (i2c_read(BOCO, REG_IRQ_CIRQ2, 1, &buf, 1) != 0)
-               printf("%s: Error reading Boco\n", __func__);
-       else
-               if ((buf & MASK_RBI_DEFECT_16) == MASK_RBI_DEFECT_16)
-                       return 1;
-       return 0;
-}
-#endif
-
 #if (defined(CONFIG_KM_PIGGY4_88E6061)|defined(CONFIG_KM_PIGGY4_88E6352))
 /*
  * All boards with PIGGY4 connected via a simple switch have ethernet always
@@ -199,39 +179,6 @@ static void set_bootcount_addr(void)
 
 int misc_init_r(void)
 {
-#if defined(CONFIG_KM_MGCOGE3UN)
-       char *wait_for_ne;
-       u8 dip_switch = kw_gpio_get_value(KM_FLASH_ERASE_ENABLE);
-       wait_for_ne = env_get("waitforne");
-
-       if ((wait_for_ne != NULL) && (dip_switch == 0)) {
-               if (strcmp(wait_for_ne, "true") == 0) {
-                       int cnt = 0;
-                       int abort = 0;
-                       puts("NE go: ");
-                       while (startup_allowed() == 0) {
-                               if (tstc()) {
-                                       (void) getc(); /* consume input */
-                                       abort = 1;
-                                       break;
-                               }
-                               udelay(200000);
-                               cnt++;
-                               if (cnt == 5)
-                                       puts("wait\b\b\b\b");
-                               if (cnt == 10) {
-                                       cnt = 0;
-                                       puts("    \b\b\b\b");
-                               }
-                       }
-                       if (abort == 1)
-                               printf("\nAbort waiting for ne\n");
-                       else
-                               puts("OK\n");
-               }
-       }
-#endif
-
        ivm_read_eeprom(ivm_content, CONFIG_SYS_IVM_EEPROM_MAX_LEN,
                        CONFIG_PIGGY_MAC_ADDRESS_OFFSET);
 
@@ -294,7 +241,7 @@ int board_init(void)
 
 int board_late_init(void)
 {
-#if (defined(CONFIG_KM_COGE5UN) | defined(CONFIG_KM_MGCOGE3UN))
+#if defined(CONFIG_KM_COGE5UN)
        u8 dip_switch = kw_gpio_get_value(KM_FLASH_ERASE_ENABLE);
 
        /* if pin 1 do full erase */
diff --git a/configs/mgcoge3un_defconfig b/configs/mgcoge3un_defconfig
deleted file mode 100644 (file)
index 1604349..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-CONFIG_ARM=y
-CONFIG_SYS_DCACHE_OFF=y
-CONFIG_ARCH_CPU_INIT=y
-CONFIG_KIRKWOOD=y
-CONFIG_SYS_TEXT_BASE=0x07d00000
-CONFIG_TARGET_KM_KIRKWOOD=y
-CONFIG_PIGGY_MAC_ADDRESS_OFFSET=3
-CONFIG_KM_PIGGY4_88E6061=y
-CONFIG_ENV_SIZE=0x2000
-CONFIG_ENV_OFFSET=0x0
-CONFIG_IDENT_STRING="\nKeymile COGE3UN"
-CONFIG_SYS_EXTRA_OPTIONS="KM_MGCOGE3UN"
-CONFIG_MISC_INIT_R=y
-CONFIG_VERSION_VARIABLE=y
-# CONFIG_DISPLAY_BOARDINFO is not set
-CONFIG_HUSH_PARSER=y
-CONFIG_AUTOBOOT_KEYED=y
-CONFIG_AUTOBOOT_PROMPT="Hit <SPACE> key to stop autoboot in %2ds\n"
-CONFIG_AUTOBOOT_STOP_STR=" "
-CONFIG_CMD_ASKENV=y
-CONFIG_CMD_GREPENV=y
-CONFIG_CMD_EEPROM=y
-# CONFIG_CMD_FLASH is not set
-CONFIG_CMD_I2C=y
-CONFIG_CMD_NAND=y
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
-CONFIG_CMD_JFFS2=y
-CONFIG_CMD_MTDPARTS=y
-CONFIG_MTDIDS_DEFAULT="nand0=orion_nand"
-CONFIG_MTDPARTS_DEFAULT="mtdparts=orion_nand:-(ubi0);"
-CONFIG_CMD_UBI=y
-# CONFIG_CMD_UBIFS is not set
-CONFIG_OF_CONTROL=y
-CONFIG_DEFAULT_DEVICE_TREE="kirkwood-km_kirkwood"
-CONFIG_ENV_IS_IN_EEPROM=y
-CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
-CONFIG_ENV_OFFSET_REDUND=0x2000
-CONFIG_SYS_RELOC_GD_ENV_ADDR=y
-CONFIG_BOOTCOUNT_LIMIT=y
-CONFIG_BOOTCOUNT_RAM=y
-CONFIG_BOOTCOUNT_BOOTLIMIT=3
-# CONFIG_MMC is not set
-CONFIG_MTD=y
-CONFIG_MTD_RAW_NAND=y
-CONFIG_SF_DEFAULT_SPEED=8100000
-CONFIG_SPI_FLASH_STMICRO=y
-CONFIG_MVGBE=y
-CONFIG_MII=y
-CONFIG_SYS_NS16550=y
-CONFIG_SPI=y
-CONFIG_KIRKWOOD_SPI=y
-CONFIG_BCH=y
index 6fce83cfcd4dd1f50141599bb957a0ababa2f032..064097a631c0e62d54c63dbbdfa51568418e843d 100644 (file)
 #undef CONFIG_SYS_KWD_CONFIG
 #define CONFIG_SYS_KWD_CONFIG $(CONFIG_BOARDDIR)/kwbimage_128M16_1.cfg
 
-/* KM_MGCOGE3UN */
-#elif defined(CONFIG_KM_MGCOGE3UN)
-#define CONFIG_HOSTNAME                        "mgcoge3un"
-#undef CONFIG_SYS_KWD_CONFIG
-#define CONFIG_SYS_KWD_CONFIG $(CONFIG_BOARDDIR)/kwbimage-memphis.cfg
-#define CONFIG_KM_BOARD_EXTRA_ENV      "waitforne=true\0"
-#define CONFIG_KM_DISABLE_PCIE
-
 /* KMCOGE5UN */
 #elif defined(CONFIG_KM_COGE5UN)
 #undef CONFIG_SYS_KWD_CONFIG
 
 #ifdef CONFIG_KM_PIGGY4_88E6061
 /*
- * Some keymile boards like mgcoge3un have their PIGGY4 connected via
+ * Some keymile boards like mgcoge5un have their PIGGY4 connected via
  * an Marvell 88E6061 simple switch.
  * In this case we have to change the default settings for the
  * ethernet phy connected to the kirkwood.
index ce6c3394112dc2641810765434a04ef3f179587e..cd154738a422c7e7cb3a02766b901562e4a2f77e 100644 (file)
@@ -939,7 +939,6 @@ CONFIG_KM_ECC_MODE
 CONFIG_KM_KIRKWOOD
 CONFIG_KM_KIRKWOOD_128M16
 CONFIG_KM_KIRKWOOD_PCI
-CONFIG_KM_MGCOGE3UN
 CONFIG_KM_NEW_ENV
 CONFIG_KM_NUSA
 CONFIG_KM_ROOTFSSIZE