mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
make go
optional
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
0c79cda01b
commit
a641b9794b
3 changed files with 6 additions and 0 deletions
1
README
1
README
|
@ -644,6 +644,7 @@ The following options need to be configured:
|
||||||
CONFIG_CMD_FDOS * Dos diskette Support
|
CONFIG_CMD_FDOS * Dos diskette Support
|
||||||
CONFIG_CMD_FLASH flinfo, erase, protect
|
CONFIG_CMD_FLASH flinfo, erase, protect
|
||||||
CONFIG_CMD_FPGA FPGA device initialization support
|
CONFIG_CMD_FPGA FPGA device initialization support
|
||||||
|
CONFIG_CMD_GO * the 'go' command (exec code)
|
||||||
CONFIG_CMD_HWFLOW * RTS/CTS hw flow control
|
CONFIG_CMD_HWFLOW * RTS/CTS hw flow control
|
||||||
CONFIG_CMD_I2C * I2C serial bus support
|
CONFIG_CMD_I2C * I2C serial bus support
|
||||||
CONFIG_CMD_IDE * IDE harddisk support
|
CONFIG_CMD_IDE * IDE harddisk support
|
||||||
|
|
|
@ -28,6 +28,8 @@
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <net.h>
|
#include <net.h>
|
||||||
|
|
||||||
|
#ifdef CONFIG_CMD_GO
|
||||||
|
|
||||||
/* Allow ports to override the default behavior */
|
/* Allow ports to override the default behavior */
|
||||||
__attribute__((weak))
|
__attribute__((weak))
|
||||||
unsigned long do_go_exec (ulong (*entry)(int, char * const []), int argc, char * const argv[])
|
unsigned long do_go_exec (ulong (*entry)(int, char * const []), int argc, char * const argv[])
|
||||||
|
@ -67,6 +69,8 @@ U_BOOT_CMD(
|
||||||
" passing 'arg' as arguments"
|
" passing 'arg' as arguments"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
reset, 1, 0, do_reset,
|
reset, 1, 0, do_reset,
|
||||||
"Perform RESET of the CPU",
|
"Perform RESET of the CPU",
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
|
|
||||||
#define CONFIG_CMD_BOOTM 1
|
#define CONFIG_CMD_BOOTM 1
|
||||||
#define CONFIG_CMD_EXPORTENV 1
|
#define CONFIG_CMD_EXPORTENV 1
|
||||||
|
#define CONFIG_CMD_GO 1
|
||||||
#define CONFIG_CMD_IMPORTENV 1
|
#define CONFIG_CMD_IMPORTENV 1
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue