diff options
author | Michal Simek <michal.simek@xilinx.com> | 2020-07-28 13:45:47 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-08-20 10:49:20 +0300 |
commit | 62b96262b6dad1000b1ed2fec8664c2757585061 (patch) | |
tree | b42024e0712e75a580fb07005e4acd79213875fa /board/xilinx/versal | |
parent | d5c42ec31b004218666b60ab990c1b56d5b09050 (diff) | |
download | u-boot-62b96262b6dad1000b1ed2fec8664c2757585061.tar.xz |
xilinx: Add support for ENV_VARS_UBOOT_RUNTIME_CONFIG
Start to use ENV_VARS_UBOOT_RUNTIME_CONFIG to enable/disable updating
variables with run time information.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board/xilinx/versal')
-rw-r--r-- | board/xilinx/versal/board.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/xilinx/versal/board.c b/board/xilinx/versal/board.c index 3dc7044b21..a5ca4ca874 100644 --- a/board/xilinx/versal/board.c +++ b/board/xilinx/versal/board.c @@ -116,6 +116,9 @@ int board_late_init(void) return 0; } + if (!CONFIG_IS_ENABLED(ENV_VARS_UBOOT_RUNTIME_CONFIG)) + return 0; + bootmode = versal_get_bootmode(); puts("Bootmode: "); |