There is no BSP support in the Variscite iMX8MM board to achieve the above goal as u-boot clears the memory on every boot.