{"id":812174,"url":"http://patchwork.ozlabs.org/api/1.2/patches/812174/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1505067902-2530-1-git-send-email-lukma@denx.de/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1505067902-2530-1-git-send-email-lukma@denx.de>","list_archive_url":null,"date":"2017-09-10T18:25:02","name":"[U-Boot] Kconfig: BOOTCOMMAND: Define default set of boot commands in Kconfig","commit_ref":null,"pull_url":null,"state":"deferred","archived":false,"hash":"42af9142a08fb91a3e5946c1309a1f5a238e3e23","submitter":{"id":70701,"url":"http://patchwork.ozlabs.org/api/1.2/people/70701/?format=json","name":"Lukasz Majewski","email":"lukma@denx.de"},"delegate":{"id":3651,"url":"http://patchwork.ozlabs.org/api/1.2/users/3651/?format=json","username":"trini","first_name":"Tom","last_name":"Rini","email":"trini@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/1505067902-2530-1-git-send-email-lukma@denx.de/mbox/","series":[{"id":2412,"url":"http://patchwork.ozlabs.org/api/1.2/series/2412/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=2412","date":"2017-09-10T18:25:02","name":"[U-Boot] Kconfig: BOOTCOMMAND: Define default set of boot commands in Kconfig","version":1,"mbox":"http://patchwork.ozlabs.org/series/2412/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/812174/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/812174/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xqzy24C4Cz9s8J\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 11 Sep 2017 04:25:28 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 2B038C21E27; Sun, 10 Sep 2017 18:25:23 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id DDF18C21D64;\n\tSun, 10 Sep 2017 18:25:20 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 791BDC21D64; Sun, 10 Sep 2017 18:25:19 +0000 (UTC)","from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10])\n\tby lists.denx.de (Postfix) with ESMTPS id 2A81BC21CB1\n\tfor <u-boot@lists.denx.de>; Sun, 10 Sep 2017 18:25:19 +0000 (UTC)","from frontend01.mail.m-online.net (unknown [192.168.8.182])\n\tby mail-out.m-online.net (Postfix) with ESMTP id 3xqzxp63bJz1qrdw;\n\tSun, 10 Sep 2017 20:25:18 +0200 (CEST)","from localhost (dynscan1.mnet-online.de [192.168.6.70])\n\tby mail.m-online.net (Postfix) with ESMTP id 3xqzxp5NxLz3jR9m;\n\tSun, 10 Sep 2017 20:25:18 +0200 (CEST)","from mail.mnet-online.de ([192.168.8.182])\n\tby localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,\n\tport 10024)\n\twith ESMTP id PatgUdDwPaqw; Sun, 10 Sep 2017 20:25:17 +0200 (CEST)","from localhost.localdomain (89-64-27-66.dynamic.chello.pl\n\t[89.64.27.66]) (using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mail.mnet-online.de (Postfix) with ESMTPSA;\n\tSun, 10 Sep 2017 20:25:17 +0200 (CEST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,\n\tRCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL autolearn=unavailable autolearn_force=no\n\tversion=3.4.0","X-Virus-Scanned":"amavisd-new at mnet-online.de","X-Auth-Info":"3moUJRAKNFu3ZRjlM7VAMbF6zpauYD/8M5NzUFtTaFA=","From":"Lukasz Majewski <lukma@denx.de>","To":"u-boot@lists.denx.de","Date":"Sun, 10 Sep 2017 20:25:02 +0200","Message-Id":"<1505067902-2530-1-git-send-email-lukma@denx.de>","X-Mailer":"git-send-email 2.1.4","Cc":"trini@konsulko.com","Subject":"[U-Boot] [PATCH] Kconfig: BOOTCOMMAND: Define default set of boot\n\tcommands in Kconfig","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"This patch gives an opportunity to override the defined CONFIG_BOOTCOMMAND\n(at <board_config.h> files) with set of commands defined in\nboard _defconfig file.\n\nRationale: This change allows having two different u-boot builds - one for\nproduction and one (far more larger) for factory setup.\n\nSigned-off-by: Lukasz Majewski <lukma@denx.de>\n---\n cmd/Kconfig | 15 +++++++++++++++\n 1 file changed, 15 insertions(+)","diff":"diff --git a/cmd/Kconfig b/cmd/Kconfig\nindex d6d130e..e5c12a9 100644\n--- a/cmd/Kconfig\n+++ b/cmd/Kconfig\n@@ -30,6 +30,21 @@ config SYS_PROMPT\n \t  This string is displayed in the command line to the left of the\n \t  cursor.\n \n+config BOOTCMD_OVERRIDE\n+\tbool \"Override default CONFIG_BOOTCOMMAND define\"\n+\thelp\n+\t  This option allows overriding the CONFIG_BOOTCOMMAND define\n+\t  from the Kconfig as many boards define their default set of\n+\t  commands with CONFIG_BOOTCOMMAND.\n+\n+config BOOTCOMMAND\n+\tstring \"Default boot commands\"\n+\tdepends on BOOTCMD_OVERRIDE\n+\tdefault \"\"\n+\thelp\n+\t  This string contains the set of u-boot commands to be executed\n+\t  by default.\n+\n menu \"Autoboot options\"\n \n config AUTOBOOT\n","prefixes":["U-Boot"]}