diff options
author | Vagrant Cascadian <vagrant@debian.org> | 2014-10-01 14:04:01 -0700 |
---|---|---|
committer | Dennis Gilmore <dennis@ausil.us> | 2014-10-14 19:41:53 -0500 |
commit | 92f36f70d6df4ce4024e8b0b9e88dc9b8b055e31 (patch) | |
tree | 02055ed29c116e0506431ce4b38d1d033b40fe45 | |
parent | 8ecd007b88f92de2e5c585f434d3dcffdfe6ee7e (diff) | |
download | u-boot-92f36f70d6df4ce4024e8b0b9e88dc9b8b055e31.tar.gz u-boot-92f36f70d6df4ce4024e8b0b9e88dc9b8b055e31.tar.xz u-boot-92f36f70d6df4ce4024e8b0b9e88dc9b8b055e31.zip |
Add BOOTENV_POST_COMMAND, which is appended to the end of bootcmd.
-rw-r--r-- | include/config_distro_bootcmd.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h index 515a2f97a8..25034317f4 100644 --- a/include/config_distro_bootcmd.h +++ b/include/config_distro_bootcmd.h @@ -160,6 +160,10 @@ #define BOOTENV_INIT_COMMAND #endif +#ifndef BOOTENV_POST_COMMAND +#define BOOTENV_POST_COMMAND +#endif + #define BOOTENV_DEV(devtypeu, devtypel, instance) \ BOOTENV_DEV_##devtypeu(devtypeu, devtypel, instance) #define BOOTENV \ @@ -217,6 +221,8 @@ BOOTENV_SET_USB_NEED_INIT BOOTENV_SET_SCSI_NEED_INIT \ "for target in ${boot_targets}; do " \ "run bootcmd_${target}; " \ - "done\0" + "done;" \ + BOOTENV_POST_COMMAND \ + "\0" #endif /* _CONFIG_CMD_DISTRO_BOOTCMD_H */ |