Skip to content

Commit

Permalink
configs: starfive: update jh7100.h for importing u74_uEnv.txt for tes…
Browse files Browse the repository at this point in the history
…ting

Signed-off-by: Jianlong Huang <[email protected]>
  • Loading branch information
jianlonghuang authored and tekkamanninja committed Nov 23, 2021
1 parent e6998f3 commit a5835be
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions include/configs/starfive-jh7100.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,18 @@
"mmcdev=0\0" \
"mmcpart=3\0"

#define STARLIGHT_TEST_BOOTENV \
"testpart=0:1\0" \
"testenv=u74_uEnv.txt\0" \
"mmcsetup=mmc part\0" \
"fdtsetup=fdt addr ${fdtcontroladdr}\0" \
"fatenv=fatload mmc ${testpart} ${loadaddr} ${testenv};" \
"env import -t ${loadaddr} ${filesize}\0"

#define CONFIG_EXTRA_ENV_SETTINGS \
STARLIGHT_FEDORA_BOOTENV \
"loadaddr=0xa0000000\0" \
STARLIGHT_TEST_BOOTENV \
"loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
"ext4bootenv=ext4load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootenv}\0" \
"importbootenv=echo Importing environment from mmc${mmcdev} ...; " \
Expand Down

0 comments on commit a5835be

Please sign in to comment.