From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 30732C77B6F for ; Thu, 6 Apr 2023 16:38:35 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A302C860A4; Thu, 6 Apr 2023 18:38:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.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=ti.com header.i=@ti.com header.b="AnV8F0SD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BB6CC86077; Thu, 6 Apr 2023 18:38:30 +0200 (CEST) Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B59CD86051 for ; Thu, 6 Apr 2023 18:38:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=afd@ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 336GcNiK101103; Thu, 6 Apr 2023 11:38:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1680799103; bh=LGRTP4yLAQ9Z9FZlX2tmtkioGGpyhzp8INzpCVgN2RM=; h=From:To:CC:Subject:Date; b=AnV8F0SDfwfsCL9sodPjm5O91CqTBVPEjy7n8B8fE45nDGo00vtM3bEXAlAC3rmAn z2Nt60fTFtjBJB/uWh5J2Kwjo0cUXVChBG8BCQPkRD3nTzkNZ6lttqoW8Dg3jyO3Qt Y35YHuzjM3HW4yd+kscYWCqcyem8Few1sJiOF0r0= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 336GcN08094274 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 6 Apr 2023 11:38:23 -0500 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Thu, 6 Apr 2023 11:38:23 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Thu, 6 Apr 2023 11:38:23 -0500 Received: from lelv0854.itg.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 336GcN22049417; Thu, 6 Apr 2023 11:38:23 -0500 From: Andrew Davis To: Simon Glass , Tom Rini , Christian Gmeiner , CC: Andrew Davis Subject: [PATCH v4 00/12] Remove K3 misc sys_proto.h header Date: Thu, 6 Apr 2023 11:38:09 -0500 Message-ID: <20230406163821.25968-1-afd@ti.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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 Hello all, Some minor cleanups with end patch removing sys_proto.h. Why? Becouse I don't like headers of "miscellaneous". Thanks, Andrew Changes from v3: - [2/12] Fix copy/paste error (thanks Christian) - add more tags and rebase on latest Changes from v2: - Reworked patch [2/12] to use static and turned it into common macro - Removed "EEPROM" from comment as board detection can use other methods - Added more reviewed by tags Changes from v1: - Added reviewed by tag - Rebased on latest Andrew Davis (12): arm: mach-k3: Move MSMC fixup to SoC level arm: mach-k3: Move J721e SoC detection out of common section soc: soc_ti_k3: Use hardware.h to remove definition duplication configs: j721x_evm: Remove unneeded check for SYS_K3_SPL_ATF configs: j721s2_evm.h: Remove refrences to J7200 EVM arm: mach-k3: Make release_resources_for_core_shutdown() common arm: mach-k3: Move sysfw-loader.h out of mach includes arm: mach-k3: Add weak do_board_detect() to common file arm: mach-k3: Remove unused fdt_disable_node() arm: mach-k3: Move sdelay() and wait_on_value() declaration arm: mach-k3: Move J721s2 SPL init functions to mach-k3 arm: mach-k3: Remove empty sys_proto.h include arch/arm/mach-k3/Kconfig | 5 - arch/arm/mach-k3/am625_init.c | 2 +- arch/arm/mach-k3/am62a7_init.c | 2 +- arch/arm/mach-k3/am642_init.c | 59 +-------- arch/arm/mach-k3/am654_init.c | 58 +-------- arch/arm/mach-k3/common.c | 88 +++++++------ arch/arm/mach-k3/common.h | 5 +- arch/arm/mach-k3/include/mach/am62_hardware.h | 8 ++ .../arm/mach-k3/include/mach/am62a_hardware.h | 8 ++ arch/arm/mach-k3/include/mach/am64_hardware.h | 24 ++++ arch/arm/mach-k3/include/mach/am6_hardware.h | 19 +++ arch/arm/mach-k3/include/mach/hardware.h | 25 ++++ .../arm/mach-k3/include/mach/j721e_hardware.h | 19 +++ .../mach-k3/include/mach/j721s2_hardware.h | 19 +++ arch/arm/mach-k3/include/mach/sys_proto.h | 25 ---- arch/arm/mach-k3/j721e_init.c | 66 +--------- arch/arm/mach-k3/j721s2_init.c | 121 ++++++++++-------- arch/arm/mach-k3/security.c | 1 - arch/arm/mach-k3/sysfw-loader.c | 1 - .../mach-k3/{include/mach => }/sysfw-loader.h | 0 board/siemens/iot2050/board.c | 12 +- board/ti/am62ax/evm.c | 1 - board/ti/am62x/evm.c | 1 - board/ti/am64x/evm.c | 1 - board/ti/am65x/evm.c | 20 --- board/ti/common/Kconfig | 1 - board/ti/j721e/evm.c | 13 +- board/ti/j721e/j721e.env | 2 - board/ti/j721s2/evm.c | 81 ------------ board/ti/j721s2/j721s2.env | 2 - configs/am65x_evm_a53_defconfig | 2 +- configs/am65x_hs_evm_a53_defconfig | 2 +- configs/iot2050_pg1_defconfig | 1 + configs/iot2050_pg2_defconfig | 1 + configs/j7200_evm_a72_defconfig | 1 + configs/j7200_hs_evm_a72_defconfig | 1 + configs/j721e_evm_a72_defconfig | 1 + configs/j721e_hs_evm_a72_defconfig | 1 + configs/j721s2_evm_a72_defconfig | 2 +- configs/j721s2_hs_evm_a72_defconfig | 2 +- drivers/phy/phy-ti-am654.c | 1 - drivers/ram/k3-am654-ddrss.c | 5 +- drivers/soc/Kconfig | 2 +- drivers/soc/soc_ti_k3.c | 30 ++--- include/configs/j721s2_evm.h | 2 +- 45 files changed, 280 insertions(+), 463 deletions(-) delete mode 100644 arch/arm/mach-k3/include/mach/sys_proto.h rename arch/arm/mach-k3/{include/mach => }/sysfw-loader.h (100%) -- 2.39.2