{"id":2226514,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2226514/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20260422143112.1329478-8-raymondmaoca@gmail.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.1/projects/18/?format=json","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},"msgid":"<20260422143112.1329478-8-raymondmaoca@gmail.com>","date":"2026-04-22T14:31:03","name":"[07/16] mtd: spi: select SPL_SPI_FLASH_TINY in SPL stage","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"b74524c50b2f4c9b1e1957ef58afeec1fd01d978","submitter":{"id":91989,"url":"http://patchwork.ozlabs.org/api/1.1/people/91989/?format=json","name":"Raymond Mao","email":"raymondmaoca@gmail.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20260422143112.1329478-8-raymondmaoca@gmail.com/mbox/","series":[{"id":501020,"url":"http://patchwork.ozlabs.org/api/1.1/series/501020/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=501020","date":"2026-04-22T14:30:56","name":"Add PIN and SPI support for Spacemit K1","version":1,"mbox":"http://patchwork.ozlabs.org/series/501020/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2226514/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2226514/checks/","tags":{},"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=20251104 header.b=S7lNswxP;\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=\"S7lNswxP\";\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 4g11sm6nhhz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 00:33:00 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id B5B4B84359;\n\tWed, 22 Apr 2026 16:32:17 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 838028431C; Wed, 22 Apr 2026 16:31:58 +0200 (CEST)","from mail-oo1-xc34.google.com (mail-oo1-xc34.google.com\n [IPv6:2607:f8b0:4864:20::c34])\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 D21E084348\n for <u-boot@lists.denx.de>; Wed, 22 Apr 2026 16:31:50 +0200 (CEST)","by mail-oo1-xc34.google.com with SMTP id\n 006d021491bc7-6949831a7bcso1078324eaf.1\n for <u-boot@lists.denx.de>; Wed, 22 Apr 2026 07:31:50 -0700 (PDT)","from ubuntu.localdomain (172-97-209-197.cpe.distributel.net.\n [172.97.209.197]) by smtp.gmail.com with ESMTPSA id\n d75a77b69052e-50e394903dfsm138772501cf.26.2026.04.22.07.31.47\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 22 Apr 2026 07:31:48 -0700 (PDT)"],"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=20251104; t=1776868309; x=1777473109; 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=cBjqcJbQmtrI2trtC008GaGaTb/hb6UcohpHtGCVcZw=;\n b=S7lNswxPRiWrMkAa24BhVq5BU9tbGFzvw33IuA6KytXy4p1JtxFFKmtc7ObwO37erT\n Nys51tRn6jl5X9yC8d3GMShDkj7E2OK/tmppvMR0upyxZo3tshCVExSHIaLRlhLnBFqV\n 61iIcdyHEuPgRy0/bmDjvS522Vg6PAoLnInnGjfP1X1hl+mntRqDCMSNcoqcnV+8Ojtr\n RXLgMaRrhHEBNhkncY2Z9DhphQ2CSIfohZGJR1SSJ/hMSr+dmw6ldYNrItWoGPL9M1BB\n IrMlXEuGAM0hQ9ppA8nWQiN6FsaI6XHS4ME10LWOlePMrltEMgNurJToUbclC6xGGgDW\n 7cRg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776868309; x=1777473109;\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=cBjqcJbQmtrI2trtC008GaGaTb/hb6UcohpHtGCVcZw=;\n b=WYT3aL3trL1gCoJvcKwqzcDxQsOFAvfdIG4dVHwPNzxAbePEvTxuOkKJYklT9l/sto\n juGvS9FUkvU6ds9CCrN1+cmMk3I6MFNN06NKvST0EOgMFS1LBjXY+kQQLrXIB3NcDT4F\n FWTvUA4aO7qJwPKcO+1Bw79AML5pa3fILgpTdxT2lJ9yS2ecWROp8bOj8tfjIQv3Ir8v\n Vv4UafrbXafTYBY5w8b764fx5P3kZynEmCW9DsVPo+1n8k86auQUu3lGgqQgx0rntL7v\n d+MF4hMqec4Uwee0WUtohwoUhIArsk8L5yovSugar5hBlvjbCRFyH+O1lrp5HVO0kbmM\n I0jQ==","X-Gm-Message-State":"AOJu0YwRseyB6phgvnVqv4IfaF4iROAP63ESgSnctROO2Q5spqXibWhw\n ffxbsL54UOk6AmOGxT40DWPPH7uCnr28r/xiYNun4/jUYNei8odVnMG7ebRkeim+h/o=","X-Gm-Gg":"AeBDietGGE+ZIp8e4ax+gWrj825YexG2hBbnwVfQgNIax5kAjizFw8H8eMZbb1SRJl1\n VW6QVgWKD+4dJWqRDYmeAYizXhgr0bYA7L0KPV0CMIkRap8QXJe0Pdq+q2xmFCt7EgO/ZWNwqzY\n Fj5di90fIZVaWL4Z5c8NA1Du0/0rp9VmFtiuMYWpM+dYnwHKdIMkvCAwqk1AwYePw17uRR+iKkw\n rRNOyhhW006sOECkjBzwU3EednN5xktD7bx2zVP/KrW7iJBpS6LUuXUGhcEMvo8654tRtL27yc/\n e8CqqJka36ik4hd4fQooBstD8qX+CmIZH/+Pk6f+vxm5j4w6LLkOwhWzzD3jAEvBo48VHWmUvY8\n Op3gC9pa934cQLJuza0R72VdW2TlHFQAxwePHKQX+D9iJo2rZtjGxfYhBzxFB9EpXSwYiJmAEdw\n Dt424jWE82ytS4Unq8k/GdfNsh9rmzdd3aoObtNds0A1m+02x/a+uyhQwGfry6L629uwHYFU4Oo\n r4m6Ju4j2YLja84U9JbX62SrHmOPkep","X-Received":"by 2002:a05:6820:1907:b0:685:3561:8945 with SMTP id\n 006d021491bc7-69462f303c1mr12417462eaf.46.1776868309181;\n Wed, 22 Apr 2026 07:31:49 -0700 (PDT)","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 07/16] mtd: spi: select SPL_SPI_FLASH_TINY in SPL stage","Date":"Wed, 22 Apr 2026 10:31:03 -0400","Message-Id":"<20260422143112.1329478-8-raymondmaoca@gmail.com>","X-Mailer":"git-send-email 2.25.1","In-Reply-To":"<20260422143112.1329478-1-raymondmaoca@gmail.com>","References":"<20260422143112.1329478-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\nFix to select CONFIG_SPL_SPI_FLASH_TINY in SPL_BUILD stage.\n\nSigned-off-by: Raymond Mao <raymond.mao@riscstar.com>\n---\n drivers/mtd/spi/Makefile | 5 ++---\n 1 file changed, 2 insertions(+), 3 deletions(-)","diff":"diff --git a/drivers/mtd/spi/Makefile b/drivers/mtd/spi/Makefile\nindex 44e67cd913a..9a96be11e6d 100644\n--- a/drivers/mtd/spi/Makefile\n+++ b/drivers/mtd/spi/Makefile\n@@ -8,14 +8,13 @@ spi-nor-y := sf_probe.o spi-nor-ids.o\n \n ifdef CONFIG_XPL_BUILD\n obj-$(CONFIG_SPL_SPI_BOOT)\t+= fsl_espi_spl.o\n+endif\n+\n ifeq ($(CONFIG_$(PHASE_)SPI_FLASH_TINY),y)\n spi-nor-y += spi-nor-tiny.o\n else\n spi-nor-y += spi-nor-core.o\n endif\n-else\n-spi-nor-y += spi-nor-core.o\n-endif\n \n obj-$(CONFIG_SPI_FLASH) += spi-nor.o\n obj-$(CONFIG_SPI_FLASH_DATAFLASH) += sf_dataflash.o\n","prefixes":["07/16"]}