Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2459072rwd; Mon, 15 May 2023 12:00:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6zvUyc4R50yEbnWT2O3EAMRSpVyBTRZWAOwNHmCzwI1uFgb9rUagvr2eyIo8Sl5nZrvE/P X-Received: by 2002:a05:6a20:1596:b0:105:95b2:a8e3 with SMTP id h22-20020a056a20159600b0010595b2a8e3mr7288062pzj.22.1684177232877; Mon, 15 May 2023 12:00:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684177232; cv=none; d=google.com; s=arc-20160816; b=vuWUs7vfEx1gLfLskWwlpPidb3r5XVxmUG5b2XP5pTVtF46yvzp7N8ysf6Yto56lyg RINsLa8T8IsArvbTw0vj/ATrIMPShvUPDAINAyJldforFQeYcVr+dxev4UPS2M/XOb7W HyJJHrCpeUE82vYEbzsCVTqZMMRwdGrfXCUIQmzMr9xjncfjhYfYPQveMb0e502YWsjn 66MzPBNhzEY5ODu+oeNcGMOje6dji8WkeCpQ6ll25pc17Hgr0WBFiwiB8/3hgy0af5d9 rVlHzj8GK+sP60QUXAG14sdbSpu1znck43VPDYggjdovu7nHYuZ730lXvHz2up3uPInm ztsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=HI41MmN1o0il5MdqxxwNhXWMrjOyfyAcGRIkMr8+fTM=; b=h/YWUvUG5q8xQQh9y+VXAvRVqHBF0Xhvim8f+/eaqc5r2CtP61fuf2gsgRbWLAuC03 41nvhqYVJK8XqJuWtpz/ChAw6HMJumuiJx87GgCc71QmlSklyIg44OpQPmX6Nfq6QAlg IsFd6JztEGOC1URiD1p4UfVkBwGoV3TOQQTkje7cgmCadMCLilIiOUl7CeKqNM1uyeAi 1vpxuFzP9t7bA/m7Dt9J3lTqNyIzVwlvykZIWSPoB4AeOI4lS3nUbW7tvz6Os6eLj3CG e6MzgVvTYo2jeBuGQttHbstRSYimScgc1hD597J8eHCUFuaQzY2rm0OrGXhPyKzKMVdY ZnGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ydPXDv6W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a21-20020a63e855000000b005307a33f88asi11275878pgk.62.2023.05.15.12.00.15; Mon, 15 May 2023 12:00:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ydPXDv6W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244380AbjEOSf6 (ORCPT + 99 others); Mon, 15 May 2023 14:35:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243631AbjEOSf2 (ORCPT ); Mon, 15 May 2023 14:35:28 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05C9414E45; Mon, 15 May 2023 11:35:27 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 34FIZHp9081369; Mon, 15 May 2023 13:35:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1684175717; bh=HI41MmN1o0il5MdqxxwNhXWMrjOyfyAcGRIkMr8+fTM=; h=From:To:CC:Subject:Date; b=ydPXDv6WXsGtiS0yMgQRWIwByQRDH7+FVP8FQDCSbOLCeAgEBOiAManj59XfsOGsK L6lV5l4ZC3V4jj7egzl4fDXBhQpyJOTQ04QF/lkoiHb8vx7jtdzjZefqgoEEsKsncd xf3Bd+QNSCklwmpdiqdLVqHUGB+A8fANiWXqG+1w= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 34FIZHui126954 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 15 May 2023 13:35:17 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 15 May 2023 13:35:16 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 15 May 2023 13:35:16 -0500 Received: from lelv0327.itg.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 34FIZGXN103396; Mon, 15 May 2023 13:35:16 -0500 From: Andrew Davis To: Nishanth Menon , Vignesh Raghavendra , Santosh Shilimkar , Rob Herring , Krzysztof Kozlowski CC: , , , Andrew Davis Subject: [PATCH 1/5] ARM: keystone: Merge memory.h into the only file that uses it Date: Mon, 15 May 2023 13:35:11 -0500 Message-ID: <20230515183515.509371-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-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The defines in memory.h can go into the file that makes use of them. No reason to have a header here, remove. Signed-off-by: Andrew Davis --- arch/arm/mach-keystone/keystone.c | 12 ++++++++++-- arch/arm/mach-keystone/memory.h | 18 ------------------ 2 files changed, 10 insertions(+), 20 deletions(-) delete mode 100644 arch/arm/mach-keystone/memory.h diff --git a/arch/arm/mach-keystone/keystone.c b/arch/arm/mach-keystone/keystone.c index aa352c2de313..fdc7d3621bd0 100644 --- a/arch/arm/mach-keystone/keystone.c +++ b/arch/arm/mach-keystone/keystone.c @@ -20,10 +20,18 @@ #include #include -#include "memory.h" - #include "keystone.h" +#define KEYSTONE_LOW_PHYS_START 0x80000000ULL +#define KEYSTONE_LOW_PHYS_SIZE 0x80000000ULL /* 2G */ +#define KEYSTONE_LOW_PHYS_END (KEYSTONE_LOW_PHYS_START + \ + KEYSTONE_LOW_PHYS_SIZE - 1) + +#define KEYSTONE_HIGH_PHYS_START 0x800000000ULL +#define KEYSTONE_HIGH_PHYS_SIZE 0x400000000ULL /* 16G */ +#define KEYSTONE_HIGH_PHYS_END (KEYSTONE_HIGH_PHYS_START + \ + KEYSTONE_HIGH_PHYS_SIZE - 1) + #ifdef CONFIG_ARM_LPAE static int keystone_platform_notifier(struct notifier_block *nb, unsigned long event, void *data) diff --git a/arch/arm/mach-keystone/memory.h b/arch/arm/mach-keystone/memory.h deleted file mode 100644 index 1b9ed1271e05..000000000000 --- a/arch/arm/mach-keystone/memory.h +++ /dev/null @@ -1,18 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright 2014 Texas Instruments, Inc. - * Santosh Shilimkar - */ -#ifndef __MEMORY_H -#define __MEMORY_H - -#define KEYSTONE_LOW_PHYS_START 0x80000000ULL -#define KEYSTONE_LOW_PHYS_SIZE 0x80000000ULL /* 2G */ -#define KEYSTONE_LOW_PHYS_END (KEYSTONE_LOW_PHYS_START + \ - KEYSTONE_LOW_PHYS_SIZE - 1) - -#define KEYSTONE_HIGH_PHYS_START 0x800000000ULL -#define KEYSTONE_HIGH_PHYS_SIZE 0x400000000ULL /* 16G */ -#define KEYSTONE_HIGH_PHYS_END (KEYSTONE_HIGH_PHYS_START + \ - KEYSTONE_HIGH_PHYS_SIZE - 1) -#endif /* __MEMORY_H */ -- 2.39.2