diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/env.c | 20 | ||||
-rw-r--r-- | common/hush.c | 14 | ||||
-rw-r--r-- | common/partition.c | 20 |
3 files changed, 27 insertions, 27 deletions
diff --git a/common/env.c b/common/env.c index c8cb29a7a3..96a8ed035b 100644 --- a/common/env.c +++ b/common/env.c @@ -61,7 +61,7 @@ static struct env_context *context; /** * Remove a list of environment variables - * @param[inout] v Variable anchor to remove + * @param[in] v Variable anchor to remove */ static void free_variables(struct variable_d *v) { @@ -306,12 +306,12 @@ U_BOOT_CMD_END /** * @page printenv_command printenv * - * Usage: printenv [<name>] + * Usage: printenv [\<name>] * * Print environment variables. - * If <name> was given, it prints out its content if the environment variable - * <name> exists. - * Without the <name> argument all current environment variables are printed. + * If \<name> was given, it prints out its content if the environment variable + * \<name> exists. + * Without the \<name> argument all current environment variables are printed. */ #ifdef CONFIG_SIMPLE_PARSER @@ -342,14 +342,14 @@ U_BOOT_CMD_END /** * @page setenv_command setenv * - * Usage: setenv <name> [<val>] + * Usage: setenv \<name> [\<val>] * - * Set environment variable <name> to <val ...> - * If no <val> was given, the variable <name> will be removed. + * Set environment variable \<name> to \<val ...> + * If no \<val> was given, the variable \<name> will be removed. * * This command can be replaced by using the simpler form in the hush: * - * <name> = <val> + * \<name> = \<val> * * @note This command is only required if the simple * parser (not the hush) is in use. @@ -394,7 +394,7 @@ U_BOOT_CMD_END /** * @page export_command export * - * Usage: export <var>[=value]... + * Usage: export \<var>[=value]... * * Export an environment variable to subsequently executed scripts */ diff --git a/common/hush.c b/common/hush.c index d85f85718f..c05b5642b7 100644 --- a/common/hush.c +++ b/common/hush.c @@ -1574,15 +1574,15 @@ U_BOOT_CMD_END /** @page sh_command Starting shell * - * Usage: sh <filename> [<arguments>] + * Usage: sh \<filename\> [\<arguments\>] * - * Execute a shell script named <filename> and forward (if given) - * <arguments> to it. + * Execute a shell script named \<filename\> and forward (if given) + * \<arguments\> to it. * - * Usage: . <filename> [<arguments>] - * or source <filename> [<arguments>] + * Usage: . \<filename\> [\<arguments\>] + * or source \<filename\> [\<arguments\>] * - * Read and execute commands from <filename> in the current shell environment, - * forward (if given) <arguments> to it and return the exit status of the last + * Read and execute commands from \<filename\> in the current shell environment, + * forward (if given) \<arguments\> to it and return the exit status of the last * command executed from filename. */ diff --git a/common/partition.c b/common/partition.c index bb4006eb0a..4942ffdf55 100644 --- a/common/partition.c +++ b/common/partition.c @@ -230,18 +230,18 @@ handled in the same way as every other device. What we want: -@code +@verbatim device nor0 |--- partition 0 |--- partition 1 |--- partition 2 |--- partition 3 `--- partition 4 -@endcode +@endverbatim How to get: -@code +@verbatim $ addpart /dev/nor0 256k(uboot),128k(env),256k(bla),1024k(blubb),2048k(friesel) $ devinfo |---nor0.uboot @@ -249,7 +249,7 @@ $ devinfo |---nor0.bla |---nor0.blubb |---nor0.friesel -@endcode +@endverbatim @par Partitions with sub partitions: @@ -258,7 +258,7 @@ there is a way to create sub partitions on partitions. What we want: -@code +@verbatim device nor0 |--- partition 0 |--- partition 1 @@ -267,11 +267,11 @@ What we want: `--- partition 4 |--- partition 0 `--- partition 1 -@endcode +@endverbatim How to get: -@code +@verbatim $ addpart /dev/nor0 256k(uboot),128k(env),256k(bla),1M(blubb),2048k(friesel) $ devinfo |---nor0.uboot @@ -289,15 +289,15 @@ $ devinfo |---nor0.friesel |---nor0.friesel.fussel `---nor0.friesel.boerks -@endcode +@endverbatim @par Forwarding partitions to the kernel: -@code +@verbatim $ device="nor0" $ partitions="256k(uboot),128k(env),256k(bla),1024k(blubb),2048k(friesel)" $ addpart /dev/$device:$partitions -@endcode +@endverbatim @par Removing partitions: |