riscv: sifive: fu540: Use OTP DM driver for serial environment variable
authorPragnesh Patel <pragnesh.patel@sifive.com>
Fri, 29 May 2020 06:03:22 +0000 (11:33 +0530)
committerAndes <uboot@andestech.com>
Thu, 4 Jun 2020 01:44:08 +0000 (09:44 +0800)
commit88eec6159ad269ce733b7ca32341d4f19b1d7fc9
tree1f0ab5cbb5da2bfedbbf3ef027e0dc17d477c338
parent05307213c6aca1fdb300c8854c4b5881451b633d
riscv: sifive: fu540: Use OTP DM driver for serial environment variable

Use the OTP DM driver to set the serial environment variable.

Signed-off-by: Pragnesh Patel <pragnesh.patel@sifive.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com>
arch/riscv/dts/fu540-c000-u-boot.dtsi [new file with mode: 0644]
arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi
board/sifive/fu540/Kconfig
board/sifive/fu540/fu540.c