From patchwork Thu May 16 10:03:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 1100452 Return-Path: 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=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=tkos.co.il Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 454Rt3421vz9s6w for ; Thu, 16 May 2019 20:07:07 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 44020C21DCA; Thu, 16 May 2019 10:07:02 +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=none 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 60AB2C21C8B; Thu, 16 May 2019 10:07:00 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id F0426C21D4A; Thu, 16 May 2019 10:06:58 +0000 (UTC) Received: from mx.tkos.co.il (guitar.tcltek.co.il [192.115.133.116]) by lists.denx.de (Postfix) with ESMTPS id 80DF3C21C8B for ; Thu, 16 May 2019 10:06:58 +0000 (UTC) Received: from tarshish.tkos.co.il (unknown [10.0.8.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPS id 6A2024403ED; Thu, 16 May 2019 13:06:57 +0300 (IDT) From: Baruch Siach To: u-boot@lists.denx.de, Stefan Roese Date: Thu, 16 May 2019 13:03:52 +0300 Message-Id: X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Cc: Baruch Siach , Chris Packham Subject: [U-Boot] [PATCH 0/9] arm: mvebu: clearfog: support boot from SATA disk X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This series enables support for boot from SATA on the SolidRun Clearfog platform. Patches 1-3 are preparations for the addition of loading U-Boot main image from raw SATA device. They make spl sata code independent of board macros and specific kconfig symbols. Patch 4 adds to SPL generic support for loading U-Boot from a raw SATA device. This code is modeled after the similar support for MMC devices. Patches 5-6 are mvebu specific. Patch 5 fixes SATA access from SPL. Patch 6 adds the SATA boot option at the SoC level. Patches 7-9 are the board specific update that enable SATA boot in Clearfog, and document the offset setting requirement. Baruch Siach (9): spl: sata: add default partition and image name spl: sata: fix build with DM_SCSI spl: sata: don't force FS_FAT support spl: sata: support U-Boot load from raw sata disk arm: mvebu: fix ahci mbus config in SPL arm: mvebu: add support for boot from SATA arm: mvebu: clearfog: enable SATA in SPL arm: mvebu: clearfog: set U-Boot offset for SATA boot arm: mvebu: clearfog: document boot from SATA arch/arm/dts/armada-388-clearfog-u-boot.dtsi | 8 ++++ arch/arm/mach-mvebu/Kconfig | 5 ++ arch/arm/mach-mvebu/Makefile | 3 ++ arch/arm/mach-mvebu/cpu.c | 4 ++ arch/arm/mach-mvebu/include/mach/soc.h | 2 + arch/arm/mach-mvebu/spl.c | 5 ++ board/solidrun/clearfog/README | 6 +++ common/spl/Kconfig | 14 ++++++ common/spl/spl_sata.c | 49 ++++++++++++++++++-- include/configs/clearfog.h | 2 +- 10 files changed, 94 insertions(+), 4 deletions(-)