61 static int fdt_exec (
int argc,
char **argv ) {
struct arbelprm_rc_send_wqe rc
static struct option_descriptor fdt_opts[]
"fdt" option list
int optind
Current option index.
static int fdt_exec(int argc, char **argv)
The "fdt" command.
int parse_timeout(char *text, unsigned long *value)
Parse timeout value (in ms)
int imgfdt(struct image *image)
Apply flattened device tree image.
Flattened Device Tree management.
int parse_options(int argc, char **argv, struct command_descriptor *cmd, void *opts)
Parse command-line options.
Parse command-line options.
static struct command_descriptor fdt_cmd
"fdt" command descriptor
Command line option parsing.
unsigned long timeout
Download timeout.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
#define OPTION_DESC(_longopt, _shortopt, _has_arg, _struct, _field, _parse)
Construct option descriptor.
Option requires an argument.
A command-line option descriptor.
static union @447 opts
"cert<xxx>" option list
#define COMMAND_DESC(_struct, _options, _min_args, _max_args, _usage)
Construct command descriptor.
#define NULL
NULL pointer (VOID *)
int imgacquire(const char *name_uri, unsigned long timeout, struct image **image)
Acquire an image.
COMMAND(fdt, fdt_exec)
Flattened Device Tree commands.