From patchwork Sat Jun 13 13:54:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1376 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 3A35D3F077 for ; Sat, 13 Jun 2020 15:55:12 +0200 (CEST) Received: by mail-pf1-f199.google.com with SMTP id c9sf9298208pfn.23 for ; Sat, 13 Jun 2020 06:55:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592056510; cv=pass; d=google.com; s=arc-20160816; b=nDRk7+R2MrDnm401C53J3ZbQqvZMqYVaiMO/ivLQ3fV/Ggy0uV6jxroVvR9BkTVFlJ Jpq/MssPnczn1nkQD8TKyirvzbFoGbimZGaKxtKlojeGgF+SaVK0HM/hI85yog6a/Gqb XkoVVkxbg+cylaS4TE7sGJshrc9QcWYLvIXzVpn1vi41tHsJn4NjQEYG6nTcu0OID/gv TnaOOMHfOGkmcyQaqFfQSmd7rb5pwcGKSVYpoRlEhKCDnxuSEnreopwNhSL/dTt4ZcV4 sPmwhCI7LUty63+YoqPuXiqhrbJMOAXGWq50n77Rs8JAb+E6FTZcakFfXp3w2lvHwz48 z63g== 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=w+dMYe96zSyRBQXYVVX3lMwkNruZiLU1lO+apgx5hAs=; b=zQbedTFOdXid91uKRT4XjPeRe08Rz9lZIb5h2LfilplTV+RDCtkMjIiO9wL6uG3YEa 6sy4XK8U9/xTAdrfZ+nFI8320Ka6/LsZGuOKcGxcn9lyDB3A4V9XU1KvHA2KxDvpPgge p9aI7L+8U20ZVuSczyxzsCn8F+BQDJqd+AeuEjp24ujgjQ4QkG9qIJWzSrSfqeaasDoo cGUSb1s4ltveRetXXHMPxRSbgDbXyaPBpB/AgHFi/Zoa9K7WjYWsVUUF6O2jdgKd2qgd WcD0ussRhvrUqON0MoNWuG5D1x91LvLOufN48qwig4tXeWpkUPgGJXVLhG8J9PYJHi3G NsQg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YWly2PHw; 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=w+dMYe96zSyRBQXYVVX3lMwkNruZiLU1lO+apgx5hAs=; b=jcYBHpf1NNiLMxAZizu9U/mz0P2Mn6SZlgAaTVj+kgqIaMNdDTVNyo56IyY0Pwx2aF h1TZB6h8VhAUXf0tXV3HYdjmAzvNqfhp32DEqS4Wo3hw07q66TsGebNSwUSGf8atUKxE lNM2Uu2GAWPan3cIXIBpH9aUAo6mLAFcGpS9U= 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=w+dMYe96zSyRBQXYVVX3lMwkNruZiLU1lO+apgx5hAs=; b=r7J9PHm1WvhtYFOxyQkLoWXILCC15nP5AiaVeP9j4Kd6jIgZqcmzxqQMU3AcSZmVwg MSTCyhJIaxkFHcDr9BN5kH3g/PCVILdGD4MNoXLNBIyk4aZSZW/AG3z6+baj59vfDnS6 0aKEUbtGXFlw05o5iniyMUKzv/6YfFiGXpU6SSXXGhNCIPyX0OJwQRTS80aQwejhBdbq 6HsqSf4ScA59QaXkovWVN25JAulPPlh8BO+1Ux4D7HMBIox4WTnGvsum+1IC/0w/fMU0 2FBGY6oznGKeoBKWljxnLXJINsYl0MqA4Yk3jG4ewyo+iojufyDQGCqt0/upt9pBXZ6k yjrQ== X-Gm-Message-State: AOAM531g1bAlYfYVpPtdvHqWu2qkq5dTDrDRKx2qlcYO1n/G5bx7FJR3 xpFCo7d0V2CfsxJOmJZlDhywhXvc X-Google-Smtp-Source: ABdhPJy/6LysWplmZ8KGia5qaZY4jZSwurCrFKfXas2/FJMoXbKN/Z1DjZamM7AgaE8tzhVEGA9mbA== X-Received: by 2002:aa7:8506:: with SMTP id v6mr16125036pfn.303.1592056510349; Sat, 13 Jun 2020 06:55:10 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:7143:: with SMTP id g3ls3290115pjs.1.gmail; Sat, 13 Jun 2020 06:55:10 -0700 (PDT) X-Received: by 2002:a17:90b:3691:: with SMTP id mj17mr3268028pjb.152.1592056509869; Sat, 13 Jun 2020 06:55:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592056509; cv=none; d=google.com; s=arc-20160816; b=Qzv1t8eLCGcgvuy5YM8kEi2Shi4t0KPlACyqFpBB8Pz6zesr1PBl2QYo7brRDIgtms 86WvWS/TUhE97Uiv6wP1uN3/p5Qp5d+Iert3vYReRzhdqHbOUW5J/NrVcv+m6CKckyYM qGvzKkmLxOvjnollnGu2fCt483v/iFM8G3aG5QhEQ7SG7PwZmV4cwYy+UqXj0hm9Hdad PB6fDQGsfWXi7xrRgmfJqFNxgjAeFiU1DLbEiB8zfllWOmS47pfJE7OZt+lqGgXDVgCf QQ4pVB/qNDEnxjuLNLx1kBwjSAbzqGalb+qsUZk01tEl9cm4TenE+v7kxvJLdDkUcjCn dA4w== 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=RAIVOj2KhawATfdYKjnNbKmDODoeWvHY+V+JKe90VRg=; b=vwx7Y4IgA74GofPbb1+NG8bAZyLQ282HgFFB2rAiQFtx/gMk6SwAqYgKMOQKGh4Q7r 5mP2Gemhy3rAr9ImiPodI0YRdtED1uvqAuKdwYPBZSV85+SvLhUXmHJKMyPiXReZpTSy lwoNuJj0WOehJaasA5bmJv+HDGo4OzeK1q46njVpNLvBrHv+D+zkj2N4FhufFIIMdwGt TcY3Ye5vZeHyaAWyUuyWj7Pw8mB3XVYjJKuPFIqJ+7zClq4OfRwLDxgNT5xQd5eSlmDP e31wdkXMuefYXrr/3NtWHK8mrZATzatsV3ZfxMbfvbNLcUVM7lr9ope20ao5tjMhKK3W Z7hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YWly2PHw; 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 g6sor11077750pfk.46.2020.06.13.06.55.09 for (Google Transport Security); Sat, 13 Jun 2020 06:55: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:aa7:9093:: with SMTP id i19mr15628331pfa.152.1592056508972; Sat, 13 Jun 2020 06:55:08 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:5482:aff0:70c0:2108]) by smtp.gmail.com with ESMTPSA id m18sm9087017pfo.173.2020.06.13.06.55.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Jun 2020 06:55:08 -0700 (PDT) From: Jagan Teki To: u-boot@lists.denx.de Cc: Simon Glass , Tom Rini , linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH 01/16] cl-som-imx7: Switch to DM_SPI/DM_SPI_FLASH Date: Sat, 13 Jun 2020 19:24:40 +0530 Message-Id: <20200613135455.181483-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200613135455.181483-1-jagan@amarulasolutions.com> References: <20200613135455.181483-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=YWly2PHw; 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 with associated config options. Build fine, but not tested. Patch-cc: Uri Mashiach Signed-off-by: Jagan Teki --- configs/cl-som-imx7_defconfig | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configs/cl-som-imx7_defconfig b/configs/cl-som-imx7_defconfig index a38c6c2429..12018cc1b0 100644 --- a/configs/cl-som-imx7_defconfig +++ b/configs/cl-som-imx7_defconfig @@ -7,6 +7,7 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_ENV_SIZE=0x2000 CONFIG_ENV_OFFSET=0xC0000 CONFIG_ENV_SECT_SIZE=0x10000 +CONFIG_DM_GPIO=y CONFIG_TARGET_CL_SOM_IMX7=y CONFIG_SPL_MMC_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y @@ -41,7 +42,6 @@ CONFIG_CMD_GREPENV=y CONFIG_CMD_GPIO=y CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y -CONFIG_CMD_SF=y CONFIG_CMD_USB=y CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y @@ -54,16 +54,18 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y CONFIG_OF_CONTROL=y +CONFIG_SPL_OF_CONTROL=y CONFIG_DEFAULT_DEVICE_TREE="imx7d-sdb" # CONFIG_ENV_IS_IN_MMC is not set CONFIG_ENV_IS_IN_SPI_FLASH=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y +CONFIG_SPL_DM=y CONFIG_CMD_PCA953X=y CONFIG_DM_MMC=y CONFIG_SUPPORT_EMMC_BOOT=y CONFIG_FSL_USDHC=y CONFIG_MTD=y -CONFIG_SPI_FLASH=y +CONFIG_DM_SPI_FLASH=y CONFIG_SF_DEFAULT_MODE=0 CONFIG_SF_DEFAULT_SPEED=20000000 CONFIG_SPI_FLASH_ATMEL=y @@ -79,6 +81,7 @@ CONFIG_PHY_ATHEROS=y CONFIG_MII=y CONFIG_DM_REGULATOR=y CONFIG_SPI=y +CONFIG_DM_SPI=y CONFIG_MXC_SPI=y CONFIG_USB=y CONFIG_DM_USB=y