Re: [PATCH v3 1/6] riscv: do not set default fdt for VisionFive 2

2024-04-08 Thread Leo Liang
On Tue, Apr 02, 2024 at 10:49:07AM +0200, Heinrich Schuchardt wrote: > Currently in set_fdtfile() we set the value of environment variable fdtfile > unconditionally. The implies that a value in the environment will be > ignored. > > With the patch environment variable fdtfile will only be set if i

[PATCH v3 1/6] riscv: do not set default fdt for VisionFive 2

2024-04-02 Thread Heinrich Schuchardt
Currently in set_fdtfile() we set the value of environment variable fdtfile unconditionally. The implies that a value in the environment will be ignored. With the patch environment variable fdtfile will only be set if it does not yet exist. This requires that CONFIG_DEFAULT_FDT_FILE is not set. N