From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Sat, 2 May 2020 20:28:45 +0800 Subject: [PATCH v7 02/22] riscv: sifive: fu540: Use OTP DM driver for serial environment variable In-Reply-To: <20200502100628.24809-3-pragnesh.patel@sifive.com> References: <20200502100628.24809-1-pragnesh.patel@sifive.com> <20200502100628.24809-3-pragnesh.patel@sifive.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 On Sat, May 2, 2020 at 6:07 PM Pragnesh Patel wrote: > > Use the OTP DM driver to set the serial environment variable. > > Signed-off-by: Pragnesh Patel > Reviewed-by: Bin Meng > --- > arch/riscv/dts/fu540-c000-u-boot.dtsi | 14 +++ > .../dts/hifive-unleashed-a00-u-boot.dtsi | 2 + > board/sifive/fu540/Kconfig | 2 + > board/sifive/fu540/fu540.c | 111 ++++++------------ > 4 files changed, 57 insertions(+), 72 deletions(-) > create mode 100644 arch/riscv/dts/fu540-c000-u-boot.dtsi > Tested-by: Bin Meng