From patchwork Wed May 27 12:56:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1275 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id BEE7A3F066 for ; Wed, 27 May 2020 14:57:07 +0200 (CEST) Received: by mail-pg1-f197.google.com with SMTP id b131sf19301628pga.9 for ; Wed, 27 May 2020 05:57:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1590584226; cv=pass; d=google.com; s=arc-20160816; b=oq4CgAT9lH9I/e1KPKgWfMn+OqPy0CDlqhl359EhV3JMMJEZuJvGC+RvTrGbDCCKcF QzHvJEYvB34gBFmdFTk2GAZq3FVTeVPM+8oKOMtVsMYpPdC8gPILJ6N4ALfpHIgFNng8 0DMLq9MsJe17lu1rOMX7escqbWYYK4csoESEvOl4j1MqmJfj7edEm6/5pGX/SzG9k21x 2D8MGs9n16b9q0O1hjtY5ybx+DRND/+N93af4osELLUNgPCRDSSKYZMC0Bc2c+HwpmsS Hb0Srku3H1rcZUDcFgujjPWLZFZ7J76kTIHcyigD5erzhbfWKPhYU+GFifNAg/rnZbc6 vthA== 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=kk0KKWSjg6jico30F3oip2ZzhRxfqjinwTyVoNuvGA8=; b=NX20bwvMbP/+ilMGMpi0f45y4+THQl7mAL/ztuYdLxtHGw9fkrllfycJf7VzxNRsVQ 9PMP2aMK76rgVA0pChYjgxGDLS5xpfR09W/a9bWKIBsC9+v1j1Ffi+PSHCPIhhKErm4x iL/JgVgo0aCrR/E0by16bd4ynUZU51yCp2v9ZDpq1Xt9SIEujpCTddhyF+KIekzQPlIE 8LSlJW623hEfBFVr4EpyJrn9s3Xk2W6dXezN/wC9GM2PKpicQSh7nR4AAZ9UUidOOmdH 1bFM5ec5AaAIJMGAXyPrXrNn8NJIM7YnEFu2SNZ8ZI0AxkJ9VulwOsKMcpU+zNDkpvJ9 3ExA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=E+jYEiX0; 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=kk0KKWSjg6jico30F3oip2ZzhRxfqjinwTyVoNuvGA8=; b=r6LLNuPOMRoq8l79dxB1O6GuEDCtYSTUZaJe6nxK12Dfi7E41ao8Wj+HCUlPyiUy84 d4n7bs3+PPqcwyLAQA+N9cEau4kkZWbl+8dJsjgPPZ2X+hSNpSERePFTkmb6kBBJpbk0 OGVprATzC8b5gFPMrv43mlzNu2tj5Gqqt8z6Q= 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=kk0KKWSjg6jico30F3oip2ZzhRxfqjinwTyVoNuvGA8=; b=kE4c9kbUllENrxMS9B6I9ZZ8jMORq1S2ciDdqoBD4/hhRiH8o8QRpTu40EUVqt8Y/s yIx0+V5AX6MCAe8GoI8B/XZyLWluvAv2ySd17GC6yNi/Nexa7bVOpmZZEdlW1IxwU02R p4FE1Etg25Y9Hjso9OiydyJO3/HI6Wl9af3L+eR+pKR1zTZ2w14o+N9fTPWxeBBh3ZzD a011KXtdhMVUpYk/kup3nH9fevXl2YbPcsab7DmU0POj/tvygTwvxr1xOnnZQUWrg1yj A9U/wE2LqJfNt/4HZbLIVnSGPaaHCU91R3PN0zBWUVFw1of/pTpIEVtrRN9QNf/8/d9P K+1g== X-Gm-Message-State: AOAM532c0WhP26tdDtNvjdBIl+axpix5eRYLOmg4h3hSbpSiX5QjsI5N 0VWZlQcPnegxfefMt4yM5ITEbXP8 X-Google-Smtp-Source: ABdhPJxg/ttjt3N7nxpfDJhJok8k0Xgza9Lor76joZK1PpA0HleYFt0zrQLB+dMZSqtKb9MIKBb22Q== X-Received: by 2002:a63:3347:: with SMTP id z68mr4010130pgz.61.1590584226615; Wed, 27 May 2020 05:57:06 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:c086:: with SMTP id o6ls1496136pjs.0.canary-gmail; Wed, 27 May 2020 05:57:06 -0700 (PDT) X-Received: by 2002:a17:902:ed43:: with SMTP id y3mr5900652plb.7.1590584226171; Wed, 27 May 2020 05:57:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590584226; cv=none; d=google.com; s=arc-20160816; b=TaySpd6JUbbQJI3IcB8GAhxbO6Ko1r5XzEWk3ZY1u5I+bcspYjn9wSieqTlrriQ403 zFgcc1cdqXStRpKBI+eNE4sPpsLswMTAcoSssA2/CcVUW5NzxuPHLKOPqikysb+NOGy8 NCeRnfo+v3gVCo/tKq7jG6as2bQx3Xrh88cCbxG+Jod2LodN5D5ycVxRTH9hcVQhm/pL /kw4EqlwoyIjxBlByTn4aG/O6yp5zhq2Jcx996CrgtMwlELUvDQmbpVhlftH4ZVJIWfK 47gMLK27iSxAE5CkeqUJOIGEkEleUvK56F2EuRN1zRLO/qfgi+MBP6qBeBO4tfcLU/0U Qm/g== 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=UjGBsxiXc+NwtNowV7XEmcDw4qhKNHeIQe2WkSwk27s=; b=Ym5VONrKqz8jj0bVq0oIezp7j1FSEqtSJWcgAXClToW2boEMMV/hLXmA5nyH5ZsP8O 1t7CVKFWKyLmqbI0PnUmz4cfiwQ1cKK4XKbHyzEtQ/MpOdzFZiaapsSAQfg9AYAHsl4i QW5arfbAcr245HHtnDlDkWfv9iM/aMoweoJnTsK89N5m+X7DzBbdxQTZT/GaJqNYsQmJ 9H1hptpsvdi9K9iEVG6buOCD5bwhfjsOqBKUXyEHkxgBUNYqjiN2j9qAUWjfX/I02IIo +V3UdxatNga5DNFneH+9NsxHyiflUzrRx+JPo9fT4foRzGkcyfK7+izDVu90z4l/qpLT ayUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=E+jYEiX0; 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 k5sor3438854pjo.16.2020.05.27.05.57.06 for (Google Transport Security); Wed, 27 May 2020 05:57:06 -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:a17:90b:609:: with SMTP id gb9mr5153402pjb.47.1590584225924; Wed, 27 May 2020 05:57:05 -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.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 May 2020 05:57:05 -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 06/23] siemens: pxm2: Enable DM_SPI, DM_SPI_FLASH Date: Wed, 27 May 2020 18:26:20 +0530 Message-Id: <20200527125637.149189-7-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=E+jYEiX0; 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 pxm2 board. Build is fine, but not tested. Cc: Samuel Egli Signed-off-by: Jagan Teki --- Changes for v2: - new patch configs/pxm2_defconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configs/pxm2_defconfig b/configs/pxm2_defconfig index 67de086c0b..51c60b6a5c 100644 --- a/configs/pxm2_defconfig +++ b/configs/pxm2_defconfig @@ -59,10 +59,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-pxm50" 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 @@ -70,6 +72,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 @@ -77,6 +80,7 @@ CONFIG_PHY_ATHEROS=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