Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
- index 68ccf11..67d6cb3 100644
- --- a/include/configs/am335x_evm.h
- +++ b/include/configs/am335x_evm.h
- @@ -67,6 +67,10 @@
- "${optargs} " \
- "root=${mmcroot} " \
- "rootfstype=${mmcrootfstype}\0" \
- + "preenv=preEnv.txt\0" \
- + "loadpreenv=fatload mmc ${mmcdev} ${loadaddr} ${preenv}\0" \
- + "importpreenv=echo Importing preboot environment from mmc ...; " \
- + "env import -t $loadaddr $filesize\0" \
- "bootenv=uEnv.txt\0" \
- "loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
- "importbootenv=echo Importing environment from mmc ...; " \
- @@ -94,6 +98,18 @@
- "if test $board_name = A335X_SK; then " \
- "setenv fdtfile am335x-evmsk.dtb; fi\0" \
- +#define CONFIG_PREBOOT \
- + "echo checking for ${preenv};" \
- + "if mmc rescan ${mmcdev}; then " \
- + "if run loadpreenv; then " \
- + "echo Loaded environment from ${preenv};" \
- + "run importpreenv;" \
- + "if test -n $preenvcmd; then " \
- + "echo Running preenvcmd ...;" \
- + "run preenvcmd;" \
- + "fi;" \
- + "fi;" \
- + "fi"
- #define CONFIG_BOOTCOMMAND \
- "run findfdt; " \
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement