Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2223953/?format=api
{ "id": 2223953, "url": "http://patchwork.ozlabs.org/api/patches/2223953/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260416121431.20852-8-angelo@kernel-space.org/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260416121431.20852-8-angelo@kernel-space.org>", "list_archive_url": null, "date": "2026-04-16T12:14:30", "name": "[8/9] m68k: mcf5441x: create stub to use imx drivers", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "8c78e147ff11f7532c39222d4264e2be6d5eef30", "submitter": { "id": 85702, "url": "http://patchwork.ozlabs.org/api/people/85702/?format=api", "name": "Angelo Dureghello", "email": "angelo@kernel-space.org" }, "delegate": { "id": 14103, "url": "http://patchwork.ozlabs.org/api/users/14103/?format=api", "username": "spectrum", "first_name": "Angelo", "last_name": "Dureghello", "email": "sysamfw@gmail.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260416121431.20852-8-angelo@kernel-space.org/mbox/", "series": [ { "id": 500147, "url": "http://patchwork.ozlabs.org/api/series/500147/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=500147", "date": "2026-04-16T12:14:23", "name": "[1/9] m68k: dts: mcf5441x: add mmc device for mcf5441x", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/500147/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2223953/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2223953/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=kernel-space.org header.i=@kernel-space.org\n header.a=rsa-sha256 header.s=s1 header.b=h1WKkw3j;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)", "phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=kernel-space.org", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=kernel-space.org header.i=@kernel-space.org\n header.b=\"h1WKkw3j\";\n\tdkim-atps=neutral", "phobos.denx.de; dmarc=pass (p=reject dis=none)\n header.from=kernel-space.org", "phobos.denx.de;\n spf=pass smtp.mailfrom=angelo@kernel-space.org" ], "Received": [ "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fxH6X2gdfz1yDF\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 16 Apr 2026 22:16:04 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id F03888426E;\n\tThu, 16 Apr 2026 14:14:53 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id B87F584222; Thu, 16 Apr 2026 14:14:50 +0200 (CEST)", "from mail.kernel-space.org (unknown\n [IPv6:2a03:4000:b:d08:14a9:1bff:fedc:75ad])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 0C33984223\n for <u-boot@lists.denx.de>; Thu, 16 Apr 2026 14:14:45 +0200 (CEST)", "from archlinux (<unknown> [2a07:7e81:7daa:0:62cf:84ff:feee:627])\n by oreshnik (OpenSMTPD) with ESMTPSA id f45cec92\n (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO);\n Thu, 16 Apr 2026 12:14:44 +0000 (UTC)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,RDNS_NONE,\n SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-space.org;\n s=s1; t=1776341684;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=x6qw5GBWqn3bV9SwmYq4OYKJR3Bdcx7hqipONzgxoj0=;\n b=h1WKkw3j8+wVtHxLF4KXdf5G11V/FE0OIwjO2tmqs3MLByd5C+dz1YrwnzAaddiafmZiA1\n 9Lw+NNCDjPqJJFUzeqle7MsBj2Hcvg8K+C/KjmVGv2Do3HSris9K1pKnTGj7YZrrNKTilp\n hcYsQWIQtpLv40LQmO/AsvOzVea4tq8=", "From": "Angelo Dureghello <angelo@kernel-space.org>", "To": "trini@konsulko.com", "Cc": "visitorckw@gmail.com, u-boot@lists.denx.de, sjg@chromium.org,\n Angelo Dureghello <angelo@kernel-space.org>", "Subject": "[PATCH 8/9] m68k: mcf5441x: create stub to use imx drivers", "Date": "Thu, 16 Apr 2026 14:14:30 +0200", "Message-ID": "<20260416121431.20852-8-angelo@kernel-space.org>", "X-Mailer": "git-send-email 2.53.0", "In-Reply-To": "<20260416121431.20852-1-angelo@kernel-space.org>", "References": "<20260416121431.20852-1-angelo@kernel-space.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.39", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>", "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de", "X-Virus-Status": "Clean" }, "content": "Some NXP imx hardware ip module as the esdhc controller are exactly the\nsame in some new ColdFire cpus. For the specific case, mcf5441x needs to\nuse the existing fsl_esdhc_imx.c driver for the esdhc device.\n\nCreate a stub to be able to use NXP \"imx\" serie drivers as the\nfsl_esdhc_imx in the ColdFire architecture.\n\nSigned-off-by: Angelo Dureghello <angelo@kernel-space.org>\n---\n arch/m68k/Kconfig | 1 +\n arch/m68k/include/asm/arch-mcf5445x/clock.h | 19 +++++++++++++++++\n arch/m68k/lib/Makefile | 1 +\n arch/m68k/lib/clock.c | 23 +++++++++++++++++++++\n 4 files changed, 44 insertions(+)\n create mode 100644 arch/m68k/include/asm/arch-mcf5445x/clock.h\n create mode 100644 arch/m68k/lib/clock.c", "diff": "diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig\nindex 6ce8f577e3a..00e89bd0a62 100644\n--- a/arch/m68k/Kconfig\n+++ b/arch/m68k/Kconfig\n@@ -62,6 +62,7 @@ config MCF5441x\n \tselect DM\n select DM_SERIAL\n \tselect ARCH_COLDFIRE\n+\tselect CREATE_ARCH_SYMLINK\n \tbool\n \n config M680x0\ndiff --git a/arch/m68k/include/asm/arch-mcf5445x/clock.h b/arch/m68k/include/asm/arch-mcf5445x/clock.h\nnew file mode 100644\nindex 00000000000..10ceecafcea\n--- /dev/null\n+++ b/arch/m68k/include/asm/arch-mcf5445x/clock.h\n@@ -0,0 +1,19 @@\n+/* SPDX-License-Identifier: GPL-2.0+ */\n+/*\n+ * ColdFire clock support\n+ *\n+ * Copyright 2026 Kernelspace.\n+ * Angelo Dureghello <angelo@kernel-space.org>\n+ */\n+\n+#ifndef __CLOCK_H\n+#define __CLOCK_H\n+\n+/* Stub to use fsl/nxp drivers. */\n+enum mxc_clock {\n+\tMXC_ESDHC_CLK,\n+};\n+\n+int mxc_get_clock(enum mxc_clock clk);\n+\n+#endif /* __CLOCK_H */\ndiff --git a/arch/m68k/lib/Makefile b/arch/m68k/lib/Makefile\nindex cf93715637a..9ad67c4272c 100644\n--- a/arch/m68k/lib/Makefile\n+++ b/arch/m68k/lib/Makefile\n@@ -9,3 +9,4 @@ lib-$(CONFIG_USE_PRIVATE_LIBGCC) += lshrdi3.o muldi3.o ashldi3.o ashrdi3.o\n \n obj-$(CONFIG_CMD_BOOTM) += bootm.o\n obj-$(CONFIG_ARCH_COLDFIRE) += cache.o interrupts.o time.o traps.o bdinfo.o fec.o\n+obj-$(CONFIG_MCF5441x) += clock.o\ndiff --git a/arch/m68k/lib/clock.c b/arch/m68k/lib/clock.c\nnew file mode 100644\nindex 00000000000..5d9aeed96c3\n--- /dev/null\n+++ b/arch/m68k/lib/clock.c\n@@ -0,0 +1,23 @@\n+// SPDX-License-Identifier: GPL-2.0+\n+/*\n+ * (C) Copyright 2026 Kernelspace\n+ * Angelo Dureghello <angelo@kernel-space.org>\n+ */\n+\n+#include <config.h>\n+#include <asm/arch/clock.h>\n+#include <asm/global_data.h>\n+\n+DECLARE_GLOBAL_DATA_PTR;\n+/*\n+ * Stub to use existing nxp/fsl drivers.\n+ */\n+int mxc_get_clock(enum mxc_clock clk)\n+{\n+\tif (clk == MXC_ESDHC_CLK)\n+\t\treturn gd->arch.sdhc_clk;\n+\n+\tprintf(\"Unsupported MXC CLK: %d\\n\", clk);\n+\n+\treturn 0;\n+}\n", "prefixes": [ "8/9" ] }