Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2195211/?format=api
{ "id": 2195211, "url": "http://patchwork.ozlabs.org/api/patches/2195211/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260210151459.2348758-4-raymondmaoca@gmail.com/", "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": "<20260210151459.2348758-4-raymondmaoca@gmail.com>", "list_archive_url": null, "date": "2026-02-10T15:14:46", "name": "[v2,03/16] configs: k1: enable early timer support", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "2f182d8f8714411a88631e620356fc0ce8c4aad4", "submitter": { "id": 91989, "url": "http://patchwork.ozlabs.org/api/people/91989/?format=api", "name": "Raymond Mao", "email": "raymondmaoca@gmail.com" }, "delegate": { "id": 20174, "url": "http://patchwork.ozlabs.org/api/users/20174/?format=api", "username": "Andes", "first_name": "Andes", "last_name": "", "email": "uboot@andestech.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260210151459.2348758-4-raymondmaoca@gmail.com/mbox/", "series": [ { "id": 491690, "url": "http://patchwork.ozlabs.org/api/series/491690/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=491690", "date": "2026-02-10T15:14:43", "name": "Add board support for Spacemit K1 SoC in SPL", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/491690/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2195211/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2195211/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 (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20230601 header.b=IiNDH6sx;\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=none dis=none) header.from=gmail.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.b=\"IiNDH6sx\";\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=raymondmaoca@gmail.com" ], "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 4f9Q9p6MC7z1xwG\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 11 Feb 2026 02:15:42 +1100 (AEDT)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id CA2F583D7D;\n\tTue, 10 Feb 2026 16:15:25 +0100 (CET)", "by phobos.denx.de (Postfix, from userid 109)\n id 50B8D83D7D; Tue, 10 Feb 2026 16:15:24 +0100 (CET)", "from mail-qt1-x836.google.com (mail-qt1-x836.google.com\n [IPv6:2607:f8b0:4864:20::836])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 490FB83CF2\n for <u-boot@lists.denx.de>; Tue, 10 Feb 2026 16:15:22 +0100 (CET)", "by mail-qt1-x836.google.com with SMTP id\n d75a77b69052e-5028fb9d03bso45503201cf.3\n for <u-boot@lists.denx.de>; Tue, 10 Feb 2026 07:15:22 -0800 (PST)", "from ubuntu.localdomain (174-138-202-16.cpe.distributel.net.\n [174.138.202.16]) by smtp.gmail.com with ESMTPSA id\n 6a1803df08f44-8953c057751sm101019286d6.43.2026.02.10.07.15.19\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 10 Feb 2026 07:15:20 -0800 (PST)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_GMAIL_RCVD,FREEMAIL_FROM,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=no\n autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20230601; t=1770736521; x=1771341321; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=F3ucj//R6RcaXoZ+/2SJMfNMHVdH25VOi7qK+LloxN4=;\n b=IiNDH6sxvIiQIdU1zOAw6/cPDxUGFLdvbsKmZwBffQYbAH5DfFEZA1iNj1AJpJ7NXX\n FjFSjWDwXxqLcVLfGGrmKgZjM4AOyXP5zqc1QQY9cKm0sE8KsR0dNoim/uKFXaRXg+uG\n jINSjkquirYFyMhWsiWiyJDae9F9SXCDetb6xb5n6W82sR3EShtMRDaT/dqgTVk6MWfZ\n qVGdvBaoy6i0+vyKUJJR4EwsNgRN87xPGu+X8b7YZ9kV5sFNVaXmjou3rkgJsZVRZ6OJ\n h044pD2b46RY8uSoTAj5iOMbiDewNsQHRl45Un3t/ZtOz8Mc34JHEG5DkDGblup4qloq\n XkTw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1770736521; x=1771341321;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=F3ucj//R6RcaXoZ+/2SJMfNMHVdH25VOi7qK+LloxN4=;\n b=syJ8M3Bz9LnjyjlClhvWWtDvR9VvwWXPV36zaPVqMKn/s86gAQJlo3OtutrD+WKU0n\n TMkSndz9RLDVX6JqKPZcbWtvgAdYcfY0mmZRFf7twS0lFD+sl/PCOMxdfr+uGpMwtokY\n rnDyirol36D61MiPsizFayayy/7MemumOwp7CwGgjRcqdWgAv2+vusicpm4tE6AlBm6h\n /S6vD1XpvXORagHgDOWVd5rRS6vQHFg/ACByKodNOMS9DDfiuHubyCWqqa/Tj/CXkCZt\n gBQ3RKg/YIkRYL4Dq/3sJpn67MNXJ/DsJD7G8BYAIbz2VfBfGNZvraKbFYBXHm/lf/ZH\n USFQ==", "X-Gm-Message-State": "AOJu0Yzt5cg4nqsw5LcZdmOnwRBoNRfnyZhFiqLWY2V9ScyalvwjqbFm\n Ab3/GH0A6W7w2rIM6DPoDISFcdEyEc6frYzM99bp6XcdSFbYD6nWag0kFHrOLA==", "X-Gm-Gg": "AZuq6aJCzFVrrWwU/KQk0OkU5vDyDtc73M3sTm/KqjaoHPPJdqOuv/fUNBFxMaXEn9G\n 1EDhaJ0mppqeYGD2HqzhzNq+Tn2upPjyBKnS9/1tDgNHiMaJqdR6oDOEKpCUTBf0Z2xd269RYeW\n wMcikKpChp3H+pbB+8EJIZowRDf3VzC0a9l5qcrEJHO9pyS4vGfVTvuc8sMfL/43gOgq1sDnSqi\n h1CG9bUtzYUkNqXvoizL3gnzBCeIfGldbLzVaPzQN7959IkCSDnhkWKSy44XjUB8hcfCrjv497e\n +1+d2uu7y72iVYo8iB3NtO9rtneIb0pJZaUJ9612DsgmKJ3lfW5WMD3hOtgsRzb8x39XaBj1NyY\n zOFckRH/7TFkXNwn80roD+X+v+4w9RAv8XwaeAjAcueMwJjMfyOETgSpif5ysJGbJ1fzSfCf0qd\n i5wERj430+vyD6htP51UqCJH4gZY51jOidFUH5zWV4ZNa4o5vijA4tcO69gChlPWJ9PD4i", "X-Received": "by 2002:ac8:7f0f:0:b0:4eb:a192:de99 with SMTP id\n d75a77b69052e-50673da1d7dmr27650441cf.76.1770736520589;\n Tue, 10 Feb 2026 07:15:20 -0800 (PST)", "From": "Raymond Mao <raymondmaoca@gmail.com>", "To": "u-boot@lists.denx.de", "Cc": "uboot@riscstar.com, u-boot-spacemit@groups.io, raymond.mao@riscstar.com,\n rick@andestech.com, ycliang@andestech.com, trini@konsulko.com,\n lukma@denx.de, hs@nabladev.com, jh80.chung@samsung.com, peng.fan@nxp.com,\n xypron.glpk@gmx.de, randolph@andestech.com, dlan@gentoo.org,\n junhui.liu@pigmoral.tech, neil.armstrong@linaro.org,\n quentin.schulz@cherry.de, samuel@sholland.org, raymondmaoca@gmail.com", "Subject": "[PATCH v2 03/16] configs: k1: enable early timer support", "Date": "Tue, 10 Feb 2026 10:14:46 -0500", "Message-Id": "<20260210151459.2348758-4-raymondmaoca@gmail.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20260210151459.2348758-1-raymondmaoca@gmail.com>", "References": "<20260210151459.2348758-1-raymondmaoca@gmail.com>", "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": "From: Raymond Mao <raymond.mao@riscstar.com>\n\nEnable CONFIG_TIMER_EARLY to allow udelay() calls during\nearly initialization phases. This is required for proper\ntiming operations before the full timer driver is available.\n\nSigned-off-by: Raymond Mao <raymond.mao@riscstar.com>\n---\n configs/spacemit_k1_defconfig | 2 ++\n include/configs/k1.h | 3 +++\n 2 files changed, 5 insertions(+)", "diff": "diff --git a/configs/spacemit_k1_defconfig b/configs/spacemit_k1_defconfig\nindex d794170bc5b..617fe9d2aae 100644\n--- a/configs/spacemit_k1_defconfig\n+++ b/configs/spacemit_k1_defconfig\n@@ -20,6 +20,7 @@ CONFIG_SYS_BOOTM_LEN=0xa000000\n CONFIG_SYS_LOAD_ADDR=0x200000\n CONFIG_ARCH_RV64I=y\n CONFIG_RISCV_SMODE=y\n+CONFIG_SPL_RISCV_SMODE=y\n CONFIG_ARCH_K1=y\n CONFIG_TARGET_BANANAPI_F3=y\n CONFIG_FIT=y\n@@ -42,3 +43,4 @@ CONFIG_DEBUG_UART_SHIFT=2\n CONFIG_DEBUG_UART_NS16550=y\n CONFIG_DEBUG_UART_ANNOUNCE=y\n # CONFIG_DEBUG_SBI_CONSOLE is not set\n+CONFIG_TIMER_EARLY=y\ndiff --git a/include/configs/k1.h b/include/configs/k1.h\nindex e0b05c50b70..8e148803dea 100644\n--- a/include/configs/k1.h\n+++ b/include/configs/k1.h\n@@ -13,4 +13,7 @@\n #define CFG_SYS_NS16550_CLK\t 14700000\n #define CFG_SYS_NS16550_IER\t 0x40 /* UART Unit Enable */\n \n+#define RISCV_MMODE_TIMER_FREQ\t 24000000\n+#define RISCV_SMODE_TIMER_FREQ\t 24000000\n+\n #endif /* __CONFIG_H */\n", "prefixes": [ "v2", "03/16" ] }