Skip to content
Snippets Groups Projects
Commit b6c8d95a authored by Pieter Donker's avatar Pieter Donker
Browse files

L2SDP-355, process review comment.

parent dd7e9b0c
No related branches found
No related tags found
1 merge request!28Resolve L2SDP-489
......@@ -42,7 +42,7 @@ typedef struct {
string field_name;
uint32_t base_addr; // in MM words
uint32_t n_fields;
string acces_mode;
string access_mode;
string radix;
uint32_t mm_mask;
uint32_t user_mask;
......@@ -78,7 +78,7 @@ void mmap_add_register(CMMap& regmap, mm_info_t mm_info)
mm_info.mm_mask,
mm_info.shift,
mm_info.n_fields,
mm_info.acces_mode,
mm_info.access_mode,
mm_info.radix,
mm_info.port_type,
mm_info.peripheral_span,
......@@ -93,7 +93,7 @@ void mmap_add_register(CMMap& regmap, mm_info_t mm_info)
mm_info.mm_mask,
mm_info.shift,
mm_info.n_fields,
mm_info.acces_mode,
mm_info.access_mode,
mm_info.radix,
mm_info.port_type,
mm_info.peripheral_span,
......@@ -177,9 +177,9 @@ CMMap mmap_to_regmap(istringstream& iss)
mm_info.n_fields = stoi(val_str);
}
strs >> val_str; // get acces_mode
strs >> val_str; // get access_mode
if (val_str != "-") {
mm_info.acces_mode = val_str;
mm_info.access_mode = val_str;
}
strs >> val_str; // get radix
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment