From patchwork Mon Jan 22 14:24:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13525549 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [195.130.132.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 80F843D556 for ; Mon, 22 Jan 2024 14:24:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705933484; cv=none; b=VKkUAk//KgPgtHmgldlJ3bendgOB/4Bta0TavYfvaqRUJfbuFNwl2br/tUHfoBTOXatmvmqMGhx3FESjCaDQxTpfPdmse0dRJkCZHjEx+pUWIRrOpw5Y/9e8FYCpO65aMS+SToUzyAjrRZNs0TuK7PYn5EzEzI2TEi/OREQvZA4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705933484; c=relaxed/simple; bh=5xeF4V2g1z6BIJIvEXeiCjThl4DXXG8UvRJEdC08uxo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=sU50nK25nngu+RqkvZmw7FjZwoAWcjurhA1+i+xajqIFDJryOX40GKgHtNQgLtd33zLYK7AM64uIY3q5P5Azxt3rSdClT9xXgla6LchkVNQQa+xq0JMLbgBTduG318a3w2hAK9qOX8bY3rV0SNzu486sygXbhs9SAXonrwbZoNg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:955e:bba5:7ff4:cfb6]) by baptiste.telenet-ops.be with bizsmtp id dqQa2B00S0ZxL6o01qQbH1; Mon, 22 Jan 2024 15:24:35 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rRvDF-00GGwu-R5; Mon, 22 Jan 2024 15:24:34 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rRvE2-00CFAb-Rt; Mon, 22 Jan 2024 15:24:34 +0100 From: Geert Uytterhoeven To: Greg Kroah-Hartman , Magnus Damm Cc: linux-staging@lists.linux.dev, linux-usb@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Wolfram Sang , =?utf-8?q?Niklas_S=C3=B6de?= =?utf-8?q?rlund?= Subject: [PATCH v2 2/4] staging: board: Remove KZM9D board staging code Date: Mon, 22 Jan 2024 15:24:31 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 With the EMMA Mobile USB Gadget staging driver removed, there is no longer any use for the EMEV2 KZM9D board staging code. Signed-off-by: Geert Uytterhoeven Acked-by: Wolfram Sang Acked-by: Niklas Söderlund --- v2: - Add Acked-by. --- drivers/staging/board/Makefile | 1 - drivers/staging/board/kzm9d.c | 26 -------------------------- 2 files changed, 27 deletions(-) delete mode 100644 drivers/staging/board/kzm9d.c diff --git a/drivers/staging/board/Makefile b/drivers/staging/board/Makefile index ed7839752e129abb..5db091b5ca01596a 100644 --- a/drivers/staging/board/Makefile +++ b/drivers/staging/board/Makefile @@ -1,4 +1,3 @@ # SPDX-License-Identifier: GPL-2.0 obj-y := board.o -obj-$(CONFIG_ARCH_EMEV2) += kzm9d.o obj-$(CONFIG_ARCH_R8A7740) += armadillo800eva.o diff --git a/drivers/staging/board/kzm9d.c b/drivers/staging/board/kzm9d.c deleted file mode 100644 index d449a837414e6934..0000000000000000 --- a/drivers/staging/board/kzm9d.c +++ /dev/null @@ -1,26 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Staging board support for KZM9D. Enable not-yet-DT-capable devices here. */ - -#include -#include -#include "board.h" - -static struct resource usbs1_res[] __initdata = { - DEFINE_RES_MEM(0xe2800000, 0x2000), - DEFINE_RES_IRQ(159), -}; - -static void __init kzm9d_init(void) -{ - board_staging_gic_setup_xlate("arm,pl390", 32); - - if (!board_staging_dt_node_available(usbs1_res, - ARRAY_SIZE(usbs1_res))) { - board_staging_gic_fixup_resources(usbs1_res, - ARRAY_SIZE(usbs1_res)); - platform_device_register_simple("emxx_udc", -1, usbs1_res, - ARRAY_SIZE(usbs1_res)); - } -} - -board_staging("renesas,kzm9d", kzm9d_init);