diff options
| author | Michal Simek <[email protected]> | 2021-01-11 13:46:58 +0100 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2021-01-20 08:34:53 +0100 |
| commit | 2784befbd7ef21b77ad246ce258f06e4aa711d81 (patch) | |
| tree | 0424b2f0fa8a9dd3a6674a3cd6e579b00106bfcd | |
| parent | b2e35a6f1205bcb9087b0db4e2d815d78fac619e (diff) | |
xilinx: zynqmp: Save bootseq number for SD/EMMC boot modes
For systems which has both sdhci controllers enable it is worth to export
bootseq number for variables. Then the variable can be used in custom
scripts to tune logic for OS.
Signed-off-by: Michal Simek <[email protected]>
| -rw-r--r-- | board/xilinx/zynqmp/zynqmp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index 047b0704859..459d9b1e47e 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -648,6 +648,7 @@ int board_late_init(void) if (bootseq >= 0) { bootseq_len = snprintf(NULL, 0, "%i", bootseq); debug("Bootseq len: %x\n", bootseq_len); + env_set_hex("bootseq", bootseq); } /* |
