commit | c39f31d61fcef020c9c7fac55be50a3fd9fcac5e | [log] [tgz] |
---|---|---|
author | Timothy Chen <timothytim@google.com> | Fri Sep 13 15:54:00 2019 -0700 |
committer | tjaychen <timothytim@google.com> | Fri Sep 13 16:25:51 2019 -0700 |
tree | a0ecf588c93908469c16190e256de5103dd60a00 | |
parent | 0c6211d26e818b6f9ec38b63c851d1a56ed18875 [diff] |
Update sanity flash test usage
diff --git a/sw/tests/hello_flash/hello_flash.c b/sw/tests/hello_flash/hello_flash.c index 6624509..db38731 100644 --- a/sw/tests/hello_flash/hello_flash.c +++ b/sw/tests/hello_flash/hello_flash.c
@@ -109,7 +109,7 @@ for (i = 0; i < max_size; i++) { data_pat = (i % 2) ? 0xA5A5A5A5 : 0x5A5A5A5A; - REG32(FLASH_CTRL_PROG_FIFO(FLASH_CTRL0_BASE_ADDR)) = data_pat + i; + REG32(FLASH_CTRL_PROG_FIFO(0)) = data_pat + i; } // wait for operation finish