summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-10-04 12:22:43 -0400
committerTom Rini <trini@konsulko.com>2019-10-04 12:22:43 -0400
commit62861c70d3128680823fa091dcc2f6fee3bca30c (patch)
tree1effa13c5319dcb55f5167d707d1662c0de9503b /cmd
parent2baa731d0076b9aff721a2c737c479f65cc931e9 (diff)
parentd90fc9c3deb6a9941a9cd0ba764e9c74e5060186 (diff)
Merge branch '2019-10-04-master-imports'
- Assorted TI platform fixes - Revert the change that broke environment flag validation - Assorted typo fixes - Assorted Kconfig dependency fixes - Other minor bug fixes
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig51
-rw-r--r--cmd/part.c2
2 files changed, 51 insertions, 2 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 98647f58b7a..4e61565aab1 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -172,6 +172,7 @@ config AUTOBOOT_MENUKEY
config AUTOBOOT_MENU_SHOW
bool "Show a menu on boot"
+ depends on CMD_BOOTMENU
help
This enables the boot menu, controlled by environment variables
defined by the board. The menu starts after running the 'preboot'
@@ -267,6 +268,54 @@ config CMD_BOOTEFI
help
Boot an EFI image from memory.
+config BOOTM_LINUX
+ bool "Support booting Linux OS images"
+ depends on CMD_BOOTM || CMD_BOOTZ || CMD_BOOTI
+ default y
+ help
+ Support booting the Linux kernel directly via a command such as bootm
+ or booti or bootz.
+
+config BOOTM_NETBSD
+ bool "Support booting NetBSD (non-EFI) loader images"
+ depends on CMD_BOOTM
+ default y
+ help
+ Support booting NetBSD via the bootm command.
+
+config BOOTM_OPENRTOS
+ bool "Support booting OPENRTOS / FreeRTOS images"
+ depends on CMD_BOOTM
+ help
+ Support booting OPENRTOS / FreeRTOS via the bootm command.
+
+config BOOTM_OSE
+ bool "Support booting Enea OSE images"
+ depends on CMD_BOOTM
+ help
+ Support booting Enea OSE images via the bootm command.
+
+config BOOTM_PLAN9
+ bool "Support booting Plan9 OS images"
+ depends on CMD_BOOTM
+ default y
+ help
+ Support booting Plan9 images via the bootm command.
+
+config BOOTM_RTEMS
+ bool "Support booting RTEMS OS images"
+ depends on CMD_BOOTM
+ default y
+ help
+ Support booting RTEMS images via the bootm command.
+
+config BOOTM_VXWORKS
+ bool "Support booting VxWorks OS images"
+ depends on CMD_BOOTM
+ default y
+ help
+ Support booting VxWorks images via the bootm command.
+
config CMD_BOOTEFI_HELLO_COMPILE
bool "Compile a standard EFI hello world binary for testing"
depends on CMD_BOOTEFI && !CPU_V7M && !SANDBOX
@@ -1468,7 +1517,7 @@ config CMD_BMP
bool "Enable 'bmp' command"
depends on LCD || DM_VIDEO || VIDEO
help
- This provides a way to obtain information about a BMP-format iamge
+ This provides a way to obtain information about a BMP-format image
and to display it. BMP (which presumably stands for BitMaP) is a
file format defined by Microsoft which supports images of various
depths, formats and compression methods. Headers on the file
diff --git a/cmd/part.c b/cmd/part.c
index 6cfb67b2795..5e4e45ca6d8 100644
--- a/cmd/part.c
+++ b/cmd/part.c
@@ -152,7 +152,7 @@ static int do_part_info(int argc, char * const argv[], enum cmd_part_info param)
snprintf(buf, sizeof(buf), LBAF, info.size);
break;
case CMD_PART_INFO_NUMBER:
- snprintf(buf, sizeof(buf), "%d", part);
+ snprintf(buf, sizeof(buf), "0x%x", part);
break;
default:
printf("** Unknown cmd_part_info value: %d\n", param);