From patchwork Tue Jul 18 23:33:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1809495 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=kZxeB+d9; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4R5FdZ2bRmz20Cs for ; Wed, 19 Jul 2023 09:33:52 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 85EAC8670A; Wed, 19 Jul 2023 01:33:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="kZxeB+d9"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 32ABB86717; Wed, 19 Jul 2023 01:33:41 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2135086702 for ; Wed, 19 Jul 2023 01:33:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yb1-xb29.google.com with SMTP id 3f1490d57ef6-cea0021d1f3so376244276.0 for ; Tue, 18 Jul 2023 16:33:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1689723215; x=1692315215; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=KQNtGOasmqZzlq+EyXgNihMhp9YrFWFS9BIiFqq6Eug=; b=kZxeB+d9Dn32h0/U9O8SDyczvkf5tgbb30xpNl3YQYl0/saph8b7T3MQs7VPIgaKQd nEDUNFwBM3+2Q3Y55Wdto7BlSO90XG+puIvBA6M0qMLQLzqHnajO2KKaajpae/+iekEc NWeJ9X7yHQn6UaS6R+8YhUrjdYkx3wO161KDA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689723215; x=1692315215; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KQNtGOasmqZzlq+EyXgNihMhp9YrFWFS9BIiFqq6Eug=; b=dm1l2YkmRuRFaqCVujtTLM425HJArm1+HkmI+D5uUk9JwbvliRQ43kIGJ/k5XKd6Pi 8hw1nrpzWt1hB4EO7lM3hq3X2C+HFgC52zWeFPZS/BH+59cmpG9lqwqA3wz4codnh2Jc 7YYlpFyTukFVq8RU9Fi9zyLBwrwtF/WkrgV85Jc62yg6jwnDRNzQtMdsE9J40/hKJOSC WAgCpPaAbcsDuRrWMNhESfc6HTlddAfETJ480SXykJtcwVxRxMtJ8brOkh9Edd/4PhRk cHT1TTj51Rj9xmsTPDkqNRebllB5cHQxJElxtAUPyYzDNtF08MjRmvFf0xaZ3x19hsjs 3Sww== X-Gm-Message-State: ABy/qLZt+y5FaDZd/13+fir1lUTL6PSRaja6BSv7SnlY8M6L71O3GE53 qyFhUaswsjgbXNcVwTsdvebwbODpTlvjvxM2A80Zaw== X-Google-Smtp-Source: APBJJlGmm9tSunOVekEvPZcXg84/j3O1ute5hq4JYFOiJoWIOXE1XxtPBXjrT1MBARD0+rpTwPyEEg== X-Received: by 2002:a5b:68f:0:b0:c3d:eff4:1c39 with SMTP id j15-20020a5b068f000000b00c3deff41c39mr558455ybq.12.1689723215669; Tue, 18 Jul 2023 16:33:35 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b00-6400-e1d8-58e7-e10a-a96d.res6.spectrum.com. [2603:6081:7b00:6400:e1d8:58e7:e10a:a96d]) by smtp.gmail.com with ESMTPSA id f3-20020a056902038300b00c39e3d75bfcsm612968ybs.44.2023.07.18.16.33.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jul 2023 16:33:35 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 1/7] arm: Remove more remnants of bcmcygnus Date: Tue, 18 Jul 2023 19:33:28 -0400 Message-Id: <20230718233334.1450692-1-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean Remove some leftover files from the bcmcygnus platform. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- arch/arm/Kconfig | 15 +----- board/broadcom/bcm_ep/Makefile | 5 -- board/broadcom/bcm_ep/board.c | 86 ---------------------------------- 3 files changed, 1 insertion(+), 105 deletions(-) delete mode 100644 board/broadcom/bcm_ep/Makefile delete mode 100644 board/broadcom/bcm_ep/board.c diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index b3115b054c8c..3c0cf3c9ae21 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -357,7 +357,7 @@ config SYS_ARM_ARCH choice prompt "Select the ARM data write cache policy" - default SYS_ARM_CACHE_WRITETHROUGH if TARGET_BCMCYGNUS || TARGET_BCMNS || RZA1 + default SYS_ARM_CACHE_WRITETHROUGH if TARGET_BCMNS || RZA1 default SYS_ARM_CACHE_WRITEBACK config SYS_ARM_CACHE_WRITEBACK @@ -668,19 +668,6 @@ config TARGET_VEXPRESS_CA9X4 select CPU_V7A select PL011_SERIAL -config TARGET_BCMCYGNUS - bool "Support bcmcygnus" - select CPU_V7A - select GPIO_EXTRA_HEADER - select IPROC - imply BCM_SF2_ETH - imply BCM_SF2_ETH_GMAC - imply CMD_HASH - imply CRC32_VERIFY - imply FAT_WRITE - imply HASH_VERIFY - imply NETDEVICES - config TARGET_BCMNS bool "Support Broadcom Northstar" select CPU_V7A diff --git a/board/broadcom/bcm_ep/Makefile b/board/broadcom/bcm_ep/Makefile deleted file mode 100644 index 29a3ea7eda17..000000000000 --- a/board/broadcom/bcm_ep/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0+ -# -# Copyright 2014 Broadcom Corporation. - -obj-y += board.o diff --git a/board/broadcom/bcm_ep/board.c b/board/broadcom/bcm_ep/board.c deleted file mode 100644 index e91fa40e640c..000000000000 --- a/board/broadcom/bcm_ep/board.c +++ /dev/null @@ -1,86 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright 2014 Broadcom Corporation. - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -DECLARE_GLOBAL_DATA_PTR; - -/* - * board_init - early hardware init - */ -int board_init(void) -{ - /* - * Address of boot parameters passed to kernel - * Use default offset 0x100 - */ - gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100; - - return 0; -} - -/* - * dram_init - sets u-boot's idea of sdram size - */ -int dram_init(void) -{ - gd->ram_size = get_ram_size((long *)CFG_SYS_SDRAM_BASE, - CFG_SYS_SDRAM_SIZE); - return 0; -} - -int dram_init_banksize(void) -{ - gd->bd->bi_dram[0].start = CFG_SYS_SDRAM_BASE; - gd->bd->bi_dram[0].size = gd->ram_size; - - return 0; -} - -int board_early_init_f(void) -{ - uint32_t status = 0; - - /* Setup PLL if required */ -#if defined(CONFIG_ARMCLK) - armpll_config(CONFIG_ARMCLK); -#endif - - return status; -} - -#ifdef CONFIG_ARMV7_NONSEC -void smp_set_core_boot_addr(unsigned long addr, int corenr) -{ -} - -void smp_kick_all_cpus(void) -{ -} - -void smp_waitloop(unsigned previous_address) -{ -} -#endif - -#ifdef CONFIG_BCM_SF2_ETH -int board_eth_init(struct bd_info *bis) -{ - int rc = -1; - printf("Registering BCM sf2 eth\n"); - rc = bcm_sf2_eth_register(bis, 0); - return rc; -} -#endif