From df68c1901168e82d056f36b66ddd9bdc92630094 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 28 Mar 2022 15:16:45 +0100 Subject: [PATCH] quick memory test increasing by power-2 each time shows all 32 mbytes of hyperram ICs are accessible --- coldboot/coldboot.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/coldboot/coldboot.c b/coldboot/coldboot.c index 8000d05..16b7780 100644 --- a/coldboot/coldboot.c +++ b/coldboot/coldboot.c @@ -77,9 +77,11 @@ int main(void) { if (c == 13) { // if CR send LF // quick write/read - writel(0xDEAF0123+i, (unsigned long)&(hyperram[0])); - tmp = readl((unsigned long)&(hyperram[0])); + writel(0xDEAF0123+i, (unsigned long)&(hyperram[1<