Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 25913C02182 for ; Thu, 23 Jan 2025 12:12:34 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E53DE807B3; Thu, 23 Jan 2025 13:12:26 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=thorsis.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=thorsis.com header.i=@thorsis.com header.b="QLM6BgkQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9F261807B3; Thu, 23 Jan 2025 13:12:25 +0100 (CET) Received: from mail.thorsis.com (mail.thorsis.com [217.92.40.78]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id AAA4D80423 for ; Thu, 23 Jan 2025 13:12:23 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=thorsis.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ada@thorsis.com Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id CC437148A1DB; Thu, 23 Jan 2025 13:12:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thorsis.com; s=dkim; t=1737634342; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Pq7mKszdzhWdTrxpNXM4BUlBlDCBQ9A7K/CIy1cARik=; b=QLM6BgkQKqXK0Y90inps1hjdeuD/egvqjiFbpc1fdQ6rz8ZQAjCERivNs4gSEvBSCdiTvA XlUWOHbHxL+DSP1oP/4LkQfiaSQdjdoKnm8j1n7MU67ciR9KABaZ71nuBRso6CNMnjXFTR Awcj1fHgbbzO4VN1vVNFVrJvcPdIa9lqgbp6MTRoRiGSDxicZYl0yQLjiRGbzV+HmmBgKM u8FOHxcI3ZZVklMe7sLwXZAIlAnPrrFM/udl2R9rbmKVfGa+TuznZn64MZVM0mN+DsoiuZ wTRNFNpOdozyWCp6daTUqrRZpFzZ2B77B/0cGAPlj4hkQPLdF4Uv6ikKUIvUgg== From: Alexander Dahl To: Tudor Ambarus , Eugen Hristev , Jagan Teki Cc: Tom Rini , =?UTF-8?q?Cs=C3=B3k=C3=A1s=20Bence?= , u-boot@lists.denx.de Subject: [PATCH 1/7] spi: atmel-quadspi: Depend on SPI_MEM Date: Thu, 23 Jan 2025 13:12:09 +0100 Message-Id: <20250123121215.21001-2-ada@thorsis.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250123121215.21001-1-ada@thorsis.com> References: <20250123121215.21001-1-ada@thorsis.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Most other spi-mem drivers also depend on SPI_MEM. Fixes this build error: arm-v5te-linux-gnueabi-ld.bfd: drivers/spi/atmel-quadspi.o: in function `atmel_qspi_supports_op': /mnt/data/adahl/src/u-boot/drivers/spi/atmel-quadspi.c:460: undefined reference to `spi_mem_default_supports_op' make[1]: *** [/mnt/data/adahl/src/u-boot/Makefile:1821: u-boot] Error 1 Signed-off-by: Alexander Dahl --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 96ea033082b..d55fc49f637 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -85,7 +85,7 @@ config ATH79_SPI config ATMEL_QSPI bool "Atmel Quad SPI Controller" - depends on ARCH_AT91 + depends on ARCH_AT91 && SPI_MEM help Enable the Atmel Quad SPI controller in master mode. This driver does not support generic SPI. The implementation supports only the -- 2.39.5