From patchwork Thu Jun 13 03:24:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 250968 X-Patchwork-Delegate: albert.aribaud@free.fr Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 9FDA92C00A6 for ; Thu, 13 Jun 2013 13:27:54 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E56234A170; Thu, 13 Jun 2013 05:26:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hou7ClNrya03; Thu, 13 Jun 2013 05:26:49 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 229844A051; Thu, 13 Jun 2013 05:25:57 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 029B34A09F for ; Thu, 13 Jun 2013 05:25:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DYDkIjD4in1v for ; Thu, 13 Jun 2013 05:25:41 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-oa0-f44.google.com (mail-oa0-f44.google.com [209.85.219.44]) by theia.denx.de (Postfix) with ESMTPS id 5F3D24A03C for ; Thu, 13 Jun 2013 05:25:18 +0200 (CEST) Received: by mail-oa0-f44.google.com with SMTP id l10so4537654oag.3 for ; Wed, 12 Jun 2013 20:25:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=9/mNI4tIQ2yYGYmkY6/sbw8yQ052o07AunlJHlKMFjI=; b=WSGPB4B6nsvnk7hQulw4+j4BmDzgvoE/35GPVowc3OL1xSEITcgw2kZss/POQwA5sA 3hiXv0OyzWLkUo5r0mC+Ai1fxWWdLPOfHtA+d8GXG8Zd2eTpyCkvJ+vFxkbMq/zwS6Aj SLiyimiaJNYVD+o3YmStjsraHmhx6q8XBocxBHFWbGtYDKfALNf199Zcsv7RrZlslW5H ow9mgDQ+IPF9NU2jhA7MXYgR+FXB1U4agIrkUgNRVkYKQxWwkhrb7VodAfX/AnnJq2vc KX5EkTXDYcUoVLH8ndXg/oay3/0Y7nXCo0pWebfVkf9Vt3evdzu11HuWNw8aGjBj5+kJ L7nQ== X-Received: by 10.182.96.168 with SMTP id dt8mr17246447obb.91.1371093917360; Wed, 12 Jun 2013 20:25:17 -0700 (PDT) Received: from rob-laptop.grandenetworks.net (65-36-73-129.dyn.grandenetworks.net. [65.36.73.129]) by mx.google.com with ESMTPSA id oe10sm37501996oeb.6.2013.06.12.20.25.15 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Jun 2013 20:25:16 -0700 (PDT) From: Rob Herring To: u-boot@lists.denx.de, albert.u.boot@aribaud.net, trini@ti.com Date: Wed, 12 Jun 2013 22:24:54 -0500 Message-Id: <1371093894-16424-10-git-send-email-robherring2@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1371093894-16424-1-git-send-email-robherring2@gmail.com> References: <1371093894-16424-1-git-send-email-robherring2@gmail.com> Cc: Rob Herring Subject: [U-Boot] [PATCH v2 10/10] highbank: enable keyed autoboot stop X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Rob Herring Restrict autoboot interruption to "s" or "d" keys. This will prevent some unwanted stopping and also allow disabling the reset on command timeout. Signed-off-by: Rob Herring --- v2: no change, resend include/configs/highbank.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/highbank.h b/include/configs/highbank.h index e01d4bb..5710be5 100644 --- a/include/configs/highbank.h +++ b/include/configs/highbank.h @@ -88,6 +88,8 @@ #define CONFIG_BOOTDELAY 2 #define CONFIG_BOOT_RETRY_TIME -1 #define CONFIG_RESET_TO_RETRY +#define CONFIG_AUTOBOOT_KEYED +#define CONFIG_AUTOBOOT_PROMPT "Autobooting in %d seconds...\nPress to stop or to delay\n", bootdelay /* * Miscellaneous configurable options