Building U-Boot environment variables in YOCTO

I want to somehow include the following in the image generated by YOCTO:

setup='setupargs vt.global_cursor_default=0 console=null console=${console},${baudrate}n8 ${memargs} consoleblank=0; setenv bootm_boot_mode sec'
vidargs='video=mxsfb:800x480M-16@60,pixclockpol=1'

Hello @Ilan_Figueiredo ,

Yes, you can do that by editing the U-boot sources (colibri_imx7.h « configs « include - u-boot-toradex.git - U-Boot bootloader for Apalis and Colibri modules) and then git diff and patch the changes

Best Regards,
Janani