arm/km: remove unmaintained board SUGP1
authorHolger Brunck <holger.brunck@ch.abb.com>
Mon, 13 Jan 2020 14:34:02 +0000 (15:34 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 23 Jan 2020 12:29:58 +0000 (07:29 -0500)
This target is out of maintenance and can be removed.

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

index 538f90f48b6fd2938c82d92e14d0f46223811e04..45c0b5651dc7f3d6b29e53c85e0c72d1d210bf08 100644 (file)
@@ -8,6 +8,5 @@ F:      configs/km_kirkwood_128m16_defconfig
 F:     configs/km_kirkwood_pci_defconfig
 F:     configs/kmcoge5un_defconfig
 F:     configs/kmnusa_defconfig
-F:     configs/kmsugp1_defconfig
 F:     configs/kmsuse2_defconfig
 F:     configs/kmsuv31_defconfig
index 99bea009fafc1dec882aed6b3a925d2b7ac9072c..8bb0470bc3073aee35992c1b5fde8c819ae2fa0b 100644 (file)
@@ -199,29 +199,6 @@ int fpga_reset(void)
        /* no dedicated reset pin for FPGA */
        return 0;
 }
-#elif defined(KM_PCIE_RESET_MPP7)
-
-#define KM_PEX_RST_GPIO_PIN    7
-int fpga_reset(void)
-{
-       if (!check_boco2()) {
-               /* we do not have BOCO2, this is not really used */
-               return 0;
-       }
-
-       printf("PCIe reset through GPIO7: ");
-       /* apply PCIe reset via GPIO */
-       kw_gpio_set_valid(KM_PEX_RST_GPIO_PIN, 1);
-       kw_gpio_direction_output(KM_PEX_RST_GPIO_PIN, 1);
-       kw_gpio_set_value(KM_PEX_RST_GPIO_PIN, 0);
-       udelay(1000*10);
-       kw_gpio_set_value(KM_PEX_RST_GPIO_PIN, 1);
-
-       printf(" done\n");
-
-       return 0;
-}
-
 #else
 
 #define PRST1          0x4
index 473acfca68be12d575dbade415f6e1b2e8bee760..7d191ab860b58f257b066f8d812f80c38f502396 100644 (file)
@@ -69,11 +69,7 @@ static const u32 kwmpp_config[] = {
        MPP4_NF_IO6,
        MPP5_NF_IO7,
        MPP6_SYSRST_OUTn,
-#if defined(KM_PCIE_RESET_MPP7)
-       MPP7_GPO,
-#else
        MPP7_PEX_RST_OUTn,
-#endif
 #if defined(CONFIG_SYS_I2C_SOFT)
        MPP8_GPIO,              /* SDA */
        MPP9_GPIO,              /* SCL */
diff --git a/configs/kmsugp1_defconfig b/configs/kmsugp1_defconfig
deleted file mode 100644 (file)
index f740ff2..0000000
+++ /dev/null
@@ -1,57 +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_KM_FPGA_CONFIG=y
-CONFIG_KM_ENV_IS_IN_SPI_NOR=y
-CONFIG_KM_PIGGY4_88E6352=y
-CONFIG_ENV_SIZE=0x2000
-CONFIG_ENV_SECT_SIZE=0x10000
-CONFIG_ENV_OFFSET=0xC0000
-CONFIG_IDENT_STRING="\nKeymile SUGP1"
-CONFIG_SYS_EXTRA_OPTIONS="KM_SUGP1"
-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_SPI_FLASH=y
-CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
-CONFIG_ENV_OFFSET_REDUND=0xD0000
-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_MV88E6352_SWITCH=y
-CONFIG_MVGBE=y
-CONFIG_MII=y
-CONFIG_SYS_NS16550=y
-CONFIG_SPI=y
-CONFIG_KIRKWOOD_SPI=y
-CONFIG_BCH=y
index ea24964f54af6c007dfbb4d1ca20681f37acf14c..37f9aa0058180e12bc56bfe249110ff08df37c34 100644 (file)
 #define CONFIG_SYS_KWD_CONFIG $(CONFIG_BOARDDIR)/kwbimage_128M16_1.cfg
 #define CONFIG_KM_DISABLE_PCIE
 
-/* KM_NUSA / KM_SUGP1 */
-#elif defined(CONFIG_KM_NUSA) || defined(CONFIG_KM_SUGP1)
+/* KM_NUSA */
+#elif defined(CONFIG_KM_NUSA)
 
-# if defined(CONFIG_KM_NUSA)
 #define CONFIG_HOSTNAME                        "kmnusa"
-# elif defined(CONFIG_KM_SUGP1)
-#define CONFIG_HOSTNAME                        "kmsugp1"
-#define KM_PCIE_RESET_MPP7
-#endif
 
 #undef CONFIG_SYS_KWD_CONFIG
 #define CONFIG_SYS_KWD_CONFIG $(CONFIG_BOARDDIR)/kwbimage_128M16_1.cfg
index 63e070868d5373366a2324dea6aa9f6c64c021da..c110c71f2a8a3b7b2da383204ec3c82fbf1fe9bc 100644 (file)
@@ -939,7 +939,6 @@ CONFIG_KM_KIRKWOOD_PCI
 CONFIG_KM_NEW_ENV
 CONFIG_KM_NUSA
 CONFIG_KM_ROOTFSSIZE
-CONFIG_KM_SUGP1
 CONFIG_KM_SUSE2
 CONFIG_KM_SUV31
 CONFIG_KM_UBI_LINUX_MTD