[PATCH v7 02/22] riscv: sifive: fu540: Use OTP DM driver for serial environment variable

Bin Meng bmeng.cn at gmail.com
Sat May 2 14:28:45 CEST 2020


On Sat, May 2, 2020 at 6:07 PM Pragnesh Patel <pragnesh.patel at sifive.com> wrote:
>
> Use the OTP DM driver to set the serial environment variable.
>
> Signed-off-by: Pragnesh Patel <pragnesh.patel at sifive.com>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>  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 <bmeng.cn at gmail.com>


More information about the U-Boot mailing list