bdk: util: use volatile base for reg_write_array
This commit is contained in:
1 parent
8b86bf3808
commit
db4c6a0b69
3 files changed
+27
-27
No files matched your search
+1
-1
@@ -196,7 +196,7 @@ int atoi(const char *nptr)
|
||||
return (int)strtol(nptr, (char **)NULL, 10);
|
||||
}
|
||||
|
||||
void reg_write_array(u32 *base, const reg_cfg_t *cfg, u32 num_cfg)
|
||||
void reg_write_array(vu32 *base, const reg_cfg_t *cfg, u32 num_cfg)
|
||||
{
|
||||
// Expected register offset is a u32 array index.
|
||||
for (u32 i = 0; i < num_cfg; i++)
|
||||
|
||||
Reference in new issue
Block a user