From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luis Araneda Date: Wed, 18 Jul 2018 03:41:37 -0400 Subject: [U-Boot] [RFC PATCH 0/4] arm: zynq: implement FPGA load from SPL Message-ID: <20180718074141.16539-1-luaraneda@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This series implements FPGA bitstream loading from SPL. Programming the FPGA from the SPL is necessary on some boards, like the Zybo, because the FPGA fabric routes the I2C bus to an EEPROM for reading the Ethernet MAC address. The bitstream is loaded from a FIT image into a dynamically-allocated memory before programming the FPGA. Additionally, some fixes are applied to compile the zynqpl driver for SPL, and to properly detect an FPGA from the SPL. I'm not sure if the fixes are correct or I'm missing something, hence the RFC. Tested on a Digilent Zybo Z7-20 board Luis Araneda (4): spl: fit: display a message when an FPGA image is loaded drivers: fpga: zynqpl: fix compilation with SPL arm: zynq: spl: fix FPGA initialization arm: zynq: spl: implement FPGA load from FIT arch/arm/mach-zynq/spl.c | 42 ++++++++++++++++++++++++++++++++++++++++ common/spl/spl_fit.c | 1 + drivers/fpga/zynqpl.c | 4 ++-- 3 files changed, 45 insertions(+), 2 deletions(-) -- 2.18.0