From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Wed, 19 Jun 2019 15:03:27 +0800 Subject: [U-Boot] [PATCH v3 0/5] Update SiFive Unleashed Drivers In-Reply-To: <20190619070037.11730-1-anup.patel@wdc.com> References: <20190619070037.11730-1-anup.patel@wdc.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Anup, On Wed, Jun 19, 2019 at 3:01 PM Anup Patel wrote: > > This series update SiFive Unleashed clock driver so that: > 1. It is in sync with upstream Linux driver > 2. It uses latest DT bindings as-per upstream Linux driver > > With this series, we can now use latest DT bindings with U-Boot. I have > tested SiFive Serial driver and Cadence MACB ethernet driver with this > changes and both work fine. > > The legacy FSBL will still pass DTB to U-Boot with older DT bindings > which will break the updated SiFive Unleashed clock driver. To tackle > this, we have embedded DTB in OpenSBI FW_PAYLOAD firmware for SiFive > Unleashed so that OpenSBI will override and pass updated DTB to U-Boot. > > In fact, the updated DTB passed by OpenSBI can be used by latest Linux > (i.e. V5.2-rc1 or higher) as well. > > The OpenSBI changes to embed SiFive Unleashed DTB can be found in > sifive_unleashed_dtb_fix_v3 branch of: > https://github.com/avpatel/opensbi.git > > This series can be found in riscv_unleashed_clk_sync_v3 branch of: > https://github.com/avpatel/u-boot.git > > Changes since v2: > - Dropped PATCH6 which adds new compatible string to MACB driver because > more changes are required in MACB driver for different ethernet speeds > If we drop PATCH6, we should also drop PATCH5, otherwise U-Boot 10/100Mbps is broken. Regards, Bin