From patchwork Wed Jul 15 10:09:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1504 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id B875B3F1DD for ; Wed, 15 Jul 2020 12:10:26 +0200 (CEST) Received: by mail-pj1-f72.google.com with SMTP id a19sf2332253pjq.9 for ; Wed, 15 Jul 2020 03:10:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594807825; cv=pass; d=google.com; s=arc-20160816; b=rXDM1suUex2JTpaxv9dvcCx8D20kxBt+gsS0sO5AtLERCIMjJ5NqwEiXsLJ96/+dDt ZmkK+62AwO0w2Vep4mkBszg4DEc5HYNv5eruKVijlfs/q47nXqU4SDgikYWr+9rnjt0b I4EtS8PcKDQ8AB0Ya1S6P7xUBdB3L4eZZ0Oz8m5AspyyjReW3eQ87vKLIGiM3fiJVX/v iOLa0Bh4Nhxe/cjgZEdDJVlvnctIlTIqpUwE20xMyi63UF6HWgVEu49VAV3IF1sRVCys NzRnNHJpldpwFACuHWJkHEr0xi/DCVsLYUhEbOpVi7lKaxlM+wTtZyj5EcyurEmlC3aV g1MQ== 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=Mi+clBAoZga06oyWVsdo6ohNrvHwidNpDWVfZOcD1nA=; b=hPh9MnMGo6FiHHRGUqEni2Oe7zZ2qTRs0Z8x2xoD4XmMIPQs5UpySoTIiDzJsITbOR dHS0n4s6FDm443VBQhysQEqKtRT5KN0xdHs26WsJzd3wq8KJOSFJhgOiS4mk7RSqm1EK oubvWjbldiTypFOlmJBwTBIq2SrpyfkOZg3ppj+AQTMtB4wIgidNvuKhIrj5glWD39Un ELg+MSi0Tg9buPKHUPOtIxOSfMa8dTl3xvu1MNQHEyOG364e5dA5RfePkQ3aLOZFeeuH 9c08N/iBB0THG67AJSIJn5aZT13w9V2ciAwZ/24YQ8CY9g2WQbOV7zavGpv3dGENNa0y REnw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YyKsD6Ne; 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=Mi+clBAoZga06oyWVsdo6ohNrvHwidNpDWVfZOcD1nA=; b=AeH86clYwmkldNlUDCe9ufHAJnL2mMDO7WBSPtBu0+PvgPIYwW/QFaFkbUVVtLuWl7 HVfIgWk3c5nvfstnaENjDnIayZVXr5rQTYUsKpUKkpSVaTVAtmEJ54QQavnE5AVbDmRK mvibaAY3nrtgL01xWQhCYJTzR+38/UTWwq7i0= 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=Mi+clBAoZga06oyWVsdo6ohNrvHwidNpDWVfZOcD1nA=; b=WRN9RmQRrBGPfnoEaW4R2ykZin0egsOEfk6il8qPo9m+eVcoZSwtl0n9aWEapU/NkX 7eGajrEAkueCWxheJpK3pwDk6IWTSr/6O6pKgjHwkIZ1dJW2sRgPbYsy+LdemJRw7WCZ 5Zpc4ULRghBUp9GoN7Nua0w4bD3/1Y0OB4JXr+znbKEW7wBMa8OIpDmdRciJ0Of/ds0S 3ryXacHXOpfOjgZfSseg0NmCBSulbruuuqE+vj1EpY6NSgeZz9byglPsOwN0g7wfxxMP AbX6sMkQrujS/9ZkTrI4VZRo7tS56wp+u8h2mKRSIpkvMWgLdal2NimbAYGOh+ZeFVWP MGwA== X-Gm-Message-State: AOAM533gTKciXOTRfKFizuSZ6LMrLNdut/UGh2VRCX+7HFIk7q86dt9x ByV8GY5S+tIw7zwhoNBZWJMTkrbf X-Google-Smtp-Source: ABdhPJwAmb9CyJGM+e9IDjt/R48gc2sRZI450OehyxRKu7FvVEtBuugjIOyrcrg2q4SlI/sJyfPi4Q== X-Received: by 2002:a17:90b:3750:: with SMTP id ne16mr9316135pjb.6.1594807825604; Wed, 15 Jul 2020 03:10:25 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:52ca:: with SMTP id z10ls710729pgp.10.gmail; Wed, 15 Jul 2020 03:10:25 -0700 (PDT) X-Received: by 2002:a65:6846:: with SMTP id q6mr6955270pgt.397.1594807825153; Wed, 15 Jul 2020 03:10:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594807825; cv=none; d=google.com; s=arc-20160816; b=vCvbOXtTtOxClyerAnkyVpEKO9NWEUwOqezoyJLmwKcIp9FISipgKnK7t0knDwZIY7 YEkVLg4h2p7OVfF9OHLbelB6+OKUWCBpc3KQpf6VswzT1UvMnCks8AOXG/bhkyRNGdhk HToGxD2u8KaqI/XCUMX6HvEzclNVGz2ERioX17iFpFPI/V1Gxo+eyaMuRo8Yr6rpsoFF 7Ht2BqYj443WIieJxA8D9bwKnYa5eHpx2O4wBD9IofW7Jh7ZTqw568qdf+AaZZ585sUb Kxyl0PB/DRqJYn79miYLA9jnCx0AFVym0pUVt/K8roOMkyKwC3Grbf67Y5L8iRe9Cg75 RCMQ== 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=fax5Sj6JL/vLwQRqAE9060jxWRK1c17Ef48egUf6kCc=; b=XQS0rIVkKGFLWEv5G2XysXZ0yhnirZcCELn/WQ0+EPA0xk/S9WoI5z6pN9skbnnJWb fU/IbNXITCp+GC8pY7v+LX5jYDGOKYkVjT92Soc0JjfieqXJ8z8krLA5HhMd3TfWD/vY w63S8bZgkdtklV95ikpY6aLypd18fW1skqk0oljIVR95pdnQkrjinA/g0JanrNp/73hd jNHOmDppNRKMgAmOsSWSXGH/bNZ3Orm7u1v2TYrGIzMQZxSP2m7MQ0MHELWhMCBI52+I j2Sn1eyU0DNfn6z4iE59vgbqkyjAMyBb+k7qu8pUyESs40iq5Qe+89lnOP5dUFbJtI2H Rfyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YyKsD6Ne; 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 gk8sor1708729pjb.8.2020.07.15.03.10.25 for (Google Transport Security); Wed, 15 Jul 2020 03:10:25 -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:90a:6acb:: with SMTP id b11mr9315482pjm.71.1594807824913; Wed, 15 Jul 2020 03:10:24 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9887:56a8:c916:cfdb]) by smtp.gmail.com with ESMTPSA id p127sm1658577pfb.17.2020.07.15.03.10.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 03:10:23 -0700 (PDT) From: Jagan Teki To: Rick Chen , Atish Patra , Palmer Dabbelt , Bin Meng , Paul Walmsley , Anup Patel , Sagar Kadam Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki , Bin Meng Subject: [PATCH v5 4/6] sifive: fu540: Mark the default env as SPI flash Date: Wed, 15 Jul 2020 15:39:01 +0530 Message-Id: <20200715100903.161363-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200715100903.161363-1-jagan@amarulasolutions.com> References: <20200715100903.161363-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=YyKsD6Ne; 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: , Mark the default U-Boot environment as SPI flash since this is an on board flash device. Reviewed-by: Bin Meng Signed-off-by: Jagan Teki Reviewed-by: Bin Meng Tested-by: Bin Meng --- Changes for v5: - rebase on master board/sifive/fu540/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/board/sifive/fu540/Kconfig b/board/sifive/fu540/Kconfig index 86193d7668..e1ba629e37 100644 --- a/board/sifive/fu540/Kconfig +++ b/board/sifive/fu540/Kconfig @@ -27,6 +27,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy def_bool y select SIFIVE_FU540 select SUPPORT_SPL + select ENV_IS_IN_SPI_FLASH select RAM select SPL_RAM if SPL imply CMD_DHCP