From patchwork Wed Sep 23 12:00:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1369850 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=NcWWhx5Z; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BxGwP4YK9z9sR4 for ; Wed, 23 Sep 2020 22:00:53 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 67BFA825E4; Wed, 23 Sep 2020 14:00:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="NcWWhx5Z"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E5B56825DE; Wed, 23 Sep 2020 14:00:40 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3964282455 for ; Wed, 23 Sep 2020 14:00:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ej1-x641.google.com with SMTP id i26so27314627ejb.12 for ; Wed, 23 Sep 2020 05:00:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=h5qGaQhHcOrDd3vjl5u7QP+52mFHdBZdppiM7O5AzPE=; b=NcWWhx5ZtUXUWwWaiYZGP3oTzRaYtEPn99zvGViKnGalRXfgVVDckAq+ASrqr5Yw1n NTVWuECrIMWcjWoNy32+Y5F7bpc99EtJy4cCyNF0PKSe7VM2+YN9N6N5DpC5/ilUGXkC iTdVp4S8suTu6nOtpPxgoSlzcAdmFdGWfWpbrUBs6dLluvN+PRSFT3F2fnpUsz/IZfaO 7gGE3CIql4ncU2n2Bw5UpPcDqZCCwXLijmjUaeb0YpmxW+YTkts24jBvcwjDZk8PqQuH uYTc4pr24ODrsflzMN5bTwXcUurhKMwEjH38/fUoByqXcxebcyC2Tp9aGPPYYufXDK/6 mPlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=h5qGaQhHcOrDd3vjl5u7QP+52mFHdBZdppiM7O5AzPE=; b=QtZMvHazThqFdFxiiWy+MluSKg/NHtdPhEMXvE2/Gd//mMUdFluDctzhtjYI0yzozj KBgbCCYqMmmEX+DOXcrleld2rt0tC4H5UyOZ1fcpB3kOOZ8vP4ahbZjtfOePWjfTgNIC v68+UaIUgegSxhhLWBIf4ZeIquOqqdY/NBhSE0Wci0dGAGIeq6A3/AtlfLbO9gQqwsYk 25XuzdiOsTVC+iFsKtUBwnQa+u6SknzkaN5ZHmpUqeK/JqTyhdl5UM4GEDMsSA4EGdY4 5nxzMd7gUDSSozvF74sQYkSRw+Ebv2ZzAFCt5MNUSvoRvv5pDNCTDq9okVPYONFOoAmV ZGeg== X-Gm-Message-State: AOAM533dqCEHBUufcmzlBqgSfz11lLrnVHpPjTa9fnYc9XQ/XeHK/Mtv zzFLU4898Y8NuThEHovAEnO2fSBpalGEhA== X-Google-Smtp-Source: ABdhPJwqhBgCUUToOpk0ekkCOGVWj6NG1E0sdeu18YTuU+CDjsVCEqgjZV3U/OteIvn5L0U6PQsGNQ== X-Received: by 2002:a17:906:344e:: with SMTP id d14mr10220931ejb.42.1600862431889; Wed, 23 Sep 2020 05:00:31 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id z16sm14082026edr.56.2020.09.23.05.00.31 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 Sep 2020 05:00:31 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: T Karthik Reddy , Michal Simek Subject: [PATCH 1/5] microblaze: Enable spi for microblaze Date: Wed, 23 Sep 2020 14:00:18 +0200 Message-Id: <391d2c51b3699dc38fa026869a5cb66b98a998ab.1600862419.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.3 at phobos.denx.de X-Virus-Status: Clean From: T Karthik Reddy Enable SPI drivers and driver model for microblaze. Signed-off-by: T Karthik Reddy Signed-off-by: Michal Simek --- arch/microblaze/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig index ff6b3c7e3d6c..2755cce884c5 100644 --- a/arch/microblaze/Kconfig +++ b/arch/microblaze/Kconfig @@ -16,6 +16,9 @@ config TARGET_MICROBLAZE_GENERIC select OF_CONTROL select SUPPORT_SPL select SYSRESET + select DM_SPI + select DM_SPI_FLASH + select SPI imply CMD_DM endchoice