Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2C360C433F5 for ; Thu, 9 Sep 2021 12:04:41 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 31392604D2 for ; Thu, 9 Sep 2021 12:04:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 31392604D2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 43A59805DF; Thu, 9 Sep 2021 14:04:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1631189078; bh=e5OXAK6hz48wAefcUoXW1HzifS7uhgf/YuTTr6iKqTE=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=RPNTfXZCJPJyHL46/xaZXEdpg9H5UACWwai7RVFZPnckmC8FqqKNwAY9z8Ial6GU7 f4uqxnB7msAyiw3QG1LkBeyAGteQRFZk00P0KTETiW2SvGU8mLjPlGtRXXtnb70HPv 1UidMs56+dWseQPN3wvq+LGQu8AcG3sLL2wopx43lzci45KlT/loP1zeWjGosbPLbo BC15fEo2eG5dnTkqaYt5Y/a6SgxfS9aAbYSWhYiDFoAqEWUlZ7SDCuEfrf9+6qv/1x NVH+SucJXhAa76KOxR9u56Ui0C7WUtbMVTe4z29YblTK90Qr50BO6b2t2g+uRelzOx CPg9A9ZHyfJsA== Received: by phobos.denx.de (Postfix, from userid 109) id 8526A807FE; Thu, 9 Sep 2021 14:04:35 +0200 (CEST) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [91.198.250.252]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1A8FB80397 for ; Thu, 9 Sep 2021 14:04:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4H4yNb72CNzQkBB; Thu, 9 Sep 2021 14:04:31 +0200 (CEST) Subject: Re: [PATCH 2/6] arm: Remove aspenite board To: Tom Rini , u-boot@lists.denx.de Cc: Prafulla Wadaskar References: <20210909115453.5073-1-trini@konsulko.com> <20210909115453.5073-2-trini@konsulko.com> From: Stefan Roese Message-ID: Date: Thu, 9 Sep 2021 14:04:28 +0200 MIME-Version: 1.0 In-Reply-To: <20210909115453.5073-2-trini@konsulko.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: E69871887 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On 09.09.21 13:54, Tom Rini wrote: > This board has not been converted to CONFIG_DM by the deadline. > Remove it. > > Cc: Prafulla Wadaskar > Cc: Stefan Roese > Signed-off-by: Tom Rini Acked-by: Stefan Roese Thanks, Stefan > --- > arch/arm/Kconfig | 6 ---- > board/Marvell/aspenite/Kconfig | 15 ---------- > board/Marvell/aspenite/MAINTAINERS | 6 ---- > board/Marvell/aspenite/Makefile | 8 ------ > board/Marvell/aspenite/aspenite.c | 45 ------------------------------ > configs/aspenite_defconfig | 19 ------------- > drivers/mmc/mv_sdhci.c | 24 ---------------- > include/configs/aspenite.h | 30 -------------------- > 8 files changed, 153 deletions(-) > delete mode 100644 board/Marvell/aspenite/Kconfig > delete mode 100644 board/Marvell/aspenite/MAINTAINERS > delete mode 100644 board/Marvell/aspenite/Makefile > delete mode 100644 board/Marvell/aspenite/aspenite.c > delete mode 100644 configs/aspenite_defconfig > delete mode 100644 include/configs/aspenite.h > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index 909a308970b7..9ef4f6519826 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -514,11 +514,6 @@ config ARCH_AT91 > select SPL_BOARD_INIT if SPL && !TARGET_SMARTWEB > select SPL_SEPARATE_BSS if SPL > > -config TARGET_ASPENITE > - bool "Support aspenite" > - select CPU_ARM926EJS > - select GPIO_EXTRA_HEADER > - > config ARCH_DAVINCI > bool "TI DaVinci" > select CPU_ARM926EJS > @@ -2102,7 +2097,6 @@ source "board/armltd/total_compute/Kconfig" > > source "board/bosch/shc/Kconfig" > source "board/bosch/guardian/Kconfig" > -source "board/Marvell/aspenite/Kconfig" > source "board/Marvell/octeontx/Kconfig" > source "board/Marvell/octeontx2/Kconfig" > source "board/armltd/vexpress64/Kconfig" > diff --git a/board/Marvell/aspenite/Kconfig b/board/Marvell/aspenite/Kconfig > deleted file mode 100644 > index 4dd49c4452b9..000000000000 > --- a/board/Marvell/aspenite/Kconfig > +++ /dev/null > @@ -1,15 +0,0 @@ > -if TARGET_ASPENITE > - > -config SYS_BOARD > - default "aspenite" > - > -config SYS_VENDOR > - default "Marvell" > - > -config SYS_SOC > - default "armada100" > - > -config SYS_CONFIG_NAME > - default "aspenite" > - > -endif > diff --git a/board/Marvell/aspenite/MAINTAINERS b/board/Marvell/aspenite/MAINTAINERS > deleted file mode 100644 > index a77d30eb78ce..000000000000 > --- a/board/Marvell/aspenite/MAINTAINERS > +++ /dev/null > @@ -1,6 +0,0 @@ > -ASPENITE BOARD > -M: Prafulla Wadaskar > -S: Maintained > -F: board/Marvell/aspenite/ > -F: include/configs/aspenite.h > -F: configs/aspenite_defconfig > diff --git a/board/Marvell/aspenite/Makefile b/board/Marvell/aspenite/Makefile > deleted file mode 100644 > index f67a978a12bc..000000000000 > --- a/board/Marvell/aspenite/Makefile > +++ /dev/null > @@ -1,8 +0,0 @@ > -# SPDX-License-Identifier: GPL-2.0+ > -# > -# (C) Copyright 2010 > -# Marvell Semiconductor > -# Written-by: Prafulla Wadaskar > -# Contributor: Mahavir Jain > - > -obj-y := aspenite.o > diff --git a/board/Marvell/aspenite/aspenite.c b/board/Marvell/aspenite/aspenite.c > deleted file mode 100644 > index 1f9389c0a7ab..000000000000 > --- a/board/Marvell/aspenite/aspenite.c > +++ /dev/null > @@ -1,45 +0,0 @@ > -// SPDX-License-Identifier: GPL-2.0+ > -/* > - * (C) Copyright 2010 > - * Marvell Semiconductor > - * Written-by: Prafulla Wadaskar > - * Contributor: Mahavir Jain > - */ > - > -#include > -#include > -#include > -#include > -#include > -#include > -#include > -#include > - > -DECLARE_GLOBAL_DATA_PTR; > - > -int board_early_init_f(void) > -{ > - u32 mfp_cfg[] = { > - /* I2C */ > - MFP105_CI2C_SDA, > - MFP106_CI2C_SCL, > - > - /* Enable Console on UART1 */ > - MFP107_UART1_RXD, > - MFP108_UART1_TXD, > - > - MFP_EOC /*End of configureation*/ > - }; > - /* configure MFP's */ > - mfp_config(mfp_cfg); > - return 0; > -} > - > -int board_init(void) > -{ > - /* arch number of Board */ > - gd->bd->bi_arch_number = MACH_TYPE_ASPENITE; > - /* adress of boot parameters */ > - gd->bd->bi_boot_params = armd1_sdram_base(0) + 0x100; > - return 0; > -} > diff --git a/configs/aspenite_defconfig b/configs/aspenite_defconfig > deleted file mode 100644 > index b85f7241b61d..000000000000 > --- a/configs/aspenite_defconfig > +++ /dev/null > @@ -1,19 +0,0 @@ > -CONFIG_ARM=y > -CONFIG_SKIP_LOWLEVEL_INIT=y > -CONFIG_ARCH_CPU_INIT=y > -CONFIG_TARGET_ASPENITE=y > -CONFIG_SYS_TEXT_BASE=0x600000 > -CONFIG_NR_DRAM_BANKS=2 > -CONFIG_ENV_SIZE=0x20000 > -CONFIG_IDENT_STRING="\nMarvell-Aspenite DB" > -CONFIG_SYS_LOAD_ADDR=0x800000 > -CONFIG_BOOTDELAY=3 > -CONFIG_USE_PREBOOT=y > -# CONFIG_DISPLAY_BOARDINFO is not set > -CONFIG_BOARD_EARLY_INIT_F=y > -# CONFIG_CMD_SETEXPR is not set > -CONFIG_SYS_RELOC_GD_ENV_ADDR=y > -# CONFIG_NET is not set > -# CONFIG_MMC is not set > -CONFIG_SYS_NS16550=y > -CONFIG_OF_LIBFDT=y > diff --git a/drivers/mmc/mv_sdhci.c b/drivers/mmc/mv_sdhci.c > index 591137f50e39..336ebf141026 100644 > --- a/drivers/mmc/mv_sdhci.c > +++ b/drivers/mmc/mv_sdhci.c > @@ -44,29 +44,6 @@ static void sdhci_mvebu_mbus_config(void __iomem *base) > > #ifdef CONFIG_MMC_SDHCI_IO_ACCESSORS > static struct sdhci_ops mv_ops; > - > -#if defined(CONFIG_SHEEVA_88SV331xV5) > -#define SD_CE_ATA_2 0xEA > -#define MMC_CARD 0x1000 > -#define MMC_WIDTH 0x0100 > -static inline void mv_sdhci_writeb(struct sdhci_host *host, u8 val, int reg) > -{ > - struct mmc *mmc = host->mmc; > - u32 ata = (unsigned long)host->ioaddr + SD_CE_ATA_2; > - > - if (!IS_SD(mmc) && reg == SDHCI_HOST_CONTROL) { > - if (mmc->bus_width == 8) > - writew(readw(ata) | (MMC_CARD | MMC_WIDTH), ata); > - else > - writew(readw(ata) & ~(MMC_CARD | MMC_WIDTH), ata); > - } > - > - writeb(val, host->ioaddr + reg); > -} > - > -#else > -#define mv_sdhci_writeb NULL > -#endif /* CONFIG_SHEEVA_88SV331xV5 */ > #endif /* CONFIG_MMC_SDHCI_IO_ACCESSORS */ > > int mv_sdh_init(unsigned long regbase, u32 max_clk, u32 min_clk, u32 quirks) > @@ -84,7 +61,6 @@ int mv_sdh_init(unsigned long regbase, u32 max_clk, u32 min_clk, u32 quirks) > host->max_clk = max_clk; > #ifdef CONFIG_MMC_SDHCI_IO_ACCESSORS > memset(&mv_ops, 0, sizeof(struct sdhci_ops)); > - mv_ops.write_b = mv_sdhci_writeb; > host->ops = &mv_ops; > #endif > > diff --git a/include/configs/aspenite.h b/include/configs/aspenite.h > deleted file mode 100644 > index 4a25d5616531..000000000000 > --- a/include/configs/aspenite.h > +++ /dev/null > @@ -1,30 +0,0 @@ > -/* SPDX-License-Identifier: GPL-2.0+ */ > -/* > - * (C) Copyright 2010 > - * Marvell Semiconductor > - * Written-by: Prafulla Wadaskar > - * Contributor: Mahavir Jain > - */ > - > -#ifndef __CONFIG_ASPENITE_H > -#define __CONFIG_ASPENITE_H > - > -/* > - * High Level Configuration Options > - */ > -#define CONFIG_SHEEVA_88SV331xV5 1 /* CPU Core subversion */ > -#define CONFIG_ARMADA100 1 /* SOC Family Name */ > - > -/* > - * There is no internal RAM in ARMADA100, using DRAM > - * TBD: dcache to be used for this > - */ > -#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE - 0x00200000) > - > -#include "mv-common.h" > - > -/* > - * Environment variables configurations > - */ > - > -#endif /* __CONFIG_ASPENITE_H */ > Viele Grüße, Stefan -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de