Message ID | 20190618085133.26914-7-tudor.ambarus@microchip.com |
---|---|
State | Accepted |
Commit | 89e59c56027364741f781abe759fb995b9c0b880 |
Delegated to: | Eugen Hristev |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=microchip.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=microchiptechnology.onmicrosoft.com header.i=@microchiptechnology.onmicrosoft.com header.b="IpOz+ME1"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45Shmp1wFJz9s7h for <incoming@patchwork.ozlabs.org>; Tue, 18 Jun 2019 18:57:46 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id C9D2BC21FA0; Tue, 18 Jun 2019 08:57:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 73777C21FCA; Tue, 18 Jun 2019 08:53:01 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 71E48C21FB9; Tue, 18 Jun 2019 08:52:13 +0000 (UTC) Received: from esa3.microchip.iphmx.com (esa3.microchip.iphmx.com [68.232.153.233]) by lists.denx.de (Postfix) with ESMTPS id 5E0AAC21F38 for <u-boot@lists.denx.de>; Tue, 18 Jun 2019 08:52:09 +0000 (UTC) Received-SPF: Pass (esa3.microchip.iphmx.com: domain of Tudor.Ambarus@microchip.com designates 198.175.253.82 as permitted sender) identity=mailfrom; client-ip=198.175.253.82; receiver=esa3.microchip.iphmx.com; envelope-from="Tudor.Ambarus@microchip.com"; x-sender="Tudor.Ambarus@microchip.com"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 mx a:ushub1.microchip.com a:smtpout.microchip.com a:mx1.microchip.iphmx.com a:mx2.microchip.iphmx.com include:servers.mcsv.net include:mktomail.com include:spf.protection.outlook.com ~all" Received-SPF: None (esa3.microchip.iphmx.com: no sender authenticity information available from domain of postmaster@email.microchip.com) identity=helo; client-ip=198.175.253.82; receiver=esa3.microchip.iphmx.com; envelope-from="Tudor.Ambarus@microchip.com"; x-sender="postmaster@email.microchip.com"; x-conformance=spf_only Authentication-Results: esa3.microchip.iphmx.com; spf=Pass smtp.mailfrom=Tudor.Ambarus@microchip.com; spf=None smtp.helo=postmaster@email.microchip.com; dkim=pass (signature verified) header.i=@microchiptechnology.onmicrosoft.com; dmarc=pass (p=none dis=none) d=microchip.com X-IronPort-AV: E=Sophos;i="5.63,388,1557212400"; d="scan'208";a="38001635" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 18 Jun 2019 01:52:04 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.87.152) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 18 Jun 2019 01:52:01 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 18 Jun 2019 01:52:02 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector1-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=h/JWtC7LZhpkf+SaJg6EDvuuqELQAE0RHrt58jLpK5w=; b=IpOz+ME1CwzhU5Yskm8CDFPWN1lXXHTkmMbjSo4e5RQ0vF6sS6N7a7BtQ1+znugLhI/8QBtTr+yZhLSKN8ZOwatZb2OXxZDZ6gFPF+HUIjPFglOvT/s+ZtMVnVOaSe5J4Zj1BO+i7B1thSZC2qU0kVoOHlXkT9PO69BXJQeUdpA= Received: from BN6PR11MB1842.namprd11.prod.outlook.com (10.175.98.146) by BN6PR11MB1748.namprd11.prod.outlook.com (10.175.98.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.13; Tue, 18 Jun 2019 08:52:01 +0000 Received: from BN6PR11MB1842.namprd11.prod.outlook.com ([fe80::e581:f807:acdc:cb36]) by BN6PR11MB1842.namprd11.prod.outlook.com ([fe80::e581:f807:acdc:cb36%9]) with mapi id 15.20.1987.014; Tue, 18 Jun 2019 08:52:01 +0000 From: <Tudor.Ambarus@microchip.com> To: <jagan@amarulasolutions.com>, <vigneshr@ti.com>, <Eugen.Hristev@microchip.com> Thread-Topic: [U-Boot][PATCH v5 06/10] ARM: at91: sama5: add common environment for QSPI Thread-Index: AQHVJbMYxsl4ov59dEC0zpvM5Pks4g== Date: Tue, 18 Jun 2019 08:52:01 +0000 Message-ID: <20190618085133.26914-7-tudor.ambarus@microchip.com> References: <20190618085133.26914-1-tudor.ambarus@microchip.com> In-Reply-To: <20190618085133.26914-1-tudor.ambarus@microchip.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P194CA0039.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::28) To BN6PR11MB1842.namprd11.prod.outlook.com (2603:10b6:404:101::18) x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.9.5 x-originating-ip: [94.177.32.154] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a83bb57e-681b-4002-a90a-08d6f3ca3a6d x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BN6PR11MB1748; x-ms-traffictypediagnostic: BN6PR11MB1748: x-microsoft-antispam-prvs: <BN6PR11MB174836B38144EBE4C02BF840F0EA0@BN6PR11MB1748.namprd11.prod.outlook.com> x-ms-oob-tlc-oobclassifiers: OLM:989; x-forefront-prvs: 007271867D x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(346002)(376002)(396003)(39860400002)(366004)(136003)(189003)(199004)(8936002)(305945005)(386003)(2501003)(5660300002)(81156014)(478600001)(68736007)(102836004)(54906003)(81166006)(6636002)(72206003)(66066001)(6436002)(6486002)(107886003)(86362001)(7736002)(36756003)(14454004)(71190400001)(186003)(110136005)(8676002)(71200400001)(6512007)(316002)(6116002)(3846002)(11346002)(446003)(26005)(50226002)(53936002)(66446008)(99286004)(73956011)(66946007)(476003)(66476007)(52116002)(256004)(14444005)(4326008)(2616005)(25786009)(1076003)(6506007)(2906002)(486006)(66556008)(64756008)(76176011)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR11MB1748; H:BN6PR11MB1842.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: h9AMSyLB6iJQ1i4qxVXWcEXTN+ua33MSrd+FFtvLXFOwFz6D/nsyBYdtdXQbxF8StRyfSG9kPBX2DGilp73aWYthzbLZs314Pu1Q2uSal68l+rBt6lj645EW0FSrCYqsgtb1LYuldXVRZ81PNYGeWQQHLbrdXKscgXJ3evl1H9aU2IaEdZvqsu9KlRDOPFm99IhISou7/eRrVc39klZR369d8T0ECyANHM8xKvFcuPgwBT7L3BMQ9clpQgf6QeG/U2mYemnkTOYYEEIUk6h7Y9gJfI3EiUprbIfe37g+tB08UxwdS5C3hkoi9UIL+/q72h+L9uWB4HmYderq2+yfUZVIxPB5qxaORinwjl5pQ+cwb24RT8c5E83L7rDdhyY2iRMK260cDO3GN5RPJ0Nu8gg+4CQr9F/YEJ16EvKfMx0= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: a83bb57e-681b-4002-a90a-08d6f3ca3a6d X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jun 2019 08:52:01.2455 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: tudor.ambarus@microchip.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1748 Cc: Nicolas.Ferre@microchip.com, u-boot@lists.denx.de, Cyrille.Pitchen@microchip.com, bugalski.piotr@gmail.com, sr@denx.de Subject: [U-Boot] [PATCH v5 06/10] ARM: at91: sama5: add common environment for QSPI X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
spi: Add Atmel QuadSPI driver
|
expand
|
diff --git a/include/configs/at91-sama5_common.h b/include/configs/at91-sama5_common.h index 30c6cd47cac2..fc46540a10ab 100644 --- a/include/configs/at91-sama5_common.h +++ b/include/configs/at91-sama5_common.h @@ -72,6 +72,14 @@ "sf read 0x21000000 0x60000 0xc000; " \ "sf read 0x22000000 0x6c000 0x394000; " \ "bootz 0x22000000 - 0x21000000" +#elif CONFIG_QSPI_BOOT +#define CONFIG_ENV_OFFSET 0x140000 +#define CONFIG_ENV_SIZE 0x20000 +#define CONFIG_ENV_SECT_SIZE 0x1000 +#define CONFIG_BOOTCOMMAND "sf probe 0; " \ + "sf read 0x21000000 0x180000 0x80000; " \ + "sf read 0x22000000 0x200000 0x600000; " \ + "bootz 0x22000000 - 0x21000000" #endif #endif