Skip to content

Commit 278f55d

Browse files
committed
example: cache: fix board support (i.e. STAR9001439062)
Signed-off-by: Watson Zeng <[email protected]>
1 parent 7409b24 commit 278f55d

File tree

1 file changed

+1
-1
lines changed
  • example/baremetal/arc_feature/cache

1 file changed

+1
-1
lines changed

example/baremetal/arc_feature/cache/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#define FILLED_DATA 0xcc
4545

4646
__attribute__ ((aligned(DCACHE_LINE_LENGTH*DCACHE_LINE_NUM)))
47-
static unsigned char cache_data[DCACHE_LINE_NUM][DCACHE_LINE_LENGTH];
47+
static unsigned char cache_data[DCACHE_LINE_NUM][DCACHE_LINE_LENGTH] = {0xFF};
4848

4949
/**
5050
* \brief call cache related functions

0 commit comments

Comments
 (0)