[PATCH] sandbox: use env_get() for time offset instead of getenv()

Tom Rini trini at konsulko.com
Wed Sep 24 20:16:34 CEST 2025


On Sun, 14 Sep 2025 17:27:27 +0200, Osama Abdelkader wrote:

> The sandbox time offset is intended to be controlled via the U-Boot
> environment, not the host process environment. Update os_get_time_offset()
> to use env_get() instead of the libc getenv().
> 
> Leave other getenv() uses (e.g. U_BOOT_PERSISTENT_DATA_DIR,
> UBOOT_SB_FUZZ_TEST) unchanged, since those refer to host environment
> variables needed by sandbox tests.
> 
> [...]

Applied to u-boot/next, thanks!

[1/1] sandbox: use env_get() for time offset instead of getenv()
      commit: 8558aaa3cf9065ab5ec9a0b241ce567e7393dbc3
-- 
Tom




More information about the U-Boot mailing list