From: Priit Laes Date: Sat, 14 Jan 2017 12:36:00 +0200 Subject: [U-Boot] [linux-sunxi] [PATCH 2/2] sunxi: OrangePi Zero: defconfig: enable SPI flash In-Reply-To: <1484359570-10428-3-git-send-email-andre.przywara@arm.com> References: <1484359570-10428-1-git-send-email-andre.przywara@arm.com> <1484359570-10428-3-git-send-email-andre.przywara@arm.com> Message-ID: <1484390160.16763.1.camel@plaes.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, 2017-01-14 at 02:06 +0000, Andre Przywara wrote: > Newer OrangePi Zero boards all come with 16 Mib SPI flash soldered, > from > which the board can actually boot from. > Enable the SPL support for the SPI controller and SPI flash to allow > putting the SPL, the DT and U-Boot proper into there. This will let > a board boot without an SD card inserted. > The flash chip can be written with a version of the sunxi-fel tool. Thanks, I had this one in my queue :) > > Signed-off-by: Andre Przywara Tested-by: Priit Laes > --- > ?configs/orangepi_zero_defconfig | 2 ++ > ?1 file changed, 2 insertions(+) > > diff --git a/configs/orangepi_zero_defconfig > b/configs/orangepi_zero_defconfig > index 8813927..abb3fcf 100644 > --- a/configs/orangepi_zero_defconfig > +++ b/configs/orangepi_zero_defconfig > @@ -13,3 +13,5 @@ CONFIG_SPL=y > ?# CONFIG_CMD_FPGA is not set > ?CONFIG_SUN8I_EMAC=y > ?CONFIG_USB_EHCI_HCD=y > +CONFIG_SPL_SPI_SUNXI=y > +CONFIG_SPL_SPI_FLASH_SUPPORT=y > --? > 2.8.2 >