From: Michael Walle Date: Mon, 21 Oct 2019 19:34:08 +0200 Subject: [U-Boot] [PATCH] armv8: layerscape: set HWCONFIG_BUFFER_SIZE Message-ID: <20191021173408.2151-1-michael@walle.cc> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 -- 2.20.1