From patchwork Tue Apr 21 19:26:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Schramm X-Patchwork-Id: 238228 List-Id: U-Boot discussion From: t.schramm at manjaro.org (Tobias Schramm) Date: Tue, 21 Apr 2020 21:26:33 +0200 Subject: [PATCH 0/2] Add sf SPI flash support to distro boot Message-ID: <20200421192635.3289648-1-t.schramm@manjaro.org> This patchset adds support for booting from SPI flash via the SPI flash subsystem commands to distro boot. This addition is useful for allowing small embedded devices that support booting from various storage media (USB thumb drives, SD cards, eMMC) to boot from SPI flash, too using a common framework. I'll use this feature for supporting the Pine64 Pinebook Pro, an 14" RK3399 ARM based laptop. I'll send a patchset for that device, soon. Cc-ing some of the latest commit signers since there does not seem to be a dedicated maintainer for distro boot. Tobias Tobias Schramm (2): distro_bootcmd: make BOOTENV_DEV_NAME and BOOTENV_DEV macro variadic distro_bootcmd: add sf SPI flash boot support include/config_distro_bootcmd.h | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-)