sorry i just saw the email I have reworked the patch for v3 based on u-boot mainline
At 2022-02-11 23:05:47, "Simon Glass" <s...@chromium.org> wrote: >Hi, > >On Sat, 29 Jan 2022 at 01:26, 何勇 <hyyo...@163.com> wrote: >> >> Hi: >> Override the env_fat_get_dev_part function in the board file, you can >> load env from sdcard or emmc without modifying any configuration >> of u-boot, it is very useful for building wic firmware by yocto. >> >> it has been done under env/ext4.c > >I cannot see it. Can you please point me to the line number in that file? > >Do you have an English-text name you could use for the patch? > >Regards, >Simon > > >> >> >> >> >> >> >> >> At 2022-01-27 23:05:57, "Simon Glass" <s...@chromium.org> wrote: >> >Hi, >> > >> >On Thu, 30 Dec 2021 at 07:50, hyyxohk <hyyo...@163.com> wrote: >> >> >> >> For platform which can boot on different device, this allows >> >> to override interface, device and partition from board code. >> >> >> >> Signed-off-by: hyyxohk <hyyo...@163.com> >> >> --- >> >> env/fat.c | 30 +++++++++++++++++------------- >> >> include/env_internal.h | 20 ++++++++++++++++++++ >> >> 2 files changed, 37 insertions(+), 13 deletions(-) >> >> >> > >> >What is this feature used for? >> > >> >Regards, >> >Simon >> >[..]