From patchwork Mon Oct 21 17:34:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Walle X-Patchwork-Id: 1180750 X-Patchwork-Delegate: priyanka.jain@nxp.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=walle.cc Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=walle.cc header.i=@walle.cc header.b="daTU+RWG"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46xkKD5bx2z9s7T for ; Tue, 22 Oct 2019 04:34:24 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 63209C21E1A; Mon, 21 Oct 2019 17:34:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 070FCC21CB1; Mon, 21 Oct 2019 17:34:20 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 94B7DC21CB1; Mon, 21 Oct 2019 17:34:18 +0000 (UTC) Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by lists.denx.de (Postfix) with ESMTPS id 492F4C21C50 for ; Mon, 21 Oct 2019 17:34:18 +0000 (UTC) Received: from apollo.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:6257:18ff:fec4:ca34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id CFD5C22433; Mon, 21 Oct 2019 19:34:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1571679258; bh=CoGRBQ7I3QChLlkdTRn1UiHWbPM5GfL4VtT+qsv0TmY=; h=From:To:Cc:Subject:Date:From; b=daTU+RWGJeoTId1zJxRFyfFF5Lu7B2AnC3s9Az5yboIGtPNlkKTs96WN9Yl2blArB XLhQgazFviUb2b1eWvk38iePRy5BJdlPRIAFqGesgLNeQjdhnsexZaCP7N6MzYtOBn KTs+nlDL1R09+i/N7S1cWZMiwdTo6LjAQDNPsriQ= From: Michael Walle To: u-boot@lists.denx.de Date: Mon, 21 Oct 2019 19:34:08 +0200 Message-Id: <20191021173408.2151-1-michael@walle.cc> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.101.4 at web X-Virus-Status: Clean Cc: Tom Rini Subject: [U-Boot] [PATCH] armv8: layerscape: set HWCONFIG_BUFFER_SIZE X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Set the HWCONFIG_BUFFER_SIZE if it is not already set. Otherwise compilation will fail if CONFIG_HWCONFIG and HWCONFIG_BUFFER_SIZE are not set. Taken from arch/powerpc/include/asm/config.h. Signed-off-by: Michael Walle --- arch/arm/include/asm/arch-fsl-layerscape/config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/arch-fsl-layerscape/config.h b/arch/arm/include/asm/arch-fsl-layerscape/config.h index a83c70ece2..24bf854cbe 100644 --- a/arch/arm/include/asm/arch-fsl-layerscape/config.h +++ b/arch/arm/include/asm/arch-fsl-layerscape/config.h @@ -12,6 +12,10 @@ #define CONFIG_STANDALONE_LOAD_ADDR 0x80300000 +#ifndef HWCONFIG_BUFFER_SIZE + #define HWCONFIG_BUFFER_SIZE 256 +#endif + /* * Reserve secure memory * To be aligned with MMU block size