[U-Boot] [U-BOOT PATCH v1] riscv: sifive: fu540: set serial environment variable from otp
Bin Meng
bmeng.cn at gmail.com
Mon Aug 12 15:13:15 UTC 2019
On Mon, Aug 12, 2019 at 10:58 PM Sagar Shrikant Kadam
<sagar.kadam at sifive.com> wrote:
>
> This patch sets the serial# environment variable by reading the
> board serial number from the OTP memory region.
>
> Signed-off-by: Sagar Shrikant Kadam <sagar.kadam at sifive.com>
> Reviewed-by: Anup Patel <anup at brainfault.org>
> ---
> board/sifive/fu540/fu540.c | 18 ++++++++++++++----
> 1 file changed, 14 insertions(+), 4 deletions(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
Tested-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list