From patchwork Thu Jul 23 14:02:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 499407 X-Patchwork-Delegate: sbabic@denx.de 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 55FDE140D31 for ; Fri, 24 Jul 2015 00:03:08 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0A50F4BA57; Thu, 23 Jul 2015 16:03:03 +0200 (CEST) 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 FSh5eRk4K4d9; Thu, 23 Jul 2015 16:03:02 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AD2984B86D; Thu, 23 Jul 2015 16:03:02 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 77E244BA42 for ; Thu, 23 Jul 2015 16:03:00 +0200 (CEST) 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 MVH3I_W6ZedL for ; Thu, 23 Jul 2015 16:03:00 +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-qk0-f177.google.com (mail-qk0-f177.google.com [209.85.220.177]) by theia.denx.de (Postfix) with ESMTPS id 6E5774BA59 for ; Thu, 23 Jul 2015 16:02:53 +0200 (CEST) Received: by qkfc129 with SMTP id c129so130939366qkf.1 for ; Thu, 23 Jul 2015 07:02:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references :organization; bh=udU1zexaO/XYL0SWw0AKyVxHk896HyCgIVaPzPp5Zoo=; b=NUrTInUR+ABIFvdfUOvr3b0V4nSXpWr25GRe75vdmPSVrI9wUgjd3coB7iTX60BDNU secsP5FyFQnHdC72JBt6c0LsWnYNnkQQgYUskK/+1wXMjJ8GT3NKaqvP5KckNR5rMBbn /PsMl3GA3lIUNdVkgcmECoDx18QAnjgMouRu69gDGrNkuvYXMVnSGCJCK2ShLuuSiYgJ 3lgqiXwt8QsHIHN+FMqn//slG7yu4i8Lz8NNinGfZ2Nu4Wt/cEbLkpC81Fwz6PVlh7Ix MOiyDP/0VPnc1TF5GARXuyjvE83Zq7UwQweZV9o9THTRX5V8+ndYB52k2Ouy/hKTW2R1 eDJg== X-Received: by 10.55.43.84 with SMTP id r81mr12376373qkh.8.1437660173022; Thu, 23 Jul 2015 07:02:53 -0700 (PDT) Received: from localhost ([179.105.243.19]) by smtp.gmail.com with ESMTPSA id f27sm2428241qkh.23.2015.07.23.07.02.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jul 2015 07:02:51 -0700 (PDT) Received: by localhost (sSMTP sendmail emulation); Thu, 23 Jul 2015 11:02:45 -0300 From: Otavio Salvador To: U-Boot Mailing List Date: Thu, 23 Jul 2015 11:02:20 -0300 Message-Id: <1437660153-15863-2-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 2.4.6 In-Reply-To: <1437660153-15863-1-git-send-email-otavio@ossystems.com.br> References: <1437660153-15863-1-git-send-email-otavio@ossystems.com.br> Organization: O.S. Systems Software LTDA. Cc: Tom Rini , Michael.Schanz@congatec.com, Otavio Salvador , Alejandro.de-cabo-Garcia@congatec.com Subject: [U-Boot] [PATCH v3 02/15] cgtqmx6eval: Use the default CONFIG_SYS_PBSIZE X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'". Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem. Signed-off-by: Otavio Salvador --- Changes in v3: None Changes in v2: None include/configs/cgtqmx6eval.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/cgtqmx6eval.h b/include/configs/cgtqmx6eval.h index 5f753e7..9d9e388 100644 --- a/include/configs/cgtqmx6eval.h +++ b/include/configs/cgtqmx6eval.h @@ -87,9 +87,6 @@ "fi; " \ "else echo ERR: Fail to boot from mmc; fi" -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) - #define CONFIG_SYS_MEMTEST_START 0x10000000 #define CONFIG_SYS_MEMTEST_END 0x10010000 #define CONFIG_SYS_MEMTEST_SCRATCH 0x10800000