From: Luke Kenneth Casson Leighton Date: Thu, 31 Mar 2022 13:42:53 +0000 (+0100) Subject: reduce number of params obtained on QSPI for icarus sim X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=366cc6589089a2ba091dfa2828d67a6fa6f847d6;p=ls2.git reduce number of params obtained on QSPI for icarus sim --- 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;