Message ID | 20190514102545.30066-7-tudor.ambarus@microchip.com |
---|---|
State | Changes Requested |
Delegated to: | Jagannadha Sutradharudu Teki |
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="wfIDlKSl"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 453DTz6Jb5z9sNf for <incoming@patchwork.ozlabs.org>; Tue, 14 May 2019 20:30:31 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 74AF0C21EB1; Tue, 14 May 2019 10:27:40 +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 D26D0C21F68; Tue, 14 May 2019 10:26:50 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id CA9FFC21DFD; Tue, 14 May 2019 10:26:28 +0000 (UTC) Received: from esa6.microchip.iphmx.com (esa6.microchip.iphmx.com [216.71.154.253]) by lists.denx.de (Postfix) with ESMTPS id F4066C21E7F for <u-boot@lists.denx.de>; Tue, 14 May 2019 10:26:24 +0000 (UTC) Received-SPF: Pass (esa6.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=esa6.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 (esa6.microchip.iphmx.com: no sender authenticity information available from domain of postmaster@email.microchip.com) identity=helo; client-ip=198.175.253.82; receiver=esa6.microchip.iphmx.com; envelope-from="Tudor.Ambarus@microchip.com"; x-sender="postmaster@email.microchip.com"; x-conformance=spf_only Authentication-Results: esa6.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.60,468,1549954800"; d="scan'208";a="30375083" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 14 May 2019 03:26:24 -0700 Received: from NAM05-CO1-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.76.106) with Microsoft SMTP Server (TLS) id 14.3.352.0; Tue, 14 May 2019 03:26:22 -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=PZV1NVGiQaTAwE89StgfrPtN/hgM/Q2dMh/sNnKlwYI=; b=wfIDlKSlTS/yDANu7braoG4vYgcx3xV8HJjYBcZ4lm5Z3INLm1IoO7Ac+ybOkDWMZKKDImje0iNxWrt9GYfNzOmnjlh+2pxf01XQjvNO+6XjQsAAoHMmJl4uk7mCCaNYUpjA2Blg5d8HlSoWUDpI071GUVyw3lyIPMQ74T9VNWE= Received: from BN6PR11MB1842.namprd11.prod.outlook.com (10.175.98.146) by BN6PR11MB1650.namprd11.prod.outlook.com (10.172.24.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1878.25; Tue, 14 May 2019 10:26:19 +0000 Received: from BN6PR11MB1842.namprd11.prod.outlook.com ([fe80::35b3:7af:7216:8808]) by BN6PR11MB1842.namprd11.prod.outlook.com ([fe80::35b3:7af:7216:8808%10]) with mapi id 15.20.1878.024; Tue, 14 May 2019 10:26:19 +0000 From: <Tudor.Ambarus@microchip.com> To: <jagan@amarulasolutions.com>, <vigneshr@ti.com>, <Eugen.Hristev@microchip.com> Thread-Topic: [U-Boot][PATCH v3 06/10] ARM: at91: sama5: add common environment for QSPI Thread-Index: AQHVCj93ZRFlVN5kEE2Bcyo7cBB15Q== Date: Tue, 14 May 2019 10:26:18 +0000 Message-ID: <20190514102545.30066-7-tudor.ambarus@microchip.com> References: <20190514102545.30066-1-tudor.ambarus@microchip.com> In-Reply-To: <20190514102545.30066-1-tudor.ambarus@microchip.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P195CA0008.EURP195.PROD.OUTLOOK.COM (2603:10a6:800:d0::18) 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: 4670cfe5-08f0-4aa5-9035-08d6d8569a21 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328)(7193020); SRVR:BN6PR11MB1650; x-ms-traffictypediagnostic: BN6PR11MB1650: x-microsoft-antispam-prvs: <BN6PR11MB1650B71E44FBCC96FC8CC54AF0080@BN6PR11MB1650.namprd11.prod.outlook.com> x-ms-oob-tlc-oobclassifiers: OLM:989; x-forefront-prvs: 0037FD6480 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(136003)(376002)(366004)(396003)(189003)(199004)(81166006)(4326008)(6512007)(8676002)(81156014)(86362001)(76176011)(446003)(11346002)(52116002)(99286004)(71200400001)(71190400001)(476003)(486006)(2616005)(72206003)(14454004)(26005)(6486002)(25786009)(102836004)(386003)(6506007)(316002)(1076003)(8936002)(6436002)(50226002)(186003)(5660300002)(478600001)(54906003)(110136005)(256004)(2906002)(68736007)(14444005)(66066001)(107886003)(7736002)(2501003)(73956011)(3846002)(6116002)(66476007)(66556008)(64756008)(66446008)(66946007)(36756003)(53936002)(305945005)(6636002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR11MB1650; 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: ZSBy6J2vu6cjasyyt3++caDET2Pt8ICnex4I+XFjatTyNknDZBpvVvmoUVqcA7MxrAu0W4z9LwpDPisrEBhpq3ohjII/oS6YwKPrmwEMmw6QnGyjyJv0cVEOGGqsQYMLDQoSg0KidmLGB2XQx0FpjaYmzKHERu2relivpvoVY3/f1P3Ivyf9fNy0Nrny8rwMi/BCt6adgZKiRE0EPO1/kRPcSrx/pfITEVe15pWjF9PBN0/ib0zTv+WR4alTt0FlQT4SmG8DtJVvgD4lSUpO47zkUJGhavi/+BGSpZZ5jH9HmMqyYOYDo52WjpaGQ5vcN6rCrpnBbb9tu4oaEzH/U60d6nKawvAJp53ijST4UWKa2x7lnOz/q9x7vgvaRMLyE/jgPvDhAVshwuANMlNTxmTAux66okffomgn23bL84s= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 4670cfe5-08f0-4aa5-9035-08d6d8569a21 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 May 2019 10:26:18.8415 (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-Transport-CrossTenantHeadersStamped: BN6PR11MB1650 X-OriginatorOrg: microchip.com 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 v3 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