From d6fc3864209053e5c6f87909c37eede5a581ab55 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Fri, 12 Apr 2019 11:36:37 +0200 Subject: [PATCH] cmd: fru: Save fru decoding address to variables Keep record of place where fru is. Signed-off-by: Michal Simek --- common/fru_ops.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/fru_ops.c b/common/fru_ops.c index 26cb888a96f..e3be6da9699 100644 --- a/common/fru_ops.c +++ b/common/fru_ops.c @@ -115,6 +115,8 @@ int fru_capture(unsigned long addr) fru_parse_board(addr); } + env_set_hex("fru_addr", addr); + return 0; } -- 2.47.3