From 366cc6589089a2ba091dfa2828d67a6fa6f847d6 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 31 Mar 2022 14:42:53 +0100 Subject: [PATCH] reduce number of params obtained on QSPI for icarus sim --- coldboot/coldboot.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/coldboot/coldboot.c b/coldboot/coldboot.c index 5586e90..dcf6277 100644 --- a/coldboot/coldboot.c +++ b/coldboot/coldboot.c @@ -68,16 +68,16 @@ int main(void) { puts("fw.."); #if 1 -#if 0 +#if 1 // print out configuration parameters for QSPI volatile uint32_t *qspi_cfg = (uint32_t*)0xc0003000; - for (int k=0; k < 10; k++) { + for (int k=0; k < 2; k++) { tmp = readl((unsigned long)&(qspi_cfg[k])); - puts("cfg"); - uart_writeuint32(k); - puts(" "); - uart_writeuint32(tmp); - puts("\n"); + //puts("cfg"); + //uart_writeuint32(k); + //puts(" "); + //uart_writeuint32(tmp); + //puts("\n"); } #endif volatile uint32_t *qspi = (uint32_t*)0x10000000; -- 2.30.2