2 * (C) Copyright 2007 by OpenMoko, Inc.
3 * Author: Harald Welte <laforge@openmoko.org>
5 * SPDX-License-Identifier: GPL-2.0+
10 /* Licenses/gpl-2.0.txt is currently 18092 bytes in size */
11 #define LICENSE_MAX 20480
17 int do_license(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
19 char *dst = malloc(LICENSE_MAX);
20 unsigned long len = LICENSE_MAX;
25 if (gunzip(dst, LICENSE_MAX, license_gzip, &len) != 0) {
26 printf("Error uncompressing license text\n");
37 license, 1, 1, do_license,
38 "print GPL license text",