From patchwork Wed May 27 12:56:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1276 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 496413F066 for ; Wed, 27 May 2020 14:57:11 +0200 (CEST) Received: by mail-pg1-f199.google.com with SMTP id k15sf19242300pgt.21 for ; Wed, 27 May 2020 05:57:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1590584230; cv=pass; d=google.com; s=arc-20160816; b=e+AO5l9eG86kIAgKvlOApnZDaKJrw3AnE3u5AI1rkaDqk9aI/ANS6Jk1eHOziLq+oX fv1OakDxyDBtTuDQt/GZUsKXUZYLcrg9xrVLYP4OPL+Uj9/T6tnVFtm9ZPzujqSLhHPd lECHm/Jg8IxJaueh0lVFl7znezA99lpMIIzuqjCN7UzbLPnPhhElkKNBzqxSUTG5SmXL ufeEDsZp6bx3x541FjyOq5OAUnT/MOx/QyvmcJObZjVnletVsRTDCMqpTCDKi6zDbUy9 vcLBNSm4LFTxMPVRYW18zaHCq5K0UbogmV2MK4kdXEOVgh6j5KycFIOwe9NSdWEshJVU mLjw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=23JVu9wdUZszYhH2XMRRfnMNkQEH8aqa35os8P3ucjk=; b=gOqR4zihtE1N0/TQ03fK5Pk6wK7DmaX+7bSmqtwFphnK6ndbV65IZc9gRrHlxOeeXZ ng9ZQZI9VJnvPt1wkPvCI6cIp+LXQXQ5nZtnrSesiaS4cemZkGZQFwPQH0KFD9syAhoi Q/qOjRoAFDfPKbp5/Wxok43UTMYlP43QIa8IFKfOaWlLeu/sxU5ZYBDw6qGaFP4sXn0n m99nrpaynpAMaIAqcB+/7WUko+J1vntJUT97sBzgAoeZpPDx3SkCnDlrs0JwR+A4Ic6m GC2rJKV/keMHH+gvp4nscXM4ZO9a5X1uDzMH6TYiyheCWErpDb7cMUjJ5eP7rgKcErXR wzOw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=pdVOhmJd; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=23JVu9wdUZszYhH2XMRRfnMNkQEH8aqa35os8P3ucjk=; b=nmpt1leCRZT1GQra6vtHt/aBT6+r0I3LzyoWW6YqMZCu6au40E8rY/q0NHcrNJRztH 0J93hhCqBWmd4RmcHIsi3DVvCULeOA6txYmuNzZu0Ydiua97TC/nKt7bQIrjb0DERWKK VMY9JrDALySDiJEBbCAvae9H/sC2RoX9xJwYc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=23JVu9wdUZszYhH2XMRRfnMNkQEH8aqa35os8P3ucjk=; b=Me12KYIvRCXB4ZSvEbYjw8+RhaX6Vp5FuNZgfCwDmWjLxK6JUaOTLJd7qW6/9LAKVo Ln1qZIveYaVMsWn/UpRTaWbzPoD4rRdQ9Q2vSNPht37263z9Bm+X74QUfgBolJakM+nA zBWKAw3ROfiyUTnx5nujG7V5f3CAGHyFh8DdpTYuzF50tw8YmeJUfUUf9CE+eR1BmQsn RMcmh4XrQLtc4jeG5smEntiJFcwu3Yfa3M2/z2hY7X2dfpr3+6R9MuHQedcUIDp+InxK wzrsTOWHjdBc7QqQlkUOOlyIU27pBi/lmnifKB4xcz6hGOXB2jCkEhZExPKjmNBDixV6 ve2Q== X-Gm-Message-State: AOAM530dHu8F/5dHNEUGQtvXkucctxvQuH6saYC9oVU7mJDhfk4/DaGq vxz1yzyNq0Z+kjXsumMIwMQcZn4G X-Google-Smtp-Source: ABdhPJwJleANSzUqP9c1ppsWjZ6mB243UTgqA7vS21Zik8H6jAKatO2eF9gQXSJvXSug20pPqlvKHQ== X-Received: by 2002:aa7:8c53:: with SMTP id e19mr3820512pfd.264.1590584230050; Wed, 27 May 2020 05:57:10 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:6943:: with SMTP id k3ls1671923plt.7.gmail; Wed, 27 May 2020 05:57:09 -0700 (PDT) X-Received: by 2002:a17:902:465:: with SMTP id 92mr5662599ple.227.1590584229548; Wed, 27 May 2020 05:57:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590584229; cv=none; d=google.com; s=arc-20160816; b=qyP92lXXjv7+Y/7McYxJeBm0573T4rNIexala/h6FRU5QMdWBfPMvYjTBhfLEbQq0M A+DsLsr61N0ysO6875dd7FMW00CQsc8ZCPW6ouRxD10GSLxMPGOYxjk9hJRnZ2CyzWzg QWPOOw0h3ZSs6eGavyip0meD3IQZIOtJGL8j4P5Sv5NZHQrA19MfyYy88rZLPhxOCx5U kRSpqelCXvcPr9cN8Fv/YOcMMPaUU0saIDI/j0pXtsza1h5IiEQyvP1Gng7GrmkBfgJi GWEsRn6QbNOzfwJwSaUlYHZCiAOyTkymPXPyjesmamougn21ogEC9jRPz9meZ+4cpplo WoKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=8SZnWdpWBgsPFo/zNMERCTesMXfUp+6Ar6PN6Ycgs/w=; b=e/JXyjSi1p+4Q57IS1mYH4zSbv/8166nU/gUfwS/+3NyFO8aUfV15JO9if/rHYNeRi HarAJYB56dZ2j8FDRIaqt0FbJ47szq0c7PV/zYmu0V85XT7in6LQu9nHTXls7XH+19MX da1xAPbpm+wpBKFQBqme7/QyZ2ysrHnfqTbDYpDAnWtw4Sy+fFqACl4IBRWN76fMNVe1 JT1Yg+aucIaFO2k8PeQqSKgiPAo/KOANVO4qaqcX6L2ldATHwt+rRBSIOmQOSYEorDh8 8GiZkuvADVwj3d3uWctMhbx6pXnteEQgWFCk15K86FXaSGB6LGYcGWo8+4CXTVmtyyes JA9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=pdVOhmJd; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id m9sor3738673pgd.46.2020.05.27.05.57.09 for (Google Transport Security); Wed, 27 May 2020 05:57:09 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:2a93:: with SMTP id q141mr3750574pgq.129.1590584229249; Wed, 27 May 2020 05:57:09 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:ac3b:7dcd:80:b788]) by smtp.gmail.com with ESMTPSA id k4sm2078274pgg.88.2020.05.27.05.57.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 May 2020 05:57:08 -0700 (PDT) From: Jagan Teki To: Simon Glass , Tom Rini Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki , Samuel Egli Subject: [PATCH v2 07/23] siemens: rut: Enable DM_SPI, DM_SPI_FLASH Date: Wed, 27 May 2020 18:26:21 +0530 Message-Id: <20200527125637.149189-8-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200527125637.149189-1-jagan@amarulasolutions.com> References: <20200527125637.149189-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=pdVOhmJd; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Enable DM_SPI, DM_SPI_FLASH for siemens rut board. Build is fine, but not tested. Cc: Samuel Egli Signed-off-by: Jagan Teki --- Changes for v2: - new patch configs/rut_defconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configs/rut_defconfig b/configs/rut_defconfig index 40c9de25c6..9cc7826846 100644 --- a/configs/rut_defconfig +++ b/configs/rut_defconfig @@ -60,10 +60,12 @@ CONFIG_MTDIDS_DEFAULT="nand0=omap2-nand.0" CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:128k(spl),128k(spl.backup1),128k(spl.backup2),128k(spl.backup3),1920k(u-boot),128k(uboot.env),5120k(kernel_a),5120k(kernel_b),8192k(mtdoops),-(rootfs)" CONFIG_CMD_UBI=y CONFIG_OF_CONTROL=y +CONFIG_SPL_OF_CONTROL=y CONFIG_OF_EMBED=y CONFIG_DEFAULT_DEVICE_TREE="am335x-rut" CONFIG_ENV_IS_IN_NAND=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y +CONFIG_SPL_DM=y CONFIG_BOOTCOUNT_LIMIT=y CONFIG_BOOTCOUNT_ENV=y CONFIG_DFU_NAND=y @@ -71,6 +73,7 @@ CONFIG_MMC_OMAP_HS=y CONFIG_MTD=y CONFIG_MTD_RAW_NAND=y CONFIG_SPI_FLASH=y +CONFIG_DM_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_MTD_UBI_FASTMAP=y CONFIG_MTD_UBI_FASTMAP_AUTOCONVERT=1 @@ -78,6 +81,7 @@ CONFIG_PHY_NATSEMI=y CONFIG_MII=y CONFIG_DRIVER_TI_CPSW=y CONFIG_SPI=y +CONFIG_DM_SPI=y CONFIG_OMAP3_SPI=y CONFIG_USB=y CONFIG_USB_MUSB_HOST=y