summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@openmoko.org>2008-07-09 22:30:30 +0800
committerWolfgang Denk <wd@denx.de>2008-08-18 23:21:49 +0200
commit0a823aa2a8a8c0685e73900f387d602d7edafc0e (patch)
treea1dc74162bd31a5604873c8199a9f0b0218fe836 /include
parentfe2ce5500ebf43d79d227190bd2370232d5b113d (diff)
downloadu-boot-imx-0a823aa2a8a8c0685e73900f387d602d7edafc0e.zip
u-boot-imx-0a823aa2a8a8c0685e73900f387d602d7edafc0e.tar.gz
u-boot-imx-0a823aa2a8a8c0685e73900f387d602d7edafc0e.tar.bz2
Add 'license' command to U-Boot command line
The 'license' command includes the U-Boot license (GPLv2) into the actual bootloader binary. The license text can be shown interactively at the U-Boot commandline. For products where the commandline can actually be accessed by the end user, this helps to prevent inadvertent GPL violations, since the GPLv2 license text can no longer be 'forgotten' to be included into the product. The 'license' command can be enabled by CONFIG_CMD_LICENSE. Signed-off-by: Harald Welte <laforge@openmoko.org>
Diffstat (limited to 'include')
-rw-r--r--include/config_cmd_all.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index 2cb2f67..d771696 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -50,6 +50,7 @@
#define CONFIG_CMD_ITEST /* Integer (and string) test */
#define CONFIG_CMD_JFFS2 /* JFFS2 Support */
#define CONFIG_CMD_KGDB /* kgdb */
+#define CONFIG_CMD_LICENSE /* console license display */
#define CONFIG_CMD_LOADB /* loadb */
#define CONFIG_CMD_LOADS /* loads */
#define CONFIG_CMD_MEMORY /* md mm nm mw cp cmp crc base loop mtest */