diff options
Diffstat (limited to 'host/lib/ic_reg_maps/gen_lmk04816_regs.py')
-rwxr-xr-x | host/lib/ic_reg_maps/gen_lmk04816_regs.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/ic_reg_maps/gen_lmk04816_regs.py b/host/lib/ic_reg_maps/gen_lmk04816_regs.py index d432ac706..71613c761 100755 --- a/host/lib/ic_reg_maps/gen_lmk04816_regs.py +++ b/host/lib/ic_reg_maps/gen_lmk04816_regs.py @@ -375,13 +375,13 @@ BODY_TMPL = """\ -boost::uint32_t get_reg(int addr){ - boost::uint32_t reg = 0; +uint32_t get_reg(int addr){ + uint32_t reg = 0; switch(addr){ % for addr in sorted(set(map(lambda r: r.get_addr(), regs))): case ${addr}: % for reg in filter(lambda r: r.get_addr() == addr, regs): - reg |= (boost::uint32_t(${reg.get_name()}) & ${reg.get_mask()}) << ${reg.get_shift()}; + reg |= (uint32_t(${reg.get_name()}) & ${reg.get_mask()}) << ${reg.get_shift()}; % endfor break; % endfor |