From patchwork Wed Feb 26 10:38:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 236859 List-Id: U-Boot discussion From: michal.simek at xilinx.com (Michal Simek) Date: Wed, 26 Feb 2020 11:38:42 +0100 Subject: [PATCH v2 3/4] ARM: zynq: Do not report NOR flash detection failure In-Reply-To: References: Message-ID: <74d1aa0306b1070068e978eb26fb586ec2873777.1582713521.git.michal.simek@xilinx.com> With multi defconfig targeting several board configurations bug report like below is so verbose. Flash: ## Unknown flash on Bank 1 - Size = 0x00000000 = 0 MB 0 Bytes Do not report that message and simply say "Flash: 0 Bytes" because most of Zynq boards are using different type of flashes than NOR. Signed-off-by: Michal Simek --- Changes in v2: None include/configs/zynq-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index b1cef4d4695f..33fac35f6e32 100644 --- a/include/configs/zynq-common.h +++ b/include/configs/zynq-common.h @@ -51,6 +51,7 @@ # define CONFIG_SYS_FLASH_WRITE_TOUT 5000 # define CONFIG_FLASH_SHOW_PROGRESS 10 # undef CONFIG_SYS_FLASH_EMPTY_INFO +# define CONFIG_SYS_FLASH_QUIET_TEST #endif #ifdef CONFIG_NAND_ZYNQ